This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

c# - nrfjprog.dll writing hex

Hi

I'm looking for an example on how to write a hex-file to SoC using nrfjprog.dll. The P/Invokes are all set and working fine.

I'm absolutely not familiar with python, but from pynrfjprog examples, I found, I need to split up the hex file in chunks and flash them to the SoC. pynrfjprog is using a helper library called Hex or IntelHex. Assuming I need a library like that to split up the hex file, I'm asking for hints on what library to use. I found those two, but I really can't figure out if it works anywhere close to what Python Hex/IntelHex does...

C# lib 1 : IntelHexFormatReader

C# lib 2 : net-intelhex-parser

Thanks

Parents
  • Hi

    meanwhile I solved this. I had to use lib 2, the net-intelhex-parser, but had to modify a couple things to make it work.

    Currently it is working fine and we are testing with different devices and configurations.

    Martin

Reply
  • Hi

    meanwhile I solved this. I had to use lib 2, the net-intelhex-parser, but had to modify a couple things to make it work.

    Currently it is working fine and we are testing with different devices and configurations.

    Martin

Children
No Data
Related