Forum : ARM
Original Post
Post Information | Post |
---|---|
July 7, 2016 - 12:15pm
|
Hi! I've tried to port a project from the CorTex-M3 (STM32F103) to the CorTex-M0 (STM32F091). After some days of work, i can compile the code for the new cpu but i can't debug it. Ride says "Out of code". It seems that the startup-file or probably the linker-file is bugged. I have a bootloader section with a header and date and then the code section. I've added the startup and linker files. I would appreciate if someone could have a look at these files and probably have a hint for me, how i can solve this problem. Thanks a lot for your support. Best regards, Michaelstartup_stm32f0xx.txtSTM32F091_256K_32K_App_deb.txtsections_FLASH_App_deb.txt |
Hello,
Did you had a look of AN4088: Migrating between STM32F1 and STM32F0 series microcontrollers provided by STMicroelectronics?
Normaly, the startup and lnker script are provided as default choosing the right MCU (STM32F091xx).
Best regards,
Hi!
Thanks for your answer.
Yes i had a look to this application note, but there is no information for that problem in there. Because of we have user specific files i've took the startup and linker scripts from the working project (STM32F103), matched the necessary parameters (e.g. FLASH, RAM,...) for the STM32F091 and expected that they work here, too. But that isn't the case.
Thanks a lot for other hints and suggestions.
Best regards,
Michael Bohle
I suggest you to start from the default STM32F091xx satrtup and linker script then modify your region, memory, section,...
Which version of Ride7 and Rkit-ARM are you using?
Please, update your version to the latest release, the default linker script and startup are updated.
Regards,