Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Erasing sector in flash AT91FR4042
PostPosted: Wed Mar 02, 2005 6:24 pm 
Offline

Joined: Mon Jan 10, 2005 10:35 pm
Posts: 4
I trying to erase a flash memory sector in a AT91FR4042 and it seems to be erasing all the sectors. Here is the code that I'm using:

at91_erase_sector(0x1000000 /*base*/, 0x1060000 /*sector*/);

Is there something I'm missing?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 09, 2005 6:44 pm 
Offline
User avatar

Joined: Fri Feb 13, 2004 7:53 pm
Posts: 329
Hi Jared,

the BV4096A flash has an address range where to send the erase sector command.

atttached is the flash routines for the FR4042. The project is made with ARM ADS but it is standalone C code, so usable with another tool.

Regards,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: