Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
July 14, 2011 - 4:54pm
|
I have a bootloader which uses the ram sections: Now I want to create my application running on this bootloader How can I tell ride7 to use two RAM sections. I can only find RAM start and RAM size in the advanced ST7/STM8 options. I need the 0x10 til 0x100 for at least the library which wants to locate the CSTDLIB_REGISTERS in the zero page. Also my application will run much faster with variables located in the zero page. Any ideas? |
Hi,
You need to create a separate Ride7 application for your "bootloaded" application.
Then you must use the RAM and CODE linker options to describe the areas to be used to locate your variables and you code in flash.
Best Regards,
I already created a separate Ride 7 application.
I solved it (I think) using the following settings:
Processor settings:
STM8S208RB
RAM start: 0x0010
RAM size: 0x17f0
Additional linker options:
RESERVE(DATA,0100H-01FFH)
So 0x10 til 0x100 is free and 0x200 til the end.
I think this is enough.
thanks.