Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

SPI Slave firmware upgrade

Altera_Forum
Honored Contributor II
820 Views

Hello folks !! 

 

I'm writing because I need some suggestions on how to upgrade the firmware on a SPI slave. In this scenario I have a .txt file which contains the bytes I need to send, via SPI protocol, to a SPI slave hardware. 

 

The best thing I have tought is to open the .txt and copy its content into a variable. The problem is that the firmware has 224 KB size for a total of about 57K element.. And I have to initialize the variable by hand.. element x element... 

 

Any suggestions ?? 

 

Thank you for help !!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
76 Views

Could you be more precise?  

 

I guess you can copy your text file to flash, read it from there to ram and from ram send the data to SPI slave.
Altera_Forum
Honored Contributor II
76 Views

Hello guys. 

 

I'v found the solution here: 

 

http://www.alteraforum.com/forum/showthread.php?t=31611 

 

Thank you for help !
Reply