Other Parts Discussed in Thread: TMS570LC4357
Hi all,
I have two separate projects with the controller TMS570LC4357.
One is called "Boot Loader" and one is my "Application". The "Boot Loader" is stored in the flash0 ssector.
Vectors 0x00000000, lenght 0x20.
Flash0 0x00000020 ,lenght 0x1FFFE0
The "Application" is stored in flash1 sector.
Vectors 0x00200000, lenght 0x20.
Flash0 0x00200020 ,lenght 0x1FFFE0
The "Application" software is using the interrupt dispatcher mode. I used the dispacther code:
; irqDispatch_a.asm
; (c) Texas Instruments 2009-2012, All rights reserved.
and
/** @file irqDispatch_c.c
* @brief contains Second Level IRQ Dispatcher C routine
* @date 5/13/2014
I want to use the RTI to generate a independet milli second timer in my application software.
And I wrote the following code (File: HL_sys_intervecs.asm) to jump from the Boot loader into the Application:
********************************************************************************
.sect ".intvecs"
;-------------------------------------------------------------------------------
; import reference for interrupt routines
.ref _c_int00
;-------------------------------------------------------------------------------
; interrupt vectors
; Please change the #0x???? for your specified image location defined in bl_config.h
b _c_int00 ;0x00
b #0x1FFFF8 ;0x04
b #0x1FFFF8 ;0x08, Software interrupt
b #0x1FFFF8 ;0x0C, Abort (prefetch)
b #0x1FFFF8 ;0x10, Abort (data)
reservedEntry
b reservedEntry ;0x14, reserved
b #0x1FFFF8 ;0x18, irqDispatcher
ldr pc,[pc, #-0x1b0] ;0x1C, FIQ
The jump from the Boot Loader to the Application software is running. The first milli second interrupt (RTI) in my application is also running.
But than my system crashes.
Any ideas where I have to look to find my failure ?
Best regards
Lars