Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
S32K148EVB-Q176 freemaster connection
Lawrence M. Dec 14, 2019 at 11:32 AM (11:32 hours)
Staff: Zahar R.

  • Hi,

    I've been trying to get my board specified above compatible with freemaster. I upgraded the app on my board with the following software:

    Board Name is: S32K148EVB-Q144
    MicroBoot Kernel Version is: 1.08
    Bootloader Version is: 1.13
    Installed Application: PEMicro S32K148EVB-Q144 Mass Storage/Debug App
    Application Version is: 1.21

    (Also note that the board name and installation is not matching the description on my shipping box.)

    I'm not sure if this is related to the inability to connect in freemaster (it always states no board detected in the connection wizard, after I tried with a couple of Freemaster supporting builds). I can flash code through S32DS normally.

    I was wondering if this is something anyone is familiar with.

    Best,
    Lawrence




    Comments

  • Hi Lawrence, 

    The difference between the packaging in the name of the board and the name of the firmware should not have any affect on your ability to connect to device.

    What version of Freemaster software are you trying to work with?

    Best Regards,
    Zahar
    P&E

    • Hi Zahar,

      I tried with Freemaster 2.0 and 3.0. They both don't work. When I run the communication log I get the following messages:

      [23:35:44.614] OpenPort
      [+8.925 us] port:COM5
      [+446.247 ns] speed:115200bps
      [+3.286 ms] done [OK code=0]
      [23:35:44.618] AttachThread done [OK code=0]
      [23:35:44.618] Detect
      [+1.785 us] SendRecvPacket(cmd:0xc0, feature:0)
      [+446.247 ns] Tx:[no-data]
      [+169.749 ms] done [ERROR code=0x80000101]
      [+20.527 us] done [ERROR code=0x80000101; Response timeout.]
      [23:35:44.798] Detect
      [+4.462 us] SendRecvPacket(cmd:0xc0, feature:0)
      [+0.892 us] Tx:[no-data]
      [+170.506 ms] done [ERROR code=0x80000101]
      [+31.237 us] done [ERROR code=0x80000101; Response timeout.]
      [23:35:44.989] Detect
      [+5.355 us] SendRecvPacket(cmd:0xbf, feature:0)
      [+1.339 us] Tx:[no-data]
      [+5.926 ms] Rx:[no-data]
      [+5.355 us] done [OK code=0]
      [+6.247 us] SendRecvPacket(cmd:0xc0, feature:0)
      [+1.339 us] Tx:[no-data]
      [+170.123 ms] done [ERROR code=0x80000101]
      [+27.221 us] done [ERROR code=0x80000101; Response timeout.]
      [23:35:45.716] Detect
      [+7.140 us] SendRecvPacket(cmd:0xc0, feature:0)
      [+2.231 us] Tx:[no-data]
      [+170.039 ms] done [ERROR code=0x80000101]
      [+27.221 us] done [ERROR code=0x80000101; Response timeout.]
      [23:35:45.886] Detect
      [+4.909 us] SendRecvPacket(cmd:0xc0, feature:0)
      [+1.339 us] Tx:[no-data]
      [+170.049 ms] done [ERROR code=0x80000101]
      [+28.560 us] done [ERROR code=0x80000101; Response timeout.]
      [23:35:46.056] Detect
      [+4.909 us] SendRecvPacket(cmd:0xc0, feature:0)
      [+1.339 us] Tx:[no-data]
      [+169.765 ms] done [ERROR code=0x80000101]
      [+30.791 us] done [ERROR code=0x80000101; Response timeout.]
      [23:35:46.961] DetachThread done
      [23:35:47.251] DetachThread done
      [23:35:47.251] ClosePort done [OK code=0]
      [23:35:47.259] Script:FireEvent:OnCommPortStateChanged(open:false) done

      Seems like I never get a reply from the target board. I used the Freemaster example in S32DS and an example from the simulink model based compiler.

  • I there any way of attaching a screenshot here?

    I did some more tests where I ran the lpuart_echo_s32k148 example from S32DS. I was able to receive a message through on my laptop using putty, but I wasn't able to send one back to the board.

    It got stock on the line

    while(LPUART_DRV_GetReceiveStatus(INST_LPUART1, &bytesRemaining) != STATUS_SUCCESS);

    while using the debugger.

    Let me know if this helps you understand the issue.

    Thanks,
    Lawrence

  • Hi Lawrence, 

    What version of S32DS are you running. Can you please email S32DS project to zahar at pemicro dot com?

    Thank you,
    Zahar

    I know that Freemaster 2.0 had old version of PEmicro interface dlls. So I am working on updating to Freemaster 3.0 to give it a try.

    • I sent you an email with the details.

Add comment


   Want to comment? Please login or create a new PEmicro account.







© 2020 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement