Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAddressing in hex file
Hello, I currently design a system with SOPC based on the Nios II processor. I checked the hex file generated by the Nios II IDE after compilation. At the beginning I have the following : ...
Altera_Forum
Honored Contributor
16 years agolets have a look at this line
:20000800008400141000003310BFF80400BFFD1606C00074D EC0001406800074D690B1144F :20 means 32 Bytes length 0008 means 8 bytes(words) but it is 32bit data format so 4byte per word x8=32 00 record type data record now you have 64 hex digits what give you the 32 bytes 008400141000003310BFF80400BFFD1606C00074DEC0001406800074D690B114 4F 2's complement of the checksum as the data width is 32 bit the adr needs to be incremented by 8 with each line hope it's clear otherwise ask