Programmer not responding when programming ATmega 1284p


hi all,

ran more problems 1284p setup.

the chip's had maniacbug bootloader burned onto it. i'm using ftdi serial cable program arduino ide, wired according nick gammon's instructions (http://www.gammon.com.au/breadboard) external 16mhz crystal on breadboard.

the problem works intermittently when upload sketches, maybe 1 time out of 10 or 15 attempts.
other times it'll fail out, producing output:

code: [select]
         using port                    : /dev/cu.usbserial-fthhw6jl
         using programmer              : arduino
         overriding baud rate          : 115200
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  thank you.



i've done extensive searching on problems here , on other forums , tried solutions people suggested:
  • putting rc filter on rx0 pin reduce crosstalk between rx0 , crystal
  • putting resistor in series rx0
  • setting fuses use crystal in full swing mode
  • inserting pull resistor on reset pin.


some others can't recall @ moment. there
i've tried using avrdude via command line simple things check fuses - doesn't work @ all.

can 1284p experience me out? i've wasted far time on already!

this message means there no connection programmer. have investigate in wiring @ first.
quote
i've done extensive searching on problems here , on other forums , tried solutions people suggested:
  • putting rc filter on rx0 pin reduce crosstalk between rx0 , crystal
  • putting resistor in series rx0
  • setting fuses use crystal in full swing mode
  • inserting pull resistor on reset pin.

normally things needed breadboarded chip:
1. pull-up resistor on reset pin
2. crystal ~22pf ground, if external clock used have first time, beginners
3. decoupling 100nf capacitors on vcc (it can work without, but...), vcc , gnd must connected
4. 100nf cap aref gnd.
nothing more, no filters on rx etc.

btw: provide schematics of setup. 1 picture more thousand words.


Arduino Forum > Using Arduino > Microcontrollers > Programmer not responding when programming ATmega 1284p


arduino

Comments