Update flashing-program.md

The debug interface present on the nRF52 devices is actually SWD and not JTAG.
This commit is contained in:
Yatekii 2020-07-17 01:05:16 +02:00 committed by GitHub
parent 5dcab554d0
commit 379a0f70cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,4 +14,4 @@ The `cargo-flash` subcommand flashes and runs the program but won't display logs
**🔎 How does flashing work?**
The flashing process consists of the PC communicating with a second microcontroller on the nRF52840 DK over USB (J2 port). This second microcontroller, named J-Link, is connected to the nRF52840 through a electrical interface known as JTAG. The JTAG protocol specifies procedures for reading memory, writing to memory, halting the target processor, reading the target processor registers, etc.
The flashing process consists of the PC communicating with a second microcontroller on the nRF52840 DK over USB (J2 port). This second microcontroller, named J-Link, is connected to the nRF52840 through a electrical interface known as SWD. The SWD protocol specifies procedures for reading memory, writing to memory, halting the target processor, reading the target processor registers, etc.