NuttX Binary to Test Particle Photon board

A NuttX user reported an issue when using Particle Photon board:

Then I decided to test it and discovered that some recent modification damaged that board configuration and decided to test an older version that I knew was working.

I converted my nuttx.bin to text (using base64) and created a gist with it. Then you can test yourself:

Download “nuttx_base64.txt”:

$ cat nuttx_base64.txt | base64 --decode > nuttx.bin

Confirm the file was created correctly:

$ md5sum nuttx.bin
56f9b321ca946f092e89f42723a0cea3 nuttx.bin

Press the RESET and SETUP buttons of your board, release the RESET and keep SETUP pressed until the LED start blinking on yellow color, then release it as well.

Now that your board is in DFU mode you can flash it using DFU command:

$ sudo dfu-util -d 2b04:d006 -a 0 -s 0x08020000 -D nuttx.bin

We will need a router configured with SSID: DLINK and password: dlinkphoto to test this firmware. It will connected on your board and will assume the fixed IP You can telnet to this IP and get the NSH terminal working over telnet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s