AnsweredAssumed Answered

Fail to jump to APP from boot loader

Question asked by Yuehe Deng on Mar 27, 2017
Latest reply on Mar 30, 2017 by Lukas Zadrapa

Finally, I worked out my boot loader and APP on MPC5748G. And everything is ok when debugging with PE multilink. I can upgrade my APP with upper-tool written by myself.

But there is still a problem:

After I upgrade APP, then it will do a software reset, and then jump to APP successfully. And then if I re-power my board, sometimes it can't jump to APP. The fail rate is about 50%-70%. My IDE is S32DS, and it doesn't have hardware reset feature like TI CCS which make me difficult to trouble shooting for this issue. 

So I debug this issue by light LED in boot loader startup code and APP startup code, the result shows that sometimes, the code stunk at boot loader startup code, sometimes APP startup code. 

The attached file are startup codes. I will appreciate that if anyone can help to review them.

The screenshot shows the flow chart when there are both boot loader code and APP code inside ECU.

Original Attachment has been moved to:

Original Attachment has been moved to: