×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Code writing/comms problem with PIC programmer

Code writing/comms problem with PIC programmer

Code writing/comms problem with PIC programmer

(OP)
Hi all,

I have just purchased a pic programmer tutorial kit from Velleman. It is called K8084 PIC programmer. it has a PCB that you have to populate and programming software on disc. I'm using an Advent7340DVD laptop.

Here's what I've done and the problem i'm having now:

(1)Populated circuit
(2)Powered up OK
(3)Installed and unzipped software to a desktop shortcut (file characters have to be under 63 to assemble code)
(4)followed instructions for compiling (successful)demo.HEX file created (using MPASMWIN.EXE)

Problem comes when I try to write code with PCB connected via 9 way serial port with chip in IC plug (pIC 16F627).

Using PICPROG2.EXE and following instructions for setting software, when 'write' is selected a warning comes up saying 'K8084 not found at COM1'? This is where I am unsure what to do next. The com port1 in device manger is on address 03F8-03FF and IRQ4 and on generic bus.

I have checked base I/O address in F2 set-up, it is 3F8 IRQ4 on 'user'.

I have no idea what to do from here. The PROGPIC2 software has a selection for COM1-COM8, none of the others (2-8) work. Error message COM-INIT-ERROR comes up if any of these others are selected.

I have also used a tower PC and it does exactly the same i.e. 'K8084 not found at COM1'.

The instructions say that any other device shouldn't be using IRQ3 or 4. How do I find that out?

Hope someone can help..?


Regards


Andrew

RE: Code writing/comms problem with PIC programmer

Haggisbasher, Guys, lets keep this in motors where it was mistakenly started.

Sorry for the run-around Haggisbasher. flush

Furthermore Haggisbasher I would post this type question in either ELECTRICAL/ELECTRONIC ENGINEERING or CIRCUIT ENGINEERING not PROGRAMMABLE LOGIC CONTROLLERS.

RE: Code writing/comms problem with PIC programmer

Haggisbashe; Someone got torqued and blew off your original post.  Hope you read it all first.

With respect to the Hyper Terminal, instead go to my site and get MTTTY.

It's a great little Terminal program and has none of the baggage present with HT.

Goto: www.flaminsystems.com

On the left there is a "DOWNLOAD" box. Hit that, then on the new screen download MTTTY.  It is pretty self explanatory and a definite tool to toss into your bag of goodies.

RE: Code writing/comms problem with PIC programmer

I like the MTTTY. Good to have in the computer. This one I understand - not always the case with other terminal emulators.

Gunnar Englund
www.gke.org

RE: Code writing/comms problem with PIC programmer

Glad you can use it skogs.

Yeah that was a MSFT C compiler demo program.  I hacked it a bit.  I use it all the time for stuff.  If you need it to do something just check the boxes until it does what you want.. :)

RE: Code writing/comms problem with PIC programmer

Hello itsmoked

I suggested he post in this forum and did not mean to lead him in the wrong direction I am looking forward to comments about this post as I have a similar problem w/Allen
Bradley hand shaking with my 1747PIC and com 1 I will keep an eye on further comments.

Also I'm not requesting to address my issue as I do not want to hijack this valuable post.

Thanks for MITTY it looks interesting.

Thanks, Chuck

RE: Code writing/comms problem with PIC programmer

Howdy machmech;

Glad you too can find some use for that tool.

Haggisbasher seems to have dropped off the radar so what's your problem? What is a "1747PIC"???

RE: Code writing/comms problem with PIC programmer

Itsmoked

I'm sorry for the slang, I was referring to the 1747 - pic interface module Allen/Bradley uses to communicate from an rs232 device (modem) to an SLC 500 processor.

I have a rack at home and it is a Father/Son project so I am not under the gun to get it going! I have gathered some information and need to check some things out, but until I have exhausted all my efforts and were not having fun anymore..  
         hairpull
Then I'll bring it to the big court to see what you guy's can advise.

Thanks, Chuck

RE: Code writing/comms problem with PIC programmer

machmech; use MTTTY and a cable.  Jumper the cable to get echoing back working using loopback.

Then hook it up to your card and try catching output and cramming chars back in.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources