blackmagic/scripts
Nikolay Dimitrov 29386aee14 scripts/stm32_mem: Fix issue with scanning USB DFU devices
While scanning the USB bus for devices, stm32_scan() can find a device that it
doesn't have permissions to access it, dfu/usb class raises an exception and
stm32_scan() stops the scan completely.

This fix resolves the scan issue, by allowing the scan loop to continue.
While at it, there are cosmetic fixes related with tabs/spaces and readability.

Signed-off-by: Nikolay Dimitrov <nikolay.dimitrov@retrohub.org>
2018-09-17 14:36:28 +12:00
..
stubs Added programming scripts. 2011-02-04 20:25:12 +13:00
README Added programming scripts. 2011-02-04 20:25:12 +13:00
bootprog.py Update python scripts to find user's preferred python binary through env. 2013-05-02 11:32:24 -07:00
dfu-convert.py Add support for HydraBus (tested with SWD with STM32F405 and SWD+JTAG with LPC4330 M0/M4) 2015-03-04 20:22:00 -08:00
dfu.py stm32_mem.py: Run automatically after switching to DFU mode. 2017-10-02 21:30:56 +02:00
gdb.py divide-by-zero fix 2018-03-11 14:35:38 -05:00
get_openocd_nrf51_ids.py Update nRF51 IDs, add nRF51422 and xxAB/xxAC devices. 2015-12-17 17:50:41 -07:00
hexprog.py Update python scripts to find user's preferred python binary through env. 2013-05-02 11:32:24 -07:00
stm32_mem.py scripts/stm32_mem: Fix issue with scanning USB DFU devices 2018-09-17 14:36:28 +12:00
swolisten.c SWO: Some explanations and a test program. 2018-03-27 13:40:49 +02:00

README

This directory contains some useful scripts for working
on the Black Magic Debug project.

bootprog.py - Production programmer using the STM32 SystemMemory bootloader.
hexprog.py - Write an Intel hex file to a target using the GDB protocol.
stm32_mem.py - Access STM32 Flash memory using USB DFU class interface.

stubs/ - Source code for the microcode strings included in hexprog.py.