Per Arnold Blåsmo wrote:
Hi you gurus :-)
I need some help her to get the code for AT90SC3232CS running.
As some of you might have seen, I have tried to make avr-libc work
for the secureAVR chip AT90SC3232CS.
My compiler chain works, and I am abel to make a small "hello world"
app. work.
But when running a larger app, the program crashes in the startup
code.
It starts the __do_copy_data routine and enter the
.do_copy_data_loop. But after a number of iterations it crashes and
says "stack violation". I am not sure that is the correct error,
because on the emulator it light up "illegal address".
It happens when the operation 'ST X+, R0' executes and X=0x00fe.
Could this address be in the interrupt vector table for the device?
Perhaps your header file did not properly account for all the vectors
or all the correct defintions?
Eric
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list