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

Empty build with target set to softdevice

New to this development environment.

Blinky compiled, flashed, worked and debugged easily.

On BLE examples. The HTS example eventually loaded after setting the target as outlined in the how-to: To program the SoftDevice using an example project in Keil, perform the following steps:

  1. Open an example project in Keil. The example must require a SoftDevice.
  2. Instead of the default target, select the target to flash the SoftDevice, for example, flash_s132_nrf52_1.0.0-3.alpha_softdevice.
  3. Click Options for Target.
  4. Select the Debug pane and click the Settings button for the J-Link / J-TRACE Cortex.
  5. Select the J-Link / J-Trace Adapter corresponding to the serial number that is printed on your device.
  6. Click OK to close the dialogs.
  7. In the main window, click Download to program the SoftDevice

That worked great. Then I modified the main.c to see that the changes were getting to the board. They were not.

Then I deleted _build to ensure that the build was really putting the target information there.
Ever since then I am stuck here. Suggestions please?

*** Using Compiler 'V5.06 update 2 (build 183)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'flash_s132_nrf52_1.0.0-3.alpha_softdevice' Build Time Elapsed: 00:00:00 Load "..\..\..\..\..\..\components\softdevice\s132\hex\s132_nrf52_1.0.0-3.alpha_softdevice.hex" _____^ *** error 56: cannot open file Error: Flash Download failed - Could not load file '............\components\softdevice\s132\hex\s132_nrf52_1.0.0-3.alpha_softdevice.hex' Flash Load finished at 12:32:57

Parents Reply Children
No Data
Related