- Tue Jan 19, 2016 2:14 pm
#39253
martinayotte wrote:If you've got the flash_id read, it is already a good sign ...
But which firmware you wish to upload ? if it is the previous AT firmware, upgrading Flash doesn't change any thing, upload addresses will stay the same.
If you use Arduino IDE, simply choose new Flash size target in the menu.
Well, flash ID is read but when arduino IDE is loading the code after compilation something does not work like it should.
So, you confirm my though, if I don't need SDK but only want to execute programs written with arduino IDE then there's no need to download SDK.
At powerup and after every reset I got an error message:
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
ets_main.c
UART speed is set to 74880, ESP defaults to this speed by itself? I was using 115200 in the last program runned before changing flash.
If i compile a sketch in IDE and reset ESP in program mode, it detects correctly it and then proceeds with flashing.:
erasing flash
size: 031810 address: 000000
first_sector_index: 0
total_sector_count: 50
head_sector_count: 16
adjusted_sector_count: 34
adjusted_size: 022000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 10000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash
ROW OF DOTS
starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
It seems all ok to me but program doesn't run. What can it be? I selected 4M (3M SPIFFS) in IDE's configuration.
If this flash works it can be obtained for free as samples from microchip and should permit way more writing operations than chips found on ebay...