Author Topic: PIC Microchip - Assembler - Survive  (Read 2181 times)

0 Members and 1 Guest are viewing this topic.

Offline Joseph1Topic starter

  • Contributor
  • Posts: 18
  • Country: au
PIC Microchip - Assembler - Survive
« on: June 06, 2026, 04:16:10 am »
Hi All,

I'm a PIC Assembler for past 20 years (doing mostly the outdated legacy PIC devices). How to run the tools like PICKT2,3 with MPLAB 8.92 with latest windows 11? I'm not sure MPLAB 8.92 wotks with Windows 11, Not sure PICKIT2,3 will work on it either...!! All new PCs, Laptops comes with windows 11.

How other PIC assemblers suvives?

Thanks
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 6464
  • Country: nz
Re: PIC Microchip - Assembler - Survive
« Reply #1 on: June 06, 2026, 04:41:39 am »
Run you old tools in a VM I guess.

I have an activation-free corporate copy of Server 2003 from last time I needed to actually use Windows tools. Even then (2006-2008) I was running it in a VM on my Mac. It was only for ARM's C/C++ compiler for ARM7TDMI — and even then only until I got the DOS binary running on Linux using DOSBox.

Which is also an easy answer if your software is DOS not Windows.

You can also run Windows going as far back as 2K in docker on a modern system.

https://hub.docker.com/r/dockurr/windows

Code: [Select]
Select from the values below:

Value Version Size
11 Windows 11 Pro 7.9 GB
11l Windows 11 LTSC 4.7 GB
11e Windows 11 Enterprise 6.6 GB
10 Windows 10 Pro 5.7 GB
10l Windows 10 LTSC 4.6 GB
10e Windows 10 Enterprise 5.2 GB
8e Windows 8.1 Enterprise 3.7 GB
7u Windows 7 Ultimate 3.1 GB
vu Windows Vista Ultimate 3.0 GB
xp Windows XP Professional 0.6 GB
2k Windows 2000 Professional 0.4 GB
2025 Windows Server 2025 7.6 GB
2022 Windows Server 2022 6.0 GB
2019 Windows Server 2019 5.3 GB
2016 Windows Server 2016 6.5 GB
2012 Windows Server 2012 4.3 GB
2008 Windows Server 2008 3.0 GB
2003 Windows Server 2003 0.6 GB
 
The following users thanked this post: Joseph1

Offline Lindley

  • Regular Contributor
  • *
  • Posts: 240
  • Country: gb
Re: PIC Microchip - Assembler - Survive
« Reply #2 on: June 06, 2026, 09:33:08 am »
Still got V8.92 on our W11 Pro and it works ok, as did PickitV2.61 when we last used it some time ago .

We also have the free  PickitMinus ( for Pk2 and Pk3 )  which supports lots more of the newer chips than the original program.
https://github.com/jaka-fi/PICkitminus



Edit  - screenshot added  -

« Last Edit: June 06, 2026, 10:25:13 am by Lindley »
 
The following users thanked this post: westfw, Joseph1

Offline Joseph1Topic starter

  • Contributor
  • Posts: 18
  • Country: au
Re: PIC Microchip - Assembler - Survive
« Reply #3 on: June 06, 2026, 04:46:44 pm »
Many thanks for the promptreply that I expected.

I tried Pickitminus on windows 10 home & it worked.I'm bbout to try on windows 11.

One small thing to ask. When reading or writing from pickitminus does the Pickitminus GUI gets inactive in that processing time period? Please see the attachment.

« Last Edit: June 06, 2026, 04:48:27 pm by Joseph1 »
 

Offline jaka

  • Contributor
  • Posts: 15
  • Country: fi
Re: PIC Microchip - Assembler - Survive
« Reply #4 on: June 06, 2026, 07:16:31 pm »
PICkitminus GUI disables most of the controls during programming operations, on purpose. But it allows to stop the operation, unlike the original Microchip version which just freezes during programming operations.

