Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21088 Discussions

Problem programming Cyclone 10 in PS Mode

KCole4
Beginner
917 Views

I am not seeing the CONFIG_DONE signal go high from the Cyclone 10 FPGA when programming in PS mode from STM32 CPU.

 

The nSTATUS pin toggles as expected after we toggle the nCONFIG pin, and does not go low to signify an error during programming.

 

DCLK is 4Mhz.

 

The programming file used in .rbf generated from Quartus Prime 17.0.0 SJ lite version. Note I can successfully program the device with our design using JTAG.

 

I would appreciate any advice.

 

KC

0 Kudos
2 Replies
a_x_h_75
New Contributor III
649 Views

Try reversing the order in which you playback the bits of each byte - perhaps the most likely.

 

Slow the clock further. More importantly ensure the data is setup sufficiently ahead of the clock edge. (A lack of errors - assuming the bit order is correct - suggests the clock-data relationship is probably fine.) Nevertheless, try clocking data in on the other edge.

 

Cheers,

Alex

0 Kudos
KCole4
Beginner
649 Views

Hi Alex - got it working by both slowing down the clock and clocking on the other edge. Will now go back and look closer at the signals...

 

Thanks for the help,

 

KC

0 Kudos
Reply