|
Pre-Fetch Abort before main execution using ARTX and CARM with LCP2129Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Rodrigo Martins Posted 8-Aug-2006 07:09 Toolset ARM |  Pre-Fetch Abort before main execution using ARTX and CARM with LCP2129 Rodrigo Martins 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. | | Read-Only Author Rodrigo Martins Posted 8-Aug-2006 07:15 Toolset ARM |  RE: Pre-Fetch Abort before main execution using ARTX and CARM with LCP2129 Rodrigo Martins I've found some similar problem with ARTX166 in: http://www.keil.com/support/docs/2716.htm The code looks like the os_clock_interrupt(), but I haven't found nothing for ARM7. | | Read-Only Author Franc Urbanc Posted 9-Aug-2006 00:25 Toolset ARM |  RE: Pre-Fetch Abort before main execution using ARTX and CARM with LCP2129 Franc Urbanc This article should help you solve your problem: http://www.keil.com/support/docs/2767.htm Franc | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|