Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Also you need to make these pins as user IO's in Device settings (Dual purpose pins, set as reular I/Os). See ug_embedded_ip, page 53. --- Quote End --- Ok thanks, i overlooked this point. Now i can set the epcs signals manually. I did it and recompile the fpga design, regenerate the bsp and rebuild the software. When i start the flash programmer it is still not successfull and the epcs clock line still shows no activity. --- Quote Start --- Yes, setting the pins as regular I/O should solve your problems. --- Quote End --- Unfortunately it does not. --- Quote Start --- But I tried a different appoach of converting the sof and elf files to *.flash, again to *.bin, combine both and then covert to *.hex. Now use the Quartus programmer to convert the file to jic file to program EPCS16. This is a long process but it worked for me. Used NIOS command line for file conversion. --- Quote End --- What exactly is the bin file format and how is it created from a flash format? There is a tool flash2dat, but no tools like dat2hex or bin2hex? What do you use to convert these formats. I also found a tool elf2hex. But i am confused about settin as start- and end-adresses. Do I neet to set the ram adresses, the epcs controller adresses, or anything else? --- Quote Start --- A tool such as srec_cat (http://srecord.sourceforge.net/) can do that directly, ... --- Quote End --- Here i'm working under windows. For development tasks i still installed cygwin. SRecord is not in the cygwin package repositorys. A first "./configure" shows that installing it manully is a complete new challenge.