Hi,
I wrote a bootloader to move app program to ram from flash. It worked fine when debugging, but the bootloader ran abnomally when memcpy() the code from flash to ram if powered up without debugging.
I cannot copy code to ram directly using memcpy?
Hi @jhuang1
it sounds like it could be caused by incorrect SRAM initialization. If you attach a debugger to a running target without reset, what exactly can you see?
https://community.nxp.com/t5/S32-Design-Studio/How-attach-to-running-program/m-p/1030375
Regards,
Lukas