Tool/software:
Hi everybody,
I am strugling since a while with a bootmanager-bootloader-application prototype.
For this purpose, i have build an empty "bootmanager", that is flashed at address and it jumps at address 0x1000 where the an empty "bootloader" is located, and from there a jump at 0x7000 is dome where the application is located.
I mention that all this was succesfull while using ti clang toochain (whit the generated linker file, where only the Flash adress was changed to fit the location addresses required.
Nevertheless, I need to o this using the gcc tool chain, and unfortunatelly, I am not succesful. These are the steps:
- flash the "bootmanager" at address 0x0 -OK
- flash the bootloader at address 0x1000 - NOT OK. I've got the error message 614:
after reseting and checking the memory content, it looks like that the memory at address 0x0 was modified (at address 0x0 is no more the stack pointer at the end of the RAM, but something else).
The memory content at address 0x1000, wher i have flashed, the empty "bootloader" looks ok:
I mention that I have tried with all the variants bellow (even with do not erase Flash memory, since every time i flash at a new address, so there is no need to erase):
Also, I have tried with both, debug and load:
Nevertheless, it looks like everytime, the flash is overwriten.
Why does not work with gcc, but works with clang?
Many thanks,
ovi