Led Test Not working

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
sciguy14
 
Posts: 17
Joined: Fri Jun 12, 2009 3:19 pm

Led Test Not working

Post by sciguy14 »

Hi all, been working on my own wavebubble, and I've got a quick question, hopefully somebody can help.

I've gotten up to the point where I need to run the LED test using the first "burn-fuse" command. I have tested all my power rails, and ensured that the LED lights properly when given 3.3V.

I run the "make burn-fuse" command and the programming appears to be successful, but the LED does not blink. I have already uncommented the proper line in main.c.

Here is the output from avrdude:

Code: Select all

C:\Users\stevens\Desktop\firmware>make burn-fuse
avrdude -p atmega88 -P com3         -c avrisp -u -U lfuse:w:0xe2:m -U hfuse:w:0x
d7:m
         Probeing avrisp Firmware-Version 1.x...
         Auto-switch to Programmer "STK500V2".
         Use -c stk500v2 to avoid this delay.

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e930a   (Atmel-ID detected)
avrdude: reading input file "0xe2"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.02s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xe2:
avrdude: load data lfuse data from input file 0xe2:
avrdude: input file 0xe2 contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xd7"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xd7:
avrdude: load data hfuse data from input file 0xd7:
avrdude: input file 0xd7 contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified

avrdude done.  Thank you.

nux
 
Posts: 23
Joined: Sun Mar 22, 2009 11:48 pm

Re: Led Test Not working

Post by nux »

You have only programmed the micros fuses. You then need to comment out the LED code in the test c file, compile and burn that as well.

sciguy14
 
Posts: 17
Joined: Fri Jun 12, 2009 3:19 pm

Re: Led Test Not working

Post by sciguy14 »

Sorry I'm a bit confused. I commented out the line test_led() in the main method of main.c. Then I do it again with that commented, and the LED doesn't blink. Is it normal that avrdude says it is only writing one byte?

sciguy14
 
Posts: 17
Joined: Fri Jun 12, 2009 3:19 pm

Re: Led Test Not working

Post by sciguy14 »

ah never mind i got it figured out. I had to run "make full"

Bandit
 
Posts: 45
Joined: Mon Dec 01, 2008 1:16 pm

Re: Led Test Not working

Post by Bandit »

If Im using the USBtinyISP to program the Atmega88 do I have to change this line:

avrdude -p atmega88 -P com3 -c avrisp -u -U lfuse:w:0xe2:m -U hfuse:w:0x

to use UCBtinyISP instead of avrisp?

Im ready to burn the fuses to test the led, but not certain how to proceed. I just assembled and tested the USBtinyISP and that seems to work fine.

sciguy14
 
Posts: 17
Joined: Fri Jun 12, 2009 3:19 pm

Re: Led Test Not working

Post by sciguy14 »

you'll need to change the -c argument.

Bandit
 
Posts: 45
Joined: Mon Dec 01, 2008 1:16 pm

Re: Led Test Not working

Post by Bandit »

Thanks, that worked:) Its my first time using avrdude.

sciguy14
 
Posts: 17
Joined: Fri Jun 12, 2009 3:19 pm

Re: Led Test Not working

Post by sciguy14 »

It was mine too on this project. It takes some getting used to.

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

Return to “Wave Bubble”