Hello
In our software we included the boot loader with the normal software, we get one project. The boot loader part is located in Flash A. The user software is located in B-H. When flashing over the internal boot loader located in the Flash A the boot loader is not updated. Therefore code used by the user program from flash A must have a fixed address. The flash.lib is used in the bootloader and the user software. One remaining point to fixed seems to be .ebss from the flash lib. Is there a way to fix it to a location that it is not moving around. Actual dirty solution would be locating the ,ebss part to the flash api which is loaded to the RAM.
Flash28_API:
{
-lFlash28335_API_V210.lib(.econst)
-lFlash28335_API_V210.lib(.text)
-lFlash28335_API_V210.lib(.cinit)
-lFlash28335_API_V210.lib(.ebss)
} LOAD = FLASHAPI,
RUN = RAMFLASHAPI,
LOAD_START(_Flash28_API_LoadStart),
LOAD_END(_Flash28_API_LoadEnd),
RUN_START(_Flash28_API_RunStart),
PAGE = 0
Means with those solution the program and data ram getting mixed. Do you have some other idee to solve this problem.
Thank's Reto