Solutions to Endianness Issues in Embedded Programming

Solutions to Endianness Issues in Embedded Programming

The issue of endianness is not new in embedded development. As developers, we have a clear understanding of the endianness problem in embedded development, and here I will provide a simple summary of this issue. Endianness refers to the order of bytes in memory. There is a wealth of information available online regarding endianness, so … Read more

Embedded Hardware Communication Protocol – UART (Part 5) Packet Design and Parsing

Embedded Hardware Communication Protocol - UART (Part 5) Packet Design and Parsing

The previous section discussed the Start-Stop-Type frame structure protocol, which constructs the frame structure using frame headers, lengths, and checksums, enabling reliable and accurate transmission of packets based on the frame structure. Application Layer Packet Design Ideas Returning to the project itself, the packets within the frame structure are what the application ultimately needs to … Read more