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

De4 board: boot from CFI flash

KPhan4
Beginner
485 Views

Hi

I’m tried to boot .sof and .elf files from CFI flash on DE4 board. I’m step by step follow DE4 getting started guide. Files programed success to flash but .elf file not work.

so what’s my problem????

best regard

 

0 Kudos
3 Replies
ShafiqY_Intel
Employee
158 Views

Hi KPhan4,

 

I suspect your JTAG frequency might be the root cause for .elf file not work.

 

Can you kindly try to reduce your TCK frequency to 6 MHz (default value)?

Below link is the command to change TCK frequency (on page 14= 2.8. Changing the TCK Frequency)

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_usb_blstr_ii_cable.pd...

 

Kindly try it out with your design and let me know the result.

 

Thanks

 

 

 

KPhan4
Beginner
158 Views

thank for your support.

i’ve tried and result:

Error: no param JtagClock

I programed .sof to flash and run Debug app on Eclipse. It worked. So Nios’ reset vector and reset value when i convert .elf cause for it not work???

ShafiqY_Intel
Employee
158 Views

KPhan4,

 

For latest design development, we recommend to use sof file rather than .elf file.

 

Thanks

Reply