Atmega 88 programming using usbasp / avrdude

The operation of transmitters designed to jam or block wireless communications is a violation of the Communications Act of 1934, as amended ("Act"). See 47 U.S.C. Sections 301, 302a, 333. The Act prohibits any person from willfully or maliciously interfering with the radio communications of any station licensed or authorized under the Act or operated by the U.S. government. 47 U.S.C. Section 333. The manufacture, importation, sale or offer for sale, including advertising, of devices designed to block or jam wireless transmissions is prohibited. 47 U.S.C. Section 302a(b). Parties in violation of these provisions may be subject to the penalties set out in 47 U.S.C. Sections 501-510. Fines for a first offense can range as high as $11,000 for each violation or imprisonment for up to one year, and the device used may also be seized and forfeited to the U.S. government.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
avo3
 
Posts: 5
Joined: Mon May 14, 2012 2:11 pm

Atmega 88 programming using usbasp / avrdude

Post by avo3 »

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.

spacedoggy
 
Posts: 46
Joined: Fri Apr 22, 2011 3:45 pm

Re: Atmega 88 programming using usbasp / avrdude

Post by spacedoggy »

take a load of screen shots or list the output you get when programming.

post screen shots of your terminal settings and screen too.

avo3
 
Posts: 5
Joined: Mon May 14, 2012 2:11 pm

Re: Atmega 88 programming using usbasp / avrdude

Post by avo3 »

hello,
thank You for Your fast answer I attached screen shot
Attachments
avrdude.JPG
avrdude.JPG (87.56 KiB) Viewed 3225 times

spacedoggy
 
Posts: 46
Joined: Fri Apr 22, 2011 3:45 pm

Re: Atmega 88 programming using usbasp / avrdude

Post by spacedoggy »

here's the notes I used when programming my rev 1.0a

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

and my WB2010...

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


avo3
 
Posts: 5
Joined: Mon May 14, 2012 2:11 pm

Re: Atmega 88 programming using usbasp / avrdude

Post by avo3 »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Wave Bubble”