Flash Problem 52235

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash Problem 52235

1,296 次查看
Frank13
Contributor I

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.....
标签 (1)
0 项奖励
回复
2 回复数

847 次查看
TomE
Specialist II

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?

 

 

0 项奖励
回复

847 次查看
Frank13
Contributor I

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

0 项奖励
回复