2022-01-18 01:24 AM
Hi,
I am working on SPC58NG84E7 bootloader. I have BL code(at 0xFC0000) which jumps to the APP location 0xFD0000 after waiting for 10sec after startup and executes the code there. Both codes have optimization NONE(-O0).
But when BL optimization changed to -Os size or any of the mentioned, BL is not jumping to the APP and continuously running the BL code.
What could be the issue here?
Regards,
AM
Solved! Go to Solution.
2022-01-18 01:43 AM
@AVM ,
Think about an optimized variable(s) and use volatile ..
SofLit
2022-01-18 01:43 AM
@AVM ,
Think about an optimized variable(s) and use volatile ..
SofLit
2022-01-18 10:47 PM
Thanks SofLit!
This helped in resolving the issue.
2022-01-19 12:25 AM
Thank you for the feedback.
Please close this post by clicking the "Select as Best" button in the above answer. This will help other community members to find the solution more quickly.
Thank you.
SofLit