Other Parts Discussed in Thread: CC3100, CC3100SDK, CC3100BOOST, UNIFLASH
Hi,
I'm working on the cc3100,
host: STN32F030 (ARM),
IAR 7.40.
When compiling with no optimization my code runs fine, AP created.
When compiling with high optimization simplelink gets stuck in an endless loop, probably waiting for some event to arrive from the cc3100.
If I stop the code (while debugging), it hangs in this or that while(;;) loops (for example, in _SlDrvRxHdrRead()).
I've read many posts regarding simplelink getting stuck, some fixed due to HW issues - I don't understand how peripheral HW issues can get the host-program stuck!!! It didn't convince me.
I'm using an old cc3100SDK (0.5.2, I think).
I tried it, just a bit, with the new 1.1.0, but seems it's the same.
In trace.h, there are:
#define SL_HANDLING_ASSERT 2
#define SL_HANDLING_ERROR 1
#define SL_HANDLING_NONE 0
but, if I try using SL_HANDLING_ERROR the compilation breaks.
Any help will be appreciated.
Thanks.