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  [ 1 post ] 
Author Message
 Post subject: sam-ba 2.11 linux problem
PostPosted: Tue Jul 03, 2012 4:13 pm 
Offline

Joined: Tue Jul 03, 2012 3:45 pm
Posts: 1
Hi
I use sam-ba on Ubuntu 12.04 with Eclipse. I wrote a makefile wherein Sam-ba is run using the command line. I found a bug when I want loaded binary in flash. The problem comes from locks bits of memory. When you use gui, sam-ba asks you if you want to unlock these bits. If you answer "yes", a variable is set to 1. In command line mode, this variable is not set and therefore it doesn't work!
You can solve this problem by adding "else {set ForceUnlockBeforeWrite 1}" at line 2168 of file tcl_lib/common/generic.tcl.
I hope that it can help someone...


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

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: