View: 25310|Reply: 20

How to read and write simple data from SPI FLASH

[Copy link]

5

threads

17

posts

157

credits

Registered member

Rank: 2

credits
157
Published in 2017-2-14 09:10:34 | Show all floors |Read mode


Having an Orange Pi Zero 512KB with legacy kernel (3.4.113).

What would be the right method to read and write data on the SPI FLASH?

The idea is not to boot from it, just to use it to store some variables that need to be independent of the SD card used for the operating system.

Thanks

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-3-25 13:52:52 | Show all floors

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-3-16 20:03:49 | Show all floors
Edited by nopnop2002 at 2017-3-16 20:23

I think It's a possible with SPI.
There is library for arduino.

https://github.com/Tamakichi/Arduino-W25Q64/tree/master/W25Q64
I think it can port to OPi/RPI

I ordered W25Q64.I'll try.

4

threads

28

posts

96

credits

Registered member

Rank: 2

credits
96
QQ
Published in 2023-8-22 06:02:00 | Show all floors
OpenWrt no longer fits in 4MB of flash, so current OpenWrt wouldn't even fit in a 2MB SPI.

I would love to at least have some form of bootload (chooser) available in the 2MB SPI, sometime similar to rEFIf or rEFInd to choose another boot device option. It would be nice if it also had the ability to download and flash base OS images directly from orangepi's site.
Published in 2024-5-25 17:58:04 | Show all floors
Spot up for this write-up, I actually think this excellent website wants far more consideration. I’ll probably be again to learn to read a lot more, thank you for that info.        https://kiu.ac.ug
Published in 2024-5-25 17:58:27 | Show all floors
Spot up for this write-up, I actually think this excellent website wants far more consideration. I’ll probably be again to learn to read a lot more, thank you for that info.        https://kiu.ac.ug
Published in 2024-5-27 21:01:51 | Show all floors
Thanks for the different tips discussed on this blog site. I have observed that many insurance carriers offer prospects generous deals if they choose to insure several cars with them. A significant volume of households currently have several vehicles these days, in particular those with old teenage kids still located at home, as well as savings on policies can certainly soon begin. So it pays to look for a great deal.        https://vin777bb.com/
Published in 2024-5-30 14:53:48 | Show all floors
Simply this site is likely to irrefutably quite possibly possibly be renowned affecting quite a few information sites person's, to help it is conscientious content pieces or it could be viewpoints.        MarketSlot
Published in 2024-6-20 22:16:23 | Show all floors
Outstanding article!  I want people to know just how good this information is in your article. Your views are much like my own concerning this subject. I will visit daily your blog because I know. It may be very beneficial for me.        best salesforce training in coimbatore
Published in 2024-6-22 19:54:37 | Show all floors
I will right away grab your rss feed to remain up to date on any succeeding articles you might write        Đăng Nhập Hello88
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list