Storing text or image on a Winbond chip?

Hello, First I would like to Store an text and a image onto a Winbond chip. Yes I would use a sd card or sd card module. But I do not have one and Don't have the money for one. I know from what I read in the past I can maybe do this onto an eeprom as well as a winbond chip. I have a 25Q32JVSIQ also I have 25Q128JVSQ. Maybe I'm searching wrong all I can find is storing values or logging sensor data. I an not find anything for storing a text and a image. All I need to figure out how to get started. Does anyone know where I can look to get started or an example please? I honestly Don't know what to do now.

Joseph

If it makes sense to add to your previous topic then please post a link to it here and I will consider opening it up again to allow it to be added to

Hello UKHeliBob. that was for another project. I'm sorry my mistake I will change my original post.

Great :unamused:

Now my reply and your reply don't make sense

Please do not make substantive changes to posts that have already been replied to. If necessary add a note to the original post explaining a change of circumstances

Got it. I'm sorry my fault. I wasn't thinking just doing. My problem is I'm trying to figure out a way how to store an image and a text or just an text to a winbond SPI flash chip. So far no luck trying to figure it out or searching. Everything I have found so far is for storing sensors of different kinds But nothing on how to upload and store an text file. I have an sp8266 I can use to server a page to upload but But store hoe to get it to the flash chip or store it on the flash chip.

What is a sensor data? - a bytes
What is a text? - a bytes too

So what is your problem? - only understanding

You should search examples how to store byte(s) in the winbond chip.

See this library:

A Flash chip does not have a file system so there are no 'files' or 'filenames'. Everything is bytes and addresses. You just have to decide which memory addresses will contain your 'text' and which memory addresses will contain your 'image'.

When you want to use your 'text' you start at the first address and read each character until you reach the end. For example, if you want to send your 'text' to Serial, you would do something like:

  for (int address = TextStartAddress; address < TextEndAddress; address++)
  {
    byte c = ReadFlash(address);
    Serial.write(c);
  }

Similar for your 'image'. Read each pixel from the 'image' part of the Flash and write the pixel to the right place on the display.

Hello all, Sorry I been not able to figure this out as I been fighting my depression as well. I'm going to get back to it in a couple of days and I wanted to send a message saying I'm still thinking about it.

I did mange to find something online about what I'm trying to do. But I lost the page I had to many tabs open and for it when I closed it out. From what I can remember the example had did was create a example text file then store it within the winbond chip and read if it was stored or not. I can not seem to find it in my history.

Joseph

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.