Skip to content

40 ‐ How2 program ESP

ErikS-web edited this page Apr 19, 2024 · 23 revisions

How2 program the ESP

First download latest ESPRI firmware release here

Tip

You can flash the firmware by Command prompt (with ESPTOOL) or with ONLINE web browser (using ESP-launchpad )

ESPTOOL

To flash with esptool.py download latest version of Python here and install on your PC.

The command line is esptool.py write_flash 0x0 espri.bin

Now it is also possible to use an ESPTOOL.exe (without installing Python)

I prefer you to use the online tool explained here below

ONLINE tool

Flashing the firmware of the radio is so easy with the Online flash utility at 🗲FLASH WITH A BROWSER🗲

For programming an ESP we have this very nice utility 🗲ESP-launchpad🗲 (using online web browser)

  • We do it in three steps

  • Step 1 - Press Connect and select the COM port
    • When succesfull the detected ESP-device is shown and word Connect is changed to Disconnect
  • Step 2 - Check console output that ESP is communicating
  • Step 3 - Select DIY to flash the ESP
    • Erase flash is normally not needed and can be skipped
    • Flash address must be zerod; changed from 0x1000 to 0x0000
    • Select File and select in browser the downloaded firmware file
    • Program is now selectable, so lets press it.
    • The screen automatically switches from DIY to Console and start flashing the ESP
  • Watch the screen until flashing is ready
    • Reset Device is now selectable, so lets press that and Confirm
    • ESPRI will now boot up. You can see that in the console logging

How2 connect logging

Via USB-serial interface you can view the logging. Suggest to use Console functionality as explained above

If you see strange characters, check and change the baudrate under Settings to 921600

Settings cannot be changed for a connected device. Please disconnect the device and then change the settings

Check firmware Version

To check if correct (new) firmware version is booting, analyse the logging at Console for this line



How2 connect WEB interface

Initial via Access Point

By default the ESP can be accessed via its Access Point functionality. The ESP creates an own wifi network that can be accessed.

  • Once flashed, reset device and ESP boots
  • Connect to WIFI access point NOKIA-3K9N4H1 with password mypassword
  • Go to 192.168.4.1

In Local (wifi) Network

  • First access ESP via the wifi Access Point
  • Go2 settings, WIFI
  • Change Station mode to Connect your local network
  • Change the credential SSID and Password
  • Presse Submit and OK
  • Press Reboot device at Top Right

Clone this wiki locally