Show Posts
Pages: 1 2 [3] 4 5 ... 42
31  Using Arduino / Installation & Troubleshooting / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on Sanguinololu on: March 26, 2013, 03:50:44 pm
That's the one.  It is the In Circuit System Programmer (ICSP) header.  It is the master communications to the micro-controller.  If you had a AVR programmer you can connect to that header and put the bootloader or a sketch (it will overwrite the bootloader) onto the micro-controller.  Your USB to FDTI to the micro-controller is through the micro-controller's UART or serial communications (like that old modem thingy).

Did you find that Auto-Reset header next to the Atmega664 pins 8-10?  I do not see a user led on the board, just the power led and it is just connected to the 5V power. 

Anyhow, if you can not get it to upload with manual reset or with the enabled Auto-Reset, you more than likely have a corrupted bootloader and suggest an contacting the guys you bought it from.
32  Using Arduino / Installation & Troubleshooting / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on Sanguinololu on: March 26, 2013, 02:12:10 pm
Sorry, had my tech head on.  The "USB Serial Port COM8" in your device manager means that the FTDI has enumerated, so USB to FTDI is good.  The manual reset is a little tricky without the TX/RX leds.  I usually hold the button down and when the sketch size display appears, give it another 750ms then release.

Do you have a jumper on the AUTO-RESET or JP25?  Location appears (v1.3a) to be by pins 8,9,10 of the Atmega664.

That one enables the 100nF capacitor that would trigger the reset automatically.

Quote
I also get this error when I try to burn a new bootloader from the Arduino IDE. I don't know which 'programmer' option i should have selected but i have tried it with all of them to no avail.

Do you have a programmer?  You will not be able to put a bootloader on without a programmer (or another Arduino turned into a programmer).  You will have to connect with the 2x6 header on the lower right next to the reset button.
33  Using Arduino / Installation & Troubleshooting / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on Sanguinololu on: March 26, 2013, 11:53:37 am
When you plug in the USB, does the FTDI enumerate?  Did you build the Sanguinololu yourself?
34  Using Arduino / Installation & Troubleshooting / Re: Arduino Mega 2560 R3 DFU Mode Help on: March 26, 2013, 11:35:59 am
Do I need to be quick making the 2nd short?

One short will suffice.  Think of it like tapping a reset button.  This should start the New Device installation wizard where you need to go to the FLIP folder to point to the Atmega16u2 driver.  In you Device Manager, after you reset the 16u2, which device comes back?
35  Using Arduino / Microcontrollers / Re: diy atmega8 arduino not uploading. please help! on: March 24, 2013, 05:21:11 pm
Yeah, some of those boards are silked wrong.  This would number three that I heard of.

Enjoy.
36  Using Arduino / Microcontrollers / Re: ATmega2560 custom board problem on: March 24, 2013, 10:50:05 am
Do you know what fuse settings you last sent to the MCU?
37  Using Arduino / Installation & Troubleshooting / Re: UNO SMD unrecognizable on: March 23, 2013, 12:06:11 pm
Try this:

1. <Windows Key> + <r> and type "shutdown.exe /r/o/f/t 00" and click the <Ok> button.

2. The system will restart and come to a "Choose an option" screen and select "Troubleshoot".

3. In the "Troubleshoot" screen, select "Advanced options".

4. In the "Advanced options" screen, click <Restart>.

5. The system will restart and come to the "Advanced Boot Options" screen and select "Disable Driver Signature Enforcement"

6. The system will restart Windows 8 and will be ready to install the drivers.
38  Using Arduino / Programming Questions / Re: Multiples Input From Keypad (dont know !!!!) on: March 23, 2013, 11:34:00 am
Code:
Serial.begin(9600);
  delay(500);
  //Keypad.addEventListener(keypadEvent);  // Add an event listener.
  //keypad.setHoldTime(500);               // Default is 1000mS
  //keypad.setDebounceTime(250);           // Default is 50mS
  clearLCD();
  selectLineOne();
  Serial.print(" Score Dominoes ");
  selectLineTwo();
  Serial.print("Group:");

Any reason you commented out the "Debounce" routine.  The problem you are describing is a "bounce" issue.
39  Using Arduino / Installation & Troubleshooting / Re: UNO 2012 and UNO now on: March 23, 2013, 10:50:43 am
http://www.gammon.com.au/forum/?id=11635
40  Using Arduino / Installation & Troubleshooting / Re: Non-responsive Uno R3 on: March 22, 2013, 05:03:13 pm
You could check to see if the Atmega328 or the Atmega16u2 are talking.  First, get Nick Gammon's board programmer:
http://www.gammon.com.au/forum/?id=11635

