Freemaster always report Response Timeout error. How to setup to connect?
Hello,
you need to be more specific when reporting problems like this.
From the subject, I'm guessing you try to use a K-Line (12V UART bus) so please also give more information how do you interface the MCU and PC to this bus.
Thanks,
Michal
Target MCU: LPC54616J512BD100
Communication interface: USART (SERIAL in Freemaster)
Comm Driver from SDK 2_12_0
K-Line is single wire connection between Host and target and used in automotive for diagnostic.
Thanks,
Wang Yanjun
Hello,
thanks for initial information. I would recommend to use a logic analyzer or oscilloscope to debug if the serial communication reaches the MCU pins and if the FreeMASTER driver in the MCU gets the data bytes correctly. You can place a breakpoint at FMSTR_ProtocolDecoder() in freemaster_protocol.c. If you get a hit there, you should be able to trace down if the response sent by the MCU reaches the K-Line bus and if PC can read it.
There are many places where an error may occur and it is hard for me to guess it for your custom hardware. Several tips:
Regards,
Michal