Skip to content
forked from disk91/PySWD

Implementation of the ARM SWD (Serial Wire Debug) protocol in Python for use with low-cost development boards to manage and flash Cortex CPUs

License

Notifications You must be signed in to change notification settings

heartscrytech/PySWD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pirate-SWD
----------

This is a basic implementation of the SWD protocol using the Bus Pirate.

The 'PirateSWD', 'DebugPort' and 'MEM_AP' classes should be portable to
all ARM chips supporting the SWD protocol.

Also included is a 'STM32' class, which encapsulates some basic operations
on the STM32 microcontroller, allowing it to be halted and reset, and the
flash memory programmed with a sequence of words.

There are some example firmware files for the STM32VLDISCOVERY board, as
I mainly developed this code so I could program mine from Linux without
bothering with the embedded bootloader.

UPDATES:
* Added 6/7/2011 by hugovincent: Energy Micro EFM32 support.

About

Implementation of the ARM SWD (Serial Wire Debug) protocol in Python for use with low-cost development boards to manage and flash Cortex CPUs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 75.2%
  • C 22.0%
  • Batchfile 2.0%
  • Makefile 0.8%