We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Greetings, all. I'm a first-time user of the Keil IDE and microcontrollers in general, and I've finally gotten my code to the point where I'd like to test it out in the real world, but while still having the debugging interface at my disposal.
The first way I'd hoped to do this was by assigning one of the simulated chip's UARTs to the PC's COM port. The problem is that my application requires 9 data bits, whereas the IDE's documented maximum is 8. Is there unofficial support for 9 bits, or do I need to debug via an interface with a live chip, or what?
Many thanks, Bob Robertson
I should've mentioned the complete requirement, sorry: 1 start bit, 9 data bits, 1 stop bit. I'm using the DS89C450 from Dallas/Maxim with the UART in mode 2.
This is a limitation of the PC's standard COM port - it just doesn't do 9-bit data, I'm afraid.
There are some specialist drivers available that simulate this using the parity bit, but that wouldn't work with uVision.
Here's a device that can be used for monitoring 9-bit comms: www.bonusdata.ch/.../analyzer.htm
Thank you for your quick reply. I guess I'm left with signal debugging functions and good design, then.
Many Thanks.