Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: SYSBIOS, UNIFLASH
Tool/software: Code Composer Studio
Hi All,
I am using ti rtos 2.16.1.14 and xdc tool v 3.32 and tm4c129encpdt microcontroller.
Previously I was using CCS6 and now I am using CCS9.1
In this CCS9.1, when I start debugging, the program goes into abort() function giving some exception which is -
Error:E_noIsr: id = 88, pc = 00044ec4
FSR = 0x0000
HFSR = 0x40000000
DFSR = 0x00000000
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
When I check into ROV>Hwi>Exception and copy the values of SP, PC, ir and put the values into the Registers> Core Registers > SP,PC,ir
I see this the current state in debug window here-
; ======== ti_sysbios_family_arm_m3_Hwi_initStacks__E ========
; set up dual stacks
; only called if tasking is enabled
; otherwise, msp = the only stack.
; msp = handlers (isr Stack)
; psp = threads (task Stacks)
;
ti_sysbios_family_arm_m3_Hwi_initStacks__E:
.asmfunc
push {lr}
mrs r2, xpsr
tst r2, #0xff ; check if we're in handler mode
beq $1
;
; Here if CPU was not reset before starting the program
; and the last
; program halted while in handler mode.
; must unwind from handler mode before
; configuring control register
;
mov r2, sp
sub r2, #(8*4) ; make room for dummy stack frame
msr psp, r2 ; update PSP
mvn lr, #2
str r0, [r2, #0] ; save passed R0 on ISR stack
mov r1, #0x01000000 ; dummy xPSR with T bit set
str r1, [r2, #28]
ldr r1, $1Addr
str r1, [r2, #24] ; return PC to $1 below
bx lr ; "return" from ISR
$1
pop {lr} ////////////////////////////////////////////////////////// the debug shows this.
mov r1, sp
msr psp, r1 ; psp = task stacks
msr msp, r0 ; msp = isrStack
mov r0, #2
mrs r1, control
msr control, r0 ; split stacks now.
.if __TI_VFP_SUPPORT__
ldr r0, fpccr ; clear APSEN and LSPEN
ldr r1, [r0] ; get current fpccr
bic r1, r1, #0xc0000000 ; clear upper 2 bits
str r1, [r0] ; save/restore manually
.endif
bx lr ; return on psp
$1Addr
.word $1
So, basically, ti_sysbios_family_arm_m3_Hwi_initStacks__E is throwing error. Am I right?
What does that mean? Every time my code goes there. Nothing anything like this occurred in the CCS6. But why in CCS9.1? What are the changes in CCS6 and CCS9.1?
Vince Todd Help me in this.
Thanks


