Gast
#70102
Hallo Leute, folgende Konstellation: - A96021000b-Board (also eines der ersten Atmel-Billigdingens) - avra bzw. tavrasm unter Linux - Flashen via uisp Letzteres scheint irgendwie nicht sauber zu lauefn. Ich flashe so: [naumannu@meiner Ledtest]$ uisp -dprog=avr910 -dpart=auto -dserial=/dev/ttyS0 -dspeed=19200 --upload if=Ledtest.hex -v=3 --hash=32 Programmer Information: Software Version: 7.1, Hardware Version: 0.0 Address Auto Increment Optimization Enabled Trying with: AT90S1200 rev. C Vendor Code: 0x1e Part Family: 0x90 Part Number: 0x01 Atmel AVR AT90S1200 is found. Page Write Disabled FLASH Write Delay (t_wd_flash): 11111 us EEPROM Write Delay (t_wd_eeprom): 11111 us Retrying with better match: AT90S1200 Vendor Code: 0x1e Part Family: 0x90 Part Number: 0x01 Atmel AVR AT90S1200 is found. Page Write Disabled FLASH Write Delay (t_wd_flash): 11111 us EEPROM Write Delay (t_wd_eeprom): 11111 us Uploading: flash # (total 18 bytes transferred in 0.23 s (79 bytes/s) [naumannu@meiner Ledtest]$ Beim Verify kommt dann folgendes: [naumannu@meiner Ledtest]$ uisp -dprog=avr910 -dpart=auto -dserial=/dev/ttyS0 -dspeed=19200 --verify if=Ledtest.hex -v=3 --hash=32 Programmer Information: Software Version: 7.1, Hardware Version: 0.0 Address Auto Increment Optimization Enabled Trying with: AT90S1200 rev. C Vendor Code: 0x1e Part Family: 0x90 Part Number: 0x01 Atmel AVR AT90S1200 is found. Page Write Disabled FLASH Write Delay (t_wd_flash): 11111 us EEPROM Write Delay (t_wd_eeprom): 11111 us Retrying with better match: AT90S1200 Vendor Code: 0x1e Part Family: 0x90 Part Number: 0x01 Atmel AVR AT90S1200 is found. Page Write Disabled FLASH Write Delay (t_wd_flash): 11111 us EEPROM Write Delay (t_wd_eeprom): 11111 us Verifying: flash #flash error at address 0x0: file=0x0f, mem=0x00 flash error at address 0x1: file=0xef, mem=0x81 flash error at address 0x2: file=0x07, mem=0x00 flash error at address 0x3: file=0xbb, mem=0x81 flash error at address 0x4: file=0x08, mem=0x00 flash error at address 0x5: file=0xbb, mem=0x81 flash error at address 0x6: file=0x0a, mem=0x00 flash error at address 0x7: file=0x95, mem=0x81 flash error at address 0x8: file=0x1a, mem=0x00 flash error at address 0x9: file=0x95, mem=0x81 flash error at address 0xa: file=0xf1, mem=0x00 flash error at address 0xb: file=0xf7, mem=0x81 flash error at address 0xc: file=0x2a, mem=0x00 flash error at address 0xd: file=0x95, mem=0x81 flash error at address 0xe: file=0xe1, mem=0x00 flash error at address 0xf: file=0xf7, mem=0x81 flash error at address 0x10: file=0xf9, mem=0x00 flash error at address 0x11: file=0xcf, mem=0x81 (total 18 bytes transferred in 0.44 s (41 bytes/s) [naumannu@meiner Ledtest]$ Und die Programme laufen dann auch nicht. Wo liegt mein Denkfehler? Ich hatte hier noch einen Controller mit dem Testprogrämmelchen rumliegen, der lief sofort auf dem Board. Verify ging da aber genauso schief.