Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Document the requirement for hardware SPI #3
Does it work if you run
There appears to be a reset issue when first powering up a device, and this may be related:
fomu@fomu-dev:~ $ fomu-flash -i Manufacturer ID: unknown (ff) Memory model: unknown (ff) Memory size: unknown (ff) Device ID: ff Serial number: ff ff ff ff Status 1: ff Status 2: ff Status 3: ff fomu@fomu-dev:~ $ fomu-flash -i Manufacturer ID: Winbond (ef) Memory model: W25Q128JV (70) Memory size: 128 Mbit (18) Device ID: 17 Serial number: e4 67 28 65 Status 1: 00 Status 2: 00 Status 3: 60 fomu@fomu-dev:~ $
No, the all-1 output persisted across as many
This is the result of trying two different Raspberry Pis and three different programming fixtures, where one of the fixtures was @mithro's big orange one which I assumed actually did work. Eventually comparing the configuration of my and his Pi images I found that setting
I tried using the
I should note that I'm using Hacker boards attached to my own programming jig, not an EVT attached as a hat.
It is really weird, and you're right @mithro that I'm bit-banging SPI. My best guess is that setting
I intend to see what the issue is once I get access to a Pi 2 and an oscilloscope. I imagine that enabling a clock somewhere will fix the issue.