Skip to content

Ok, about the architecture of generating the bin format #8742

@hzhh110

Description

@hzhh110

Related area

nodemcu-32s

Hardware specification

esp32

Is your feature request related to a problem?

[env:nodemcu-32s]
platform = espressif32 @ ~3.5.0
board = nodemcu-32s
framework = arduino
Okay, the bin file schema that I generated before is
Segment Length Load addr File offs Memory types


  1  0x401e8  0x3f400020  0x00000018  DROM
  2  0x04218  0x3ffbdb60  0x00040208  BYTE_ACCESSIBLE, DRAM
  3  0x0bbe0  0x40080000  0x00044428  IRAM
  4  0x114770  0x400d0018  0x00050010  IROM
  5  0x0ac90  0x4008bbe0  0x00164788  IRAM

Now the same configuration generates a really different architecture.

Segment Length Load addr File offs Memory types


  1  0x3e834  0x3f400020  0x00000018  DROM
  2  0x017b4  0x3ffbdb60  0x0003e854  BYTE_ACCESSIBLE, DRAM
  3  0x116048  0x400d0018  0x00040010  IROM
  4  0x029d8  0x3ffbf314  0x00156060  BYTE_ACCESSIBLE, DRAM
  5  0x16870  0x40080000  0x00158a40  IRAM

Describe the solution you'd like

*****Mac-2:~ $ esptool.py --chip esp32 image_info -v 2 /Users//Desktop/ESP32-SerialPort-V1.3.6.bin
esptool.py v4.7.dev1
File size: 1504336 (bytes)

ESP32 image header

Image version: 1
Entry point: 0x40084d3c
Segments: 5
Flash size: 4MB
Flash freq: 40m
Flash mode: DIO

ESP32 extended image header

WP pin: 0xee (disabled)
Flash pins drive settings: clk_drv: 0x0, q_drv: 0x0, d_drv: 0x0, cs0_drv: 0x0, hd_drv: 0x0, wp_drv: 0x0
Chip ID: 0 (ESP32)
Minimal chip revision: v0.0, (legacy min_rev = 0)
Maximal chip revision: v0.0

Segments information

Segment Length Load addr File offs Memory types


  1  0x401e8  0x3f400020  0x00000018  DROM
  2  0x04218  0x3ffbdb60  0x00040208  BYTE_ACCESSIBLE, DRAM
  3  0x0bbe0  0x40080000  0x00044428  IRAM
  4  0x114770  0x400d0018  0x00050010  IROM
  5  0x0ac90  0x4008bbe0  0x00164788  IRAM

ESP32 image footer

Checksum: 0xb2 (valid)
Validation hash: 533a1ba309087f1fc3da16e244fc541c3a0a05affe4d81861b146c9ffec729e5 (valid)

Application information

Project name: esp32-arduino-lib-builder
App version: 9036908-dirty
Compile time: Mar 26 2021 06:09:28
ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000
ESP-IDF: v3.3.5-1-g85c43024c
Secure version: 0

*****Mac-2:~ $ esptool.py --chip esp32 image_info -v 2 /Users//Downloads/iDoor_P107-3.3.5-V3.0.6.bin
esptool.py v4.7.dev1
File size: 1503968 (bytes)

ESP32 image header

Image version: 1
Entry point: 0x40084d3c
Segments: 5
Flash size: 4MB
Flash freq: 40m
Flash mode: DIO

ESP32 extended image header

WP pin: 0xee (disabled)
Flash pins drive settings: clk_drv: 0x0, q_drv: 0x0, d_drv: 0x0, cs0_drv: 0x0, hd_drv: 0x0, wp_drv: 0x0
Chip ID: 0 (ESP32)
Minimal chip revision: v0.0, (legacy min_rev = 0)
Maximal chip revision: v0.0

Segments information

Segment Length Load addr File offs Memory types


  1  0x3e834  0x3f400020  0x00000018  DROM
  2  0x017b4  0x3ffbdb60  0x0003e854  BYTE_ACCESSIBLE, DRAM
  3  0x116048  0x400d0018  0x00040010  IROM
  4  0x029d8  0x3ffbf314  0x00156060  BYTE_ACCESSIBLE, DRAM
  5  0x16870  0x40080000  0x00158a40  IRAM

ESP32 image footer

Checksum: 0x99 (valid)
Validation hash: ef72bc8b6d59416c663429b5485f3aa4936f6469d1a5d86cf853c02156d9a730 (valid)

Application information

Project name: esp32-arduino-lib-builder
App version: 9036908-dirty
Compile time: Mar 26 2021 06:09:28
ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000
ESP-IDF: v3.3.5-1-g85c43024c
Secure version: 0

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions