- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What you have is an intel format (8 bit) ihex file. You need to use a 16 bit hex format file.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page