Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHex file interpreted incorrectly in 16 bit mode
I have added a hex file to my project (Generated from a binary file using objcopy), and it appears correct when opened in quartus II with the 8 bit word mode selected. However, when opened in 16 bit mode, the software shows 8 bytes of data, followed by 8 bytes of 0s, followed by 8 more bytes of data and so on. How do I make it so it stops adding the 0s?
2 Replies
- Altera_Forum
Honored Contributor
objcopy is producing an 8-bit hex file and you are telling Quartus it is 16-bits. Quartus is showing you 0000's where there are holes in your addresses/data.
You probably need to use another tool to produce your hex file. - Altera_Forum
Honored Contributor
What you have is an intel format (8 bit) ihex file. You need to use a 16 bit hex format file.