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

Using third party nrf52

hi guys. I am currently using nrf52832 MDBT42Q Series from Raytac. I would like to know that how can I flash the softdevice and my application into the nrf52. My NRFgo unable to detect the nrf52. I am using segger jlink v8 as programmer.

I had also try to use the jlink commander to flash softdevice and the sample coding into address 0x1f000. However, my phone(samsung note4) still unable to detect the BLE. I had try BLE scanner, nrf uartv2.0, and also nrf connect. All three apps unable to detect the BLE.

I had tried softdevice s132 3.0.0 and also 2.0.1 with the sample coding in ble peripheral and yet nothing show up at my phone apps.

Anyhow, advance thank you for those who take a look at my question.

  • How are you verifying that keil indeed is programming the device? It would be helpful if you could post the outputs of the flashing sequence in keil (at the bottom of the keil window).

    Can you also verify if you can successfully flash a blinky example that doesn't need a softdevice?

  • There are 5 pins, Vcc, Gnd, Reset, SWDIO and SWCLK from the chip connected to the debugger. I did test with the blinky example that there are output on the pin of the chip. After that I have tried with "ble_app_uart" example but I am still not able to find the device via bluetooth scanner. The first picture is NRFgo Studio, and CMD The second picture is when I load the softdevice. The third picture is when I load the application file. image description image description image description

  • The second and the third pictures look pretty much the same to me. I don't think the second picture is flashing the soft device, but actually the application.

    Writing SD generally takes about 12 seconds, as it is large while application is uploaded in merely 5 seconds. So you may be able to distinguish based on that.

    The nRFgo Studio error seems like some trouble in nrfjprog installation. Try uninstalling and reinstalling the latest one.

  • I did tried again and the SD file is flashing in 12 seconds time while the application file is flashing in 5 seconds time. However, is it any other way that i can use in order to make sure that I have successfully load my SD? Besides, i did uninstall and install the latest nRFgo Studio but it seems like give no changes to the condition.

  • You can use the verify functionality of nrfjprog (--verify) or nRFgo Studio (after selecting the .hex-file, click the "Verify" button instead of the "Program" button). This will compare the content of the flash with the .hex file. If it succeeds, you can confidently say that the earlier programming was successful.

Related