Page 1 of 1

Problems programming WiFi DipCortex with example code

PostPosted: Tue Sep 16, 2014 5:38 am
by martinbogo
System Setup

Mac OSX Mavericks on a Macbook Pro Retina
Known good USB cable
WiFi DipCortex ( red board )

Procedure

  • loaded up http://mbed.org/users/SolderSplashLabs/ ... tchenSink/ into the mbed editor
  • selected the WiFi DipCortex as the target board
  • compiled and downloaded the resulting binary
  • pushed button, connected WiFi DipCortex
  • deleted firmware.bin from the mounted device ( rm /Volumes/CRP\ DISABLD/firmware.bin )
  • copied compiled firmware in using "dd" ( dd if=WiFiDip-KitchenSink_LPC1347.bin of=/Volumes/CRP\ DISABLD/firmware.bin conv=notrunc )
  • disconnected the WiFi DipCortex, and plugged it back into the computer

Result

When connected, no usbCDC device is detected. OSX Mavericks reports that an unknown USB device has been attached.

Debugging

The precompiled version on the soldersplash website DOES WORK.

However, attempting to compile the example code on mbed, changing the SSID and passkey in the example, fails. Also, the CC3000 and other libraries in the example seem to have fallen out of date.

Re: Problems programming WiFi DipCortex with example code

PostPosted: Tue Sep 23, 2014 2:15 pm
by Carl-SolderSplash
Hi Martin,

Sorry for the delay,

So under OSx with the pre-compiled example it works and you can see/use the terminal? With mbed you can not?

If it's a enumerating it sounds as if the USB code is running, generally if there's a hard fault the USB wouldn't enumerate. so it may be a driver issue.
Are you able to connect it to a windows pc while it is running the mbed code so we can eliminate the host os.

Also when using mbed i've found weird problems can be cured by using the "compile all" option instead of just "compile"

Edit :

I've just noticed you are using an old example project which requires an external USB to serial adapter, try the USB version here : http://mbed.org/teams/Solder-Splash/cod ... tchenSink/