electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Serial programmer on a PC with no serial port


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Serial programmer on a PC with no serial port
Author Message
Green Soldier



Joined: 01 Jun 2006
Posts: 23


Post14 Dec 2006 20:37   

Serial programmer on a PC with no serial port


Hello

i got a laptop with no serial ports and a programmer that uses the serial port
wut can i do to make it work on usb
will the serial to usb link work correctly??
thanx in advance
Back to top
mutevaggil



Joined: 07 Sep 2006
Posts: 61
Helped: 1
Location: Istanbul-TURKIYE


Post14 Dec 2006 20:50   

Re: Serial programmer on a PC with no serial port


Hi Green Soldier.

You can buy an USB to RS232 converter. it is not so expensive.

Serial programmer on a PC with no serial port

Serial programmer on a PC with no serial port

regards.
Back to top
Google
AdSense
Google Adsense




Post14 Dec 2006 20:50   

Ads




Back to top
bbgil



Joined: 11 Mar 2006
Posts: 131
Helped: 4


Post15 Dec 2006 2:18   

Re: Serial programmer on a PC with no serial port


greensoldier,

word of caution on simply buying a usb-rs232 converter. most of them don't work. problems of timing and voltage pull-up high. different protocols used. try to research first on the interfacing voltage levels. Had a bad experience on this. wasted good money. just buy a usb based programmer. good luck
Back to top
Buriedcode



Joined: 06 May 2004
Posts: 327
Helped: 34
Location: London


Post15 Dec 2006 17:02   

Re: Serial programmer on a PC with no serial port


Hi,

Depends on the 'serial programmer' in question, and the type of microcontroller you're planning on programming. Many programmers for PIC's, such as the 'JDM' programmer, use the +/- 12v from the serial port to generate the 13v+ necessary to put the micro in 'programming mode'. However, as bbgil stated, USB<->Serial cables, don't always produce a +/- 12v swing on the outputs, and therefore, do not always generate sufficient voltage for the serial port programmer to work.

That said, if you rpogrammer simply uses the 'data' from the serial port, and is powered externally, I imagine a USB/serial cable would work. Certain 'serial programmers' can be modified so that they can use external power (+15V usually) so the serial cables I/O's are buffered, so thye will work at low level, non-RS232 voltages, such as 0-5V.

Please provide more information, such as your microntroller, and the programmer.

BuriedCode.
Back to top
Green Soldier



Joined: 01 Jun 2006
Posts: 23


Post15 Dec 2006 17:14   

Re: Serial programmer on a PC with no serial port


thanx for help

its a dragon 12 board for motorolla Hcs12
Back to top
Buriedcode



Joined: 06 May 2004
Posts: 327
Helped: 34
Location: London


Post15 Dec 2006 17:29   

Re: Serial programmer on a PC with no serial port


Hi agian,

what a lovely board! currently designing one meself, and thats a cracker.

Anyway...according to this site:

http://www.evbplus.com/Dragon_BDM/dragon_bdm.html

The programmer is powered by 'the target board', and they are selling a USB - serial port converter with it, which they wouldn't do unless it worked. Judging by the price of it, its a generic USB-> serial adapter, nothing special (if it was designed specifically for that board, it would be waaay more expensive). So I guess the answer is YES! you can use a generic USB-serial cable with the programmer shown on that site, assuming thats the one you have Very Happy

Such a cable behaves like a serial port, and should show up on your computer as a 'comm' port, jsut like serial. So, with the drivers that come with such a cable, it should appear transparent.

BuriedCode.
Back to top
Green Soldier



Joined: 01 Jun 2006
Posts: 23


Post15 Dec 2006 18:22   

Re: Serial programmer on a PC with no serial port


hello buriedcode:)
man u have been of a greaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat help thank u very much,,but u know wut
soon i ll be working on desigining my hcs12 board tooo so i think i will need more help than u can ever imagine;) i am sure u ll be of a great help then too
untill then thank u very much
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Serial programmer on a PC with no serial port
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
serial communication of 89c51 with pc serial port through vi (2)
interfacing the usb port to serial port programmer (4)
AVR Programmer (Serial Port) (6)
Serial port PIC Programmer (27)
Serial Port Professional PIC Programmer (9)
PIC Programmer for Non-serial port PC (11)
Help!! I need a 16f877 programmer using serial port (1)
PIC18F2455 & PIC18F2550 programmer using serial port (6)
How can I Test serial cable and serial port? (4)
how can i get serial interupt in PC serial port? (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS