S32DS ARM debugger and after POR not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS ARM debugger and after POR not work

600 Views
Juns
Contributor I

Hello,  @RomanVR  and everyone

https://community.nxp.com/t5/S32K/Application-Not-Working-After-Power-Reset-on-My-System-Works/m-p/2... 

Based on the comments I left, I have rewritten the post. Please refer to the content below.

thank you very much for your response. However, I do not have the board, so I am unable to test it. I have written a more detailed explanation of the issue below. Could you please take a look at the details and help me resolve it? I'm still learning, so I'm not very skilled yet—I'm sorry, but I really need your help.

  1. As shown in the photo below, during debugging and in suspend mode, the application on the client works correctly.
    Juns_0-1739338647017.png
  2. When the interface is selected and then terminated, the application works normally (CAN messages are transmitted).
    Juns_1-1739338685643.png

    +)Additionally, could you explain why the flashing operation only works after clicking on Debug (P&E interface) and terminating debugging?

  3. However, after turning off the power and disconnecting the debugger cable, when the power is turned on again, it does not work (there is no response—the CAN messages are not transmitted).

Note: The above issues occur only when running the application alone. When the bootloader and application are integrated, this problem does not occur.

Tags (1)
0 Kudos
Reply
2 Replies

590 Views
Juns
Contributor I

I also set the starting address of flash.id in the linked folder to 0x00000000.

0 Kudos
Reply

557 Views
RomanVR
NXP Employee
NXP Employee

Hello @Juns 

I have reviewed the details you provided, I tried now the "can_pal_S32K118" example available in the SDK 4.0.1 and with the same board, but I did not observe observe the same behavior. Please notice that the evaluation boards are designed to give access to a wide variety of the available peripherals. However, if you are using a custom board with the specific requirements of the application, the example should work properly as well. Therefore, I suggest to try the same example on your side and observe if you notice the same behavior.

About the flashing operation, as Design Studio only provides a way to Flash the MCU by debugging the application, hence the need to open a debug session to do the flash operation.

Also, could you please give me more details of which memory start address you changed? Given that if you changed some flash start address to 0x00000000, you will have issues, since that is the start address of the flash interrupts as shown in the following image:

RomanVR_0-1739463973109.png

Please let me know if the example project shares the behavior of your application, and I will be waiting for your answer.

- RomanVR.

Best Regards!
0 Kudos
Reply