Keil Logo

C166: ULINK DOES NOT ERASE ALL SECTORS


Information in this article applies to:

  • C166/ULINK All Versions

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.

ATTACHED FILES

Request the files attached to this knowledgebase article.

Last Reviewed: Tuesday, June 7, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.