Should I just give up?

Discussion in 'Embedded Systems and Microcontrollers' started by yorkwils, Mar 22, 2010.

  1. yorkwils

    Thread Starter New Member

    Mar 7, 2010
    Spent a lot of time trying to get a parallel pic programmer running under linux Ubuntu 7.1

    Got nowhere so upgraded to Ubuntu 9.1

    Loaded Piklab which runs and looks great.

    If I select the parallel port I get the message "Your computer might not have any parallel or the /dev/parport x device has not been created. Use 'mknod /dev/parport0 c 99' to create it, and 'chmod a+rw /dev/parport0' to make it rw enabled."

    Typed both lines in terminal (with sudo) but still no joy.

    My linux knowledge is minimal so now I am stuck. Can anyone tell me what I need to do to get going?

    My programmer is the Byron Jeff Trivial low voltage parallel (TLVP), and I have set the lines in Piklab as follows:
    MCLR (Vpp) to 4(D2) inverted
    Power (Vdd) to 5(D3) inverted
    Clock to 3(D1)
    Data out to 2(D0)
    Data in to 10(/ACK)
    Data RW to GND (not sure about this one?)

    I've put in so much time and it looks like I could be so close now that it would be really great to get to the finishing-line. I'm just completely out of my depth and could really use some help.
    Many thanks
  2. yorkwils

    Thread Starter New Member

    Mar 7, 2010
    found a fix:

    modprobe ppdev
    chmod 666 /dev/parport0

    Both executed using sudo in terminal.

    Pic can now be read, but any attempt to program causes piklab to shutdown without any message1?

    Will start new thread for this problem...