Discussion Forum

Program jumps to wrong adress

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Markus Daigeler
Posted
16-Aug-2004 12:24 GMT
Toolset
ARM
New! Program jumps to wrong adress
Hi,

I have the following problem:

After compiling and loading my program into flash it starts correctly. When it reatches a special function call (the called function is quite large) the program jumps back to the start adress. (This happens if I use OnChip-RAM. If I don't the program halts.)

If I run the program in debug mode (here the program code is loaded into RAM), the program runs correctly.

How Come?
The settings concerning adress spaces and so on should be correct.
Read-Only
Author
erik malund
Posted
16-Aug-2004 13:49 GMT
Toolset
ARM
New! RE: Program jumps to wrong adress
1) which chip
2) code size (see the .m51 file)
3) eval or full
4) C or assembler

Erik
Read-Only
Author
Keil Support, Intl.
Posted
31-Aug-2004 14:40 GMT
Toolset
ARM
New! RE: Program jumps to wrong adress
Check if the program reaches an DATA ABORT vector. In this case you might access non-existing memory.

Next Thread | Thread List | Previous Thread Start a Thread | Settings