Results 1 to 4 of 4

Thread: ESP8266 Memory Configuration

  1. #1
    Join Date
    May 2007
    Posts
    5,853
    Post Thanks / Like

    Default ESP8266 Memory Configuration

    Probably a dumb question, but how is the ESP8266 memory laid out, particularly in an OTA setup? My naive impression is that the code/data downloaded over the air ends up being initially stored in the external serial flash chip typically located on the 8266 module. Does the processor execute instructions from that memory (presumably with the aid of the CPU data/instruction cache)? It's also my understanding that the external serial flash chip is at least one order of magnitude slower than the internal CPU instruction memory, so any implementation must depend on good cache design to obtain any decent performance.

    Is any of my code able to reside in the main CPU instruction memory along-side the OTA code, or is that memory completely dedicated to OTA functionality?

    Where does 'my code' reside when I use the serial port to download code?

    Thanks,
    Phil

  2. #2
    Join Date
    May 2007
    Posts
    5,853
    Post Thanks / Like

    Default Re: ESP8266 Memory Configuration

    Doing more searching, I'm beginning to wonder if I misunderstood things and that the ESP8266 has any internal program (flash) ROM at all, and if the only place that code is stored (apart from cache) is in the external serial flash chip.
    Phil

  3. #3
    Join Date
    Dec 2012
    Location
    Newtown CT
    Posts
    5,874
    Post Thanks / Like

    Default Re: ESP8266 Memory Configuration

    As far as I know, there is no internal flash. It is all external to the core.


    2022 - Not sure yet. At least two new songs.
    2021 New Tune-to sign. New 40x27 matrix at the house. Retiring the Strip based matrix. Updating some of the old window frames to the new house. Adding two new songs.
    2020 Full sized show reworked for the new location. Only adding (famous last words) 13 RBLs that I finally got converted to using pixels
    2019 - Just moved into a new home (yet another change of plans). Will be dim but not dark. Too much to do at the new place to leave time for a show. Dim show (3000 pixels) had regular visits most nights.
    https://www.youtube.com/user/MartinMueller2003

  4. #4
    Join Date
    May 2007
    Posts
    5,853
    Post Thanks / Like

    Default Re: ESP8266 Memory Configuration

    Thanks. I found most of the answers that I wanted in the Kolban book.
    Phil

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •