Search found 3 matches

by roel00
Sat Oct 06, 2018 10:37 am
Forum: General Discussion
Topic: register_chipv7_phy never returns when limiting code to te bare minimum
Replies: 0
Views: 2145

register_chipv7_phy never returns when limiting code to te bare minimum

Hi, I'm currently experimenting with bare metal programming for the esp32, for that reason I want to limit the esp-idf part to the bare minimum I created the following application: #define MMIO32(addr) (*(volatile uint32_t *)(addr)) #define NO_CAL 1 void ENTRY_POIMT { // Disable RTC watchdog set by ...
by roel00
Sat Oct 06, 2018 10:28 am
Forum: General Discussion
Topic: [esptool.py] Maximum number of segments in the binary
Replies: 2
Views: 3545

Re: [esptool.py] Maximum number of segments in the binary

Hi roel, Currently the ESP-IDF bootloader only accommodates up to 16 segments in an app binary image: https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/include/esp_image_format.h#L96 There may be a similar limit in the ESP32 ROM (for the bootloader image), I don't recal...
by roel00
Sat Sep 29, 2018 6:55 am
Forum: General Discussion
Topic: [esptool.py] Maximum number of segments in the binary
Replies: 2
Views: 3545

[esptool.py] Maximum number of segments in the binary

The esptool.py contains the following code def load_common_header(self, load_file, expected_magic): (magic, segments, self.flash_mode, self.flash_size_freq, self.entrypoint) = struct.unpack('<BBBBI', load_file.read(8)) if magic != expected_magic or segments > 16: raise FatalError('Invalid firmware i...