Home
SerialPassThrough example for Mbed OS
- K64F
- with ESP8266
- CY8CKIT_062_WIFI_BT
- with ESP8266
- with ESP32
From the command-line, import the example:
mbed import https://github.com/SigmaDeltaTechnologiesInc/SDT-example-serialPassthrough
cd SDT-example-serialPassthrough
Invoke mbed compile
, and specify the name of your favorite toolchain (GCC_ARM
, ARM
, IAR
) and your platform.
For example, for the GCC_ARM and CY8CKIT_062_WIFI_BT:
mbed compile -t GCC_ARM -m CY8CKIT_062_WIFI_BT
Your PC may take a few minutes to compile your code.
- Connect your mbed device to the computer over USB.
- Copy the binary file(SDT-example-serialPassthrough.bin) to the mbed device.
- Press the reset button to start the program.
The LED on your board turns on after 5 seconds. Now this board is into firmware update mode.
(ESP board)------------(Your board)
TX--------------------------RX
RX--------------------------TX
IO0------------------------GPIO0(You can use any gpio pin)
EN-------------------------GPIO1(You can use any gpio pin)
https://www.espressif.com/en/support/download/other-tools?keys=&field_type_tid%5B%5D=13
https://www.espressif.com/en/support/download/at?keys=&field_type_tid%5B%5D=13
- ESP8266: ESP8266_NONOS_SDK-2.2.1
- ESP32: ESP32-WROOM-32_AT_Bin_V2.0
- ESP8266
- Baurdrate: 115200
- Flash size: 32Mbit
- Flash speed: 40MHz
- SPI Mode: QIO
Binary | Address |
---|---|
boot_v1.7.bin | 0x00000 |
user1.1024.new.2.bin | 0x01000 |
esp_init_data_default_v05.bin | 0x3FC000 |
blank.bin | 0x7E000 |
blank.bin | 0x3FE000 |
- ESP32
- Baurdrate: 115200
- Flash size: 32Mbit
- Flash speed: 40MHz
- SPI Mode: DIO
Binary | Address |
---|---|
bootloader/bootloader.bin | 0x1000 |
at_customize.bin | 0x20000 |
customized_partitions/ble_data.bin | 0x21000 |
customized_partitions/server_cert.bin | 0x24000 |
customized_partitions/server_key.bin | 0x26000 |
customized_partitions/server_ca.bin | 0x28000 |
customized_partitions/client_cert.bin | 0x2A000 |
customized_partitions/client_key.bin | 0x2C000 |
customized_partitions/client_ca.bin | 0x2E000 |
customized_partitions/factory_param.bin | 0x30000 |
phy_init_data.bin | 0xF000 |
esp-at.bin | 0x100000 |
partitions_at.bin | 0x8000 |