Personal tools
You are here: Home Forums IAR Setting Flash ID Bytes With R8C/M16C in IAR EW

Setting Flash ID Bytes With R8C/M16C in IAR EW

Up to IAR

Setting Flash ID Bytes With R8C/M16C in IAR EW

Posted by twelvexs at January 03. 2008

When using the IAR tools to build project for the R8C/M16C line of devices, it's very straighforward to set the flash protection ID bytes used to prevent access to the device using the serial interface. In the IAR tools, the ID byte locations are contained in the linker command file, *.xcl. Typically when creating an IAR project, the linker command file is created automatically as part of the project structure and can be accessed thru the IAR IDE. The picture below shows just such a project as an example and were to edit the ID bytes. Note that once the flash ID bytes are set, the device will now become locked to those values and they (those values) will be required to unlock the device for future programming and debugging. Enjoy!

 

 ID

Powered by Ploneboard