[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Segmentation Fault - uisp version 20020626
From: |
Grahame Kelly |
Subject: |
[avr-gcc-list] Segmentation Fault - uisp version 20020626 |
Date: |
Wed, 31 Jul 2002 19:08:04 +1000 |
Hi.
I get the following segmentation fault whenever I get close to 2048 bytes
of flash code upload. as below shows.
/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
Any way to get every last byte of flash usable ?
Any help much appreciated.
--
Cheers. Grahame
avr-gcc-list at http://avr1.org
- [avr-gcc-list] Segmentation Fault - uisp version 20020626,
Grahame Kelly <=