• simulating printf
    hello, i'm using uVision3. question1: i want to simulate the printf so i can see what is printing. I've tried SLOG but nothing is write to the created file. WHY ? question2: Why when i debug my...
  • 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 ...
  • ARM: Simulator printf
    I have created a project in Microvision 5 for an ARM Cortex-M0 (ARMCM0), and enabled the Simulator. I pull up the Debug (printf) Viewer and run the following code #include <stdio.h> main(void) ...
  • Simulator printf needs setup?
    I'm trying to use printf() on uVision4 in Simulation mode. The code runs or steps fine in the debugger but the "Debug (printf) Viewer" doesn't show anything. Was I wrong to assume that it should "just...
  • printf() problem
    Hello, I'm using Keil to write data over the serial port. ubyte b=0x0A; printf("%c",b); with this code I reveive two bytes: “0x0D” and “0x0A” in PC instead of “0x0A”. This happens only...