Friend wanted to give me programmer board for me to try to learn but it use serial RS282 connector, but i don't have it on my labtop. I was told centain USB to serial converter don't work. The best is to build your own using FTDI chip. I wish i knew how to do it. But is there on the market that i can buy that is ready made USB to RS232 (Real or future UART) or even PCMCIA to RS232 (Real or latest UART), eeerrr....cheap? That way, i can get started learning the coder immediately.
Any help would be appreciated.
PS : I seened eBay sell a lot of those USB/PCMCIA to serial RS232 adapter really cheap. Which one will work best?
I have tested other model of USB2RS232 with a selvik programmer and with a sattalite box and in both cases the software doesn't run so I will not waste my money on it.
my friend sayed usb devices never work and do never buy them.
Buy a PCI with RS232 and it will work . Regards
No, that is wrong.
I have been using USB-to-RS232 adaptors for very many years (>10?) with very few problems.
Again, I'm convinced that the "problems" are mainly down to bad applications that make unwarranted and/or unsafe assumptions about the serial interface.
"Buy a PCI with RS232 and it will work"
A USB-to-serial will probably work in 98%, and a PCI adaptor in 99.5% - but it still won't be 100.0%
There are some poor applications that won't even work properly with all "real" COM ports...
Agree, Andy,
PCI RS232 card has better possibility than USB-serial cable. PCI card is more straightforward than USB-serial, which has additional USB device driver and hardware layer. In either way, however, as the possibility depends on the PC environment, the others may succeed on a device, but someone may fail on the same device.
As long as the PC programmer app is sensitive to critical timing of milliseccond order, it is still far from production quality. PC application on Windows after Win95 don't guarantee this extent of realtime-ness. Just device driver does.
If you want (almost) 100% guarantee, buy a programmer pod with a MCU which handles critical timing in local. Recently, MCU manufacturers have released low-cost development system around US$25 or so. The cost is comparable to USB-serial cable.
"ToolStick" on SiLabs www.silabs.com/.../ToolStick.aspx
Unfortunately, the pods aren't a universal programmer across many manufacturers of '51. But you may be able to make a universal one on the MCU and your PC. Isn't it a good hobby project? :-)
Tsuneo
A PCI-connected RS232 port is identical to the ports built into the motherboard. The built-in ports are logically connected after a PCI bridge, even if they are available directly on the motherboard.
As serial ports, they should be just about 100% reliable. BUT our operating systems are not. Neither Windows nor Linux are designed for abusing an RS232 port with an external adapter for multi-drop use, where the transceiver may need to be switched from transmit mode into receive mode within a fraction of the transmit time of a single byte, to avoid data collisions on the single transmit/receive line.
This is the reason why some MS-DOS applications could do wonders with an RS232 port, while todays Windows machines can't match even with a 10 or 100 times faster hardware. In MS-DOS, the application where in 100% control, with the exception of the interrupts for time, mouse and keyboard. It was the application that decided if and when to perform any disk operations.
A PC-Card adapter may either use the old 16-bit PCMCIA interface, or the newer 32-bit CardBus interface. The 16-bit interface is basically the 16-bit AT-Bus introduced in 286-class PCs. The 32-bit interface is basically a PCI interface. Both solutions should work well, but to the largest part limited by the capabilities of the used OS.
Anyway, because of the limitations of - to a large part - our OS, I do recommend critical timing to be handled by external hardware. With the low price of microprocessors, all programming adapters should contain their own intelligence.
How many laptops have got PCI slots?
Not many laptops have PCI slots, but a number of laptops have PC-Card support. Same thing, but in a different form factor.
But you may be able to make a universal one on the MCU and your PC. Isn't it a good hobby project? :-)
do not even try. If you look at ISP programming of NXP, Arghmel and SILabs you will find 2% similarity and 98% difference.
Erik