[SOLVED] Memory allocation for eagle.flash.bin and eagle.irom0text.bin

LPerezBustos
Posts: 6
Joined: Sun Oct 23, 2016 4:16 am

[SOLVED] Memory allocation for eagle.flash.bin and eagle.irom0text.bin

Postby LPerezBustos » Sun Oct 23, 2016 4:49 am

Hi, I'm using crosstool-NG as a compiler and esptool.py as flasher. I read from "esp_starting_guide" that the memory positions to write these two file are 0x00000 and 0x40000, respectively. Nevertheless, every time I did that I was getting "fatal exception(28)" through serial interfaces. I took a look at the exception causes and there is a "LoadProhibitedCause" as 28. I focused on compiler and there was a text line with "eagle.irom0text.bin --> n" for 4MBytes memory when I did the compiler process.

I flashed the two files at 0x00000 and 0x10000 and it works !

What do you think, is it kind of a guide mistake or compiler's particularity ?

pratik

Re: Memory allocation for eagle.flash.bin and eagle.irom0text.bin

Postby pratik » Mon Oct 24, 2016 7:36 pm

You are probably not consulting the latest version of the Getting Started guide?
The current version on the website has the details in section 4.1.1, as to how you can find the download location from the LD file. :)

And yes, the latest SDK version puts the file to 0x10000, instead of the older 0x40000!

Who is online

Users browsing this forum: No registered users and 324 guests