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

  • That's interesting. Unfortunately I have only (positive) experience with SEGGER and mBed flashing FWs and OpenOCD so I cannot help directly. But from what I see on your link it should be straight forward. Have you tried it according to their suggested connection? Any specific problem you are solving? Have you also searched for OpenOCD hints here in the questions and blogs? (there are over 120 hits if you do it so some of them might be useful)

Reply
  • That's interesting. Unfortunately I have only (positive) experience with SEGGER and mBed flashing FWs and OpenOCD so I cannot help directly. But from what I see on your link it should be straight forward. Have you tried it according to their suggested connection? Any specific problem you are solving? Have you also searched for OpenOCD hints here in the questions and blogs? (there are over 120 hits if you do it so some of them might be useful)

Children
No Data
Related