From: Jan K. <kro...@ho...> - 2012-05-06 18:12:18
|
Hi Matthias, Thanks for the quick response. If I understand correctly the best is to buy some bare 328p chips, and flash them without tatching the lock bits This is perhaps the issue that my Amfort is not won't to run. Cheers, Jan Op 6 mei 2012, om 19:16 heeft Matthias Trute het volgende geschreven: > Hi Jan, > >> When I take 2 new 328p with boot on it ( buy it recently from >> original supplier) then when I read the lock byte the should be the >> same? If my working version has an other number, because I did some >> stupid things, I always can set it back to the origional value with >> avrdude? > > I've never changed any lock bits, just keep them as they are (all > 1). When reading the lock bits (difficult enough), it may be > possible that the unused bits in a byte may come up as 0 oder > 1, thus changing the byte value. If you really want to check > the lock bits, deal with the bits themselves. For any details, > consult the (long) datasheet(s). > > Arduino has pre-programmed the controllers, maybe they have > changed the lock bits too. You may have to ask the ardiuno > people, why (but I doubt that they did it). > > Matthias > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |