Comments (5)
flashrom
currently does not support 4-byte addressing as far as I known. There were patches proposed but they are probably unmerged.
from stm32-vserprog.
I've managed to get a flashrom with those patches working well enough to program an N25Q256A using an FT232H module, but it's awfully slow.
https://github.com/skyportsystems/flashrom/commits/master
from stm32-vserprog.
It is possible to program N25Q/MT25QL chips larger than 16 MB with the existing flashrom serprog, using only commands with 3-byte addresses, plus the extended address register for the 4th byte. See https://github.com/skyportsystems/flashrom/commit/60b1084b for an example.
Other chips may require native 4-byte addressing, but I haven't encountered them so far.
from stm32-vserprog.
With a proper patch for flashrom
, any serprog should be able to handle 4-byte addressing. It is merely an SPI-to-USB bridge. It has no knowledge about the protocol. The commands with address parameters in serprog protocol are for parallel flash chips. The only limitation for serprog with SPI is that the size of each transaction (command or data) must be under 16MB.
from stm32-vserprog.
Ah! Thanks for the clarification. I confirmed that programming an M25QL256 with flashrom serprog works with direct 4-byte address commands. See https://github.com/skyportsystems/flashrom/commit/d30fcd40 .
from stm32-vserprog.
Related Issues (20)
- Cosmic/18.04: Had to install libnewlib-arm-none-eabi to resolve stdint.h not found error. HOT 1
- How to use udev rules to make a symbol link of /dev/ttyACM<N> HOT 2
- 这个编程器可不可以有安卓app上位机程序呀? HOT 1
- stm32-vserprog-v3板子上的写保护功能怎么用呀?具体作用是? HOT 1
- How to connect a 25 type SPI Flash to the board's DIP-8 slot ? where can find the schematics? HOT 1
- 按照原理图做了一个V3的版本,测试25 SPI读取速度有点慢,不知道哪里出问题了 HOT 1
- Unable to get past make BOARD=stm32-bluepill HOT 2
- 赞,blog.dword1511.info无法评论,只有在这里评论了,附带一些文件下载地址 HOT 1
- 几个问题,望回复 HOT 4
- 如果能用STM32F103vct6 将nand 和spi 都支持就好了 HOT 1
- support for REVELPROG IS board
- XTW2 flasher support HOT 3
- 关于针对W25Q256FV的4Byte地址模式的支持 HOT 6
- flashrom Git URL needs updating HOT 1
- Any recommended hardware? HOT 1
- stm32-bluepill failed to init device HOT 2
- Works fine on MacOS (M1 Mac)
- MT25QL512 HOT 1
- Nucleo F411RE: more than header config?
- 有编译好的吗blachpill上用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32-vserprog.