So it seems like some owners want to go slightly advanced but instructions for installing the DFU-driver is a little vague. How to put your core in DFU-mode. Press on BOTH buttons. Release only the Reset button. Release the Mode button once the core start blinking yellow.

  1. At32uc3a Dfu Driver For Macbook Air

At32uc3a Dfu Driver For Macbook Air

This will be the dfu-mode Pre-check! If you have somehow done this process previously but is unable to use dfu-util successfully, you will need to uninstall the DFU-driver 1st. Put your core in DFU-mode. Open Control Panel. Look for something like libusbk USB devices. Right-click and press ‘uninstall’.

Make sure you 'check' the ‘delete the driver software’ Installing DFU-driver. Place the core in DFU mode.

Run Zadig program - Go to - Under ‘downloads’ grab the (windows vista and above or windows xp). In Zadig, Click on ‘Options’ - ‘List all devices’. Select ‘CORE DFU’ and ‘libusbK’ for the driver. Press ‘Install Driver’ So far, ‘libusbK’ is proven working with the core. It will show ‘Driver installed successfully!!!’ (ok not so many!:)) Using DFU-UTIL to test that driver works WARNING: Make sure you are using DFU-Util 0.8 MD5 hash: 9a7b0594881c9ba8480bdc9956b5b01a.

Launch ‘cmd’ (make sure your path is that where dfu-util.exe is). Type dfu-util -l. You should see. To use the DFU-util, you will need to fire up a command prompt using the start button, type “cmd” and hit enter. I can’t remember if dfu-util is a global application when properly install but it should be. Try: dfu-util -l and it should show a list of connected DFU-util devices Let me know if it doesn’t work.

It’s good for me to test em out and improve the Tutorial if needed. I would, however, recommend installing Spark-CLI once you are done with DFU-util as it’s super useful and comprehensive! You can search the tutorials for the installation guide as well. To make it global you will probably need to add to the path.

There is no easy “install” its just a zip file. There is 2 options, one way is to copy the 3 or 4 dfu files to the same folder as the bin file you will be flashing and run it straight from there, or you will need to set up path variables This video shows how to set up a local build environment, and there is a small part that covers path variables and where to set them. In the comments of the video on youtube there is a line of paths to add just add the dfu-util relevent one instead of all of them. And look out for the - that the webpage adds when you copy its caught a few people out. Hi, I am trying to install CLI on my machine so that I can try it out. I have been following the great video but got to the bit about path variables and didn’t quite know what to do. Should I be trying to install CLI on my PC or should I stick to the web based IDE?

I understood there were many and various benefits from using the CLI. I don’t understand why this is quite as hard to do as it seems (maybe I am making hard work of it) in so much as when you run an arduino that is locally compiled from the arduino software. Is there some reason that spark core can not put together a similar package?

Or is the spark core CLI different to the arduino IDE and I am getting them mixed up and maybe I can not see the benefit of the CLI. BTW is there a video of the CLI in action? These are probably silly questions and I am no doubt exposing my ignorance but hey, what the heck! Sorry for the delay in replying, been traveling home The Spark is alot more complicated than the arduino they have lots and lots of code to make everything easy for us, as they need to interface a couple of very complicated chips the STM32 and the CC3000.

The web IDE does a really good job at hiding all that from us, much like the arduino program does for the arduino. When you type your code in the Web IDE, spark build it compiles it into a ‘bin’ file.

Then it connects through the web to your core and says “hey i have a new ‘bin’ file for you, here it is” and sends it wirelessly which is about as easy as it gets. The CLI has advantages too is quick and simple, with just a few words you can re-flash your core. When you use the CLI its also sending a bin file to the spark core, thats a binary file and just lots and lots of 1’s and 0’s. Some of the bin files are known by the CLI like tinker, so you can just put spark flash ABCDEFGHI tinker and it will know what bin file to flash to your spark core, still wirelessly too. Or you could put -usb at the end and do it through USB, which as I’m sure you know dfu-util comes in to it all. If you create a folder on your PC c: spark and copy the dfu-util files into it (4 of them in the win32 folder of the zip file, if you run windows) then you can copy your bin file into there and run the CLI from that folder. The bin file you can get from the Web IDE look for the cloud next to your ‘current app’ or you can specify a folder on your computer to compile using spark compile myprojectfolder -saveTo firmware.bin this will give you the bin file to flash (called firmware.bin) This is where the CLI is best, its easier to compile a folder of files this way instead of adding each one individually to the web IDE.

Personally I’m really liking netbeans, once its set up and you know how to add libraries its easy and alot quicker flashing through USB. It has some good tracing things too when you right click you can select ‘go to declaration’ and see what the function is expecting to receive. And it also highlights bad code as you write it its kind of compiling and highlighting errors as you go so to speak. Plus its all done offline, which is great because where i work the internet sucks and i cant make the online build work! To make using the dfu-util easier you can add “path variables” that means you can use the CLI from any folder on your computer without needing to have the dfu files in that particular folder. For example if you have 3 or 4 projects in 3 or 4 different folders you would probably need to add the dfu files to each folder What OS are you running?

We can guide you through it step by step. I get this: Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2012 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to Filter on vendor = 0x1d50 product = 0x607f Opening DFU capable USB device ID 1d50:607f Run-time device DFU version 011a Found DFU: 1d50:607f devnum=0, cfg=1, intf=0, alt=0, name=' @Internal Flash /0x08000000/20 001Ka,108001Kg' Claiming USB DFU Interface Setting Alternate Setting #0 Determining device status: state = dfuERROR, status = 10 dfuERROR, clearing status error clearstatus Error writing firmware.

For

OS X 10.10 (Yosemite) OS X 10.11 (El Capitan) macOS Sierra 10.12 macOS Mojave 10.14 Screen Shots Licensing conditions & Prices Current Version: 1.5 NOTE: The software described on this page is.not for use by end users. It will not help solve any problems you may experience with a consumer device. Licenses are only available for hardware or software manufacturers. To receive a prices or license agreement, please fill out the.

Keep up to Date If you would like to be kept informed of product updates, please subscribe to the Thesycon newsletter. © 2018 THESYCON.