write and read ATtiny for USBtinyISP

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
simön
 
Posts: 8
Joined: Mon Jan 21, 2008 1:26 pm

write and read ATtiny for USBtinyISP

Post by simön »

HI!

Now I am really confused... I tried to get my USBtinyISP working and so i wrote the main.hex into the AtTtiny. I used my USB->Serial cable and a version of SI-Prog.
I type

Code: Select all

avrdude -p attiny2313 -c siprog -P COM1 -U flash:w:main.hex:i
And avrdude worked, verified and said: everything OK!
But USBtinyISP did not work. So i read the ATtiny to verify myselve and typed:

Code: Select all

avrdude -p attiny2313 -c siprog -P COM1 -U flash:r:main1.hex:i
and

Code: Select all

avrdude -p attiny2313 -c siprog -P COM1 -U flash:r:main2.hex:i

Now, i have 3 .hex-files, one original (main.hex) and two that are read out of the ATtiny (main1.hex, main2.hex).

Confusing to me is, that main1.hex = main 2.hex , but main. hex is different.

Thanks for your help!!



Here are the three files:

Code: Select all

main.hex (10 lines)
:1000000036C070C04DC04CC04BC04AC049C048C08B
:1000100047C046C045C044C043C042C041C040C0C4
:100020003FC03EC03DC000CDD914F13C28E5A16CD5
:1000300078B5509D89441003550053004200740068
:1000400069006E007900040309040902120001012D
:100050000080320904000000FF00000012010101CD
:10006000FF00000881179F0C03010002000111240A
:100070001FBECFEDCDBF10E0A0E6B0E0E4EFF7E0AB
:1000800003C0C89531960D92A236B107D1F710E0A2
:10009000A2E6B0E001C01D92AE39B107E1F7A5C3F9

Code: Select all

main1.hex and main2.hex (10 lines)
:2000000036C070C04DC04CC04BC04AC049C048C047C046C045C044C043C042C041C040C05F
:200020003FC03EC03DC000CDD914F13C28E5A16C78B5509D8944100355005300420074006D
:2000400069006E007900040309040902120001010080320904000000FF000000120101014A
:20006000FF00000881179F0C03010002000111241FBECFEDCDBF10E0A0E6B0E0E4EFF7E025
:2000800003C0C89531960D92A236B107D1F710E0A2E6B0E001C01D92AE39B107E1F7A5C32B
:2000A000AFCFDC019FEF8FEF660FB9F046E2F0E0229560FF2D91E82FE227EF709295829532
:2000C0008F70392F307F832B9F70E40F359193273170932783276A9559F7809590958D932C
:2000E0009D9308950F931F932F93DF93CF930FB70F938299FECF82990BC0829909C0829914
:2001000007C0829905C0829903C000E40ABFA8C0C0918600DD27C957DF4F0BE01CE024E031
:20012000829BE9CF3F934F936F9360B330E803C060B3432B499344276C702627215020B311
[/b]

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

Return to “USBtinyISP”