TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
Timer Interrupt with SafeRTOS
I'm fairly new at using safeRTOS, attempting to add my first interrupt handler to a project derived from the SafeRTOS demo which came with the DK-LM3S9D96. It remains similar to the original insofar as it is serving a webpage via. lwip. There are some other, very basic tasks. The snag I am running into at this time has symptoms similar to when I had attempted to use printf from inside safeRTOS. When I enable the timer interrupt, I get the following error; the interrupt handler is doing nothing more than clearing the interrupt flag.
Invalid CIO command (18) in the CIO buffer at address (0x2000d3cc) wasnot recognized. Please check the device and program memory maps.
Looking at the memory map I find this:
.bss 0 2000066c 0000d928 UNINITIALIZED 2000066c 00006a24 lwiplib.obj (.bss:memp_memory) 20007090 00005814 lwiplib.obj (.bss:ram_heap) 2000c8a4 00000390 lwiplib.obj (.bss:mboxes) 2000cc34 00000200 idle_task.obj (.bss:g_pulIdleTaskStack) 2000ce34 00000200 lwiplib.obj (.bss:g_pulStack) 2000d034 000001f8 lwiplib.obj (.bss:lwip_stats) 2000d22c 000001a0 lwiplib.obj (.bss:sems) 2000d3cc 00000120 rtsv7M3_T_le_eabi.lib : trgmsg.obj (.bss:__CIOBUF_) 2000d4ec 00000110 LWIPTask.obj (.bss:g_ppcSSITags)
The only traffic I can find about trgmsg.obj is that it has to do with keeping track of IO buffers, so I'm poling around looking for ideas on what this problem might be.
This is a C runtime issue - please go to your tool vendor for support.
Sent a message out on http://support.highintegritysystems.com/forums/
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.