Hello,
First of all I`m new guy so sorry for some mistake which I will surely do.
I almost build the working wavebubble. But when I check the usart communication nothing work.
I use usbasp programmer and avrdude software.
First I burn the fuses like here:
http://www.ladyada.net/make/wavebubble/tuning.html
and evey test work geat except uart test.
I use putty for the comunication with board.
I the boadr with ft232 work`s great I checked.
There is some interestin think about programing using avrdude.
First as I sad program the fuses then I download to ucontroler program with uncommented test uart.
At the last line of software avr dude ask me that the fuses have been changed and if I would like to re-program it back.
So I choose yes I try to stay in this which program suggested but it just go worse because it block my u controller.
Thank You for help me.
Atmega 88 programming using usbasp / avrdude
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 46
- Joined: Fri Apr 22, 2011 3:45 pm
Re: Atmega 88 programming using usbasp / avrdude
take a load of screen shots or list the output you get when programming.
post screen shots of your terminal settings and screen too.
post screen shots of your terminal settings and screen too.
-
- Posts: 5
- Joined: Mon May 14, 2012 2:11 pm
Re: Atmega 88 programming using usbasp / avrdude
hello,
thank You for Your fast answer I attached screen shot
thank You for Your fast answer I attached screen shot
- Attachments
-
- avrdude.JPG (87.56 KiB) Viewed 3226 times
-
- Posts: 46
- Joined: Fri Apr 22, 2011 3:45 pm
Re: Atmega 88 programming using usbasp / avrdude
here's the notes I used when programming my rev 1.0a
and my WB2010...
Code: Select all
cd C:\WinAVR-20100110\bin\WB_firmwarev1
edit main.c parameters, uncomment out calls to individual test functions...
notepad main.c
set fuses... (may require configuration of command line from default)
make burn-fuse
compile make.c...
make
test programmer connection...
avrdude -p atmega88 -P usb -F -c avrispmkii
write EEPROM...
avrdude -p atmega88 -P usb -F -c avrispmkii -u -U eeprom:w:wavebubble.eep
Write flash...
avrdude -p atmega88 -P usb -F -c avrispmkii -u -U flash:w:wavebubble.hex
Code: Select all
cd C:\WinAVR-20100110\bin
previous version located here: C:\WinAVR-20100110\bin\WB2010_Firmware
set fuses... (varify values before re-running fuse programming should be E2 D5 F9 on fusecalc)
avrdude -c avrispmkii -p atmega168 -P usb -U lfuse:w:0xe2:m -U hfuse:w:0xd5:m -U efuse:w:0xf9:m
test programmer connection...
avrdude -c avrispmkii -p atmega168 -P usb
test firmware...
cd C:\WinAVR-20100110\bin\WB2010_Hardware_Test
avrdude -c avrispmkii -p atmega168 -P usb -U flash:w:main.hex
build firmware...
cd C:\WinAVR-20100110\bin\WB2010_Firmware
avrdude -c avrispmkii -p atmega168 -P usb -U flash:w:main.hex
-
- Posts: 5
- Joined: Mon May 14, 2012 2:11 pm
Re: Atmega 88 programming using usbasp / avrdude
hello, thank You for Your answer I have big request for You,
could You send me this .eep and .hex files for v1.0a (RC1a) with runing normal program as should be.
my e-mail [email protected]
THANK YOU
could You send me this .eep and .hex files for v1.0a (RC1a) with runing normal program as should be.
my e-mail [email protected]
THANK YOU
Please be positive and constructive with your questions and comments.