P1 Bring-up At Factory: SYSTEM_MODE(MANUAL) Not Working?

Help! Doing a bring-up for the first time on a P1-based design. I’m at the CM’s facility and we’ve rolled the first two units off the line and are trying to get them running.

Devices power up as expected. I put them into DFU mode and the Mac I’m using to program them detects them. I’ve updated them to the latest firmware using:

https://docs.particle.io/support/troubleshooting/firmware-upgrades/photon/

Both parts install as expected. After the part 2 is successfully uploaded, the LED goes solid yellow (no automatic reset). I manually reset into DFU and loaded my custom firmware, complied for P1. It loads as expected but then goes into Listening mode. I’ve tried resetting and power cycling it and I’m getting the same thing.

The app I’m installing uses manual configuration mode ( SYSTEM_MODE(MANUAL); ) and should not go into listening mode.

I’m holding the line up trying to validate the board. Anyone out there recognize these symptoms?

Thanks in advance,

Steve

What system version are you upgrading to?

If you are upgrading to 0.7.0 or later on a P1 that does not yet have Wi-Fi configured, you also need to flash the bootloader for 0.7.0. This must be done in --serial mode (by USB) or by JTAG/SWD. It cannot be done in DFU mode (blinking yelllow).

In listening mode, you can do a

particle serial inspect

which will show if a system part dependency is not being met.

Here’s what it gives me:

sms-i5-13:adc ssokol$ particle serial inspect
Platform: 8 - P1
Modules
  Bootloader module #0 - version 7, main location, 16384 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
  System module #1 - version 207, main location, 262144 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
  System module #2 - version 207, main location, 262144 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: FAIL
      System module #1 - version 207
      Bootloader module #0 - version 101
  User module #1 - version 5, main location, 131072 bytes max size
    UUID: 9757C5AB585478E45A027809BAAA434E7C47001660BD9F0BE4FEE7E2C1AD884D
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
      System module #2 - version 207
  User module #1 - version 4, factory location, 131072 bytes max size
    UUID: 08BDB001060808B5024B1B685B69019308BDB001060808B5024B1B681B6A0193
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
      System module #2 - version 21

Yes, that’s the problem. 0.7.0 (version 207) requires bootloader 101 according to the table.

Just download from the release site and flash in listening mode (blinking dark blue):

particle flash --serial bootloader-0.7.0-p1.bin
1 Like

That got it. Thanks!

1 Like