Hi,
I'm wondering if anyone can help me. I have a program that I've written that uses the USB Serial interface as a diagnostic and control port for the embedded CC3200 based embedded system. When running the debugger in CCS, I am able to send and receive serial data to/from the CC3200 Launchpad board just fine using TerraTerm. However, once I flash the generated .BIN and run the launchpad standalone, I no longer have any serial connectivity with the device. I can see that the program is running though because it responds appropriately when I press the switches on the board.
Some things to note:
1) this was a new project I created - NOT made from copying one of the example programs. I believe I have set all the appropriate project options/properties but I may have missed a couple since I don't know where all to look.
2) Flashing and running any of the example programs that use USB Serial all work fine regardless if ran using CCS Debug or standalone.
I am guessing that this is due to some sort of project properties/setting that I have failed to set correctly but I don't know which one nor where to look for it so if someone could at least point me in the right direction I would be grateful. I've had issues with my project settings in the past, as an example, I was having problems with malloc() not being able to allocate any RAM regardless of the size of the program. The issue was most troublesome because the Report() command in uart_if.c (which uses malloc()) would ALWAYS fail when it got to the malloc() statement. I just found out why tonight after 2 weeks of scratching my head. Turns out the default Heap Size is 0 bytes for a new project. I changed this to 0x800 and viola' Report() started working! (Hey I'm a hardware guy that can barely spell 'C', let along program in it well, so how was I supposed to know that the compiler doesn't handle setting the heap size automatically?) So it wouldn't surprise me in the least if there is another setting I don't have set exactly right.
I've looked at the project settings for some of the provided examples and can't find any differences between them and my own (except for what is supposed to be different) so if anyone can help me at least look in the right place I'd appreciate it.
Thanks,
Shawn Standfast
p.s. My launchpad board is rev 3.2 and I have the latest service pack installed (the one just released in Oct.).