2015-06-27 07:05 AM
Hi,
i got a Nucleo F401RE Board and tried to update the flash with the internal bootloader, it works perfectly with USB<->RS232 bridge at 115200baud on UART1 (PA9,PA10), i got correct responses from bootloader, id, and so on. But if i connect a same configured HC-05 Bluetooth RS232 module i only got the first ACK byte and then only sometimes a respond to the get command (0x00 0xFF) and when i get a respond from bootloader it gots not the complete command set, only a few commands where listed. Anyone got the same issues and found out why it so reacts?2015-06-27 08:39 AM
The System Loader has some very specific requirements for 8E1 formatted data (Even Parity). It's auto-bauding against a specific pattern, and then holding data to that timing/formatting. There is no flow-control on the STM32 side.
As a manner of testing, you could T-off the data going into the RX pin, and push it to a console/terminal app that can display hex, and confirm you're seeing valid data at the STM32 end at 9600/115200 8E1, or whatever baud rate you're using. If the data's not solid there, then it's never going to work reliably.2015-06-27 02:14 PM