??? 11/23/06 14:19 Read: times |
#128453 - monitor switches the UART mode Responding to: ???'s previous message |
How come mode1,mode2 of uart are working properly.?? Maybe the debug monitor switches the UART mode. That's why mode 0 doesn't put any signal to RXD0OUT, only on your case. On my side, it works correctly. The PC downloads the debug monitor to FX2 when the USB cable is connected to the board. The debug monitor is resident on the code XRAM (FX2 is RAM based). Even if you plug off the serial cable after downloading your code, it's still there and working. Usually, the UART assigned to the monitor is never applied to the application use. Switch the debug monitor to SIO-1. "uVISION DEBUGGER: CYPRESS EZ-USB FX MONITOR CONNECTION" from KEIL http://www.keil.com/support/docs/2353.htm If you can use neither UART0 nor UART1 for debug, add an off-chip UART for the monitor. "MON51: USING OFF-CHIP UART INTERFACES" from KEIL http://www.keil.com/support/docs/2995.htm Tsuneo |