Keil Logo

XC16x In-Application On-Chip Flash Programming

This example program shows how to program the On-Chip Flash memory of the Infineon XC16x devices during application execution (In-Application Programming).

This example projects contains programming routines, that are copied from the Flash ROM to ERAM for execution.

To run this program...

  1. Build the project (Project Menu, Build Target)
  2. Start the debugger (Debug Menu, Start/Stop Debug Session)
  3. View the Memory Window (View Menu, Memory Window) at address 0xC10000. This Flash ROM area will be used for storing application data.

When starting the project stepping over the functions PFlash_Erase() and PFlash_Write() in main(), you can see how the content of flash memory changes.

Monday, August 9, 2004
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.