Is there some control you would like to be active during programming operation? I think most of the controls would just mess things up if you touch them during programming.
 

Offline Lindley

  • Regular Contributor
  • *
  • Posts: 240
  • Country: gb
Re: PIC Microchip - Assembler - Survive
« Reply #5 on: June 06, 2026, 07:52:47 pm »
Many thanks for the promptreply that I expected.

I tried Pickitminus on windows 10 home & it worked.I'm bbout to try on windows 11.

One small thing to ask. When reading or writing from pickitminus does the Pickitminus GUI gets inactive in that processing time period? Please see the attachment.


Think your problem there is that as the message in RED says, the chip is "Code Protect -ed"  meaning the chip you are trying to read has been locked to stop just anyone reading the code, so the PK2 is probably just stuck there waiting for you to terminate it .

You should be able to erase the chip if you want to reprogram it with some other code, but of course the original code is lost.

Just tested both PK2 and PK2Minus and both read and write the chips, taking about 5 seconds as the green bar goes across its screen.



« Last Edit: June 06, 2026, 07:55:16 pm by Lindley »
 
The following users thanked this post: Joseph1

Offline dobsonr741

  • Frequent Contributor
  • **
  • Posts: 982
  • Country: us
Re: PIC Microchip - Assembler - Survive
« Reply #6 on: June 06, 2026, 07:59:14 pm »
The cleanest way to get a repeatable old tools building off the IDE is to put the toolchain in a Docker image, then call the compiler in batch mode with docker run. Build the image once and you get the exact same MPLAB X + XC8 versions on Windows, macOS, or Linux — no local install, no "but worked on my other machine."
 
Use a Dockerfile like the one below to bake in MPLAB, etc. in:

Code: [Select]
FROM ubuntu:20.04

# Build arguments for tool versions
ARG MPLABX_VERSION=6.20
ARG XC8_VERSION=2.46

# Set environment variables from build arguments
ENV MPLABX_VERSION=${MPLABX_VERSION}
ENV XC8_VERSION=${XC8_VERSION}

RUN echo "MPLABX Version: $MPLABX_VERSION"
RUN echo "XC8 Version: $XC8_VERSION"

# Set non-interactive mode for tzdata
ENV DEBIAN_FRONTEND=noninteractive

# Add i386 architecture for Microchip tools compatibility
RUN dpkg --add-architecture i386

