This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Sys/Bios gives the following error when I try to assign INT13 to an HWI.
Description Resource Path Location Type
gmake: *** [build-805403903] Error 2 MS1050 C/C++ Problem
gmake: Target 'all' not remade because of errors. MS1050 C/C++ Problem
gmake[1]: *** [build-805403903-inproc] Error 1 MS1050 C/C++ Problem
Hwi 13 already in use (by &ti_sysbios_knl_Clock_doTick__I). app2.cfg /MS1050 ti.sysbios.family.c28.Hwi.Instance#2 XDCTools Configuration Marker
ti.sysbios.family.c28.Hwi.Instance#2 : Hwi 13 already in use (by &ti_sysbios_knl_Clock_doTick__I). .xdchelp /MS1050 line 264 C/C++ Problem
I thought INT14 was the only timer assigned to the RTOS. Sys/Bios gives the following error If I assign INT14 to the HWI.
Description Resource Path Location Type
gmake: *** [build-805403903] Error 2 MS1050 C/C++ Problem
gmake: Target 'all' not remade because of errors. MS1050 C/C++ Problem
gmake[1]: *** [build-805403903-inproc] Error 1 MS1050 C/C++ Problem
Hwi 14 already in use (by &ti_sysbios_family_c28_TimestampProvider_rolloverFunc__E). app2.cfg /MS1050 ti.sysbios.family.c28.Hwi.Instance#2 XDCTools Configuration Marker
ti.sysbios.family.c28.Hwi.Instance#2 : Hwi 14 already in use (by &ti_sysbios_family_c28_TimestampProvider_rolloverFunc__E). .xdchelp /MS1050 line 264 C/C++ ProblemA
Am I allowed to use Timer 1 for an HWI?
Stephen
By default SYS/BIOS will use one timer for the Clock module and one for the Timestamp module. There are ways to tell them use specific timers (for example, the TimestampProvider.timerId
parameter) or to tell them to use the same timer (although at the cost of making Timestamp less efficient).
There's a Timer Managment section on this page that may be helpful:
[FAQ] Are there any C28 device specific items with TI-RTOS (SYS/BIOS)? - C2000 microcontrollers forum...
So to answer your question directly--yes, you can use Timer 1 for a Hwi, but you have to use the methods above to configure Clock and Timestamp not to use it first.
Whitney
Sure, if you aren't using it, you can remove it from your configuration.
Whitney
If you look at the "cfg Script" tab instead of the GUI is there a "xdc.useModule" line for it you can remove?
Whitney