SoftSIM API with HEX file overwrites my application

Hello Everyone,

I am using Monogoto’s SoftSIM solution to generate hex file and flash our devices. I am referring Monogoto’s API (Generate SoftSIM Profile | Monogoto). I am able to build the Hex file and when I flash the device by generated Hex file using NRF Connect for Desktop it works well for me, but the HEX of soft sim overwrites our application.

Is there a way, I can use my application with Monogoto SoftSim?

Hi Jasper,

I was also stuck at the same point. Then I moved to Static Profile configuration and now I am able to build the hex with my code using SoftSIM profile downloaded from Monogoto’s API.

Hi Lucas,

Can you please explain how to do that? I am using third party solution to build the hex file.

I built Hex using my own code. I used Onomondo’s build solution and I created STATIC profile using Monogoto’s API.
You need to set hexfile parameter: false. Once this is done, I got hex string, which you can use in prj.conf file.

Steps I executed:

  1. I setup build environment using link.
  2. Go to prj.conf file in the softsim_static_profile directory .
  3. Find Config_softsim_static_profile section and add the Monogoto profile as shown below.
    image (25)
  4. Compile the softsim_static_profile project.
  5. Flash the generated Hex to the device.

I was facing this issue for quite some time, and your detailed steps really helped me resolve it. The explanation about setting hexfile parameter: false and updating the prj.conf with the Monogoto profile was exactly what I needed.
I successfully built the hex and flashed it to the device without any problems.

Guys,

Really appreciate it is working for me too.