ultrabizz 2 Posted May 21, 2015 Share Posted May 21, 2015 RedBear Labs WIFI mini CC3200 board I tried compiling the blink example and it compiles fine, but fails to upload. Tried using both Windows 7 32bit environment and Ubuntu 14.4 64bit environment. I have installed all the required drivers on Windows. I also had to copy the ftd2xx,dll to the folder where the C3200Prog.exe file is. Received error on both platforms is : Open UART COM1 Can't open device Failed to open uart COM1 Could not open UART COM1 The board seems to work ok because I can connect to it via WIFI. What do I need to do to upload the compiled file. I would prefer a Linux solution. Quote Link to post Share on other sites
Rei Vilo 695 Posted May 21, 2015 Share Posted May 21, 2015 On Mac OS X, I've experienced no problem. Read my review. Quote Link to post Share on other sites
cubeberg 540 Posted May 21, 2015 Share Posted May 21, 2015 @@ultrabizz That error is normal - the new code should start working once you reset the device. Have you tried that? Quote Link to post Share on other sites
ultrabizz 2 Posted May 21, 2015 Author Share Posted May 21, 2015 @@cubeberg Yep, just tried again with the blink example. Resetting does not change anything. The device is still running the webserver demo software it came pre-installed with. Windows output is: Opening COM1 Can't open device Could not open UART 1 Quote Link to post Share on other sites
chicken 630 Posted May 21, 2015 Share Posted May 21, 2015 Are you sure COM1 is the right port? On Windows you can verify the COM port in Device Manager. The board should show up under Ports (COM & LPT). Quote Link to post Share on other sites
ultrabizz 2 Posted May 21, 2015 Author Share Posted May 21, 2015 Yep, it shows as com1. I can't connect to it via Putty terminal though. Should I be able to? Quote Link to post Share on other sites
chicken 630 Posted May 22, 2015 Share Posted May 22, 2015 Looks like RedBearLab boards will soon be officially supported by Energia: https://github.com/energia/Energia/commit/4eef9b907736ab6c2cbc1a8dbeb36218ee39adf4 In the meantime, contacting RedBearLab is probably your best bet. Quote Link to post Share on other sites
ultrabizz 2 Posted May 25, 2015 Author Share Posted May 25, 2015 Can someone tell me what the com port settings should be eg, baud-rate, parity etc.. Mine shows 9600 baud by default but I see some posts mentioning 115200 Quote Link to post Share on other sites
ultrabizz 2 Posted May 27, 2015 Author Share Posted May 27, 2015 Solved. The MK20 bootloader was corrupt. I reflashed it with WiFiNano_MK20_20150213.bin from RedbearLabs GIT site and now everything seems to work, in linux Ubuntu 14.04. I have not tested it yet in Windows but it should be OK there too. cubeberg and chicken 2 Quote Link to post Share on other sites
ultrabizz 2 Posted May 28, 2015 Author Share Posted May 28, 2015 My board has been working fine since fix from yesterday. Until now. I created a wifi http server and added Serial.printlin("data") in the loop and I think it prints too often to allow the uploaderto trigger the bootloader. It keeps timing out and saying it could not trigger the bootloader. Tried in both linux and windows. Is their a way to FORCE erase my sketch from the CC3200 so that I can upload another without the println in the loop? Quote Link to post Share on other sites
cubeberg 540 Posted May 28, 2015 Share Posted May 28, 2015 Try holding down the reset button until it has been "uploading" for a second or two. Tried on mine locally - flashes the device just fine. Hopefully that's enough for it to start the bootloader. Quote Link to post Share on other sites
xibot 0 Posted December 2, 2015 Share Posted December 2, 2015 Try holding down the reset button until it has been "uploading" for a second or two. Tried on mine locally - flashes the device just fine. Hopefully that's enough for it to start the bootloader. this happens to me for the third time in a few days. energia 16 (MK20, win7 64) says "Upload Failed" . nothing else. after many trials with the reset button the upload works again but it seems to me pretty random. actually i though i would have solved this with an 20 sec delay before the loop() to prevent getting stuck with to fast Serial.println() etc.. but know i am stuck again. ----- Serial.println("20ms delay"); for(int i=0; i<10; i++){ Serial.print(i); delay(2000); } Serial.println(""); ----- the old sketch on the Wifi Mini still runs. so what could i do ? btw. is the forum at rbl still alive ? my posts are not getting published since days. just two normal polite questions - this is superfrustrating !!! Quote Link to post Share on other sites
xibot 0 Posted December 3, 2015 Share Posted December 3, 2015 now it seems blocked forever on windows 7 64bit ;-( only "upload failed" but no message in the console but i had a chance to try an upload in osx and linux. both work !!! so it must be an windows driver problem probably with mbedWinSerial_16466.exe ? any idea how to solve / debug this ? try another driver version ? Quote Link to post Share on other sites
xibot 0 Posted December 4, 2015 Share Posted December 4, 2015 switched back to energia 15. now it works again ! so there is a problem with version 16 ? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.