Hi Omar,
I'm very sorry but it's still not clear what to do. I'm using the same baseboard as the thread starter and I'd like to start my program from SRAM, too (because network speed is much faster).
Do you mean with "modify SRAM_OCRAM to start at (BASE + 0x3000)" that I should change the Location of SRAM_OC1 to 0x20243000 and the size to 0x7d000 (for the RT1176)? It's very hard to follow if you're using different terms for the things I should change in the IDE.
OK, link to RAM checked, I build my image. But what follows after that? Flashing the .axf file with the Secure Provisioning Tool leads to a non-booting program. I can't change the start address in this case.
If I create a bin file from the .axf in the IDE then it is possible to change the start address in the provisioning tool but it doesn't allow a start address of 0x2024ffff:
"ERROR: Incorrect address value or invalid image content. Invalid image start address. Based on the detected application entry point address 0x202434CD and image size 418484, the start address shall be in range 0x201DD219-0x202434CD."
So, do I use the MCUBootUtility for this purpose? Or is it possible to use the secure provisioning tool, too? What settings do I have to use?
Unfortunately the MCUBootUtility does not work on my computer (it does not find the correct USB-IDs) although the secure provisiong tool works without a problem.
The information about this subject is very hard to find as it is spread over various MCUs or maybe includes outdated information.
Please give me some hints!
Bye,
Oliver