Diferència entre revisions de la pàgina «Testing IoT-02 board»
m |
m (→Testing firmware) |
||
(Hi ha una revisió intermèdia del mateix usuari que no es mostren) | |||
Línia 27: | Línia 27: | ||
Software tool: [https://github.com/espressif/esptool esptool.py] | Software tool: [https://github.com/espressif/esptool esptool.py] | ||
− | '''Firmware binary files''' (this is '''testing firmware for | + | '''Firmware binary files''' (this is '''testing firmware for IoT-02 board'''): |
− | * 1/4) [https://www.binefa.cat/nicko/ | + | * 1/4) [https://www.binefa.cat/nicko/IoT-02/IoT-02_11_modbus_bme280/IoT-02_11_modbus_bme280.ino.bootloader.bin IoT-02_11_modbus_bme280.ino.bootloader.bin] |
− | * 2/4) [https://www.binefa.cat/nicko/ | + | * 2/4) [https://www.binefa.cat/nicko/IoT-02/IoT-02_11_modbus_bme280/IoT-02_11_modbus_bme280.ino.partitions.bin IoT-02_11_modbus_bme280.ino.partitions.bin] |
− | * 3/4) [https://www.binefa.cat/nicko/ | + | * 3/4) [https://www.binefa.cat/nicko/IoT-02/IoT-02_11_modbus_bme280/boot_app0.bin boot_app0.bin] |
− | * 4/4) [https://www.binefa.cat/nicko/ | + | * 4/4) [https://www.binefa.cat/nicko/IoT-02/IoT-02_11_modbus_bme280/IoT-02_11_modbus_bme280.ino.bin IoT-02_11_modbus_bme280.ino.bin] |
Línia 55: | Línia 55: | ||
= Testing firmware = | = Testing firmware = | ||
− | + | Once testing firmware has been uploaded to board, after a reset (red button), there are different information showing on OLED when pressing white buttons. |
Revisió de 21:30, 6 jul 2022
Contingut
Programming firmware
Nice greetings to Nicko from Barcelona, Catalonia.
Connecting programmer
Red board: FT232RL FTDI USB to TTL Serial Adapter Module used as a programmer
It is very important to check jumper socket is at 3.3 volts position (by default it is at 5 volts)
Preparing uploading
Follow these steps on VirKO board:
- 1st: Connect 5V microusb power supply
- 2nd: Hold reset (red) button
- 3rd: While holding reset button, hold IO0 button (close to J1 black connector). At this step both buttons are being pressed.
- 4th: Release reset (red) button
- 5th: Release IO0 button
After these steps, board is ready to be programmed.
Programming from terminal
Software tool: esptool.py
Firmware binary files (this is testing firmware for IoT-02 board):
- 3/4) boot_app0.bin
Terminal command:
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 IoT-02_11_modbus_bme280.ino.bootloader.bin 0x8000 IoT-02_11_modbus_bme280.ino.partitions.bin 0xe000 boot_app0.bin 0x10000 IoT-02_11_modbus_bme280.ino.bin
/dev/ttyUSB0 in Windows operating system is COMx port (being x programmer virtual port number. For instance: COM3)
Once programming is finished, reset button should be pressed again. Or remove red programming board and unplug power supply and plug again.
Programming from Windows tool
Prepare uploading with previously explained 5 steps, combining RST and IO0 buttons.
Windows program tool: Flash Download Tools (Explanation about Flash Download Tools use)
Once programming is finished, reset button should be pressed again. Or remove red programming board and unplug power supply and plug again.
Testing firmware
Once testing firmware has been uploaded to board, after a reset (red button), there are different information showing on OLED when pressing white buttons.