SWD general purpose serial communication

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SWD general purpose serial communication

Jump to solution
769 Views
gschelotto
Contributor V

Hi,

I'd like to develop a firmware running on any FRDM-Kxx that is capable of RAM writing/reading on/from a KE02 device through SWD debug port by SWO and SWI pins. Is it feasible? How?

regards,

gaston

0 Kudos
Reply
1 Solution
543 Views
mjbcswitzerland
Specialist V

Gaston

You can take the OpenSDA project (it is available as source I believe) which generally runs on a K20 (or similar) and supposedly bit-bangs the SWD protocol to read/write/program/debug SWD based processors.

You should be able the use the same routines to do what you want to do.

Alternatively you can take any FRDM-Kx board and use its on-board OpenSDA interface connected to other boards - there are various tutorials/blogs about doing this - eg. https://mcuoneclipse.com/2014/08/09/hacking-the-teensy-v3-1-for-swd-debugging/

Regards

Mark

View solution in original post

0 Kudos
Reply
1 Reply
544 Views
mjbcswitzerland
Specialist V

Gaston

You can take the OpenSDA project (it is available as source I believe) which generally runs on a K20 (or similar) and supposedly bit-bangs the SWD protocol to read/write/program/debug SWD based processors.

You should be able the use the same routines to do what you want to do.

Alternatively you can take any FRDM-Kx board and use its on-board OpenSDA interface connected to other boards - there are various tutorials/blogs about doing this - eg. https://mcuoneclipse.com/2014/08/09/hacking-the-teensy-v3-1-for-swd-debugging/

Regards

Mark

0 Kudos
Reply