Hi,
may be related to my spi_flash_* functions problem:
flash_size_map system_get_flash_size_map();
returns 0 which is 256/256 split and is wrong.
gen_appbin.py argument is 5 too. /see my other post/
Hex dump of the start of my user1.bin both irom and iram
00000000 ea 04 00 50 04 00 10 40 00 00 00 00 f0 14 05 00 |...P...@........|
00000010 20 8f fe 3f 28 8f fe 3f b4 1e ff 3f b4 1c ff 3f | ..?(..?...?...?|
....
00051500 e9 03 00 50 04 00 10 40 00 00 10 40 dc 74 00 00 |...P...@...@.t..|
00051510 00 00 10 40 21 ff ff 20 e7 13 c5 22 00 00 00 00 |...@!.. ..."....|
- it is correctly set to 5.
i'm flashing boot_v1.4(b1).bin .
Regards,
zaxl
spi sizemap wrong
Re: spi sizemap wrong
Postby ESP_Faye » Tue Jun 23, 2015 3:05 pm
Hi,
Please refer to this topic http://bbs.espressif.com/viewtopic.php?f=7&t=641
Thanks for your interest in ESP8266 !
Please refer to this topic http://bbs.espressif.com/viewtopic.php?f=7&t=641
Thanks for your interest in ESP8266 !
Re: spi sizemap wrong
Postby zaxl » Tue Jun 23, 2015 5:27 pm
Hi,
i have gui problems with the tool /it's layout is messed up/, so i'm using the command line, which is faster for development.
For 2MB flash i'm flashing with the esptool.py , like this:
./esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash \
0x00000 "firmware/boot_v1.4(b1).bin" \
0x01000 firmware/user1.bin \
0x1fe000 sdk112/bin/blank.bin \
0x1FC000 sdk112/bin/esp_init_data_default.bin
flash addresses are from 2A-ESP8266__IOT_SDK_User_Manual__EN_v1.1.0.pdf .
i've changed the boot to be size 5: /the download tool when combining images does this/
00000000 e9 03 00 50 94 02 10 40 00 00 10 40 74 05 00 00 |...P...@...@t...|
^^^^ size_speed byte
user1.bin is too size 5:
00000000 ea 04 00 50 04 00 10 40 00 00 00 00 f0 14 05 00 |...P...@........|
^^^^ size_speed byte
What i'm missing?
Thanks for your support!
Regards,
zaxl
i have gui problems with the tool /it's layout is messed up/, so i'm using the command line, which is faster for development.
For 2MB flash i'm flashing with the esptool.py , like this:
./esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash \
0x00000 "firmware/boot_v1.4(b1).bin" \
0x01000 firmware/user1.bin \
0x1fe000 sdk112/bin/blank.bin \
0x1FC000 sdk112/bin/esp_init_data_default.bin
flash addresses are from 2A-ESP8266__IOT_SDK_User_Manual__EN_v1.1.0.pdf .
i've changed the boot to be size 5: /the download tool when combining images does this/
00000000 e9 03 00 50 94 02 10 40 00 00 10 40 74 05 00 00 |...P...@...@t...|
^^^^ size_speed byte
user1.bin is too size 5:
00000000 ea 04 00 50 04 00 10 40 00 00 00 00 f0 14 05 00 |...P...@........|
^^^^ size_speed byte
What i'm missing?
Thanks for your support!
Regards,
zaxl
Regards,
zaxl
zaxl
Re: spi sizemap wrong
Postby zaxl » Wed Jun 24, 2015 6:30 am
Hi,
Okay. solved.
esptool.py modifies the images before writing. needs and update to a recent version and a parameter for the flash size : --flash_size 16m-c1
why does it modifies the already correctly generated images is another topic ....
Regards,
zaxl
Okay. solved.
esptool.py modifies the images before writing. needs and update to a recent version and a parameter for the flash size : --flash_size 16m-c1
why does it modifies the already correctly generated images is another topic ....
Regards,
zaxl
Regards,
zaxl
zaxl
Who is online
Users browsing this forum: No registered users and 101 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.