Trap 16 on ColdFire?

Steve Goodrich steveg@cirris.com
Wed Oct 27 09:37:00 GMT 1999


Hopefully this is at least sort of on topic. 

I am trying to get going with a MCF5307 (ColdFire) eval board using gnu
tools. I have the toolchain all compiled and I am able to generate S
records and what I get looks like Motorola code. I can download it to
the eval board and I can disassemble it and it looks just fine. But when
I try to execute it, I get 

Illegal stack type!
TRAP #-16
PC: 00FFFFF0 SR: FFF0 [T.SM.111...Xnzvc]
An: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00FFFFF0
Dn: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
00FFFFF0: 7000                 MOVEQ     #0x00,D0

Now, I suspect that I have something going wrong in the startup code but
if I set a break point right at the code entry point and use the "go"
debugger command to run the code, I get this trap before the break point
is hit.

I am new to Motorola processors so I am not even sure that I have given
enough info to come up with an answer. If there is anything else people
need to know, please ask. I would really like to get this running.

Thanks

Steve



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list