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  [ 3 posts ] 
Author Message
 Post subject: Remotely erasing the code on board
PostPosted: Thu Feb 16, 2012 10:52 pm 
Offline

Joined: Thu Feb 16, 2012 10:25 pm
Posts: 2
Hello friends,
I am using a SAM7x256 board and I have a doubt. Every time we have to burn a code on the board, we have to erase it before burning a new one. And the erasing code part can be done by connecting the erase pin to ground (i.e by changing hardware connection)
Now what I want to know is, is there any way to erase the code on board so that I don't have to change the hardware connections at all? (so that all my work now is just playing with software and thus I can do this remotely :) )
I would really appreciate any solution / suggestion.


Top
 Profile  
 
 Post subject: Re: Remotely erasing the code on board
PostPosted: Fri Feb 17, 2012 1:45 am 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 784
You'd use the flashd_efc driver code from the at91lib, and copy the code you want to touch flash (erase, write) into RAM and execute it from there.


Top
 Profile  
 
 Post subject: Re: Remotely erasing the code on board
PostPosted: Fri Feb 17, 2012 8:50 pm 
Offline

Joined: Thu Feb 16, 2012 10:25 pm
Posts: 2
Thank you CptTitanic.. :)


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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: