TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
Code Composer V4 Question (on usb application)
I am using CCSv4 (trail version). Firstly, I created usb application with IAR Workbench for stellaris LM3S5R36. Then I debug and tested code on LM3S5R36. Everything is good up until here. After that, I built same project wtih CCSv4 and then downloaded the code in LM3S5R36 on debug mode. When I debug code with CCSv4 some interrupts(time, adc, gpio) are working and also USB connection(bulk device) is successful. But, When I sent command from GUI to LM3S5R36 on debug mode, the problem is occur.
// This is the code that gets called when the processor receives a fault
// interrupt. This simply enters an infinite loop, preserving the system state
// for examination by a debugger.
// Enter an infinite loop.
I received a fault interrupt. I didn't understand, Why I didn't receive this problem on IAR...
Mehmet GULI created usb application with IAR Workbench ... I built same project wtih CCSv4
Unless you have specifically taken great care to ensure that your project is entirely portable, you cannot just take it from one one toolset onto another and expect it to "just work".
Especially on toolsets with entirely different compilers!
I used the post here (that points to another post): http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/p/63837/229960.aspx#229960 to debug a FreeRTOS + usb_dev_msc example on Code Red. Now that this is working, I am getting a similar failure on CCSv4 and will use the same technique to debug.
If I remember correctly, I was getting to FaultISR in CodeRed due to FreeRTOS stack sizes being too small for the usb and fatfs libraries.
I changed stack sizes and then fixed the problem. Thanks, for your help...
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.