# Install necessary dependencies including i386 libraries
RUN apt-get update -qq && apt-get install -y -qq \
    wget \
    tar \
    sudo \
    make \
    gcc \
    libusb-1.0-0 \
    libc6:i386 \
    libx11-6:i386 \
    libxext6:i386 \
    libstdc++6:i386 \
    libexpat1:i386 \
    && rm -rf /var/lib/apt/lists/*

# Install java
RUN apt update && apt install -y default-jre

# Download and install MPLAB X
RUN wget -q --referer="https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide" \
    -O /tmp/MPLABX-v${MPLABX_VERSION}-linux-installer.tar \
    "https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/MPLABX-v${MPLABX_VERSION}-linux-installer.tar" \
    && cd /tmp \
    && tar -xf MPLABX-v${MPLABX_VERSION}-linux-installer.tar \
    && mv "MPLABX-v${MPLABX_VERSION}-linux-installer.sh" mplabx \
    && chmod +x mplabx \
    && USER=root ./mplabx --nox11 -- --unattendedmodeui none --mode unattended --ipe 0 --collectInfo 0 \
       --installdir /opt/mplabx --8bitmcu 1 --16bitmcu 1 --32bitmcu 0 --othermcu 0 \
    && rm -rf /tmp/mplabx /tmp/MPLABX-v${MPLABX_VERSION}-linux-installer.tar

# Download and install XC8 compiler 
RUN wget -nv -O /tmp/xc8 \
    "https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc8-v${XC8_VERSION}-full-install-linux-x64-installer.run" \
    && chmod +x /tmp/xc8 \
    && /tmp/xc8 --mode unattended --unattendedmodeui none --netservername localhost \
       --LicenseType FreeMode --prefix "/opt/microchip/xc8/v${XC8_VERSION}" \
    && rm -f /tmp/xc8

# Set up paths
ENV PATH="/opt/mplabx/mplab_platform/bin:/opt/microchip/xc8/v${XC8_VERSION}/bin:${PATH}"

# Set working directory
WORKDIR /workspace

# Default command shows XC8 version - users can override
CMD ["xc8-cc", "--version"]
 
The following users thanked this post: Joseph1

Offline Joseph1Topic starter

  • Contributor
  • Posts: 18
  • Country: au
Re: PIC Microchip - Assembler - Survive
« Reply #7 on: June 07, 2026, 04:35:05 pm »
PICkitminus GUI disables most of the controls during programming operations, on purpose. But it allows to stop the operation, unlike the original Microchip version which just freezes during programming operations.

Is there some control you would like to be active during programming operation? I think most of the controls would just mess things up if you touch them during programming.

Wow many thanks. Now I realize that why it is disables. Your Pickitminus works perfectly. Even the Bandgap rewrite issue is corrected on your version.
I'm a bulk writer.I program large amount of PICs.

This is my procedure.

*Import the Hex File
*Write the HEX file
*Read back the HEX & confirms all bits are zero.

Even if there 500+ PICs in line I do above. Anywaye thanks for the wonderful software with your hardwork. We can continue the work we done so far with new windows with your software...
« Last Edit: June 07, 2026, 04:39:11 pm by Joseph1 »
 
The following users thanked this post: Lindley

Offline Lindley

  • Regular Contributor
  • *
  • Posts: 240
  • Country: gb
Re: PIC Microchip - Assembler - Survive
« Reply #8 on: June 07, 2026, 07:21:46 pm »
PICkitminus GUI disables most of the controls during programming operations, on purpose. But it allows to stop the operation, unlike the original Microchip version which just freezes during programming operations.

Is there some control you would like to be active during programming operation? I think most of the controls would just mess things up if you touch them during programming.

Wow many thanks. Now I realize that why it is disables. Your Pickitminus works perfectly. Even the Bandgap rewrite issue is corrected on your version.
I'm a bulk writer.I program large amount of PICs.


This is my procedure.

*Import the Hex File
*Write the HEX file
*Read back the HEX & confirms all bits are zero.

Even if there 500+ PICs in line I do above. Anywaye thanks for the wonderful software with your hardwork. We can continue the work we done so far with new windows with your software...


Thanks, but the PicKitMinus is not ours, just meant that we use it, the credit is down to the author - jaka-fi .   https://github.com/jaka-fi/PICkitminus
 

Offline jaka

  • Contributor
  • Posts: 15
  • Country: fi
Re: PIC Microchip - Assembler - Survive
« Reply #9 on: June 08, 2026, 07:27:59 am »
PICkitminus GUI disables most of the controls during programming operations, on purpose. But it allows to stop the operation, unlike the original Microchip version which just freezes during programming operations.

Is there some control you would like to be active during programming operation? I think most of the controls would just mess things up if you touch them during programming.

Wow many thanks. Now I realize that why it is disables. Your Pickitminus works perfectly. Even the Bandgap rewrite issue is corrected on your version.
I'm a bulk writer.I program large amount of PICs.


This is my procedure.

*Import the Hex File
*Write the HEX file
*Read back the HEX & confirms all bits are zero.

Even if there 500+ PICs in line I do above. Anywaye thanks for the wonderful software with your hardwork. We can continue the work we done so far with new windows with your software...


Thanks, but the PicKitMinus is not ours, just meant that we use it, the credit is down to the author - jaka-fi .   https://github.com/jaka-fi/PICkitminus

Yep, that's me  :)
 
The following users thanked this post: Joseph1, dan1138


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->