??? 11/23/04 09:15 Read: times |
#81752 - 32-bit MS Windows Responding to: ???'s previous message |
I said:
The last time I tried it, it was impossible using the standard MS drivers & Windows API. This was because Windoze simply sets a "Parity Error" bit - but does not identify which specific character had the parity error. Oleg Sergeev said:
Which API do you mean? We use 9-bit communication via _outp() and _inp(). I mean the Windows 32-bit APIs. _outp() and _inp() are 16-bit 8086 Real mode direct hardware access. You should really not be using these in Windows applications: under 32-bit Windows, they are actually emulated by the 32-bit kernel - so you aren't really getting the direct hardware access that you require :-( The overhead of the emulation means that you are very likely to lose characters - even on a fast PC! :-( There are proper Windows drivers available that will let you do 9-bits from Windows Apps. |
Topic | Author | Date |
Need help... MCU and PC communication | 01/01/70 00:00 | |
MCU & PC communication | 01/01/70 00:00 | |
I have the same problem | 01/01/70 00:00 | |
Need more help from this | 01/01/70 00:00 | |
I use ascii | 01/01/70 00:00 | |
Reply to Jose' | 01/01/70 00:00 | |
Fix the problem | 01/01/70 00:00 | |
To my helpers | 01/01/70 00:00 | |
Handshaking... | 01/01/70 00:00 | |
RETI | 01/01/70 00:00 | |
ascii ? | 01/01/70 00:00 | |
Handshaking and More !! | 01/01/70 00:00 | |
Delays | 01/01/70 00:00 | |
Thanks to all my helpers, problem solved | 01/01/70 00:00 | |
Delays | 01/01/70 00:00 | |
Delays | 01/01/70 00:00 | |
UART, mode 3 | 01/01/70 00:00 | |
The 9th bit is the parity for VB | 01/01/70 00:00 | |
send data from mcu to pc | 01/01/70 00:00 | |
Yes, but the 9th bit is the parity in VB | 01/01/70 00:00 | |
9th bit lost by Windoze? | 01/01/70 00:00 | |
9th bit is supported | 01/01/70 00:00 | |
32-bit MS Windows![]() | 01/01/70 00:00 |