Actually I have two problems of using the DSP/BIOS on OMAP-L137. They may be related.
1. In my program, I tried to post an SWI in an HWI. The problem is: Neither in the HWI nor SWI can I use the functions related to heap, such as printf(), malloc(). Program will stuck when it runs to such functions. I've allocated enough heap size in the BIOS configuration and I can use printf() in the main() function.
2. When I disabled the dispatcher for HWI, the printf() can be run in HWI. However, the SWI cannot be posted by HWI at this time. I have to add the keyword "interrupt" before my ISR function when I disable the dispatcher.
Can anybody help me figure out what my problems are and tell me the solution?
Thanks in advance.