Hi,
Unfortunately, I'm stuck on this issue with running SDK-mesh example on Dongle.
1) I did:
- took the project: nrf5_SDK_for_Mesh_v4.0.0_src\examples\light_switch\client\light_switch_client_nrf52840_xxAA_s140_7_0_1
- changed the settings of preprocessor definitions in board-type from PCA10056 -> PCA10059
- changed the settings of Preprocessor -> Linker -> placementMacros ... addresses like in attached screenshots
- then I changed in the main() to have RGB led on immediately after initialize
int main(void) { initialize(); start(); for (;;) { //RGB led on immediately after initialize hal_led_pin_set(LED_ON_START, 1); (void)sd_app_evt_wait(); } }
- then downloaded the hex file using nRF-Connect-Programmer.
- then nothing happens when starting the dongle :(
2) I understood from you that I need an external debugger to be able to download a new bootloader in dongle, in order to be able to start-up the SDK-mesh project.
- where is this new bootloader?
- once I downloaded this new bootloader, can I use then the nRF-Connect-Programmer to download the compiled application based on SDK-mesh? (without external debugger)?
- for SDK-mesh (using BLE) - I think I need to download the soft-device, right? how/what settings should I check in the projects of soft-device, of the SDK-client-application, in bootloader ... such as they work fine?
3) I've searched a bit on nordic, google and I'm confused on what debugger can I use. I have both DK and a bunch of dongles.
If I modify the voltage reference on dongle, can I use DK's debugger to download the bootloader?
saw some posts like this:
devzone.nordicsemi.com/.../is-it-possible-to-program-the-nrf52840-dongle-using-the-nrf52832-dk-using-swd
I also plan to purchase a professional debugger that works with Segger Studio. Which one do you recommend?
4) I intend to develop & debug the BLE-mesh application on DK, but then the final deployment (hence the testing) => would be a dongle network.
Kind regards,
Liv