Hi all,
I am testing an application on a DM642 DSP.
I have a hardware interrupt which calls a software interrupt that calls a function “WebUpdate”.
Every second this function creates and destroys an xml file using the NDK libraries 1.94:
WebUpdate()
{
efs_destroyfile("errors.xml");
CreateXml(); //fill the buffer errors_xml
efs_createfile("errors.xml", errors_xml_size, (Uint8 *)errors_xml);
}
This code runs for a few minutes, then the CPU halts after the call to “efs_destroyfile”
I’ve done another test putting the function WebUpdate() inside a TASK rather than an interrupt.
In this case all works well, the application never fails (NO CPU_halt)
I’d like to know if this tests “make sense”: are there any known issues calling the NDK functions inside an interrupt?
Test conditions:
- XDS510 usb emulator
- TMS320DM642 DSP
- Code Composer 3.3.82.13, Code generation Tools 6.08, Bios 5.33.04
- NDK 1.94
Valle Gianni