Comments (12)
On my rpi3 it seems to work without the spispeed parameter but very slowly. The devicetree shows spi-max-frequency set to 500KHz.
A hardcoded default is not a good solution since RPi is not the only user of the linux_spi driver and poor quality connection to the chip can require slowing down the speed as well. It might be worth asking the Raspberry Pi foundation to increase spi-max-frequency, but I don't expect that to land since they probably have other use cases in mind.
At the very least perhaps we can make flashrom print a message to the user to adjust spispeed if the chip ID is not found.
from flashrom.
Same here. It work only if specified otherwise the chip become unknown.
from flashrom.
Your comment fixes the issue I was having for days. Thank You Very Much!!!!!!!
from flashrom.
Maybe try with sudo
?
from flashrom.
Thanks for confirming @iomonad - I think this should be fixed by hardcoding a default value. It took me some time to find this out.
from flashrom.
@iomonad I can confirm this as well. I had the same issue with a pi-zero running a 4.9.59 Linux kernel and the most recent stable release of flashrom built from git.
from flashrom.
Hello
i've just tested this software.
For me on a RPI3 it's better to use sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=20000
It's a good compromize to speed and less error
from flashrom.
Same problem here with flashrom version p1.0-74-g2568357 on a RPi 1 model B. Kernel is 4.14.34+, distribution Raspbian GNU/Linux 9.
from flashrom.
I was able to finally probe my Macronix chip once (and only once) by setting the speed to 20000... cant get it to work again. I'm using Pi zero
from flashrom.
sorry. i have a question.some commands are listed in man page (8) for reading, writing, ... .where this commands should be run? in terminal of ubuntu? how can i run flashrom software???
from flashrom.
from flashrom.
yes terminal if you have flashrom downloaded and setup as discussed elsewhere
…
On Sun, Jul 28, 2019 at 3:34 AM saraazizi76 @.***> wrote: sorry. i have a question.some commands are listed in man page (8) for reading, writing, ... .where this commands should be run? in terminal of ubuntu? how can i run flashrom software??? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#29?email_source=notifications&email_token=AC6OOMPYKJ3SJD6LQF5FZSLQBVDZ3A5CNFSM4EJHQJV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26ZEOQ#issuecomment-515740218>, or mute the thread https://github.com/notifications/unsubscribe-auth/AC6OOMPLJE3PQBRJMFDDP3TQBVDZ3ANCNFSM4EJHQJVQ .
tnx
i have another problem now. i wanna use ft2232_spi programmer , but when i connect this programmer to my laptop and run this command "./flashrom -r ../output_EEPROM -p ft2232_spi" in the terminal i got this error"Unable to open FTDI device: -3 (device not found).
Error: Programmer initialization failed."
Do you know why?
from flashrom.
Related Issues (20)
- Programmer dirtyjtag_spi can never be enabled HOT 1
- Add 25D40 BoyaMicro HOT 1
- Flashrom Serprog comport issue HOT 1
- no programmer support HOT 1
- W25Q128JV-IQ CS pin not going to 0 HOT 1
- Missing USB programmer support when building on arm64 HOT 1
- Any Update for supported device lists HOT 1
- Erase and Write problem with a SST25VF512. HOT 1
- Feedback on "new" documentation website <www.flashrom.org> HOT 1
- Add support for STLinkV3-Mini HOT 1
- Support GigaDevice GD25LB128D HOT 1
- Read error trying to read a FM25Q128A rom HOT 1
- [Feature Request] Add support for flash Winbond W25N01GV HOT 1
- Having issue with MX25L4006E HOT 1
- Add Support for Macronix MX29LV800CT HOT 1
- undefined symbol libusb_set_option HOT 1
- Intel i210at: no supported PCI device found. HOT 1
- W25N01 support? HOT 1
- Chip `WINBOND W25Q128JVSG 2106` Appears to not work with flashrom 1.3.0 with QinHeng Electronics CH341 in EPP/MEM/I2C mode HOT 1
- lld 17+: cannot link libflashrom due to version script refering to undefined symbols HOT 1
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 flashrom.