ARM Technical Support Knowledge Articles

How do I program flash memory with RealView Debugger?

Applies to: RealView Development Suite (RVDS)

Answer

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.

Article last edited on: 2008-09-09 15:47:50

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential