• ITM_SendChar 4 chars at once?
    Apologies if this is a wrong forum. Keil's proprietary tracing can pack 4 characters in a 32-bit word. The data registers of ITM are 32-bit, so it looks to me very attractive to print 4 characters...
  • ITM_SendChar 4 chars at once?
    Apologies if this is a wrong forum. Keil's proprietary tracing can pack 4 characters in a 32-bit word. The data registers of ITM are 32-bit, so it looks to me very attractive to print 4 characters...
  • What is used for struct __FILE { int handle; /* Add whatever you need here */ }; FILE __stdout; FILE __stdin; int fputc(int ch, FILE *f) { return (ITM_SendChar(ch)); }
    What is used for struct __FILE { int handle; /* Add whatever you need here */ }; FILE __stdout; FILE __stdin; int fputc(int ch, FILE *f) { return (ITM_SendChar(ch)); }
  • Simulator issue with printf?
    While using the simulator, the values of i in the serial window are shifted by left 8 bits. #include "stdlib.h" #include "stdio.h" #include "reg51.h" void main (void) { unsigned char i; SCON ...
  • Simulator issue with printf?
    While using the simulator, the values of i in the serial window are shifted by left 8 bits. #include "stdlib.h" #include "stdio.h" #include "reg51.h" void main (void) { unsigned char i; SCON ...