Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
HC912DG128A : bootloader in non-banked memory ? - yann_37 - Dec 15 10:16:00 2005
Hello,
I'm working on a HC912DG128A.
Apparently, it is possible to put a bootloader in the non-banked memory
($4000-$7FFF and $C000-$FFFF). You can also erase and program banked
memory (6 pages from $8000-$BFFF).
My problem is about the predefined sections that must be in non-banked
memory : ROM_VAR (application constant variables), STRINGS
(application string constants), COPY (initialization values for the
application variables).
If the new code that the bootloader will put in flash memory contains
new variables, it will create changes in these sections, so it won't
work ?
Is it possible to put these sections in banked memory ?
Does anybody have a solution ?
Am I obliged to copy and run the bootloader in RAM ?

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )