hello, According to the AT89C51RE2 datasheet, the uC have 2 UART. but in the uVision V3.33 debugger peripherals i dont see that i have 2 UART to work with.
why ?
thanks in advance nir
Did you check the documentation to see if uVision claims to support 2 USRTs for this device?
sure i did this is from the datasheet:
"Two Full Duplex Enhanced UART with Dedicated Internal Baud Rate Generator"
"In addition, the AT89C51RE2 has a Programmable Counter Array, an XRAM of 8192 bytes, a Hardware Watchdog Timer, SPI and Keyboard, two serial channels that facilitates multiprocessor communication (EUART), a speed improvement mechanism (X2 mode) and an extended stack mode that allows the stack to be extended in the lower 256 bytes of XRAM"
I asked if you have checked whether the uVision Debugger claims to support this feature of this chip.
sorry for that,
no it does't support it, may i ask way ? or how it could affect me in case i want to simulate both UART simultaneously ?
"or how it could affect me in case i want to simulate both UART simultaneously ?"
It would affect you badly.
But if you have real hardware, or expect real hardware reasonably soon, then it may not matter much.
Most problems are best tested on real hardware since the simulation is always just an approximation.
And many of the hardest bugs where a debugger is truly useful can be hunted on a subset of the code in the simulator.
In the end, the simulator is best for testing code lines, while real hardware is best for testing systems.
thanks for your help, it has been very useful.
Nir
View all questions in Keil forum