gnupic: Re: what after flashing a pic
Subject:
Re: what after flashing a pic
From:
####@####.####
Date:
18 Sep 2006 13:49:18 +0100
Message-Id: <fa0698571983.450ea40b@canarias.org>
Cool thanks,
I hadn't noticed both schematichs were that similar. I'll give it a try,
though the link you point me to is broken, which is a shame.
I'll try to seek author's email and contact him to see if I can get a copy. Every possible reference is really valuable.
Thanks so much.
----- Original Message -----
From: Pierre GAUFILLET ####@####.####
Date: Sunday, September 17, 2006 10:01 pm
Subject:
> Subject: Re: [gnupic] What after flashing a pic?
> In-reply-to: ####@####.####
> To: ####@####.####
> Reply-to: ####@####.####
> Message-id: ####@####.####
> MIME-version: 1.0
> Content-type: text/plain; charset=UTF-8
> Content-transfer-encoding: 8BIT
> Precedence: bulk
> Delivered-to: mailing list ####@####.####
> X-Qmail-Scanner-Mail-From:
> ####@####.#### via troy
> X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.43.2):. Processed in
> 0.611175 secs)
> X-Qmail-Scanner-Mail-From: ####@####.#### via troy
> X-Qmail-Scanner: 1.25 (Clear:RC:0(212.27.42.29):. Processed in
> 0.085758 secs)
> X-Enigmail-Version: 0.94.0.0
> References: ####@####.####
> ####@####.#### ####@####.####
> Mailing-List: contact ####@####.#### run by ezmlm
> List-Post: ####@####.####
> List-Unsubscribe: ####@####.####
> List-Help: ####@####.####
> X-No-Archive: yes
> User-Agent: Thunderbird 1.5.0.5 (X11/20060812)
>
> Hi Antonia,
>
> ####@####.#### a écrit :
> > Hello pierre,
> >
> > No I didn't try out your project because of being too complex for
> me. I used instead Byron's Jeff programmer, though as soon as I
> start gettin into this I want to dig into your project more in deep.
> >
> Could you explain what stopped you ? Reports are interesting to
> improve"user friendliness" :-)
> > The bootfile I've flashed into the pic is the file I exported as
> hex from mplab's project USB_Bootloader_Setup.EXE, and now I'm
> trying to make something like this work from linux:
> >
> > http://pic18fusb.online.fr/wiki/images/Boot/USB-Bootload.gif
> >
> ok
> > So I can start doing things like blinking leds and the like, and
> at least have some first experience about the whole process "the
> simplier way".
>
> > However I'd first like to be able to use libusb to connect to the
> pic, and for example retrieve some info. As far as I've been
> reading, whether I want the kernel to recognize the pic it's
> bootcode needs to be assigned vendor and product's id. I've seen
> these within the known ids.
> >
> yeah
> > What I don't know if is the usb driver your refer is already
> present on my pic (due to the bootfile I loaded it with) or if it
> should be an application flashed on top of the boot-code, can you
> be a bit more explicit on this or to point me somewhere I can get
> more info on the subject?
> >
> A USB bootloader does not have any sens if it does not manage USB
> connections... So I think you do not need an application code
> basically.If you are not sure about that point regarding your
> bootloader (unclear
> specification for example), you should have a look to its source code.
> Somewhere, you should find a routine processing the GET_DESCRIPTOR USB
> request.
> > I've been looking at fsusb's code, though I'm lost in where
> software desing meets hardware. Could I reuse your usb driver
> freely in case I already haven't got it? or it is dependent of an
> specific hardware configuration?
> >
> Of course you can. Puf is under a LGPL.
> As long as you respect this licence (roughly you have to release your
> puf changes source code when you release the corresponding binary
> code,and it has no impact on your application : you can release
> your source
> code or not), you can use it.
> You could also have a look to
> http://cluster.physik.uni-freiburg.de/~kuhnen/pic/usbtest/
> <http://cluster.physik.uni-freiburg.de/%7Ekuhnen/pic/usbtest/> . It
> is a
> simple USB test application derived from puf.
> The USB test board you are using is very similar to ours (schema
> available on our site). You probably only have to do minor
> configurationstuff (PIC configuration : I use a 4MHz crystal, and
> you are using a
> 20MHz. An other option is to replace your 20MHz quartz by a 4Mhz. PUF
> should runs out of the box, then). Note that RA0 is used to flash a
> ledwhen the pic boots.
>
>
> Pierre
>
>
> --------------------------------------------------------------------
> -
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>