Hello everyone,
I am using custom board with i.mx.rt 1176 processor. On my board, i have 4MB flash and 32MB ram. I aim to split flash section two parts to jump main application from bootloader.
Here is my explanation:
0x3000 0000 to 0x3003 6000 bootloader program, 0x3003 6000 to 0x3040 0000 main application.
In my main application, i set memory section as i mentioned. In main, i set SCB-> VTOR to 0x3003 6000 + offset. When i debug my main application code, i get error. I can not run this project.

In my bootloader project, i set memory section. Project gets .bin file from USB, deletes memory section from 0x3003 6000 to 0x3040 0000, writes new data that address. After boot process, i want to jump main application.

I will start from bootloader and check some inputs to start boot process. If boot process is not necessary, i will jump to main application.
1) Is my tihnking correct for boot process?
2) I try to debug my main application but i get error.(I am not loading my bootloader project) Am i missing something while referencing address?
3) How should i split flash and jump correctly as i mentioned?
Thanks for your help!
Best Regards,
Basri KAYA