在做Can_Bootloader时,为什么需要把 0xF200 TO 0xFEFF RELOCATE_TO 0x3200?
BOOT_MEM = READ_ONLY DATA_NEAR IBCC_NEAR 0xF200 TO 0xFEFF RELOCATE_TO 0x3200;
Hi Zhou,
Please be aware that we provide support only in the English language.
Translation by Google Translator: In doing Can_Bootloader, why should the 0xF200 TO 0xFEFF RELOCATE_TO 0x3200?
The bootloader may be designed for single use (the application may rewrite the bootloader) or for multiple uses (the flash are occupied by bootloader is protected).
In both cases, the bootloaders typically move at least the flash routines into RAM. The code running in RAM may write any flash block without restriction (we cannot simultaneously execute code from flash and write the same flash block)….
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------