Hi Shawn,

Welcome!

I'm not sure on what particular point your serial comms fail, so let give
you some general directions.
First of all, note the difference between serial hardware and serial
software.
Most jallib examples are based on serial hardware (using the uart) and, as
a result, are fixed to the uart pins (25/26). To use this with the wisp628,
you need to connect pins 25/26 to pins 8/7 of the programmer. Use the
appropriate passtrough command (auxillary pins and inverted iirc)
Examples of wouter and also bert use programming pins for serial comms.
This saves two wires and two pins but require serial software (which is not
as efficient and versatail as serial hw) and set this up for those specfic
pins; you can choose normal and inverted signals in serial sw as long as
you use the matching passtrough command.
Note that there is also a speed limit on the passtrough mode of the
wisp628.115k2 - common for serail hw - is not supported, so start out at
1200 baud or so. You may increase it a bit once you got it working.

Having said this, my advice would be to use the wisp628 for programming and
get a '5v arduino ftdi cable' (or breakout box) for the serial comms and
use serial hw. Supports much higer speed, no command need to entered after
ach programming cyle - you can leave you terminal prog open - and you can
be get one for less than 10 $ on ebay.

Joep


Op zondag 2 juni 2013 schreef ([email protected]) het volgende:

> Hi, I'm new here.  I'm also kind of a beginner with PIC programming.  A
> number of years ago I bought the PIC16F877 and the Wisp628 programmer
> designed by Wouter van Ooijen.  I was using the JAL language, but didn't
> get very far in my learning before I had to put it all on the back burner
> for a number of years.  So now I want to get back into it again.  But
> things have changed and I kind of need a little bit of help.
>
> Of course I did the "Blink an LED" project, and everything is in working
> order.  Now I want to move to serial communications between the PIC and the
> PC.  But I would like to use the serial passthrough feature of the Wisp628,
> (which I think uses pins B6 and B7 on the PIC).  I had this mostly working
> a number of years ago using the JAL example on Wouter's website - see
> http://www.voti.nl/blink/index.html, at the bottom of the page.  But that
> example uses the "vintage" version of JAL, and I want to learn how to use
> the new version.
> So I was trying to follow the example project on
> http://www.justanotherlanguage.org/content/jallib/tutorials/tutorial_serial_communication,
> but it is not designed to use the serial passthrough feature of the Wisp628
> programmer.  It uses pins RX and TX instead.
>
> So, can somebody help me translate the "vintage" JAL code on this page
> (last example at the bottom), http://www.voti.nl/blink/index.html, to use
> the modern JAL libraries?
>
> Thanks!
> Shawn
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:_e({}, 'cvml',
> 'jallib%[email protected]');>.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', '[email protected]');>
> .
> Visit this group at http://groups.google.com/group/jallib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to