Programming Issue on Raytac mdbt50q-1mv2 custom board with JLINK ( Laird DVK BL652 )

I got this chip from Raytac mdbt50q-1mv2 on a custom evaluation board , where i can access almost all the pins ( ~30/48 ). This chip came without any programs or bootloader. Here you can see the reading of the chip from NRF connect for Desktop - Programmer.

Connection : SWDIO and SWCLK to Laird DVK BL652 as this picture

Now when i program the device for simple hello word example or Blinky from nRF sdk setup with VS Code i get this output

then i confirm this by checking with the nrf connect desktop programmer app that it actually installed a program onto the chip 

Upon many trials and setup i have checked some online resources on devzone that, my device supposed to have a softdevice that will start the memory chip and after the softdevice ends my programme shall start. i do not need a bootloader if i want to use the JLINK programmer to program always. However, i have tried manually load the softdevice version s140 into the chip memory and then program with vscode to upload my application blinky, it still doesnt work. But i can see something changed to the chip memory.

On top of that the devkit module i am using it employs nRF52832 ( BL652 module ), unfortunately i have erased the whole memory of it thinking i am connected with my custom board that, the devkit nrf52832 contained some application and bootloader that would run applications without ease. 

After this i tried to program the devkit bl652 nrf52832 with the nordic connect sdk vs code, it loaded the application same as before but does nothing. 

What shall i do in this situation?

  • Hello,

    I am a bit confused after reading what you've described here, as you mentioned both the SoftDevice (old nRF5 SDK) and nRF Connect SDK. Perhaps you could follow our Developer Academy course, which will provide more insight into programming and developing the application.

    Kind regards,
    Abhijith

  • In this post picture and processes i shared is all from nrf connect sdk Vs code. ( My custom board is raytac nrf52840 module , I used jlink from another development kit made by laird dvk bl652 nrf52832 to connect my custom board with the vs code nrf connect sdk ). so the picture you are seeing are based on this.

    After connecting i have programmed the board , it programmed it successfully but my board doesn't respond, after this, i tried to compare with the development kit BL652 the same way, all the processes were same with obviously different build configuration. however, the development kit behaved the same.

    Leaving the soft device aside, Even if i use the nrf connect sdk vs code, it uploads the program, but it doesn't do anything else.

  • Hello,

    When working with nRF Connect SDK, you don't need to separately load the SoftDevice, and I hope you haven't done so. From the screenshot you shared, I can see a successful build and flash. However, could you clarify which build configuration you are using here? From the screenshot, I see two builds: one for the BL652 and another for the nrf21540dk_nrf52840. The BL652 contains an nRF52832, while the module you are working with uses an nRF52840. I am not familiar with the specific module and development kit you mentioned, so please ensure that the pin assignments for your application are correct for the module. The GPIO mappings may differ between the nRF52832 and the module/development kit you are using.

    Kind regards,

    Abhijith

Related