• PicŪ Basic

  • Proton on Linux Pt2 - (THE SOLUTION)

    Here's how I got Proton to work in Linux.
    First, follow Lucky Luke's instructions:
    Download virtualbox. You need the USB support, so the OSE won' t do. The OSE can be found in add/remove (in Ubuntu), the closed source version (with USB support) can be found here: http://www.virtualbox.org/wiki/Downloads.

    Follow the instructions on Virtualbox.org to install it. Then make a new virtual machine, get the settings right (like serial ports on /dev/tty0, adding a new USB filter for the spark-key-dongle, getting yourself the right user account permissions, adding a line to a configfile to get USB working, etc.) Howto can be found here: http://www.ubuntugeek.com/howto-inst...b-support.html If you want to run WinXP in VirtualBox give it more RAM than in the Howto, something around 1gb will do, but do not give it more RAM than your computer has installed and be sure to keep some for Ubuntu itself. Also the virtual harddisk should be a bit larger, like 5gb.

    To use a serial port PIC programmer like the WISP, go to the serial port settings, fill in /dev/tty0 as port path, and select host serial port.
    One thing to mention is that for USB, the linux user account you are using needs to be a member of the vboxusers group, here is a quote from the documentation:
    On newer Linux hosts, VirtualBox accesses USB devices through special files in the file system. When VirtualBox is installed, these are made available to all users in the vboxusers system group.
    Instead of bothering with that, I just run "sudo VirtualBox" sudo may not be appropriate for some people!

    After that, extract the windows vista spark key driver from the beta test forum and replace the inf file with this one here.

    If you don't have access to the beta forums you can probably just use the sparkey.sys from your CD. - I misplaced my CD... (All licensed users have access to the beta test forum - Admin)

    Plug in the spark key and when it prompts you for the location of the drivers, direct it to where you saved the spark key drivers, like on your desktop.

    if you prefer VMWare, the spark key works using the same INF file as above. I have tested it.

    In VirtualBox, I installed XP using a restore CD for my Dell laptop.
    In VMWare, I used a Windows XP Pro CD.
    both installs went without a hitch
    I gave XP 512 MB Ram and it works fine.
    Performance is just fine, in VirtualBox I can also run Netflix! VMWare was kinda jerky with Netflix on my computer.
    This article was originally published in forum thread: Linux started by Bougor View original post
  • Recent Activity


    Mysterious PORTB problem

    Thread Starter: xldaedalus

    I'm using Proton+ to develop firmware for a product with switches. The MCU is an 18F26K22. Most of the switches reside on PORTB. I am NOT using a...

    xldaedalus Today, 03:21 Go to last post

    PIC18F1330 PLL problem

    Thread Starter: rcurl

    I'm just starting out on a new project that uses a PIC18F1330. I haven't used this specific chip before, so I began by trying to blink an LED just...

    towlerg Today, 02:15 Go to last post

    Lin bus and auto baud detection

    Thread Starter: Tim

    Lin bus looks to be a great system for an application i'm working on. One of the main things is the slave can be really simple without needing a...

    towlerg Yesterday, 15:13 Go to last post