Forum Discussion
Altera_Forum
Honored Contributor
22 years agoHow can I load a file into memory?
I'm using Nios II Ide to test some imaging software. By now I've used litttle images created pixel by pixel. I'd like to load a bigger image into memory, but I wasn't able. The...
Altera_Forum
Honored Contributor
22 years agofopen will only work if you have a filesystem. The only one currently available is the zip filing system which would require you to put your data into an uncompressed zip file and then program this zip file into flash.
As for getting data into memory you can just put your binary file through objcopy to convert into elf format with symbols around it. This will then be available in memory. Hope that helps