energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
793 stars 673 forks source link

CC3200 on Mac OS X 10.10.5: Connection Issues #702

Closed rei-vilo closed 9 years ago

rei-vilo commented 9 years ago

After #693 MSP430F5529 on Mac OS X 10.10.4: Connection Issues and #701 MSP432P410R on Mac OS X 10.10.4: Connection Issues, now the CC3200 is experiencing connection issues as well.

From Energia, uploading a 60672-byte project fails, while the basic blink succeeds. I've reinstalled the EnergiaFTDIDrivers2.2.18.pkg included in the Energia 16 package, to no avail.

Configuration: Mac OS 10.10.4,

Binary sketch size: 60672 bytes (of a 262144 byte maximum)

Done <<<< /Applications/IDE/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-objcopy -O binary QR_WiFi_temperature.elf QR_WiFitemperature.cpp.bin cp /Applications/IDE/Energia.app/Contents/Resources/Java/hardware/cc3200emt/configPkg/package/cfg/energia*.rov.xs . /Applications/IDE/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/cc3200prog /dev/tty.usbserial-cc3200B /var/folders/5d/dky9xc691m32kztqnhkn8bhw0000gn/T/build7335152084074265644.tmp/QR_WiFi_temperature.cpp.bin Open UART /dev/tty.usbserial-cc3200B open UART success Getting storage list Bootloader Version: 3 Silicon version ES1.32 or higher Bootloader version is 2, 0, 3, 2 It's a CC3200 device: PG1.32 BlockSize is 4096, number of blocks is 64 erasing 1 blocks starting from 4 Switch to NWP bootloader complete Load common boot command for PG1.32 Bootloader version is 2, 0, 3, 4 BlockSize is 4096, number of blocks is 16 erasing 12 blocks starting from 0 erasing file "/sys/mcuimg.bin" deleting file "/sys/mcuimg.bin" erase file completed Downloading file "/sys/mcuimg.bin" with size 71692 Open operation failed

rei-vilo commented 9 years ago

Same issue on Mac OS X 10.10.5.

I installed the 10.10.5 update and then proceeded with a clean install of Energia 16 and the provided drivers, EnergiaFTDIDrivers2.2.18 and MSP430LPCDC 1.0.3b.

Shall I consider switching back to Windows?

rei-vilo commented 9 years ago

Seems to be size-related

Downloading file "/sys/mcuimg.bin" with size 62200 Open operation failed

but

Downloading file "/sys/mcuimg.bin" with size 55288 ..............Download complete

robertinant commented 9 years ago

"Open operation failed" means that there is not enough space in flash to accommodate the image that you are trying to upload. To overcome this issue you have to use UniFlash and format the flash.

Robert

rei-vilo commented 9 years ago

Thanks for the tip! But UniFlash is only available for Windows and Linux :(

robertinant commented 9 years ago

Unfortunately it is :-(

rei-vilo commented 9 years ago

This point would be a nice addition to the wiki page at http://energia.nu/cc3200guide/.

rei-vilo commented 9 years ago

Related to #456?

rei-vilo commented 9 years ago

I performed a full install of Mac OS X 10.10.5 and clean install of Energia 16. It solved the problem.

The drivers provided by Energia, CCS Mac and CCS Cloud are conflicting.

Issue has been escalated to the E2E forum.