When you are programming uCs on STK500, you connect your STK500 to PC using serial cable. But what if your PC does not have a serial port (DB9). I thought of buying from Radio Schack a cable that at one end has a male DB9 and at the other end standard USB.In that case you have to tell Bray++ or Hyperterminal to select that USB port. How do you exactly make things work in this scenario? Has anybody done it? Thanks
Regards
PS
or in another words on a PC that has both serial port (DB9) and USB, how can you get COM1 to be USB and not serial port(DB9)? Thanks
You buy a USB-RS232 converter. When you plug this is, it appear to Windows as a “virtual” serial port. It will assign it a COM port number. Find this number in the Device manager. Then when you open your program that you want to commuicate from (hyperterm, bray’s), you just select that serial port number.
One word of warning though is that often the USB-RS232 converters aren’t compatible with STK500 programmers, especially the cheap(er) ones. You might want to look at Ladyada’s USBtinyISP, which has a native USB interface at one end and a 6 or 10 pin ISP plug on the other. It will probably be about the same cost for the whole programmer as for the converter…
trialex:
Yep what you are describing is one way to do it.
You buy a USB-RS232 converter. When you plug this is, it appear to Windows as a “virtual” serial port. It will assign it a COM port number. Find this number in the Device manager. Then when you open your program that you want to commuicate from (hyperterm, bray’s), you just select that serial port number.
One word of warning though is that often the USB-RS232 converters aren’t compatible with STK500 programmers, especially the cheap(er) ones. You might want to look at Ladyada’s USBtinyISP, which has a native USB interface at one end and a 6 or 10 pin ISP plug on the other. It will probably be about the same cost for the whole programmer as for the converter…
Thanks a lot. I did a google search also but yours is by far the best explanation. Thanks