ARM Technical Support Knowledge Articles

ULINK DOES NOT ERASE ALL SECTORS

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

ULINK seems not to erase all sectors of the specified flash. I need to erase all sectors because my application performs a CRC check over the complete flash area. How can I erase all sectors with ULINK?

ANSWER

In order to save time when downloading an application into on-chip of off-chip flash, ULINK only erases and programs flash sectors which are in use.

To erase the entire flash device, an application needs to allocate at least one byte in every flash sector. You may download the attachment from this knowledgebase article. It contains a simple µVision project which does that job.

Article last edited on: 2005-06-07 08:30:13

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