Burning Bootloader into atmega2560 issue with usbasp??:(


hi,
im trying burn bootloader atmega2560 on custom board using usbasp v2.0 programmer..
 getting errors like
avrdude: avr part "{build.mcu}" not found.

valid parts are:
  uc3a0512 = at32uc3a0512
  c128     = at90can128
  c32      = at90can32
  c64      = at90can64
  pwm2     = at90pwm2
  pwm216   = at90pwm216
  pwm2b    = at90pwm2b
  pwm3     = at90pwm3
  pwm316   = at90pwm316
  pwm3b    = at90pwm3b
  1200     = at90s1200
  2313     = at90s2313
  2333     = at90s2333
  2343     = at90s2343
  4414     = at90s4414
  4433     = at90s4433
  4434     = at90s4434
  8515     = at90s8515
  8535     = at90s8535
  usb1286  = at90usb1286
  usb1287  = at90usb1287
  usb162   = at90usb162
  usb646   = at90usb646
  usb647   = at90usb647
  usb82    = at90usb82
  m103     = atmega103
  m128     = atmega128
  m1280    = atmega1280
  m1281    = atmega1281
  m1284    = atmega1284
  m1284p   = atmega1284p
  m1284rfr2 = atmega1284rfr2
  m128rfa1 = atmega128rfa1
  m128rfr2 = atmega128rfr2
  m16      = atmega16
  m161     = atmega161
  m162     = atmega162
  m163     = atmega163
  m164p    = atmega164p
  m168     = atmega168
  m168p    = atmega168p
  m168pb   = atmega168pb
  m169     = atmega169
  m16u2    = atmega16u2
  m2560    = atmega2560
  m2561    = atmega2561
  m2564rfr2 = atmega2564rfr2
  m256rfr2 = atmega256rfr2
  m32      = atmega32
  m324p    = atmega324p
  m324pa   = atmega324pa
  m325     = atmega325
  m3250    = atmega3250
  m328     = atmega328
  m328p    = atmega328p
  m329     = atmega329
  m3290    = atmega3290
  m3290p   = atmega3290p
  m329p    = atmega329p
  m32m1    = atmega32m1
  m32u2    = atmega32u2
  m32u4    = atmega32u4
  m406     = atmega406
  m48      = atmega48
  m48p     = atmega48p
  m48pb    = atmega48pb
  m64      = atmega64
  m640     = atmega640
  m644     = atmega644
  m644p    = atmega644p
  m644rfr2 = atmega644rfr2
  m645     = atmega645
  m6450    = atmega6450
  m649     = atmega649
  m6490    = atmega6490
  m64rfr2  = atmega64rfr2
  m8       = atmega8
  m8515    = atmega8515
  m8535    = atmega8535
  m88      = atmega88
  m88p     = atmega88p
  m88pb    = atmega88pb
  m8u2     = atmega8u2
  t10      = attiny10
  t11      = attiny11
  t12      = attiny12
  t13      = attiny13
  t15      = attiny15
  t1634    = attiny1634
  t20      = attiny20
  t2313    = attiny2313
  t24      = attiny24
  t25      = attiny25
  t26      = attiny26
  t261     = attiny261
  t28      = attiny28
  t4       = attiny4
  t40      = attiny40
  t4313    = attiny4313
  t43u     = attiny43u
  t44      = attiny44
  t45      = attiny45
  t461     = attiny461
  t5       = attiny5
  t84      = attiny84
  t85      = attiny85
  t861     = attiny861
  t88      = attiny88
  t9       = attiny9
  x128a1   = atxmega128a1
  x128a1d  = atxmega128a1revd
  x128a1u  = atxmega128a1u
  x128a3   = atxmega128a3
  x128a3u  = atxmega128a3u
  x128a4   = atxmega128a4
  x128a4u  = atxmega128a4u
  x128b1   = atxmega128b1
  x128b3   = atxmega128b3
  x128c3   = atxmega128c3
  x128d3   = atxmega128d3
  x128d4   = atxmega128d4
  x16a4    = atxmega16a4
  x16a4u   = atxmega16a4u
  x16c4    = atxmega16c4
  x16d4    = atxmega16d4
  x16e5    = atxmega16e5
  x192a1   = atxmega192a1
  x192a3   = atxmega192a3
  x192a3u  = atxmega192a3u
  x192c3   = atxmega192c3
  x192d3   = atxmega192d3
  x256a1   = atxmega256a1
  x256a3   = atxmega256a3
  x256a3b  = atxmega256a3b
  x256a3bu = atxmega256a3bu
  x256a3u  = atxmega256a3u
  x256c3   = atxmega256c3
  x256d3   = atxmega256d3
  x32a4    = atxmega32a4
  x32a4u   = atxmega32a4u
  x32c4    = atxmega32c4
  x32d4    = atxmega32d4
  x32e5    = atxmega32e5
  x384c3   = atxmega384c3
  x384d3   = atxmega384d3
  x64a1    = atxmega64a1
  x64a1u   = atxmega64a1u
  x64a3    = atxmega64a3
  x64a3u   = atxmega64a3u
  x64a4    = atxmega64a4
  x64a4u   = atxmega64a4u
  x64b1    = atxmega64b1
  x64b3    = atxmega64b3
  x64c3    = atxmega64c3
  x64d3    = atxmega64d3
  x64d4    = atxmega64d4
  x8e5     = atxmega8e5
  ucr2     = deprecated, use 'uc3a0512'

error while burning bootloader.


actually follwed below procedure
re: problems programming atmega2560 using usbasp / arduino isp
#5
oct 30, 2015, 06:41 pm
it's working! can't believe ^^ in fact problem fuses discussed in link posted.

here's complete fix step b step future reference since beginner had trouble following correctly:

1. copy code post

2. go c:\program files (x86)\arduino\hardware\arduino\avr (or whereever arduino installed on computer)

3. open boards.txt in folder , paste code in it, save file (you might have remove write protection)

4. restart arduino ide

5. there should additional processor available under tools/processor called "atmega2560 (testato isp version", select processor

6. burn bootloader once these settings

7. that's it! uploading sketches usbasp works flawlessly :)

thanks go out testato , nicohood figuring out fix!




can u plz tell me ...why im getting errors

1. copy code post
post link thread. please use chain links icon on toolbar when post links make them clickable.

2. go c:\program files (x86)\arduino\hardware\arduino\avr (or whereever arduino installed on computer)

3. open boards.txt in folder , paste code in it, save file (you might have remove write protection)
that's not idea because lose changes have made file anytime upgrade new version of arduino ide or arduino avr boards. also, if have updated arduino avr boards using boards manager files @ location not in use editing them have no effect (though don't think has happened in case). if want modify or add boards definition best approach create custom hardware package @ {sketchbook}/hardware. doing work not lost after update , not risk messing arduino avr boards.


Arduino Forum > Using Arduino > Programming Questions > Burning Bootloader into atmega2560 issue with usbasp??:(


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts