Firmware for Explorer 16, 18F4550 (U2) (unofficial)

Page: 12345 > Showing page 1 of 5
Author
rafalw
Junior Member
  • Total Posts : 44
  • Reward points : 0
  • Joined: 2007/06/23 02:24:42
  • Location: 0
  • Status: offline
2008/05/13 07:58:28 (permalink)
4.2 (5)

Firmware for Explorer 16, 18F4550 (U2) (unofficial)

FirmwareV2.100.07b.for.Explorer16 : http://www.mediafire.com/download.php?lpquihgpj9e
FirmwareV2.100.22.for.Explorer16 (JTAG PIC32 and SPI) : http://www.mediafire.com/download.php?ozivmywm1y0

PC Application PICkit2V2 (JTAG PIC32 and SPI) 2.161.01 : http://www.mediafire.com/download.php?z2ylq1jhe05

New:
Upgrading the software "PICkit2V2 (PIC32 JTAG and SPI) 2.161.01" on the basis of "PICkit 2 PC Application Source Code v2.61" dated 26-Mar-2009.
Fixed a bootloader settings of configuration bits.
Fixed a multiple PICkit 2 support critical issue that was causing simultaneous use of multiple PICkit 2 units to fail.
Firmware V2.100.22 fixed function CloseSPI.

Problems:
Clock of 18LF4550 (U2) is overspecification, but working.
post edited by rafalw - 2009/04/05 08:45:53
#1

