I’m trying to flash my Spark Core without using the Web IDE / Cloud.
I’ve successfully downloaded and installed dependencies, downloaded and built the repositories, but I’m having an issue with the actual flashing.
I’ve been following the instructions here: https://github.com/spark/core-firmware/blob/master/README.md
I can successfully put the Core in DFU mode (holding down the MODE button on the Core and then tapping on the RESET button once = flashing yellow).
When I run the following command:
dfu-util -l
I get the following:
dfu-util 0.5
(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY
dfu-util does currently only support DFU version 1.0
Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"
Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=1, name="UNDEFINED"
Found Runtime: [0489:e00f] devnum=0, cfg=1, intf=3, alt=0, name="UNDEFINED"
Which is a little different from the instructions (i.e. things are “UNDEFINED”, rather than containing details).
When I navigate to the build folder in the core-firmware repository and use the following command to transfer the .bin file into the Core, I get the following error:
binaryfrost@linux:~/Spark/core-firmware/build$ dfu-util -d 1d50:607f -a 0 -s 0x08005000:leave -D core-firmware.bin
invalid dfuse address: 0x08005000:leave
Any ideas where I am going wrong? I’m running Ubuntu 13.10.