To me that actually looks right. Did the code seem to get updated on the module? Per the firmware github page:
As of 12/4/13, you will likely see Error during download get_status as the last line from the dfu-util command. You can ignore this message for now. We're not sure what this error is all about.
ive been trying to update the system firmware for the P1 using the below and I get the below errors. Iāve already tried updating the PATH as you stated above. Any ideas?
put the Photon in DFU mode
cd modules
make PLATFORM=P1 clean all program-dfu
Updated release, now pulls down 2015q2, and changes the path adding method.
@wesner0019, it sounds like you have a lot of older versions and such cluttering up your build environment. I might suggest a thorough cleaning up of installations and the path, and maybe some reinstalls. Alternatively, a virtual machine can always be your friend .
@Bspranger, I think the reason you used Ubuntu is that development is way easier to set up. Hereās a one liner to install the necessary stuff (tested on 14.04, raw install).
git clone https://github.com/spark/firmware && cd firmware && git checkout latest && cd main && make clean all PLATFORM=photon && cd ../build/target/user-part/platform-6-m
@mumblepins
Nice installer! But it seams that I have some problem
Everything seems to get installed and no error occurs, but the folders Make and MinGW are totally empty after the installation is completedā¦
Why yes I do have ideas It's because Sourceforge sucks, and the installer can't download them This tweet is from 10 hours ago with no update since then, so remember this the next time the Particle cloud has an outage, at least we get updates on it with slightly higher frequency.
#SourceForge site is read-only, developer services disabled due to storage infra fault. Service restoral work in-progress, ETA to follow
Welp. Sourceforge finally is back up (mainly), so I made some improvements. It now will install the toolchain, Netbeans for development, the Particle CLI, and all the assorted requirements for those things. It also includes a Netbeans project, so after setup, you should just be able to run Netbeans and click Build, and youāre good to go. See more info here, get it here. Tested on Win7, with nothing else really installed, and it seems to work fine. Let me know of any issues!
That seems to be a makefile issue. I donāt know much at all about the P1 platform, so my only advice is to go into the firmware directory, and re-get the firmware from github (See below). If that doesnāt work, Iām at a bit of a loss, and would have to direct you towards someone with more knowledge about the P1 firmware.
CAUTION!!!: If you have modified any files, such as application.cpp, or added anything to the firmware directory, THIS COMMAND WILL DELETE IT! With that in mind, you can issue this to reset the firmware to the latest branch: git reset --hard origin\latest
@mdma, I was trying to test out the following branch: feature/i2c_timeout. Iām guessing that since this is still open this hasnt been merged into the development branch. So to get this to working I would do the below?
@mumblepins@kennethlimcp , Iāve installed the toolchain and now I am trying to install particle cli. I get this far and it seems the install just freezes. Any ideas?