82 Replies Related Threads

    PICkit2Dev
    Super Member
    • Total Posts : 994
    • Reward points : 0
    • Joined: 2006/09/27 08:41:47
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/13 08:15:33 (permalink)
    0
    Props, rafalw.
     
    I would suggest making the firmware version something like "2.160.xx" to make sure it is distinguished from PICkit 2 proper firmware.  MPLAB 8.02+ and the PICkit 2 software should recognize it without complaint or wanting to download over it.
    #2
    bosco
    Super Member
    • Total Posts : 2072
    • Reward points : 0
    • Joined: 2004/07/24 10:17:53
    • Location: Idaho
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/13 10:31:50 (permalink)
    0
    What about those of us who have no idea what to click on that page to get the download?
    #3
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/13 12:01:18 (permalink)
    0
    I correct link.
    #4
    Neiwiertz
    Super Member
    • Total Posts : 2087
    • Reward points : 0
    • Joined: 2004/09/01 02:58:52
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/13 15:16:51 (permalink)
    0
    Thanks! i will look at it certain and give it a shot after when my spi issue has been solved on the 18F4550 and let know
    #5
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/15 07:50:05 (permalink)
    1 (1)
    Great! I just tried it and it seems to work for the programming of on-board PIC32MX360F512L PIM (tried to write, read, verify and hold Device in reset).
     
    I am using your firmware (first program the bootloader with a real PICkit 2 and then use PICkit 2 PC application to download the application firmware to the on-board 18F4550 -- aka the PICkit 2 Lite on Explorer 16).
     
    Thanks for the efforts!

      USB_Links and libusb
    #6
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/15 07:59:54 (permalink)
    0
    Just for the convenience of other users, enclosed is the combined hex file exported (just remove the txt extension).
     
    Edit: delete the outdated hex file.
    post edited by xiaofan - 2008/05/21 07:13:13

      USB_Links and libusb
    #7
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/17 09:47:43 (permalink)
    5 (1)
    I changed the numbering version of "2.160.2" to "2.100.2", due to an error in MPLAB 8.10. Not previously checked with such a high number of versions. The number of successive versions are treated as a "char" rather than an "unsigned char", the number of version can not be larger than 127.

    FirmwareV2.100.2.for.Explorer16: delete the outdated file.
    The file to load is "PK2V0210002.hex" or "PICkit2_FWv2.hex", with bootloader is "PK2V0210002+BL.hex".
    post edited by rafalw - 2008/06/04 15:30:11
    #8
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/20 13:51:11 (permalink)
    0
    Please use version "2.100.2" instead of "2.160.2", due to an error in MPLAB 8.10.
    #9
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/20 14:00:38 (permalink)
    5 (1)
    Firmware and Windows application with support JTAG PIC32.
    Firmware V2.100.10 for Explorer16 (JTAG PIC32) : delete the outdated file.
    Windows application : delete the outdated file.
    post edited by rafalw - 2008/06/04 15:32:03
    #10
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/21 07:20:45 (permalink)
    0
    I have not got the time to study your firmware and PC application. But I am just wondering what is the difference between this version and the older version?
     
    Do you mean now the programming is through JTAG for PIC32 and not through ICSP? I tried it and I do not see any difference in reading the PIC32MX360F512.

      USB_Links and libusb
    #11
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/21 13:17:36 (permalink)
    0
    There is no difference between the versions "2.160.2" and "2.100.2" in addition to the numbering, because MPLAB treats "2.160.2" as "2.-96.2" and automatically loads some of the original Pickit 2 firmware.

    Among the versions of "2.100.2" and "2.100.10" is the difference, the latter is handling the JTAG (flash D8, D7, D4, D3) and ICSP (only flashes D8). The firmware added one function TrySetJTAG changing the state of JTAG / ICSP (code 0xB2), and changed five support functions depending on the state of: P32SetMode, P32DataIO, P32XferData8, P32XferData32, P32XferFastData32.

    The difference is the time to read, 1:50 at ICSP, 1:15 at JTAG. Speeding is a small, I thought that the improvement will be greater.

    In PC applications for change is more, added a method PIC32TrySetJtag, PIC32JTAGProgEntry, PIC32JTAGProgExit, changed the method EnterSerialExecution and added a few constants, I changed the begin and end of methods P32Read, P32Write, P32Verify, P32BlankCheck, and other minor changes.

    I wanted to see will "the two delays" error on the JTAG, this error occurs less frequently.
    #12
    Neiwiertz
    Super Member
    • Total Posts : 2087
    • Reward points : 0
    • Joined: 2004/09/01 02:58:52
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/21 13:53:31 (permalink)
    4 (1)
    Good News Raflw

    I added it to the Flying with Explorer 16 Favorites Gallery List http://forum.microchip.com/fb.aspx?m=339168

    the latter is handling the JTAG (flash D8, D7, D4, D3) and ICSP (only flashes D8).
    Can you tell about this a bit further more i don't understand what this means D8 7 4 3 and ICSP only D8 [&:]Smile.

    Regards

    Flying With --|Explorer 16|HardWare|SoftWare|-- Fav(s) Gallery Lists
    #13
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/21 15:43:18 (permalink)
    0
    I wanted to say that
    In the version of "2.100.10" during the operation reading, writing... the flashing will LED D8, D7, D4, D3, physical interface JTAG, when the flashing will only D8, physical interface ICSP.
    This behaviour can be distinguished physical interface, JTAG or ICSP.
    #14
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/22 08:16:24 (permalink)
    0
    ORIGINAL: rafalw
    The difference is the time to read, 1:50 at ICSP, 1:15 at JTAG. Speeding is a small, I thought that the improvement will be greater.

     
    I just roughly measured the timing and it is in line with your measurement. About 1:45 using ICSP (original PICkit 2 software) and about 1:15 using JTAG.
     
    By the way, the LEDs must be flashing too fast if you call that flashing since I can only see four dimmed LEDs when using JTAG . grin
     
    With ICSP (original software), I see a brighter D8 and a dimmed D3 and even more dimmed D10.
    With JTAG (new software), I see a brighter D8, dimmed D3/D7, even more dimmed D4 and a very dimmed D10.

      USB_Links and libusb
    #15
    jbutera
    New Member
    • Total Posts : 14
    • Reward points : 0
    • Joined: 2008/04/16 10:56:11
    • Location: Chicago, IL
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/05/28 16:13:45 (permalink)
    0
    Thank you rafalw! Finally I can get this giant PM3 off my desk! grin

    One question though, is it using JTAG or ICSP to program the device? I was using D3 for debugging, but I simply moved to D5 instead. I'm guessing that it's using JTAG since D3, D4, D7, and D8 are all JTAG lines. If it uses ICSP, can I cut the JTAG lines going to the 18LF4550 so that I can use those IO for my own application?

    Again, thanks for making this work.. It was really annoying reading the Explorer 16 docs talk about the onboard Pickit 2 when it didn't really exist.
    #16
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/06/02 15:20:14 (permalink)
    0
    In this version, you can not use JTAG or ICSP, but only JTAG.
    In the next version will be possible to select JTAG or ICSP.

    The pins JTAG can be used to its application. In the programming mode ICSP or JTAG, processor PIC32 set pins RA0, RA1, RA4 as input and RA5 as output.
         
    When not working JTAG, processor 18LF4550 (PICkit 2 Lite) maintains lines as inputs.
    #17
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/06/02 15:34:27 (permalink)
    0
    New version of PC application and firmware for PICkit 2 Lite.
    I added support for the SPI and improved JTAG.

    Links:
    PICkit2V2 (JTAG PIC32 and SPI).zip
    http://www.mediafire.com/download.php?12yta18tyly

    FirmwareV2.100.15.for.Explorer16 (JTAG PIC32 and SPI).zip
    http://www.mediafire.com/download.php?hjowenstjym

    Examples of the SPI for PIC32 processor, and not tested for PIC24 and PIC33:

    Example E16-SPI-PIC32.ZIP            http://www.mediafire.com/download.php?mn0zjnxesqg
    Example E16-SPI-PIC33 PIC24.ZIP   delete the outdated file.
    post edited by rafalw - 2008/06/05 15:26:56
    #18
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/06/02 15:47:40 (permalink)
    0
    Firmware without JTAG and SPI, with a small amendment excluded HLVD.
    FirmwareV2.100.03.for.Explorer16.zip  http://www.mediafire.com/download.php?njuk2fctjym
    post edited by rafalw - 2008/06/27 08:49:44
    #19
    rafalw
    Junior Member
    • Total Posts : 44
    • Reward points : 0
    • Joined: 2007/06/23 02:24:42
    • Location: 0
    • Status: offline
    RE: Firmware for Explorer 16, 18F4550 (U2) (unofficial) 2008/06/04 15:22:45 (permalink)
    0
    A revised version of example SPI for PIC24 and dsPIC33.
    #20
    Page: 12345 > Showing page 1 of 5
    Jump to:
    © 2017 APG vNext Commercial Version 4.5