Forum : Ride IDE
Post Information | Post |
---|---|
February 9, 2017 - 10:11pm
|
I am using Ride7 7.64.16.0244 using the gcc tool chain. I am working on a STM32F107xC. I need to develop a bootloader in the region of 0x8000000 and 0x8007FFF. This would be an 32KB bootloader. I need to also develop an application in the region of 0x8008000 and 0x803F7FF. This would be a 232KB application. The remaining two KB is used for factory calibration data. I have worked with TI's CCS for years. I am used to going into the linker command files and specifying these regions. In Ride7, the *.ld files are recreated every time, so I cannot change them. In Project Local Settings -> Advanced ARM Options there seems to be just what I want. But I cannot change the values. They are inactive in the IDE. How do I change the ROM start and ROM size attributes? |
Hello,
There are 5 ld files that are auto-generated. One of them is always auto-generated and includes the others, but the others can be replaced by your own if you configure the project for that.
You need to use a custom linker script as explained in the Getting Started doc. Then you will be able to define your own memory regions, sections, etc.
Best Regards,
Vincent
Vincent,
Thanks for the coaching. I have gotten the custom .ld files working. For debugging the application, which starts at 0x8000, how do I tell the Rlink to start at 0x8000? The bootloader is at 0x0000, but when debugging that gets erased, so if I start from 0x0000, the code locks up.
For other users who have the same question, please see here:
http://support.raisonance.com/node/887793