Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi,
starting with Quartus 9.1 SP2, I got these hex file generation generation issues. Though I do not exactly understand what exactly your problem is. What I have to do with this very version of the build tools is the following: I generate a BSP project from my sopcinfo file. After that I generate a firmware project which refers to the just created BSP. All this I perform with the "Nios II Software Build Tools for Eclipse" Project Wizzard. After that I do have to make two changes in the automatically generated make files. The one is the change I posted above. The other is in the Makefile of the BSP in the line "CREATE_ELF_DERIVED_FILES := 1" which I have to set to one as shown here. This is responsible for creating the hex file at all. The --record=4 flag is responsible for the layout or alignment of the hex file. If I follow these steps with the exact tools version you mentioned, then I can work with it succesfully for years, now. Still, I'm intereseted in suggestions leading to a more convinient way to handle this hex file creation because as I said, once you run the BSP editor, you have to reset those settings in order to get your hex file. I hope this helps. Regards, Maik