I'm using the package available for download from jallib code site. Vasi
On Sep 8, 11:53 pm, "a.faber" <[email protected]> wrote: > Hi, > Just did an update (was reading the incorrect memory), Ì don't specify any > compiler options, there is a pragma in the code to force the CONST_DETECT > optimizer option. Also are you compiling against the latest Jallib USB > libraries and using the latest compiler? > Albert > > ----- Original Message ----- > From: "funlw65" <[email protected]> > To: "jallib" <[email protected]> > Sent: Tuesday, September 08, 2009 10:47 PM > Subject: [jallib] Re: Bootloader on 18F2550 > > You are fast! > I compiled the file (for 4550) with jalv2 2.4l and jallib 0.4 and I'm > not getting same size. You said inside that file you obtained 2010 > space occupied in flash and I'm getting 2030. What compiler options > you use? > > jal 2.4l (compiled Aug 7 2009) > 0 errors, 0 warnings > live variable analysis iterations: 3 > Code area: 2030 of 32768 used (bytes) > Data area: 37 of 928 used > Software stack available: 891 bytes > Hardware stack depth 3 of 31 > > Vasi > > On Sep 8, 10:55pm, "a.faber" <[email protected]> wrote: > > Hi Vasi, > > Made the changes and committed the files, have to admit that I have not > > test > > it yet (maybe later tonight) > > Albert > > > ----- Original Message ----- > > From: "funlw65" <[email protected]> > > To: "jallib" <[email protected]> > > Sent: Tuesday, September 08, 2009 8:50 PM > > Subject: [jallib] Re: Bootloader on 18F2550 > > > On Sep 8, 9:25pm, "a.faber" <[email protected]> wrote: > > > Hi Vasi > > > Thanks for the feedback, maybe can add a check if the first three bytes > > > at > > > location 0x800 are set to 0xFFFFFF (i.e, when no user app is flashed), > > > if > > > so, then set wait time to inifinite > > It make sense. When you burn the bootloader for first time, the rest > > of flash memory is empty. Then you install the driver and after that, > > it does not matter if you have already a program uploaded, your driver > > is already installed. When your new bootloader will be ready, I will > > remove the driver and start again from zero. > > > > b.t.w. if you're want to use the Python USBDownloader you have to > > > install > > > the LibUSB filter driver (on Windows), on Linux it can work right out of > > > the > > > box. > > > Albert > > Is ok, I know the procedure. And is ok for me to work on command line > > and under Linux (until now I tested only Pinguino IDE which can upload > > also the program) but I have friends which prefer Windows and an > > application with graphical interface (Pdfsusb). For them I tried this > > procedure from zero. > > > Vasi > > > P.S. An IDE written in python for JAL will be great... and... maybe is > > useful if you add on your blogs tips for using your python uploader. > > > > ----- Original Message ----- > > > From: "funlw65" <[email protected]> > > > To: "jallib" <[email protected]> > > > Sent: Tuesday, September 08, 2009 3:59 PM > > > Subject: [jallib] Re: Bootloader on 18F2550 > > > > Hi Albert, > > > > Today I burned your bootloader (the one with autostart) and it was > > > impossible to install the Microchip custom driver in automatic mode on > > > Vista Basic. It was a weird behavior - device disconnecting/ > > > reconnecting at some intervals! I had to do it manual. > > > > But now is working nice on my board. I did a blink test and now I will > > > test with usb-cdc driver. > > > > Vasi > > > > On Aug 11, 12:32am, "a.faber" <[email protected]> wrote: > > > > Hi, > > > > Just added an additional version of the USBbootloaderwith autostart. > > > > It > > > > will autostart if the version number > > > > is not retreived by the host application (PDFSUSB for example). > > > > > 1) Flash the bios code (I've also uploaded the hex for 18f2550 & > > > > 18f4550 > > > > (same hex file) in the file section of the google code group list) > > > > 2) Plug in the USB connector > > > > 3) When you hear the sound that the USB device is recognized, you have > > > > to > > > > select the PICDEM USB 0 (boot) from the combo box in the PDFSUSB host > > > > application, this will retreive the version number so to auto-start is > > > > aborted) > > > > 4) Flash the user application (use the standard -loader18 -no-fuse > > > > flags > > > > when compiling with JALV2 compiler) > > > > 5) Hit the execute button within the PDFSUSB application > > > > > 6) When you unplug the USB connector, and plug it again, it will first > > > > recognize thebootloader, then wait 10 seconds and thebootloaderwill > > > > start > > > > the user application. > > > > > At the moment it still a bit clumsy, but this can be greatly improved > > > > by > > > > adapting the downloader application on the host side, will look into > > > > this > > > > later-on (and also support for other host platforms than Windows) > > > > > Albert > > > > > ----- Original Message ----- > > > > From: "funlw65" <[email protected]> > > > > To: "jallib" <[email protected]> > > > > Sent: Sunday, August 09, 2009 7:51 PM > > > > Subject: [jallib] Re:Bootloaderon 18F2550 > > > > > > For 18F2550 I'm interested inbootloaderused for 18f14k50 but without > > > > > the need of start button (autorun after 5 seconds by example). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
