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

SDK15 Segger example export hex for NRF GO

Hi all,

I am trying to use uart-app (segger example in SDK15) to generate hex file, which will be programed to nRF52832 later with Softdevice by nRFGo Studio. ((Instead of programming directly from Segger Studio)

I tried this tutorial to generate hex file but nothing seems to be working after programming.

https://devzone.nordicsemi.com/f/nordic-q-a/13696/segger-embedded-studio-and-bootloader/52344#52344

Thank you for your help.

Lam

Parents
  • The article is quite old using external tools (RKNRFGO). I hope the designer of the tool @RK pitches in here to comment.

    By the way, have you flashed the softdevice? probably you did, but I needed to ask.

  • Thanks for your answer.

    I did flash the softdevice. Is there any tutorial that shows how to config segger tool to export compatible hex file?

  • Hi,

    If I understood you correctly, you did manage to generate the hex files. The problem is that the generated hex file when flashed with RKNRFGO on board doesn't do what you expect. So I think the next step is to debug your code to see if the application is running or not? 

    I think you can go past the exporting your hex files into the device part and start the debugging. 

  • Hi Aryan,

    You describe correct my problem.

    I flashed both hex file and softdevice (by nRF Go) and the device seem not start-up (no LED, no thing showed in RTT viewer.)

  • In that case, you need to debug your application. You can do this in SES by starting it in debug mode or my favorite Ozone

  • I found the problem, I flash wrong softdevice, so the memory offset is different.

    To Sum up, With Segger example in SDK 15, just remove Softdevice in Loader Option.

    The offset is set by default by (FLASH_PH_START and FLASH_START)

    Thank you for your suport

  • Great lamdo, flashing wrong softdevice means wrong jump address to application, so you application never started normally. Thanks for updating this thread.

Reply
  • Great lamdo, flashing wrong softdevice means wrong jump address to application, so you application never started normally. Thanks for updating this thread.

Children
No Data