Author Topic: Updating FPGA Firmware  (Read 143 times)

MPC7500

  • Full Member
  • ***
  • Posts: 189
  • Karma: +11/-0
    • View Profile
    • Twitter
Updating FPGA Firmware
« on: December 23, 2019, 07:01:00 pm »
Hello,

in the next days I plan to update the FPGA firmware of my Blackbird. I would like to know from you if my considerations are correct so far.

I own a:
Bus Pirate v3.6 (TOL-12942)
Bus Pirate cable (CAB-09556)
Fedora 31
FlashROM v1.1

Am I correct in assuming that this patch is already included in v1.1? And I read somewhere that you should buy v3.6 and not v4. I hope this is correct?

Can I proceed as follows:

1. connect Bus Pirate and Blackbird via USB
2. connect Bus Pirate cable with FPGA header

Wire colorBus Pirate v3.6FPGA header (J10107)
BrownGND1 Ground
PinkClock2 SPI Clock
GreyMOSI3 SPI MOSI
BlackMISO4 SPI MISO
WhiteChip select (active low)5 SPI Slave select (active low)
Red+3.3V6 +3.3V (standby power)

3. boot Blackbird
4. flash firmware
5. shutdown Blackbird
6. disconnect the power supply until the lights go out
7. switch on the power supply

Or do I have to do the whole thing from another computer because the wiki says the following:
"Apply standby power to your system but do not turn it on."

I thought a second computer was not needed because it's an ISP programmer?

Now for the actual programming. Are the following commands correct:

Write Firmware: sudo flashrom -p buspirate_spi:dev=/dev/myPath,spispeed=1M -w Blackbird-system-fpga-v1.01.rom

Verify Firmware: sudo flashrom -p buspirate_spi:dev=/dev/myPath,spispeed=1M -v Blackbird-system-fpga-v1.01.rom

Is this so far correct?
« Last Edit: December 24, 2019, 06:14:05 pm by MPC7500 »

MPC7500

  • Full Member
  • ***
  • Posts: 189
  • Karma: +11/-0
    • View Profile
    • Twitter
Re: Updating FPGA Firmware
« Reply #1 on: December 31, 2019, 12:10:24 pm »
I updated the RCS Wiki.