Show Posts
Pages: [1] 2
1  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 30, 2012, 01:13:42 pm
Hi,

I tried all baud rates but it did not work.

I found one difference in crystal used in my breadboard and the tutorial which i referred in building my breadboard.

Crystal used in tutorial :: 16.OC5Y

Crystal used in my bread board :: 16000 KDS.6E

Does it make any difference ?

Thanks,

Ujjwal Soni
2  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 27, 2012, 07:28:39 am
No, i am not using Arduino IDE to install the bootloader. I have done this using external programmer.

When i press reset button, LED 13 blinks so, do you still think that this is an issue with the bootloader ?
3  Using Arduino / Microcontrollers / Fuse Bits for ATMEGA328P-PU on: November 26, 2012, 08:52:46 am
Hi,

Is there a different fuse setting for ATMEGA328P-PU ?

I use below

uno.bootloader.low_fuses=0xff
uno.bootloader.high_fuses=0xde
uno.bootloader.extended_fuses=0x05
uno.bootloader.unlock_bits=0x3F
uno.bootloader.lock_bits=0x0F

Is this correct ?

Thanks,

Ujjwal Soni
4  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 26, 2012, 04:39:35 am
Hi,

I again bootloaded a fresh new chip with optiboot loader but still face this issue.

How can i set fuses on target ? Is there any setting for this ?
5  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 26, 2012, 02:56:53 am
1 second for each blink..total 3
6  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 26, 2012, 02:50:54 am
Yes, RX TX connectors are wired correctly. I am using 16k crystal value.

I have attached pictures of my breadboard.

7  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 26, 2012, 01:59:13 am
Yes, it passes loopback test. I am using a serial connection using MAX232.
8  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 26, 2012, 01:06:06 am
yes i have included Auto-Reset Circuit, when i upload a sketch, reset led blinks 3 times.
9  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 25, 2012, 04:25:39 am
Its located on breadboard. I have made an arduino uno board on breadboard
10  Using Arduino / Microcontrollers / Re: avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 25, 2012, 04:05:15 am
How can i find that ? Chip is ATMEGA328P-PU with optiboot UNO.

Below are the contents for boards.txt file for UNO

uno.name=Arduino Uno
uno.upload.protocol=arduino
uno.upload.maximum_size=32256
uno.upload.speed=115200
uno.bootloader.low_fuses=0xff
uno.bootloader.high_fuses=0xde
uno.bootloader.extended_fuses=0x05
uno.bootloader.path=optiboot
uno.bootloader.file=optiboot_atmega328.hex
uno.bootloader.unlock_bits=0x3F
uno.bootloader.lock_bits=0x0F
uno.build.mcu=atmega328p
uno.build.f_cpu=16000000L
uno.build.core=arduino
uno.build.variant=standard

11  Using Arduino / Microcontrollers / avrdude: stk500_getsync(): not in sync: resp=0x00 on: November 25, 2012, 03:02:26 am
Hi,

I am using ATMEGA328P-PU bootloaded with Arduino UNO optiboot. When i press reset button, LED connected on PIN 13 blinks.

When i upload using Arduino IDE and upload blink sketch, LED blinks 3 times but i get below error

avrdude: stk500_getsync(): not in sync: resp=0x00

I have selected Arduino UNO board and serial port is correctly configured.

below is the verbose output i get :: Please help

Binary sketch size: 1,084 bytes (of a 32,256 byte maximum)
C:\Users\ujjwal\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Users\ujjwal\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\\.\COM1 -b115200 -D -Uflash:w:C:\Users\ujjwal\AppData\Local\Temp\build1713308693691843524.tmp\Blink.cpp.hex:i

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Users\ujjwal\Documents\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM1
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

12  Using Arduino / Microcontrollers / Atmega328P-PU and Atmega328-PU Difference on: October 13, 2012, 01:56:18 am
Hi,

I developed a breadboard for Arduino UNO, in document, it was referred to use Atmega328P-PU, but i ordered Atmega328-PU by mistake. Will it work with my breadboard ? Also, what is the difference betweeen these two chips ?

Thanks,

Ujjwal Soni
13  Using Arduino / Microcontrollers / Re: Bootloading Atmega328-PU with arduino UNO hex file on: October 08, 2012, 06:14:50 am
I do not have Arduino UNO. I have my own Arduino UNO breadboard with blank ATMEGA328-PU chip.
14  Using Arduino / Microcontrollers / Re: Bootloading Atmega328-PU with arduino UNO hex file on: October 08, 2012, 04:39:59 am
Hi,

Thanks for the reply. I have developed Arduino UNO board using a breadboard and assembled it. I do not have any ATMEGA328 chip with preloaded bootloader, i have 10 blank chips for ATMEGA328-PU and want to bootload it with Arduino UNO hex.

Could you suggest me a programmer ?

Thanks,

Ujjwal Soni
15  Using Arduino / Microcontrollers / Bootloading Atmega328-PU with arduino UNO hex file on: October 06, 2012, 08:28:11 am
Hi,

I wanted to know weather is there any possible way to bootload Atmega328-PU with Arduino UNO hex file using external USB programmer ??

Also are there any settings to be taken care of while bootloading or i just need to upload the hex file ?

Thanks,

Ujjwal Soni
Pages: [1] 2