gnupic: IC-Prog with Wine
Subject:
Re: IC-Prog with Wine
From:
David McNab ####@####.####
Date:
4 Jan 2005 11:00:02 +0000
Message-Id: <41DA771B.5080508@rebirthing.co.nz>
Sean Rollins wrote:
> I just thought I'd let you know that I have successfully run IC-Prog
> using wine. I'm running Gentoo 2.6 and my programmer is the Olimex PG2C
> Serial JDM programmer.
Good stuff!
I've had similar success with IC-Prog using the Jaycar Serial PIC kit
Programmer (a JDM/Ludipudo clone), under Debian linux.
A relief after frustrating failures with NoPPP (for want of the right
diodes, as I learned later).
> Besides setting IC-Prog to use windows api, there was config - it just
> works.
Thank goodness IC-Prog isn't lumbered with esoteric windows baggage.
I was pleasantly surprised when its installer ran perfectly under wine,
and the app runs without any problems.
> Hopefully PikDev support will get better in the near future, but
> for now, IC-Prog w/wine seems to be the best gui programmer available
> for linux.
Also, a quick RTFM reveals some command line args, allowing it to be
wrapped in a shell (or <your-favourite-scripting-language>) script.
Here's my script, which I've called 'burnpic'.
(change for your environment)
#! /bin/sh
echo "Attempting to burn file $1 into PIC"
wine /path/to/icprog.exe -l$1 -p -i -t16F873A -gJDM -q
echo "icprog has terminated"
Usage: burnpic somefile.hex
Providing your image has valid config and id bytes, you won't get
hassled by any popup messageboxes, so the script can be used in a Makefile.
--
Cheers
David