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.
Hi Andrew,
This is a C runtime issue - please go to your tool vendor for support.
Regards,
Sue
Sent a message out on http://support.highintegritysystems.com/forums/