Problems programming WiFi DipCortex with example code

A 40 Pin Dip packaged development board enabling you to create internet connected products

Problems programming WiFi DipCortex with example code

Postby martinbogo » Tue Sep 16, 2014 5:38 am

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.
martinbogo
 
Posts: 2
Joined: Tue Sep 16, 2014 5:26 am

Re: Problems programming WiFi DipCortex with example code

Postby Carl-SolderSplash » Tue Sep 23, 2014 2:15 pm

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/
User avatar
Carl-SolderSplash
Site Admin
 
Posts: 223
Joined: Sun Mar 17, 2013 11:15 pm


Return to WiFi DipCortex

Who is online

Users browsing this forum: No registered users and 0 guests

cron