I can build and run edma3_lld_01_11_03_01 sample application on omap-l137 evm.
Incidently, a line TSK_sleep(100) was inserted after edma3init(). It's still OK.
Since the app will be a template for moving to dsplink application, I deleted the statically created task "echo"
and create it dynamically. Then I found the app suspend at TSK_sleep(100) without return.
When I restore the statically created task, every thing become OK again.
Anyone know why?
Can you use the ROV tool (available n CCSv5.x using Tools->ROV menu while in debug mode) to look at the state of the different threads? I suspect that you have created a new task with high priority and that the new task doesn't block by calling SEM_pend() or similar API. You can use ROV and see the state of the threads. You can also see the system tick. I suspect that you will find that your task that calls TSK_sleep() is in the 'ready' state but cannot run because the higher priority task never yields the processor.
You can also use ROV to monitor the system tick in the 'TSK' view. You should see the time changing between breakpoints.
ROV is documented in the DSP/BIOS User's Guide.
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.