Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic NRF52840 DK and JTag (Read 1131 times)
Anders Carlberg
Newbies
*
Offline


Posts: 1
Joined: Aug 29th, 2020
NRF52840 DK and JTag
Aug 29th, 2020 at 12:39pm
Print Post  
Hi,

I am new to vMicro and I was wondering if someone can give a tip how I can get started with vMicro and nrf52840 dk using JTAG programmer.

I rather not switch to openocd driver, as this (as I understand it) make the segger and nrfprog stop working.

But I still would like to be able to both deploy and debug.

Cheers.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2143
Joined: Feb 13th, 2019
Re: NRF52840 DK and JTag
Reply #1 - Sep 1st, 2020 at 10:31am
Print Post  
To use the Hardware Debugging via JTAG/SWD and GDB with vMicro, we only support using the OpenOCD software, or just GDB at present (but not the JLink specific versions).

The chip has an SWD interface reviewing the schematics at the below location, so should only need VCC, GND and the two SWD pins (assuming they are broken out to the headers):-
https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52840

OpenOCD does have support for the NRF52 series of chips, and an option may be to install the driver for debugging on one USB port, then re-plug into a different hub to use the standard drivers.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2143
Joined: Feb 13th, 2019
Re: NRF52840 DK and JTag
Reply #2 - Sep 1st, 2020 at 5:15pm
Print Post  
If you do want to use the J-Link GDB Server in Visual Micro, the below Video should get this up and running, and an example has been added to the end of the page below too:

Video: Advanced GDB Configuration Using JLink Drivers and Software

Advanced GDB Configuration in Visual Micro
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint