News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

CYC5000 / TEI0050 Programming of the QSPI Flash

Started by CaSchmidt, January 04, 2025, 11:34:27 AM

Previous topic - Next topic

CaSchmidt

Hello,

I want to programm the CYC5000's QSPI Flash.

To do so, I am following the steps described in the "CYC5000 User Guide", section 6.2.

However, after successfully finishing the flash programming procedure and asserting a reset,
the red & green LEDs are continuously lit, but the "program" is not running.

The new program runs perfectly, if I use the programmer to directly load the FPGA without the QSPI flash.
However, I like to have the program persisted in the QSPI.

Can someone give advice? Is the configuration of the user guide insufficient?

Sincerely,
Carsten

Thomas D

Hi Carsten
Which user manual are you referring to? Or where can I find it?
I have not found it in our (Trenz) wiki or download area...

Can you send a screenshot of the 'Convert Programming File' tool? Then I can see what you have set.

br
Thomas

CaSchmidt

Hello Thomas,

I am refering to this manual:

https://github.com/ArrowElectronics/CYC5000/blob/main/CYC5000%20User%20Guide.pdf

I was following instructions in section 6.2 to program the QSPI flash,
so the screenshots of the manual are identical to my settings.

I also found another tool to program this type of FPGA:

https://github.com/trabucayre/openFPGALoader

However, I am reluctant to use it, as I do not want to damage the board.


Sincerely,
Carsten

Thomas D

Hi
I can't find any errors in the user guide, section 6.2, I can create a jic file according to the instructions which works.

I have attached the jic file that works. It has been generated from the example project that is in the github directory you sent. Can you program your module with the Quartus Programmer and then press the reset button S1 or unplug and plug the module to the if this file works on your module?

I don't know that openFPGALoader, so unfortunately I can't say whether it works or not.

br
Thomas

CaSchmidt

Hello Thomas,

thank you for the JIC!

Unfortunately, I get the same result as described in my initial post.

FYI: I am using Quartus Prime 23.1 Lite Edition & Arrow USB Blaster 2.5.

Does this impact the flash programming procedure?

Sincerely,
Carsten

Thomas D

Hi
Quote from: CaSchmidt on January 08, 2025, 08:27:38 PMFYI: I am using Quartus Prime 23.1 Lite Edition & Arrow USB Blaster 2.5.

Does this impact the flash programming procedure?
That should work. I have no problems with it.

br
Thomas

CaSchmidt

Hello,

I think, I have it working!

After consulting the schematic and the "Cyclone V Device Handbook",
I have changed the MSEL settings in the programming configuration to
"Active Serial x1"; contradicting the user guide.

Now I was able to program the QSPI!

Thank you, for the encouragement!

-- Carsten