.bin file vs .hex file

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi everyone,

I have a .bin file and try to somehow flash it via JTAG onto an AVR controller. What si the .bin format and HOW can I convert it to a .hex file?

More specifically:
On the meshnetics website is an image for thei SerialNet AT command set, sitting on top of their Zigbee stack.

For whatever reason, the image I need is not in .HEX, like all the others, but in .BIN, which I dont know what to do with.

How can i convert it to a .HEX file?

Thanks a lot,
Tappo

PS: I tried to just rename it and flash it, that works, but the coe itself then seem snot to work, so i assume the format is somehow different.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hex is an ascii file. Each nibble of the binary byte is represented as a hex character 0-9,A-F. There are conversion tools to convert bin to hex. One of them is called bin2hex.exe. Search for that.

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just Google "bin2hex" (and "hex2bin" - though you'll probably find them together anyway)