Part Number: TMS320F28377S
Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I am running a SYSBIOS 6.75 project on my TMS320F28377S LaunchXL.
When I run the debugger, the code initially goes straight to reset vector 0x3FE493.
Then, I click on the Pause/Resume and do a CPU reset and restart. This time, the code executes up to main() and the instruction pointer enters the first line of main()
At this point, when I single-step into the main, eventually I land up with the ti_sysbios_family_c28_Hwi_unPluggedInterrupt__I(): being triggered and the console displays:
[C28xx_CPU1] enter main()
ti.sysbios.family.c28.Hwi: line 1032: E_unpluggedInterrupt: Unplugged interrupt flagged: intr# 19
xdc.runtime.Error.raise: terminating execution
I read on previous forum posts that intr#19 indicates an illegal action happened. Please note that at this point in my execution, I am:
-disabling the watchdog (in the main code and it is also disabled in the BIOS config)
-initializing system clock
-initializing GPIO ports and device peripherals.
I pulled the disassembly from the debugger and noticed the Timer Prescale executions before the unPluggedInterrupt() occurs. Is something wrong with the timer settings? I am using the same device clock configurations as in the device.c/.h files for the F28377x family, specific to LaunchPadXL.