Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

nios2-flash-programmer

Altera_Forum
Honored Contributor II
1,006 Views

Hi, 

I'd like download a .sof in memory, so I used this code:$ sof2flash --input=de2_net.sof --output=de2_net.flash --offset=0x0 $ nios2-flash-programmer --base=0x0 DE2_net.flash 

 

but I think that the --base adress is not good. 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

No CFI table found at adress 0x00000000 

Leaving target processor paused[/b] 

--- Quote End ---  

 

 

Should I better create a "srec" file ? 

What is the --base adress for the SREC or the FLASH file (in DE2 board) ? 

Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
275 Views

 

--- Quote Start ---  

originally posted by pairin20@May 15 2006, 07:03 AM 

hi, 

i&#39;d like download a .sof in memory, so i used this code:$ sof2flash --input=de2_net.sof --output=de2_net.flash --offset=0x0 $ nios2-flash-programmer --base=0x0 de2_net.flash 

 

but i think that the --base adress is not good. 

<div class='quotetop'>quote </div> 

--- quote start ---  

no cfi table found at adress 0x00000000 

leaving target processor paused 

--- Quote End ---  

 

 

Should I better create a "srec" file ? 

What is the --base adress for the SREC or the FLASH file (in DE2 board) ? 

Thanks! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15363)</div> 

[/b] 

--- Quote End ---  

 

DE2 uses EPCS16 for configuration, not CFI. 

You have to program sof to EPCS.
0 Kudos
Reply