Sir,
I have one custom MDBT50Q evaluation board and a ST-Link debugger. As the Keil IDE is fully defaulted to J-Link none of the example programs are building and flashing. So please help me to change the settings.
Sir,
I have one custom MDBT50Q evaluation board and a ST-Link debugger. As the Keil IDE is fully defaulted to J-Link none of the example programs are building and flashing. So please help me to change the settings.
The debugger has no effect on building - so if you have problems building, that is not related to the debugger choice or configuration.
You need to get the build working first before you have anything to download ...
Yes sir. Building is doing perfectly, 0 errors and 0 warnings. But the program is, not flashing. Please show me the settings to be changed when changing the linker to ST-Link debugger.
The preferred suggestion is to buy an nRF52840-DK, the nRF52840-DK have an on-board SEGGER J-Link debug output header that you can use to debug and program external modules or boards. Then you also have a working nRF52840-DK that you know will work out of the box with the SDK examples, and can be used for comparison with your own hardware.
That said, I could find this devzone thread that may be useful to try in the meantime:
https://devzone.nordicsemi.com/f/nordic-q-a/21415/flashing-nrf52832-chip-with-st-link-v2
The preferred suggestion is to buy an nRF52840-DK
Agreed.
The ST-Link is neither intended nor supported for programming Nordic chips (or, in fact, any chips other than STM8/32).
The OB J-Link on the DK will also allow you to use RTT trace, Monitor Mode Debug, etc.