Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 230763

Forum Post: RE: Interrupt on Cortex-M4

$
0
0

Hi Slandrum,

I am using SysTick and getting some issue.

Currently, my project built from an example one in TI REsource Explorer/TI-RTOS/ARM/Tiva C Series/Tiva TM4C123GHPGE/Example Projects. I just config SysTick by the code:

 SysTickPeriodSet(SysCtlClockGet() / 5);  //SysTickIntRegister(&SysTickIntHandler);  SysTickIntEnable();  SysTickEnable();

However when the board run, I got the error:

ti.sysbios.family.arm.m3.Hwi: line 1120: E_noIsr: id = 15, pc = 00008c22

Maybe the SysTick interrupt handler could not be invoked, interrupt vector for systick did not located?

I search through the forum and found that we need to modify "startup_ccs.c". But there is no such startup file in example project imported from TI-RTOS/ARM/Tiva C Series/Tiva TM4C123GHPGE/Example Projects.

Could you please clarify me how to find/modify startup file?

Thank you,

Tin Phan

PS: I just tried an example from TI REsource Explorer/StellarisWare/boards/... and startup_ccs.c existed in the projects. And SysTickHandler running OK from StellarisWare examples. Can I use this startup_ccs.c for the project in TI-RTOS?


Viewing all articles
Browse latest Browse all 230763

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>