A NuttX user reported an issue when using Particle Photon board: https://github.com/apache/incubator-nuttx/issues/6938
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”: https://gist.github.com/acassis/4479c13e029415cd05a4b52493f1da52
$ 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 192.168.0.16. You can telnet to this IP and get the NSH terminal working over telnet.