Hi!
I just wanted to start with my cobra52235-board. I use the 52235EVB test example from codewarrior. The program runs from RAM, but when I program it to Flash and try to debug, I get the following error. I use the CobraConnect Interface (compatible to P&E parallel interface).
Greetings
Frank Bußmann
Exception vector name: Bus ErrorPC where the exception happened: 0x00000A5Cthe code there is: /* * Startup routine for embedded application ... */asm void __declspec(register_abi) _startup(void){ /* disable interrupts */ move.w #0x2700,sr.....
Dump (examine memory before, at and after) 0x00000A5C and see what it decodes to.
Disassemble it using the debugger and then cross-check by hand-disassembling it as well.
Dump the whole vector area (from zero) and ensure the initial PC and SP are sane (and pointing to the above).
Can you single-step it from reset and see where it goes?
Internal or external FLASH?
Hi!
It must have been a problem within the codewarrior. Today morning I tried again and got some different errors. A reinstallation of the compiler solved the problem.
Thanks!
Greetings
Frank