A simulator is useless for peripheral debugging. The simulator does not care about correct UART initialisation. Which tools do you use? Do you use e2 studio or CS+ or IAR EW? Have you used Applilet (or Peripheral Code Generator inside e2 studio) to generate the processor initialisation? If not I would recommend you do so. This is the easiest way to set up initialisation code for RL78. Which compiler do you use? CCRL or IAR ICC?
↧