Figured Out MPLAB X


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Figured Out MPLAB X

    Step 1)
    Familiarise yourself with the concept and lisencing for GNU software:
    https://en.wikipedia.org/wiki/GNU_Ge...Public_License

    Step 2)
    Become rightfully pissed off with Microchip for selling something they made
    absolutely no contribution toward the creation of, and non-compiance with GNU
    for deliberately introducing difficulties compiling source after anyone has done so.
    The former, they have every right to do, although morally reprehensible, and not at
    all in the spirit of open source software. The later is a blatant GNU lisence breach.

    Step 3)
    Download the current version of XC16 for Apple Mac OS, or Windows directly from Microchip.
    The current XC16 is version 1.33. Install MPLAB-X and XC16 normally.

    Step 4)
    Locate in Windows:
    C:\Program Files\Microchip\xc16\v1.33\bin\bin\elf-cc1.exe

    Locate in Mac OS:
    /Applications/microchip/xc16/v1.33/bin/bin/elf-cc1

    Back up this orginal file somewhere.

    Step 5)
    Take what already belongs to you, which is specifically GCC (XC16/32).

    Open the original file from it’s original location with any hex editor program.

    For Windows:
    Find file offset: 0x161E7E, and change the original value 0x85 to 0x84.

    For Mac OS:
    Find file offset: 0x64CCC7, and change the original value 0x85 to 0x84.

    Save the file, and you now have the pro version with every level optimisation.
    Free as it was intended by it’s actual authors, who see none of the $1000 Microchip ask.

  2. #2
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    173


    Did you find this post helpful? Yes | No

    Default Re: Figured Out MPLAB X

    Hi Art,

    Are you saying that by following the five steps outlined in your last post, a person will end up with a full version of XC8 - with all the bells and whistles?

    Cheers
    Barry
    VK2XBP

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Figured Out MPLAB X

    That example was for XC16 specifically, but I can also help with XC32.
    These are both GCC (General Cross Compiler), and you already have the absolute right to use unrestricted, fully unlocked versions of them for free,
    so long as you agree to the GNU license terms and conditions.

    I can’t say the same of XC8, and can’t help with that either in public or private.
    That said, they are both C, and it wouldn’t be a huge jump to use XC16 with a 16 bit pic.
    Select the right device and you get zero overhead looping.

    Mods/Admin may feel uncomfortable about this kind of thing as it is, and if so, I guess it will be deleted,
    which is ok, but it won’t be because posting it was the wrong thing to do.

    I told Microchip exactly why I cancelled my paid XC16 subscription, and received no reply. Were I ever to hear anything from them I didn’t like,
    I’d run straight to the Free Software Foundation, who have the time, money, resource, and willingness to pound Microchip’s legal team into the mud.

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,722


    Did you find this post helpful? Yes | No

    Default Re: Figured Out MPLAB X

    they might be on to you already , if you download ver 1.33 from the archive you now get ver 1.32b
    and the hack does not fit the latest. which is ver 1.34
    Warning I'm not a teacher

  5. #5
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Figured Out MPLAB X

    I’ll have to get that!

    Meanwhile, can you back up a version from 1.32b to 1.32?

    Windows:
    Same file location in Windows directory structure.

    Find file offset 0x1623AE, change 0x85 to 0x84.

    For them to have truly deliberately blocked a weakness, the new version would not have the 0x85 value in a close location (for the new version),
    and/or changing it to 0x84 would have no effect. There’s a completely different method though, they would have had to stop both.

    It’s probably best if certain words are never mentioned in this thread to it isn’t found,
    such as the word that describes what happens to an egg shell when you hit it.

  6. #6
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Figured Out MPLAB X

    You should have a message Richard, but the second method might also break XC8 (untested).
    All integrity would be lost if that was posted in public.
    If you can determine that is also GCC compiler it doesn’t matter, but I seriously doubt it.

    If that no longer works, they have definitely found it, and I guess I can’t update

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,177


    Did you find this post helpful? Yes | No

    Default Re: Figured Out MPLAB X

    In their archive (http://www.microchip.com/development...nloads-archive) there are all software versions available since 1.0 for all software packages.

    But I wonder, what are they doing? Is it legal to grab an open source and sell it 1K?

    Ioannis

Similar Threads

  1. Mplab x
    By l_gaminde in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th July 2013, 04:59
  2. Mplab 8.40
    By Andre_Pretorius in forum General
    Replies: 1
    Last Post: - 25th November 2009, 19:42
  3. Errors In MPLAB 8.02
    By HOTLNC in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 4th June 2008, 13:52
  4. using MPLAB 8.0 ?
    By iugmoh in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st May 2008, 21:07
  5. Mplab 7.22
    By Patrick in forum Documentation
    Replies: 3
    Last Post: - 1st June 2006, 06:32

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts