2010-05-25 01:17 AM
internal bootloader through bluetooth (firmware update)
2011-05-17 04:52 AM
Hi,
If you receive 0x1F (instead of ACK 0x79) then it probably means that: - The Baudrate you are using is not suitable (too high or too low) - Or You are not waiting enough time after sending the 0x7F - Or you are not using the correct data format (I think: 8-bit, No parity, 1 Stop bit, but check by yourself AN3155) There are some similar topics in this forum, try to check them as well. Cheers.2011-05-17 04:52 AM
Thanks for reply.
Took me a day of fighting but I did it. If anybody wants to try heres some hints: - baudrate should be set 115200, 8Even1 , so parity is EVEN - bt modules usually work at default baudrate 115200 but no parity, you need to change bt config as well - the asm code (taken from other topic on this forum) works but before you have to turn off interrupts and uart1 completely. - I couldn't upload firmware from device only download to device (enough for me) - you have to do additnioal reset (NVIC_GenerateSystemReset() is good enough) if you want to enter bootloader again - otherwise it will hang and break (that happened in my case)