Page 1 of 1
Programming Flash - It is possible using SPI
Posted: Mon Dec 31, 2018 4:34 pm
by NevynSelby
After reading the documentation I think I know the answer, but is it possible to use the SPI bus to load a program into the flash memory?
From what I have read I think there are really only two options:
Is this correct?
Regards,
Mark
Re: Programming Flash - It is possible using SPI
Posted: Wed Jan 02, 2019 9:22 am
by ESP_Sprite
You can do OTA over any protocol or bus you want, including SPI. (Obviously, you may need the glue logic for this yourself.)
Re: Programming Flash - It is possible using SPI
Posted: Wed Jan 02, 2019 5:33 pm
by NevynSelby
By glue logic - I take it you mean we would have to put the logic in our application or write a custom bootloader?
Regards
Mark
Re: Programming Flash - It is possible using SPI
Posted: Wed Jan 02, 2019 8:16 pm
by ESP_Sprite
Yes. There's a driver for SPI, and if I recall correctly you can feed data from any source into the OTA subsystem. You'd just need to write the logic to tie them together according to what specific data transfer logic you want to use.
Re: Programming Flash - It is possible using SPI
Posted: Thu Jan 03, 2019 6:05 am
by NevynSelby
Thank you for your help.
Regards,
Mark