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

Nios II Flash programmer download error

noobisme
Débutant
5 162 Visites

hi!

My device family is cyclone 10 lp,flash is epcs64

I use the Serial Flash Controller Intel FPGA IP by Pltform Designer to download,

it will be a error when I download by Nios II Flash programmer,

it shows error that unrecognized device family in SOF,

how can I download?

Étiquettes (2)
0 Compliments
1 Solution
JingyangTeh_Altera
4 496 Visites

Hi


For your NiosII have you set the NiosII to boot from the Serial Flash?

Did you set the linkerscript correctly for either execute in place or bootcopier boot?


https://www.intel.com/content/www/us/en/docs/programmable/683104/current/bsp-editor-settings.html


Regards

Jingyang, Teh


Voir la solution dans l'envoi d'origine

0 Compliments
17 Réponses
JingyangTeh_Altera
4 930 Visites

Hi


We sincerely apologize for the inconvenience caused by the delay in addressing your Forum queries. Due to an unexpected back-end issue in our system, your Forum cases, along with others, did not get through as intended. As a result, we have a backlog of cases that we are currently working through one by one.


Please be assured that we are doing everything we can to resolve this issue as quickly as possible. However, this process will take some time, and we kindly ask for your patience and understanding during this period. The cases will be attended by AE shortly.


We appreciate your patience and understanding, and we are committed to providing you with the best support possible. 


Thank you for your understanding.


Back to your issue, would i suggest you use the Convert Programming Files tool for this process.

You could refer to the link below on how to do this.

https://www.intel.com/content/www/us/en/docs/programmable/683104/current/programming-files-conversion.html


Regards

Jingyang, Teh


0 Compliments
JingyangTeh_Altera
4 884 Visites

Hi


Do you have any follow up on this issue?


Regards

Jingyang, Teh


0 Compliments
noobisme
Débutant
4 865 Visites

Hi 


I have been researching this issue,How can i get Hex Data?

 

I'm able to get Sof Data and Elf Data, and I can't translate Elf Data to Hex Data.

 

so I can't use the Convert Programming Files tool for this process,because I don't konw how to translate Elf Data.


Is there any way to translate Elf Data to Hex Data?

0 Compliments
JingyangTeh_Altera
4 749 Visites

Hi


You could use the mem_init make target in the Eclipse IDE.

https://www.intel.com/content/www/us/en/docs/programmable/683104/current/application.html


Or you could use the command line mention in the document below:

https://www.intel.com/content/www/us/en/docs/programmable/726952/22-1-21-2-0/hex-file-generation.html


Regards

Jingyang, Teh


0 Compliments
noobisme
Débutant
4 574 Visites

Hi

 

I can use the mem_init make target in the Eclipse IDE, But it creates a empty Hex Data,like pic1 and pic2.

 

Pic3 is my Nios compiling, How can i get the right Hex Data?

 

I use the NIOS II, so I can't use method 2  which uses the command line mention.

 

Regards

Noobisme

0 Compliments
JingyangTeh_Altera
4 693 Visites

Hi


Do you have an update on this case?

Are you able to generate the hex file ?


Regards

Jingyang, Teh


0 Compliments
noobisme
Débutant
4 671 Visites

Hi

I'm busy on other project,I will try it on Monday.

Thank you for your concern.

 

Regards

Noobisme

0 Compliments
JingyangTeh_Altera
4 497 Visites

Hi


For your NiosII have you set the NiosII to boot from the Serial Flash?

Did you set the linkerscript correctly for either execute in place or bootcopier boot?


https://www.intel.com/content/www/us/en/docs/programmable/683104/current/bsp-editor-settings.html


Regards

Jingyang, Teh


0 Compliments
noobisme
Débutant
4 478 Visites

Hi

 

I can set the NiosII to boot from the Serial Flash, It will solve the question that I can get the right Hex Data,but I don't konw how to set the right address about Hex Data and Sof Data, just like pic1.

 

Can I use Nios II Flash programmer to download? it's much eazy for me.

 

Nios II Flash programmer can't recognise chip model,so I can't use Nios II Flash programmer,just like pic2.

 

Regards

Noobisme

 

0 Compliments
JingyangTeh_Altera
4 447 Visites

Hi


Because the serial flash is also used to store the FPGA bit stream configuration, that is why you would need the offset.

In general you set the offset to be greater than the FPGA Bit stream (SOF).

First you compile your project and you will get a sof file. Check the size and set the offset to be greater than that size. e.g if the SOF file is around 8KByte(0x7A1 200), you can set the offset to be 0x7B0 000


0 Compliments
noobisme
Débutant
4 436 Visites

Hi

 

Thank you for your concern.

 

E.g if the SOF file is around 801KByte(0x2FBE 4A40),just like image, I can set Hex file around 0x2FBF 0000,but it exceeds memory capacity,the Hex data is around 171KB.

 

Maybe the way of calculating offset is wrong,or something else is wrong,how to slove the question.

 

I still want to mention Nios II Flash programmer,can I use it to program cyclone 10 lp device?

 

Thank you once again.

 

Regards

Noobisme

0 Compliments
JingyangTeh_Altera
4 258 Visites

Hi


So sorry, I have made a huge mistake on the conversion.

801KB is C38E8. you can put it as C4000.


Regards

Jingyang, Teh



noobisme
Débutant
4 173 Visites

Hi

 

Thank you for your help.

 

I can program the EPCS64,I would try other problem.

 

 Thank you for your help with the utmost respect.

 

Regards

Noobisme

 

 

0 Compliments
noobisme
Débutant
4 082 Visites

Hi

 

I meet a problem now, the SOF data run well,but the HEX data don't run.

 

bro, how can I solve the question?

 

Regards

Noobisme

0 Compliments
JingyangTeh_Altera
3 843 Visites

Hi


Did you regenerate the HEX after setting the linkerscript in the BSP?

If you are booting from the Flash, there will be 2 hex file. One is the onchip and another will be the Flash hex. (epcq or gsfi in the naming)



0 Compliments
noobisme
Débutant
3 618 Visites

Hi

 

I already solved the question by set the Reset vector as right offset,then the HEX Data can smoothly run.

 

Thank you for your help with the utmost respect.

 

Regards

Noobisme

0 Compliments
JingyangTeh_Altera
3 530 Visites

Hi


I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


Regards

Jingyang, Teh


0 Compliments
Répondre