This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can I get one hex file that will program a chip via st link?

Dear all,

I am trying to program a chip using an st-link v2 connector.

The chip is nrf52832.

Although I am able to upload hex files that come with the SDK examples and have them running, once I try to put my hex file (the output of my build) it doesn't work (meaning that there is no effect on the device).

I am using SEGGER Studio. The same code, when I use the DK52 board to program an external chip works as expected.

I am under the impression that the issue is that the hex file I am getting from the studio is either missing the SoftDevice or the bootloader.

Is this assumption correct? If yes, how can I create a hex file that contains everything?

If I this assumption is wrong, what could be the issue and the solution?

Thank you very much!

Parents Reply Children
No Data
Related