|
From: avr f. <avr...@gm...> - 2010-07-04 20:22:30
|
Thanks again to Andy Kirby and Erich Waelde. 1. I got it working with: avrdude -V -c stk500v2 -p atmega328p -P usb -b 115200 -e -u -U lock:w:0x3f:m -U efuse:w:0xFD:m -U hfuse:w:0xDB:m -U lfuse:w:0xFF:m avrdude -c stk500v2 -p atmega328p -P usb -b 115200 -U flash:w:duemilanove.hex -U eeprom:w:duemilanove.eep -U lock:w:0x0f:m 2. Added "-V" to skip the fuse check. 3. I'm using screen to connect: screen /dev/tty.usbserial-A9007Rkn 9600 The colon word is not working as expected. Do I have to compile words in the hex file or can I do it in the prompt? I just tried to write ": hello 1 ;". This will freeze my system and after that I have to upload the hex again. The colon word appears when I type "words" so it is in the hex file. /mat On Thu, Jul 1, 2010 at 11:13 PM, an...@ki... <an...@ki...> wrote: > If the files you are renaming are the ones I emailed over. I think it > may be problematic as they were for the 168 and you state below you have > a 328. > > I will email over the 328 files named duemilanove. > > Use the fuse settings for Duemilanove from the readme as well. > > Cheers > > Andy Kirby > > > > On 01/07/10 20:51, avr feedback wrote: >> Thanks! Great, this is exiting! >> >> What I have is a ATMega 328 and I'm using a ATAVR mkII in-system programmer. >> >> To restore the bootloader I use these two lines(from Arduino IDE >> 0018.) It's not as easy as just renaming the hex file. >> That did not work. :) (I can se that i'm transmitting characters but >> nothing is coming back. Tried 9600,19200,38400 with screen and >> minicom.) >> >> avrdude -c stk500v2 -p atmega328p -P usb -b 115200 -e -u -U >> lock:w:0x3f:m -U efuse:w:0x05:m -U hfuse:w:0xDA:m -U lfuse:w:0xFF:m >> avrdude -c stk500v2 -p atmega328p -P usb -b 115200 -U >> flash:w:ATmegaBOOT_168_atmega328.hex -U lock:w:0x0f:m >> >> I can't figure out what to do with the eep-file. I feel lost. I guess >> I have to start from the beginning.. >> >> /mat >> >> On Wed, Jun 30, 2010 at 11:19 PM, an...@ki... >> <an...@ki...> wrote: >>> It looks like a compressed Diecimila (atmega168) so the Diecimila build >>> should work OK. >>> >>> >>> >>> >>> >>> On 30/06/10 19:18, avr feedback wrote: >>>> Someone with a hexfile or installation notes for Arduino Nano V3.0? >>>> Will it work? >>>> >>>> http://www.arduino.cc/en/Main/ArduinoBoardNano >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by Sprint >>>> What will you do first with EVO, the first 4G phone? >>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>>> _______________________________________________ >>>> Amforth-devel mailing list >>>> Amf...@li... >>>> https://lists.sourceforge.net/lists/listinfo/amforth-devel >>>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Sprint >>> What will you do first with EVO, the first 4G phone? >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>> _______________________________________________ >>> Amforth-devel mailing list >>> Amf...@li... >>> https://lists.sourceforge.net/lists/listinfo/amforth-devel >>> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Amforth-devel mailing list >> Amf...@li... >> https://lists.sourceforge.net/lists/listinfo/amforth-devel >> > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |