Hi
I want to use a ROM such as the 2732 as a lookup table.
I have succeeded in generating the hex file and simulating the circuit with a small LUT.
However the only problem is that I have to calculate the checksum and edit the .hex file by hand which is a lot of work and error prone for a big LUT.
Can anyone direct me to a utility that will generate the hex file for me.
Regards,
FJF
Generating hex file for Lookup table.
Re: Generating hex file for Lookup table.
Hi,
You may load 2732 firmware in binary format (.BIN) which is just an image of ROM with no any CRC or anything like that.
Also you can convert your existing .HEX file into binary format using Hex2Bin converter http://gnuwin32.sourceforge.net/packages/hex2bin.htm
Best regards,
Andrew.
You may load 2732 firmware in binary format (.BIN) which is just an image of ROM with no any CRC or anything like that.
Also you can convert your existing .HEX file into binary format using Hex2Bin converter http://gnuwin32.sourceforge.net/packages/hex2bin.htm
Best regards,
Andrew.
Re: Generating hex file for Lookup table.
Andrew,
Thank you for your reply.
I was hoping to find a utility that would take a text file which contains the contents of each location expressed in hex and convert it to an intel HEX format file.
I will have a look at .bin files - can you advise me where I can get more info on the file format.
Do I just bung the binary data into a text file, how do I seperate each byte?
Regards,
FJF
Thank you for your reply.
I was hoping to find a utility that would take a text file which contains the contents of each location expressed in hex and convert it to an intel HEX format file.
I will have a look at .bin files - can you advise me where I can get more info on the file format.
Do I just bung the binary data into a text file, how do I seperate each byte?
Regards,
FJF
Re: Generating hex file for Lookup table.
FJF,
Binary format which Proteus firmware loader accepts is just a set of bytes. It is not a textual format.
Best regards,
Andrew.
Binary format which Proteus firmware loader accepts is just a set of bytes. It is not a textual format.
Best regards,
Andrew.
Re: Generating hex file for Lookup table.
Andrew,
Can you indicate how to create a file with just bytes in it.
Many thanks
FJF
Can you indicate how to create a file with just bytes in it.
Many thanks
FJF
Re: Generating hex file for Lookup table.
Hi FJF,
You can use any hex editor for that. There is a lot of hex editors - both freeware and commercial: http://en.wikipedia.org/wiki/Comparison_of_hex_editors
For example Demo version of HIEW editor http://www.hiew.ru/files/hiew32demo.zip is perfectly enough. I very often use it.
Best regards,
Andrew.
You can use any hex editor for that. There is a lot of hex editors - both freeware and commercial: http://en.wikipedia.org/wiki/Comparison_of_hex_editors
For example Demo version of HIEW editor http://www.hiew.ru/files/hiew32demo.zip is perfectly enough. I very often use it.
Best regards,
Andrew.