Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added firmware version to local UI #35 #43

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,18 @@ $ make build

Connect the esp32 board to your computer using the USBC connection port on the esp32 and a cable that will connect to your computer.

Press and hold the "boot" button then press the "reset" button and release both at the same time (shown below). This puts the esp32 into a flashing mode.
Press and hold the "boot" button, then press and release the "reset" button, then release the "boot" button (shown below). This puts the esp32 into a flashing mode. If done correctly, the lights should turn off.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That last part is not technically true. I have the same experience that the CHG LED tends to flicker in normal mode, and to be solid off in DFU mode, but it is not actually designed to do that.

The CHG LED flickers because it has no battery connected to it. It is not clear why it stops when entering DFU mode, but in any case, with a charged battery connected it would be off in both cases.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok. Is there any other reliable indicator of when it's in DFU mode?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @keerats7 ! As it mentions above, you will see the sensor power lights turn off. The device will also enumerate differently to the system. Something like ttymodem etc instead of frogsensor.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @keenanjohnson , based on @damz comment it seems the CHG LED on the ESP32 may turn off, but that's unrelated to it being in DFU mode. Are you saying the green sensor lights will always turn off when in DFU mode? If so I can add that distinction that specifically the sensor lights will turn off.


![image](https://github.com/Ribbit-Network/ribbit-network-frog-software/assets/2559382/046c0e77-cf4e-4546-bbd3-f41e9f136bc7)

The device should now appear on your machine as a serial port like "/dev/ttyACM0".

Now the command below can be run to flash the software to the device.
You can find your device within the output of:
```shell
$ ls /dev/tty*
```

Now the command below can be run to flash the software to the device. Replace the device name with yours.

```shell
$ make DEVICE=/dev/ttyACM0 flash
Expand Down
Loading