Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
781 Views

SPI Slave firmware upgrade

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 I
37 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 I
37 Views

Hello guys. 

 

I'v found the solution here: 

 

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

 

Thank you for help !
Reply