Forum Discussion
Altera_Forum
Honored Contributor
21 years agoAbout host file system
I used the altera host file system to open a file .mp3,, is this a legal operation or not? if it is legal then why [[FILE *hostfile =fopen ("/mnt/host/song.mp3","rb");]] return NULL!! can any...
Altera_Forum
Honored Contributor
15 years agothanks for ur fast answer ..
1. but doesn't this only work in debug mode ..? i need to transfer the image to onchip .. and when its done let my own verilog modules handle the processing .. 2. is this correct? void* ptr = (void*) On_chip_base_address then i use fread to write to on_chip? i am new to this, could you please share some code which handles reading /writing?