Open zhangxq0521 opened 2 years ago
hi, Zhang,
Here you can find the UG: https://github.com/NXPmicro/sbl/tree/master/doc There are detailed information and steps how SBL boot up a firmware image. Attention, for SBL/SFW, we just support arm_gcc, IAR, KEIL, for MCUExpresso, the linkfile is generated automatically.
I couldn't yield one runnable "evkmimxrt1170_hello_world_demo_cm7.bin" in MCUExpresso.
Since no explicit advise on how to generate one runnable image as APP firmware, I had to try in my way as below:
The suggested operation for RT1160 in user guide for IAR is:
With the image I generated, the bootloader (sbl) couldn't jump to APP firmware in a right way.
I checked the image map and certify that the address "0x10053d" is right after the address of vector table.
Please find attached project zip file (generated in MCUExpresso from one example project) and give your suggestions.
Here is the project attached. evkmimxrt1170_hello_world_demo_cm7.zip