uisp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Uisp-dev] UISP version 20020626 Segmentation Fault programming a 2313 A


From: Grahame Kelly
Subject: [Uisp-dev] UISP version 20020626 Segmentation Fault programming a 2313 AVR
Date: Sat, 17 Aug 2002 15:10:41 +1000

Hi.

I thought that you would be interested in this. Ok, I am programming close to 
the
2313 limit but I really need every byte I can get. - Thanks.

/opt/AVR/bin/avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=2313.lst 
-mmcu=at90s2313 -I. 2313.c -o 2313.o
/opt/AVR/bin/avr-gcc -c -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=buart.lst 
-mmcu=at90s2313 -I. buart.c -o buart.o
/opt/AVR/bin/avr-gcc  2313.o buart.o   -Wl,-Map=2313.map,--cref -mmcu=at90s2313 
-o 2313.elf
/opt/AVR/bin/avr-objcopy -O ihex -R .eeprom 2313.elf 2313.obj
/opt/AVR/bin/avr-objcopy -O ihex         -R .eeprom 2313.elf 2313.hex
/opt/AVR/bin/avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" 
--change-section-lma .eeprom=0 -O ihex    2313.elf 2313.eep
/opt/AVR/bin/avr-size 2313.elf
   text    data     bss     dec     hex filename
   2028      28      24    2080     820 2313.elf
Errors: none
rm buart.o


---------------------------------

 uisp -dprog=stk500 -dserial=/dev/ttyS0 -dpart=at90s2313 --erase;
 uisp -dprog=stk500 -dserial=/dev/ttyS0 -dpart=at90s2313 --upload if=./2313.hex;
 uisp -dprog=stk500 -dserial=/dev/ttyS0 -dpart=at90s2313 --verify if=./2313.hex

results in:

Atmel AVR AT90S2313 is found.
Atmel AVR AT90S2313 is found.
Uploading: flash

./goburn2313: line 3:  2939 Segmentation fault     
 uisp -dprog=stk500 -dserial=/dev/ttyS0 -dpart=at90s2313 --upload if=./2313.hex
Atmel AVR AT90S2313 is found.
Verifying: flash


-- 
Cheers. Grahame




reply via email to

[Prev in Thread] Current Thread [Next in Thread]