jag toit tool firmware --envelope=.\ble.envelope flash -pCOM70esptool.exe -p COM70 -b 460800 read_flash 0 ALL ble_adv_500.binjag toit tool firmware extract --helpjag toit tool firmware --envelope=ble.envelope extract --format=binary -o ble_adv_500.bin> jag monitor
Starting serial monitor of port 'COM14' ...
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x15 (USB_UART_HPSYS),boot:0x6f (SPI_FAST_FLASH_BOOT)
Saved PC:0x4080082e
SPIWP:0xee
mode:DIO, clock div:2
load:0x42130020,len:0x489c4
load:0x40800000,len:0x762c
load:0x42000020,len:0x12a814
Invalid image block, can't boot.
ets_main.c 331jag flash--format=image- binary: the binary app partition. This format can be used with
the 'esptool' tool.
- elf: the ELF file of the executable. This is typically used
for debugging.
- ubjson: a UBJSON encoding of the sections of the image.
- image: a binary image suitable for running on QEMU,
Wokwi, or for flashing a device. See below.--format.bin--format=binary