STM32CubeProgrammer does not recognize FLASH sectors while using custom USB DFU bootloader
I am writing a custom USB DFU bootloader for a project on a NUCLEO144-F429ZI.
The bootloader is based on the example given in the STM repository.
The STM32CubeProgrammer, can successfully connect to the board and download code,
but it can't get the Device information and the FLASH sectors. This makes everything more difficult because it is not possible to erase single sectors using the cube programmer.
The flash description string I'm using is defined as follows:
#define FLASH_DESC_STR "@Internal Flash /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg,04*016Kg,01*064Kg,07*128Kg"I also verified that by driving the BOOT0 Pin high the board is able to send the correct Device information and flash sectors to the STM32CubeProgrammer.
What can be the cause of the missing information ?
