2017-02-20 07:46 AM
Hi,
We are designing a project where we would like to use the default bootloader on a LIN connection.
The MCU we plan on using is the STM32F030RC, with external LIN-driver.
The LIN-driver merges Tx & Rx, so everything send will be visible on the Rx.
How does the UART bootloader respond to its own ack/nack or data?
Does it get in a loop where it nack's its own data because it is not a known command?
Thanks in advance!
#stm32f030 #lin #bootloaderSolved! Go to Solution.
2017-02-20 08:59 AM
It doesn't expect feedback, and will likely not function well if that occurs, either at the command and parameter level, or data.
The firmware times the 0x7F at 7E1 pattern, and responds with a 0x79
2017-02-20 07:56 AM
Hello
I have moved your question to the
‌ where someone should be able to assist you.Thanks
2017-02-20 08:59 AM
It doesn't expect feedback, and will likely not function well if that occurs, either at the command and parameter level, or data.
The firmware times the 0x7F at 7E1 pattern, and responds with a 0x79
2017-02-21 01:44 AM
Thanks for your fast response!
Looks like I have to write my own, or change the plans!
2017-02-21 09:22 AM
My advice on STM32 designs is not to do odd things with standard interfaces used for system loader functionality. ie have the USART go to an RS232 port or headers, don't connect it to a modem or GPS receiver
The F030 is likely pin/usart constrained, so I can see that as being an issue.