gch 0 Posted May 18, 2017 Share Posted May 18, 2017 Dear All, I am writing to you because I am experiencing problems with uploading code to CC3200 module. I have purchased the RedbearLab WifiMicro Kit (http://www.exp-tech.de/en/redbearlab-wi-fi-micro-kit) which worked for a few uploads but after that I had the following error: //--------------------------------------------------------------------------------------------------- Sketch uses 2,936 bytes (1%) of program storage space. Maximum is 262,144 bytes. Can't open device Opening COM5 Triggering bootloader.... Getting storage list Bootloader Version: 4 Silicon version ES1.32 or higher Bootloader version is 2, 1, 4, 0 It's a CC3200 device: PG1.33 or higher Switch UART pinmux to APPS --- Connection failed trying to reconnect... (1 attempt) Switch to NWP bootloader complete Load common boot command for PG1.33 or higher Bootloader version is 2, 0, 4, 0 BlockSize is 4096, number of blocks is 16 erasing 13 blocks starting from 0 erasing file "/sys/mcuimg.bin" deleting file "/sys/mcuimg.bin" erase file completed Downloading file "/sys/mcuimg.bin" with size 2936 .Download complete DEBUG cc3200prog.c:2667: write failed DEBUG cc3200prog.c:2673: write failed DEBUG cc3200prog.c:2679: write failed DEBUG cc3200prog.c:2685: write failed //--------------------------------------------------------------------------------------------------- After a few uploads both the WifiMicro and the MK20 Usb dongle stop functioning. I cannot see the MK20 at the Com Ports anymore. So, instead of using the MK20 to upload code I used the FTDI Friend by Adafruit and I connected (GND, CTS, VCC, Tx, Rx, RTS) of the FDTI to the corresponding pins of the WifiMicro (GND, NRST, VDD, Rx, Tx, D13) http://discuss.redbear.cc/t/cc3200-wifi-micro/897. Unfortunately I am getting the following error in uploading ... Any help will be really appreciated! Best, George //---------------------------------------------------------------------------------------------------- Energia: 1.6.10E18 (Windows 8.1), Board: "RedBearLab WiFi Micro w/ CC3200 (80MHz)" Sketch uses 22,576 bytes (8%) of program storage space. Maximum is 262,144 bytes. Opening COM7 Can't open device Triggering bootloader.... Trigger bootloader failed. Retrying... (1 attempt) Trigger bootloader failed. Retrying... (2 attempt) Trigger bootloader failed. Retrying... (3 attempt) Trigger bootloader failed after 3 attempts Failed to trigger bootloader An error occurred while uploading the sketch //---------------------------------------------------------------------------------------------------- Quote Link to post Share on other sites
LiviuM 43 Posted May 18, 2017 Share Posted May 18, 2017 Quote Opening COM7 Can't open device Wrong com-port choose? hemangjoshi37a 1 Quote Link to post Share on other sites
gch 0 Posted May 18, 2017 Author Share Posted May 18, 2017 Hi, Thank you for your reply. I chose the correct port COM7 and then I pressed the Upload. Quote Link to post Share on other sites
LiviuM 43 Posted May 18, 2017 Share Posted May 18, 2017 As long you receive "can't open port" messages, I see two possibilities: - wrong port - bad hardware. hemangjoshi37a 1 Quote Link to post Share on other sites
gch 0 Posted May 19, 2017 Author Share Posted May 19, 2017 Hello, Thank you again for your reply. I finally made working the MK20 usb dongle by updating the firmware with my laptop and then worked to my office PC. Regarding the upload to the WifiMicro after a lot of uploads and resets I finally uploaded code successfully with the following message which will be sent to the Energia by RedbearLab for debugging ...... Sketch uses 22,624 bytes (8%) of program storage space. Maximum is 262,144 bytes. Opening COM5 Can't open device Triggering bootloader.... Getting storage list Bootloader Version: 4 Silicon version ES1.32 or higher Bootloader version is 2, 1, 4, 0 It's a CC3200 device: PG1.33 or higher Switch UART pinmux to APPS Switch to NWP bootloader complete Load common boot command for PG1.33 or higher Bootloader version is 2, 0, 4, 0 BlockSize is 4096, number of blocks is 16 erasing 13 blocks starting from 0 erasing file "/sys/mcuimg.bin" deleting file "/sys/mcuimg.bin" erase file completed Downloading file "/sys/mcuimg.bin" with size 24776 .......Download complete DEBUG cc3200prog.c:2667: write failed DEBUG cc3200prog.c:2673: write failed DEBUG cc3200prog.c:2679: write failed DEBUG cc3200prog.c:2685: write failed 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.