Search This Blog

Tuesday, February 25, 2014

Hex to Binary JTAG Register Decoder tool



While programming JTAG registers I frequently have to fill out binary bit maps to select settings, and then convert the pattern into a hex number to enter in the JTAG programming tool, or decode a register I read into the component bit pattern to see what mode is set.  There are certainly a lot of ways to get this job done, including the windows calculator and excel.   However most of them clip leading zeros and require counting and grouping the bits..

I wrote a quickie Java program to do the conversions in a clear way that I can just click the 16 bits, all numbered, and view the hex code and vice versa.  I threw in the decimal value readout because that often comes up too.   For example, read a register value and flip bit 10 from 0 to 1 and write the result back in.  This is the tool for that job!

I'm posting the tool on google drive, now that code.google.com is dead.  This is trial mostly to see if it will work:

https://drive.google.com/file/d/0B2Qrk8yU95oCbS10cngwazdBbTg/edit?usp=sharing

Just download and click on it and it should run without any setup, assuming you have basic java JRE installed on your computer, which I think everybody does.

Enjoy!

3 comments:

  1. This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post! herethis

    ReplyDelete

  2. Amazing sharing, thanks for sharing with the online community. whatsapp sniffer Ogwhatsapp story saver

    ReplyDelete
  3. excellent issues altogether, you simply received brand new reader. What could you recommend about your put up that you simply made a few days in the past? Any sure? https://royalcbd.com/how-to-make-cbd-gummies-at-home/

    ReplyDelete