Put it in your sketch folder and open the sketch up.  Go down to where the constants are defined and change:

Code:
const byte RESET = 53
const byte SCK = 52

Then Save as ABP_Mega or something else.  Upload to the Mega.  Of course, after upload, disconnect power.

Hook up Wires:

MEGA / UNO
5V   -   5V
GND - GND
D50  -  D12
D51  -  D11
D52  -  D13
D53  -  RESET

Plug in the Mega and open the serial window @115200 baud.

You should get output of the Atmega328 and all the fuses.  If that works, you will need to check the 16u2 from the ICSP header by the USB port (You could have done this as well for the Atmega328).  The pins are as such

Pin1 / Pin2 (Pin 1 is closest to the white dot or "1")
MISO - 5V
SCK  - MOSI
RST  - GND

or

D50 - 5V
D52 - D51
D53 - GND

Unfortunately, unlike the Atmega328 UNO bootloader included in the sketch, the 16u2 firmware is not included.  But, you can use your Mega as an Arduino programmer in avrdude and try to upload the firmware that comes with the Arduino IDE.
41  Using Arduino / Microcontrollers / Re: diy atmega8 arduino not uploading. please help! on: March 22, 2013, 12:04:14 pm
Well that is unfortunate.  Lets try a manual reset.  When you press the upload button and the IDE compiles the sketch, press and hold the reset button down until the Binary Sketch Size: 1,234 bytes appears in the IDE window and then release the reset button.  There is a fussy timing of this, so a few tests may be needed (delaying release 100-500ms after the Binary Sketch Size).  Some people prefer just pressing it when the Binary Sketch Size appears.

It is a little easier with both RX and TX leds.
42  Using Arduino / Microcontrollers / Re: diy atmega8 arduino not uploading. please help! on: March 22, 2013, 10:25:27 am
I can not tell how the USB2UART is hooked up, but if the breakout board is silked correctly, it should be as follows:

3.3V - (Not connected)
RST - Atmega pin 1 thru 0.1uF cap
TX0 - Atmega pin 2 (RX0)
RX0 - Atmega pin 3 (TX0)
GND- Ground
5V  - Vcc

I see this USB2UART has a PWR and TX LED, is there any activity on the TX when you upload?
43  Using Arduino / Microcontrollers / Re: diy atmega8 arduino not uploading. please help! on: March 21, 2013, 05:54:09 pm
No problem.

Also, you might want to put a 0.1uF from VCC-GND, AVCC-GND and AREF-GND close to the ATmega8.  It will help with high frequency noise devices can generate.
44  Using Arduino / Microcontrollers / Re: diy atmega8 arduino not uploading. please help! on: March 21, 2013, 04:22:24 pm
Quote
I used my arduino mega2560 to bootload the atmega8.

Okay... so you used the Arduino as ISP?  Which board did you select (i.e. which bootloader did you put on the ATmega8?)?

Quote
I made some pictures but i don't know how to upload them here.

The little arrow with the orange text "Additonal Options..."

Quote
CP2102 USB to TTL Converter Module which i bought from here:

Cool, at least this CP2102 has the DTR/RST broke out.  Did you install the driver?
http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx

Did you put a 0.1uF capacitor between RST on the USB2UART and pin 1 on the Atmega8?  This allows the auto-reset, other than that, you will have to use the reset button just before the upload (when the sketch size appears).

Quote
is it possible I somehow burned out my atmega?

It is always possible smiley-wink  But I do not think we can make that determination, unless you have already release the "blue smoke" from the chip.
45  Using Arduino / Microcontrollers / Re: diy atmega8 arduino not uploading. please help! on: March 21, 2013, 03:13:56 pm
Need a little more information...  Which USB2UART are you using?  Which board did you use?

Here is the Old Version (boards.txt)
Code:
atmega8.name=Arduino NG or older w/ ATmega8

atmega8.upload.protocol=arduino
atmega8.upload.maximum_size=7168
atmega8.upload.speed=19200

atmega8.bootloader.low_fuses=0xdf
atmega8.bootloader.high_fuses=0xca
atmega8.bootloader.path=atmega8
atmega8.bootloader.file=ATmegaBOOT.hex
atmega8.bootloader.unlock_bits=0x3F
atmega8.bootloader.lock_bits=0x0F

atmega8.build.mcu=atmega8
atmega8.build.f_cpu=16000000L
atmega8.build.core=arduino
atmega8.build.variant=standard

But, if you used Optiboot you are going to need to create an Atmega8-UNO entry.

Pictures of you project can be helpful smiley
Pages: 1 2 [3] 4 5 ... 42