Hi team,
We are using MC9S12XE micro-controller and in the data sheet 128kb is splited in to two 64kb. pls help us how to reconfigure the Memory map . we want to create seg for Boot loader.
Hi Maddela,
From your description, I assume your MCU has 128 KB of Flash. In this case, 128 KB of the P-Flash is divided into two 64 KB blocks.
Each block is divided into 64 sectors of 1024 B.
See Appendix D Derivative Differences Table D-1. and chapter 24.1.2.1 P-Flash Features in the reference manual.
You can find the memory maps for S12XE devices in the attachment.
Very good start for programming bootloader for S12X MCU is AN4258 - Serial Bootloader for S12(X) Microcontrollers Based on 180 nm Technology
The software is located on this link:
http://www.nxp.com/files/microcontrollers/doc/app_note/AN4258SW.zip
I hope it helps you.
Best regards,
Diana