Hi,
I was ported the SPI driver to STM32 MCU. Everything is OK. I can configure the network parameters, I can open a TCP client, sending and receiving TCP data and the same thing for the TCP server.
I use the 1.19 firmware version in my CC3000 and the SPI version 7(ported) and the host driver version 13. As I am telling you, every thing it's OK.
My target now, it's to use your patch programer application (PatchProgrammerLM4F232H5QD-4.11.7.13.19 as referece). But when I try to execute the wlan_start(1) it doesn't work. It is blocking permanetly.
I don't why, because as i told you the rest of the things are OK. If I uses wlan_start(0), it works fine...
I read that in this mode, it can takes you around 10seconds, in my case i was waiting for it around 2 minutes... Any suggestion? It's a little bit strange, isn't it?
I put a piece of my code, just in case you can help my better:
char *sendDriverPatch(unsigned long *Length)
{
*Length = 0;
return NULL;
}
char *sendBootLoaderPatch(unsigned long *Length)
{
*Length = 0;
return NULL;
}
char *sendWLFWPatch(unsigned long *Length)
{
*Length = 0;
return NULL;
}
void CC3000_UsynchCallback(long lEventType, char * data, unsigned char length)
{
}
main(){
/* WLAN On API Implementation */
wlan_init(CC3000_UsynchCallback, sendWLFWPatch, sendDriverPatch, sendBootLoaderPatch, ReadWlanInterruptPin, WlanInterruptEnable, WlanInterruptDisable, WriteWlanPowerEnable);
/* Trigger a WLAN device */
wlan_start(1);
...
}
Thanks and best regards.
Carlos