LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2014, 11:45 PM   #1
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,361

Rep: Reputation: 127Reputation: 127
piklab plus cheap serial port?


My PCI 2-port serial card failed, so I got a new one that supposedly "works with linux". Yeah, it does, but it won't drive my JDM Programmer under Piklab. I've managed to rearrange my serial attachments to get all 3 serial devices working, but I was wondering if anyone had any Piklab/JDM success with a cheap PCI-e X1 2-port card? I'm a little uncomfortable only being able to drive the burner from the motherboard's serial port. This one is by IOCrest and has a MOSCHP MCS9922CV chip. Maybe it's time to get a better burner?
 
Old 05-06-2014, 10:52 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,648

Rep: Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652
I can not look at the specs for the MCS9922CV at the moment but suspect it could be a voltage level problem. IMHO really not a linux or Piklab problem. A programmer like the pikstart which needs an external power supply will work with any serial port.

Adding a buffer should work like 4 MAX232 chips (2 ea back to back) as one example. I looked at a couple of JDM burner circuits and they only used 3 232 lines plus ground.
 
Old 05-06-2014, 12:19 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,361

Original Poster
Rep: Reputation: 127Reputation: 127
I see that there is a ZT3243LEEA on both ports. I guess that's not enough or they haven't provided for voltage feedthrough. They mention that it supports "Slow IrDA" and it does drive my single-LED lirc transmitter. I can take a look at a JDM circuit to see if maybe there are any options in Piclab that might do something.

I see a lot of USB programmers on ebay. Can you recommend any particular one known to work?
 
Old 05-06-2014, 01:20 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,648

Rep: Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652
Nope. I can only quote what is on the piklab's website. The ZT3243LEEA are low voltage devices i.e. 3.3 - 5.5 but the JDM programmer is labeled as a high voltage device. The JDM home page has "This Programmer is powered by the RS-232 and it works with RS-232 levels at only < 8.6V" Not quite sure about the only < part.
 
1 members found this post helpful.
Old 05-06-2014, 01:43 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,361

Original Poster
Rep: Reputation: 127Reputation: 127
OK. I guess this board meets the trend of supplying voltages that don't meet the RS-232 standard. Thanks for your help.
 
Old 05-06-2014, 02:26 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,648

Rep: Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652
Not really. Actually the range per the RS-232 specification for a logic level is 3-15 (+ and -) volts. Typically PC serial ports used +/- 12 volts. Without the higher voltage you can't program high voltage PICs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Serial terminal connected to USB Serial Port on Ubuntu 12.04 809areacode Linux - General 3 07-18-2013 11:06 PM
Is a USBtty (USB serial port) treated the same as tty (normal serial port) in C? spudgunner Programming 1 11-12-2010 02:19 PM
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 10:32 PM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration