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

Flashing and Debugging nRF52840 using FTDI

Hi,

I am currently working on nordic PDK. And I am interested in flashing nRF52840 through FTDI SWD interface. I want to know whether it is possible?

If yes, what will be the process of flashing through FTDI to nRF52840?

Could anyone help me on this?

Thanks in advance.

Regards, Madhu

Parents
  • Hi Madhu,

    What do you mean by "FTDI SWD interface"? As far as I know there is no FTDI chip which would support JTAG/SWD out of the box. You probably come from different platform which has UART bootloader/debugger and uses FTDI serial communication chips for that. Then I have bad news: nRF5x chips are ARM Cortex-M with only SWD support so you always need at least once to flash it with device which supports this protocol. If you write your special bootloader (either as separate FW or embedded it into your main FW) which understands some UART protocol which allow flash access/FW upgrade/debugging then you can switch o your FTDI cable since then (unless you break the functionality or need to patch bootloader itself).

    Cheers Jan

  • Hi Jan,

    I found in openocd's Debug Adapter Configuration document that, FTDI's FT2232H can be configured to program the firmware through SWD interface. Here is the link, openocd.org/.../Debug-Adapter-Configuration.html

    Will this help me to flash through SWD to nRF52840 using FTDI?

Reply Children
Related