Flash memory can not be written to in the same way in which you can write to RAM. Changing flash memory requires a sequence of operations to take place, which are specific to the flash device in question. These operations are encapsulated in a flash programming algorithm which is written for the flash device – this usually runs on the main processor which accesses the flash. RealView Debugger comes with a library of flash programming algorithms which cover a number of flash devices, mainly for ARM produced targets. To program flash, you must have a valid Flash MEthod (FME) file for your Flash device. See App Note 110: Flash Programming with RealView Debugger: http://www.arm.com/documentation/Application_Notes/index.html Once RealView Debugger is setup correctly and is aware of your memory map, flash is programmed automatically when you download a file to the target. Alternatively you can use the flash programming dialog and manually program the memory by modifying the memory directly in the memory window.
|