• USBD_CDC_ACM_WriteData() replaces 0x0D with 0x0A in the sent data.
    Hi, I'm using the Keil USB library to implement a CDC ACM driver (Keil Middleware v7.3.0) to send data from my LPC4330 to a linux host. I'm sending an array of bytes to the host from the LPC4330....
  • USBD_CDC_ACM_WriteData() replaces 0x0D with 0x0A in the sent data.
    Hi, I'm using the Keil USB library to implement a CDC ACM driver (Keil Middleware v7.3.0) to send data from my LPC4330 to a linux host. I'm sending an array of bytes to the host from the LPC4330....
  • I call sscanf, but the compiler calls scanf instead!
    The following codes show the problem. #include <stdio.h> void main() { char str[10]; sscanf(str, "hello"); } The call tree is: OVERLAY MAP OF MODULE: ssanfTst (MAIN) SEGMENT BIT_GROUP DATA_GROUP...
  • I call sscanf, but the compiler calls scanf instead!
    The following codes show the problem. #include <stdio.h> void main() { char str[10]; sscanf(str, "hello"); } The call tree is: OVERLAY MAP OF MODULE: ssanfTst (MAIN) SEGMENT BIT_GROUP DATA_GROUP...
  • Why is carriage return (0x0D) written to the UART?
    I am transferring data from an 8051 to the PC. All 21 bytes of my data is transmitted, but a carriage return is also being transmitted in the middle of my array of data (which I don't want). I noticed...