Using VS Code 1.29.1 on OSX High Sierra with the alpha4 of the preview I am trying to flash a Boron locally. The following happens. Looks to me like the address to dfu-util are wrong. Is there some config bit I am missing in VSC?
dfu-util -d 0x2B04:0xD006 -a 0 -s 0x80A0000:leave -D /Users/tahoemph/src/personal/first/target/first.dfu
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Opening DFU capable USB device…
Run-time device DFU version 011a
Claiming USB DFU Interface…
Setting Alternate Setting #0 …
Determining device status: state = dfuIDLE, status = 0
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 4060
dfu-util: Last page at 0x080a0fdb is not writeable
make: *** [program-dfu] Error 74
make: Leaving directory
/Users/tahoemph/.particle/toolchains/deviceOS/0.7.0/firmware-0.7.0/modules/photon/user-part' make: *** [modules/photon/user-part] Error 2 make: Leaving directory/Users/tahoemph/.particle/toolchains/deviceOS/0.7.0/firmware-0.7.0/main’
make: *** [flash-user] Error 2
The terminal process terminated with exit code: 2