/gdb-svd-tools

svd manipulation tool based on svd-dump.py

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SVD tool in gdb

## Introduction

This tool handle SVD device canonical manipulation in gdb, simplyfying debugging of drivers.

SVD files are not hosted here, as they are hosted in the cmsis-svd python module

using in gdb

An example gdb file is written, including commands to load this python module and associated SVD file. This example gdb configuration also handle rdp manipulation (setting RDP1/RDP2, etc.). See this file for more information.

WARNING: this file is working on STM32F4 Flash device (using the correct magic values and sequence). If you have a different device, verify how the RDP lock mechanism works in the datasheet first and create a new gdb config file for this device.

Licensing

As the initial svd-dump.py file has been pasted by Devan Lai without any licensing, a BSD3 license has been added, including him as initial author.