S32 download program can run in debug and cannot be run offline

cancel
Showing results for 
Search instead for 
Did you mean: 

S32 download program can run in debug and cannot be run offline

93 Views
Contributor I

使用S32的Debug功能可以在开发板上运行程序,功能正常,但是断开JTAG连接后,重新供电,程序不会运行。使用J-Flash下载程序,也无法运行。请问如何解决?

Google Translate:

The Debug function of S32 can be used to run the program on the development board, and the function is normal. However, after the JTAG connection is disconnected and the power is supplied again, the program will not run. Using J-Flash to download the program can not run.How to solve this problem?

0 Kudos
3 Replies

86 Views
NXP Employee
NXP Employee

Hi, 

 

are you able attach into running program and see what's going on? Anyway, what's your MCU? 

jiri_kral_0-1602585539047.png

 

 

 

0 Kudos

82 Views
Contributor I

I can see what happened because the program can run normally in the debug state, but after exiting debug and resetting it, it cannot work or even change the state of a G P I O

ARM :S 9 K E A Z 128

DEBUG :s e g g e r J-Link Debugging

 

0 Kudos

76 Views
NXP Employee
NXP Employee

Hi, 

what about attach to running target? At last you can see on which address is program stuck - some unhandled interrupt or exception? 

0 Kudos