Coder Social home page Coder Social logo

Comments (12)

dhendrix avatar dhendrix commented on May 24, 2024 6

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.

iomonad avatar iomonad commented on May 24, 2024 1

Same here. It work only if specified otherwise the chip become unknown.

from flashrom.

docpyro avatar docpyro commented on May 24, 2024 1

Your comment fixes the issue I was having for days. Thank You Very Much!!!!!!!

from flashrom.

probonopd avatar probonopd commented on May 24, 2024 1

Maybe try with sudo?

from flashrom.

probonopd avatar probonopd commented on May 24, 2024

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.

kfowlks avatar kfowlks commented on May 24, 2024

@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.

wareck avatar wareck commented on May 24, 2024

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.

jal2 avatar jal2 commented on May 24, 2024

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.

rnamdos avatar rnamdos commented on May 24, 2024

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.

saraazizi76 avatar saraazizi76 commented on May 24, 2024

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.

docpyro avatar docpyro commented on May 24, 2024

from flashrom.

saraazizi76 avatar saraazizi76 commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.