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

Sof2flash

Altera_Forum
Honored Contributor II
1,574 Views

I'm trying to convert .sof file in .flash file for EPCS . 

I'm using this command: 

sof2flash --input=.... --output=.... --offset=0x.... --epcs 

I have this question: if I try to change offset I can see the same .flash file as output. 

Change just only first row.  

I don't understand why. Somebody know how run epcs offset for sof2flash? 

BYE 

G
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
557 Views

I'm afraid I don't have an answer for you but you're not the only one. I've just come across exactly the same problem trying to do the same thing! :( 

 

Andy 

 

edit to add -  

 

I am using the following command: 

 

sof2flash --epcs --input=hw.sof --output=hw.flash --offset=0x300000and I am using the 7.2 version (fully licensed) of the Quartus tools
0 Kudos
Altera_Forum
Honored Contributor II
557 Views

Hi Andrew, 

this question is a little bit strange. i don't understand why there are these problems. I didn't try but there are differences if I use WEB free quartus and NIOS II versions? versions. 

With .flash I have to program epcs but not directly but with EPCS controller so my HOST MICRO, with SPI connection, program EPCS. 

I have to know some important details. 

 

Bye 

G
0 Kudos
Altera_Forum
Honored Contributor II
557 Views

Please look at step4 in the wiki. 

http://nioswiki.com/guide_to_2c35_cf_with_u-boot 

 

You may use u-boot/arch/nios2/cpu/epcs.c, or u-boot spi flash + stmicro + altera_spi. 

http://nioswiki.com/dasuboot 

 

- Hippo
0 Kudos
Reply