/DMCUProg

MCU programmer for CMSIS-DAP (DAPLink) and ST-Link Debugger, using Keil MDK's *.FLM Flashing Algorithm

Primary LanguagePythonMIT LicenseMIT

DMCUProg

MCU programmer for CMSIS-DAP (DAPLink) and ST-Link Debugger, using Keil MDK's *.FLM Flashing Algorithm

to run this software, you need python2.7, pyqt4, enum34 and a usb backend (hidapi or pywinusb for windows, pyusb for linux, hidapi for mac)

Note: the software uses the following statement to find the debugger

if product_name.find("CMSIS-DAP") < 0:
    # Skip non cmsis-dap HID device

Note: you may need to update ST-Link's firmware to the latest

FlashAlgo/flash_algo.py is used to parse Keil MDK's *.FLM file and extract code and its runing information into a python dict. And then you can modify the generated code to add new device support.