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

Hex file update not working on custom board

Hi,

I have successfully detected my custom board (nrf52832 chip  )  with nrf 52dk board and program it with blinky hex file given in SDK 15 version and works.

Now, i update the blinky file with correct pin number  setting on GPIO pin and it works fine with 52 dk board but when i try to program my custom board with 52dk with SWD protocol it is  not working.

I realize that Hex file folder never update with new GPIO setting , only i manage to update the debug and release but if i try to upload that Hex file it dose not work.

well any help is appreciated.

thanks

[email protected]

Parents
  • Hello,

    The hex files in the hex folder inside the example folder will never update. These are precompiled .hex files that are intended to test the examples on the DK without having to install anything.

    When you compile a project, the new hex file is found inside the "_build" folder in Keil and SES, or the "output" folder in Segger Embedded Studio (SES).

    What compiler do you use? Since you mention "debug" and "release" I assume it is SES.

    Referencing the blinky example, when you build this project in SES, the new .hex file is located in:

    SDK\examples\peripheral\blinky\Output\Release\Exe\blinky_pca10040.hex

    Was this the issue, or did I misunderstand?

Reply
  • Hello,

    The hex files in the hex folder inside the example folder will never update. These are precompiled .hex files that are intended to test the examples on the DK without having to install anything.

    When you compile a project, the new hex file is found inside the "_build" folder in Keil and SES, or the "output" folder in Segger Embedded Studio (SES).

    What compiler do you use? Since you mention "debug" and "release" I assume it is SES.

    Referencing the blinky example, when you build this project in SES, the new .hex file is located in:

    SDK\examples\peripheral\blinky\Output\Release\Exe\blinky_pca10040.hex

    Was this the issue, or did I misunderstand?

Children
No Data
Related