I am having some issues that I have been trying to work through for the past two weeks and have not yet come to any conclusion. I built a BASIC led blink application that works perfectly on the Core. I took the syntax of that application and applied it to the application.cpp file for the Photon. I am able to do a successful local build and dfu download to the Photon with zero errors. The photon reboots but still does not work. I verified that the system-part1 and part2 as well as the user-part are downloading to the correct memory locations and i also verified that my application is being compiled as well. I seen somewhere on this form that there was a problem with a āFakeā Firmware download where it would look like it downloaded but the firmware was rejected. That does not seem to be the problem as it does not do the quick green flash and another reboot after the firmware is downloaded. As of tonight i made sure i had the ālatestā branch.
Are there any thoughts as to what I could possibly do?
Below is the build process of my app
C:\Particle\firmware\modules>make PLATFORM=photon all program-dfu
C:/Particle/firmware/modules/photon/system-part1/makefile C:/Particle/firmware
/modules/photon/system-part2/makefile C:/Particle/firmware/modules/photon/user-p
art/makefile
make -C C:/Particle/firmware/modules/photon/system-part1/ all program-dfu PLATF
ORM=photon
make[1]: Entering directory `C:/Particle/firmware/modules/photon/system-part1'
make -C ../../../communication
make[2]: Entering directory `C:/Particle/firmware/communication'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/communication'
make -C ../../../hal-dynalib
make[2]: Entering directory `C:/Particle/firmware/hal-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/hal-dynalib'
make -C ../../../services
make[2]: Entering directory `C:/Particle/firmware/services'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/services'
make -C ../../../platform
make[2]: Entering directory `C:/Particle/firmware/platform'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/platform'
make -C ../../../hal
make[2]: Entering directory `C:/Particle/firmware/hal'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/hal'
arm-none-eabi-size --format=berkeley ../../../build/target/system-part1/platform
-6-m/system-part1.elf
text data bss dec hex filename
249768 144 132 250044 3d0bc ../../../build/target/system-part1/platf
orm-6-m/system-part1.elf
Serial device PARTICLE_SERIAL_DEV : not available
Flashing using dfu:
dfu-util -d 0x2B04:0xD006 -a 0 -s 0x8020000 -D ../../../build/target/system-part
1/platform-6-m/system-part1.dfu
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08020000, size = 249916
Download [=========================] 100% 249916 bytes
Download done.
File downloaded successfully
make[1]: Leaving directory `C:/Particle/firmware/modules/photon/system-part1'
make -C C:/Particle/firmware/modules/photon/system-part2/ all program-dfu PLATF
ORM=photon
make[1]: Entering directory `C:/Particle/firmware/modules/photon/system-part2'
make -C ../../../newlib_nano
make[2]: Entering directory `C:/Particle/firmware/newlib_nano'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/newlib_nano'
make -C ../../../services-dynalib
make[2]: Entering directory `C:/Particle/firmware/services-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/services-dynalib'
make -C ../../../system
make[2]: Entering directory `C:/Particle/firmware/system'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/system'
make -C ../../../wiring
make[2]: Entering directory `C:/Particle/firmware/wiring'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/wiring'
make -C ../../../communication-dynalib
make[2]: Entering directory `C:/Particle/firmware/communication-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/communication-dynalib'
make -C ../../../hal
make[2]: Entering directory `C:/Particle/firmware/hal'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/hal'
make -C ../../../platform
make[2]: Entering directory `C:/Particle/firmware/platform'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/platform'
arm-none-eabi-size --format=berkeley ../../../build/target/system-part2/platform
-6-m/system-part2.elf
text data bss dec hex filename
179384 2044 38788 220216 35c38 ../../../build/target/system-part2/platf
orm-6-m/system-part2.elf
Serial device PARTICLE_SERIAL_DEV : not available
Flashing using dfu:
dfu-util -d 0x2B04:0xD006 -a 0 -s 0x8060000 -D ../../../build/target/system-part
2/platform-6-m/system-part2.dfu
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08060000, size = 181428
Download [=========================] 100% 181428 bytes
Download done.
File downloaded successfully
make[1]: Leaving directory `C:/Particle/firmware/modules/photon/system-part2'
make -C C:/Particle/firmware/modules/photon/user-part/ all program-dfu PLATFORM
=photon
make[1]: Entering directory `C:/Particle/firmware/modules/photon/user-part'
make -C ../../../user
make[2]: Entering directory `C:/Particle/firmware/user'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/user'
make -C ../../../hal-dynalib
make[2]: Entering directory `C:/Particle/firmware/hal-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/hal-dynalib'
make -C ../../../services-dynalib
make[2]: Entering directory `C:/Particle/firmware/services-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/services-dynalib'
make -C ../../../system-dynalib
make[2]: Entering directory `C:/Particle/firmware/system-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/system-dynalib'
make -C ../../../rt-dynalib
make[2]: Entering directory `C:/Particle/firmware/rt-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/rt-dynalib'
make -C ../../../wiring
make[2]: Entering directory `C:/Particle/firmware/wiring'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/wiring'
make -C ../../../communication-dynalib
make[2]: Entering directory `C:/Particle/firmware/communication-dynalib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/communication-dynalib'
make -C ../../../platform
make[2]: Entering directory `C:/Particle/firmware/platform'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/platform'
make -C ../../../wiring_globals
make[2]: Entering directory `C:/Particle/firmware/wiring_globals'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/Particle/firmware/wiring_globals'
arm-none-eabi-size --format=berkeley ../../../build/target/user-part/platform-6-
m/user-part.elf
text data bss dec hex filename
2996 52 368 3416 d58 ../../../build/target/user-part/platform
-6-m/user-part.elf
Serial device PARTICLE_SERIAL_DEV : not available
Flashing using dfu:
dfu-util -d 0x2B04:0xD006 -a 0 -s 0x80A0000:leave -D ../../../build/target/user-
part/platform-6-m/user-part.dfu
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 3048
Download [=========================] 100% 3048 bytes
Download done.
File downloaded successfully
make[1]: Leaving directory `C:/Particle/firmware/modules/photon/user-part'
make: Nothing to be done for `program-dfu'.
C:\Particle\firmware\modules>