Linking eagle.app.v6.new.1024.app1/2.ld to Wemos D1 Min
-
- Posts: 195
- Joined: Sat Apr 01, 2017 1:21 am
- Contact:
Linking eagle.app.v6.new.1024.app1/2.ld to Wemos D1 Min
Postby AgentSmithers » Mon Aug 07, 2017 6:06 am
Hi everyone!
I finally finally FINALLY got my FOTA to work with espressif's SDK bootloader. My question is that the Wemos D1 Mini has 16M bytes(128Mbit) of memory. So if I'm correct I need to get a modified version of the Eagle file to support the new found flash space is that correct? If so can anyone point me in the right direction it would be super appreciated!!
Thank you so much!
-Agent
I finally finally FINALLY got my FOTA to work with espressif's SDK bootloader. My question is that the Wemos D1 Mini has 16M bytes(128Mbit) of memory. So if I'm correct I need to get a modified version of the Eagle file to support the new found flash space is that correct? If so can anyone point me in the right direction it would be super appreciated!!
Thank you so much!
-Agent
Re: Linking eagle.app.v6.new.1024.app1/2.ld to Wemos D1 Min
Postby pratik » Mon Aug 07, 2017 12:33 pm
You are using the boot.bin along with user1 and user2 I guess, right?
In that case you should follow the Getting Started Guide for determining where you want to put your code at.
http://www.espressif.com/sites/default/files/documentation/2a-esp8266-sdk_getting_started_guide_en.pdf
boot.bin = 0x0000
user1.bin = 0x1000
and
eagle.flash.bin = 0x0000
eagle.irom0text.bin = 0x10000
These will apply for all flash sizes always.
In that case you should follow the Getting Started Guide for determining where you want to put your code at.
http://www.espressif.com/sites/default/files/documentation/2a-esp8266-sdk_getting_started_guide_en.pdf
boot.bin = 0x0000
user1.bin = 0x1000
and
eagle.flash.bin = 0x0000
eagle.irom0text.bin = 0x10000
These will apply for all flash sizes always.
-
- Posts: 195
- Joined: Sat Apr 01, 2017 1:21 am
- Contact:
Re: Linking eagle.app.v6.new.1024.app1/2.ld to Wemos D1 Min
Postby AgentSmithers » Thu Aug 10, 2017 7:05 am
pratik wrote:You are using the boot.bin along with user1 and user2 I guess, right?
In that case you should follow the Getting Started Guide for determining where you want to put your code at.
http://www.espressif.com/sites/default/files/documentation/2a-esp8266-sdk_getting_started_guide_en.pdf
boot.bin = 0x0000
user1.bin = 0x1000
and
eagle.flash.bin = 0x0000
eagle.irom0text.bin = 0x10000
These will apply for all flash sizes always.
Correct and I agree with you but.. What about user2 bin. That has to be placed at an exact address determined by the Eagle.ld file correct? That address is used assuming that the SPI flash is a specific size correct? If the d1 mini pro is much larger than I need to adjust the Eagle.ld to reflect a different size that is in the center of the SPI's memory bank correct?
Here is a link to the Wemos D1 Mini Pro, That means I need to modify the Eagle.LD to reflect the address to be dropped at 0x101000 correct? Right now I am using the 1k version and dropping it at 0x81000 and it is currently working but I won't be able to use the rest of the space correctly unless I move to the 16M model with the Eagle.ld right?
Thank you so much for responding.
Re: Linking eagle.app.v6.new.1024.app1/2.ld to Wemos D1 Min
Postby pratik » Sun Aug 27, 2017 3:51 pm
Yes, that is all correct. Note that the Getting Started Guide just tells you about the default LD file settings. If you want you can modify the addresses and get the code where you want it to be. Will take a little trial-and-error though.
Who is online
Users browsing this forum: No registered users and 63 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.