gnupic: Re: [gnupic] MPLAB under wine?


Previous by date: 26 Aug 2005 07:08:29 +0100 RC5 decoder -PIC16F84A / PIC16F628A for power switch, Praveen k.p.
Next by date: 26 Aug 2005 07:08:29 +0100 Re: [gnupic] RC5 decoder -PIC16F84A / PIC16F628A for power switch, Ravi
Previous in thread: 26 Aug 2005 07:08:29 +0100 Re: [gnupic] MPLAB under wine?, Scott Dattalo
Next in thread: 26 Aug 2005 07:08:29 +0100 Re: [gnupic] MPLAB under wine?, Ben Dugan

Subject: RE: [gnupic] MPLAB under wine?
From: "Lee Manickum" ####@####.####
Date: 26 Aug 2005 07:08:29 +0100
Message-Id: <5A35E90F1C8CC549867EBC6F5A3BBA556BEC66@thunder.acs.altech.co.za>

I've successfully used it to assemble. but could not 
get it to link.

The trick, IIRC, is to run each assemble using wine.

I made a makefile, and ran make to start the assembly.
The targets in the makefile were each ran with
wine.

Then I started the IDE itself with wine.

The reason it "quickly vanished" was (for
me anyway) because MPLAP runs an external
program to assemble, and wine (at that time)
did not properly allow the process to 
spawn a dos program; I suspect
that you would be able to successfully spawn
an elf program or a win32 program though 
(hence make).

I gave up on it about a year back; found that
even if I got it to assemble and link correctly,
I would still be lacking the ability to
download the program or run the debugger.

(MPLAB itself does the downloading, not some
external program, and MPLAB (version 6.something)
did not download the hexfile that was in the
directory, but the hexfile that was in its
memory at the time, therefore MPLAB itself
had to spawn the seperate processes to assemble
and link, and after a successfull link would 
load the hexfile into its memory. This also 
explained my "bug" in that if I opened a 
previously assembled and linked project and
immediately downloaded (without rebuilding)
then junk was sent to the PIC. All this can be 
seen if one runs strace (or is it ptrace on 
linux?) on wine running MPLAB.

I will look at it again later this weekend
and let you know if I get further than mere 
assembly. I think that some creative massaging
of paths and filenames would get MPLAB under
wine working all the way up to linking. Downloading
after that (or debugging) will have to be done
without MPLAB.

> -----Original Message-----
> From:	Ben Dugan ####@####.####
> Sent:	Thursday, August 25, 2005 7:32 PM
> To:	####@####.####
> Subject:	[gnupic] MPLAB under wine?
> 
> 
> Has anybody used MPLAB under wine?  I haven't been able to get it to 
> work yet.  After resolving some missing DLLs and getting paths set up 
> (apparenntly) correctly, the program starts then quickly vanishes.  Wine 
> isn't even giving me a log?
> 
> Any tips?
> 
> (I'm not planning to use MPLAB for long, but I'd like to have it as a 
> test bed.)
> 
> Ben
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 

Previous by date: 26 Aug 2005 07:08:29 +0100 RC5 decoder -PIC16F84A / PIC16F628A for power switch, Praveen k.p.
Next by date: 26 Aug 2005 07:08:29 +0100 Re: [gnupic] RC5 decoder -PIC16F84A / PIC16F628A for power switch, Ravi
Previous in thread: 26 Aug 2005 07:08:29 +0100 Re: [gnupic] MPLAB under wine?, Scott Dattalo
Next in thread: 26 Aug 2005 07:08:29 +0100 Re: [gnupic] MPLAB under wine?, Ben Dugan


Powered by ezmlm-browse 0.20.