title: What type of framing to use in serial communication
body: <p>In a serial communication link, what is the prefered message framing/sync method?</p>
  <ul>
  <li>framing with SOF and escaping sequences, like in HDLC?</li>
  <li>relying on using a header with length info and CRC?</li>
  </ul>
  <p>It's an embedded system using DMA transfers of data from UART to memory.
  I think the framing method with SOF is most attractive, but maybe the other one is good enough?</p>
  <p>Does anyone has pros and cons for these two methods?</p>