Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Update on the LED pof example. While programming the LED's directly through the programmer i successfully programmed my board. The issue was when i tried using the jtagmaxprog.exe i got the following error: Unused parts of pof file ROM are not zero. This was when trying to use the jtagmaxprog to implement my new led pof file. I tried to find a setting under the quartus II to set ROM to zero, but was not successful. any ideas? --- Quote End --- Sorry, this description is a little confusing. You say you "successfully programmed" the board but then you say you got an error. I suspect you mean that when you used Altera's .pof it succeeded, but when you used your .pof it failed. It sounds like Altera's tool is checking the .pof image to make sure the UFM is not blank ... I really dislike these types of tools being closed-source as you cannot 'extend' their features easily. You could add a UFM block and fill it with junk. I've attached a top-level UFM component that can be used in synthesis and simulation. You can use this, or just read it to see how to wire the component. You should be able to tie the inputs to static valid logic levels and then add a synthesis constraint (keep, preserve, or noprune ... I forget which) to stop Quartus from deleting the logic. Your .hex file could contain an incrementing count, which you can see in the .pof if you scroll down into it (after opening the file in binary format). I've attached a c-file that generates a .hex file with a count. If that does not work, try submitting a service request and ask Altera for the source to jtagmaxprog ... its unlikely to contain anything particularly proprietary (the MAX II programming sequence via JTAG is effectively documented by the JRunner source code) ... at a minimum, ask if they can supply a version with a command-line option to disable the .pof checks. Cheers, Dave