This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pre-Fetch Abort before main execution using ARTX and CARM with LCP2129

I get a pre-fetch abort almost every time I try to run my application, before running main(), if I use an ARTX function. During my tests I discovered that if I get a especific value on R0 the application runs, so I have to reset the processor several times until I get this value. If I take out the os_sys_init() function of the main, the application works fine. I've discovered later that the program executes the function os_clock_interrupt() a few times before it crashes. I'm using Keil Ulink for debugging and my soft versions are below:

IDE-Version:
µVision3 V3.30a
Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2006

Tool Version Numbers:
Toolchain Path: C:\Keil\ARM\BIN\
C Compiler: CA.Exe V2.50a
Assembler: AA.Exe V2.50
Linker/Locator: LA.Exe V2.50a
Librarian: LIBA.Exe V4.26
Hex Converter: OHA.Exe V2.10
CPU DLL: SARM.DLL V1.50a
Dialog DLL: DARMP.DLL V1.11e
Target DLL: BIN\UL2ARM.DLL V1.15
Dialog DLL: TARMP.DLL V1.10

ARTX version is the one that comes with CARM.

0