Oskar Atkinson

AN2295 - Store a few byte in protected memory ( Serial Number)

Discussion created by Oskar Atkinson on Apr 29, 2011
Latest reply on Apr 30, 2011 by Chinlun Wu



I am using the serial bootloader to flash my app to a MC9S08AW32 . Works like perfect.


However, now I have the request to store a serial number in protected memory - just 2 or 4 bytes would be plenty.

My understanding is that the bootloader sets the flash protectioin flags to protect itself - So I would need to "issue" and flash the serial number when the bootloader itself is initially flashed, correct ?

Which in turn would require to modify the bootloader code and memory layout ?


Are my thoughts remotely correct? Any hints are highly appreciated


( Coming from the win32 world ... dealing with bits and bytes is not that esy for me )