The board was uploading fine then it just stopped allowing uploads, if I flash using STM32CubeProgrammer it still allows me to connect to the apps through Bluetooth it just doesn't allow me to upload new apps from the ST BLE Sensor app which is the problem.