Every period of time i send ~33bytes through USB CDC, if suddenly USB cable disconnected and reconnect i get 16 bytes of the last message loaded, and then continue to get new messages.How can i detect disconnection and were these 16 bytes located?
I am working with STM32CubeIDE on device STM32H743I am working with the flash and sometimes the data inside them being corrupted, showing ?.What may be the reason causing some of the memory to show ?.How can i identify that without getting hardfault?...
I am using bluenrg-2 device with the low energy BLE example BLE-CHAT.The device stop advertising after a few hours of advertising and connections and disconnections.I leave the device working and advertising for whole night and in the morning it stop...
Actually it happens on Linux. Linux allow re-connection.On Windows the communication does not recover after re-connecting the cable, It requires resetting the device in order to reconnect.Is there a event on VBUS changes?
The PCROP is not active, the START is 0xff and END is 0x00. i think it is not functional on the sectors i am using. I am using the 2 first sectors of the second bank.
I erase the the correct sector, i checked that and it usually works so it is the correct place. I do the regular flaw as i so in many examples:FLASH_EraseInitTypeDef pEraseInit={ .Banks = FLASH_BANK_2, .NbSectors = 2, .Sector = Sector_0, .TypeEra...
I am using ST32H743, and working with the second half of the flash from address 0x0810_0000I am using commands of FLASH_Erase_Sector() while all other commands are HAL , may that be a problem?Sometimes when i try to read from the memory i get the fau...