Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By martinayotte
#47820 Ok ! Does this really supported in hardware ? without having any code already uploaded ?
If yes, then you're right and I apologize !
(That's odd that Espressif didn't mention that in their specs)
User avatar
By Freeck
#47821 Apologies accepted.

There is however a drawback, it consumes some IRAM to enable to flash code in flash, because the external flash is not part of the jtag chain......
In some occassions I ran out of iram.... So its not perfect, now I use serial gdb instead, it consumes no IO pins...
Last edited by Freeck on Sun May 22, 2016 10:14 am, edited 1 time in total.
User avatar
By martinayotte
#47822
Freeck wrote:it consumes some IRAM to enable to flash code in flash.... In some occassions I ran out of iram...

Did you got chance to figure out why ? Is it simply because the code that does the flash isn't optimized ?
User avatar
By Freeck
#47823 No, It has nothing to do with optimisation of the code. Its a hardware related issue, you dont have accces to the flash area via the jtag interface, so you need some code in iram to do that job...
bottom line is that you have to live with the limitations...

PS: I prefer serial debug. Same drawbacks, but no use of 4 IO pins.