User Tools

Site Tools


products:screamer_m2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:screamer_m2 [2020/01/14 13:15]
po [Program the SPI Flash]
products:screamer_m2 [2020/01/14 14:30] (current)
po [Troubleshooting]
Line 115: Line 115:
  
 In case of programming error, refer to [[products:​jtagserial_programmer#​troubleshooting|Troubleshooting]] In case of programming error, refer to [[products:​jtagserial_programmer#​troubleshooting|Troubleshooting]]
 +
 +==== Error: the FPGA does not boot ====
 +
 +The programming went well but the FPGA Prog Done LED is not green.
 +
 +You may have an issue with the Flash SPI Quad Enable bit. This bit should have been set on the Screamer M.2 at the factory, but maybe your board got skipped in the process. You can reenable the bit this way:
 +
 +1. Apply this patch on OpenOCD:
 +
 +{{ :​tools:​qe_command.patch |}}
 +<code bash>
 +cd openocd
 +git apply qe_command.patch
 +make
 +sudo make install
 +</​code>​
 +
 +2. In the flash_screamer.cfg file, replace the "​fpga_program"​ fonction by this one:
 +<code bash>
 +proc fpga_program {} {
 +    jtagspi set_qe 0 1
 +    global _CHIPNAME
 +    xc7_program $_CHIPNAME.tap
 +}
 +</​code>​
 +
 +3. Run OpenOCD again:
 +<code bash>
 +openocd -f flash_screamer.cfg
 +</​code>​
products/screamer_m2.txt ยท Last modified: 2020/01/14 14:30 by po