2018-12-03 02:33 AM
I have just installed the STM32 Cube Programmer on a new machine (MAC osx), and it doesn't seem to like it at all. It appears to be installed ok, and connects to the st-link V2, but when I then try to connect to the ARM chip STM32F429, it complains about a corrupted database.
I have deleted the app and started again, and also re-downloaded it, but no joy.
2018-12-03 02:47 AM
I have also upgraded the firmware
2019-01-12 05:47 AM
Same here with an STM32F413RGT6
2019-01-14 01:00 AM
I found it was down to one of the SWDIO wires not being connected properly. Annoying that it reports this as a fault, when it is nothing to do with it!
2019-01-14 04:19 AM
I can rule that out as Debugging via SWDIO works fine.
2019-01-14 07:18 AM
I have also had issues when the SWDIO pins are shared with other peripherals. Can you share your schematic, or let me know which pins you are connected to. There is a flag to turn off the SWDIO on/off.
2019-01-14 08:40 AM
With the newer Cube Programmer I get unknown ID, not the Database Corrupt message anymore. DFU Bootloader detected is 0x011A. In general USB seems to work.
2019-01-15 06:30 AM
Ensure this line of code doesn't exist otherwise the SW will be disabled once the code is running! I had to physically remove my STM32 device and replace with another to get around this which is set by default. Go to the Pinout -> Peripherals -> SYS -> Debug, and make sure Serial wire is turned on.
//__HAL_AFIO_REMAP_SWJ_DISABLE();//if you use this line the device will turn into a vegetable!
__HAL_AFIO_REMAP_SWJ_ENABLE();//Ensure Enabled
If it has been generated automatically via the CUBMx thingy, it will be in "stm32f1xx_hal_msp.c"
2019-02-26 06:00 AM
I report the same problem the board B-l072z-lrwan1 can't program ,