News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Error message compiling after re-install

Started by kcsl, Nov 24, 2024, 02:50 PM

Previous topic - Next topic

kcsl

I've had to replace my PC.

Nice clean build of Windows 10, all fully patched, installed the base version of Positron Compilers Setup - 4.0.0.4-1.1.0.3 followed by the latest corrections Update 4.0.4.7-1.1.2.1.

When I try and compile some code I was previously working on I get an error:
"For the microcontroller device chosen, 'full' Positron8 compiler versions 4.0.4.0 onwards needs to be used, and not just a corrections update to an earlier compiler version".

I uninstalled the update then the full original version and tried both again but still getting the same error message.

What have I forgotten to do?

Regards,
Joe

There's no room for optimism in software or hardware engineering.

top204

#1
Hello Joe

Make sure you installed the full Positron compilers installer, and the later paid for "upgrade", not just the free 'corrections' update to an original compile version. It will work with most devices, but newer devices were added to the "upgrade".

The 4.0.0.4 version was the original Positron compilers from 2021 (see the whats new.htm file installed with the compielrs), and there has been an upgrade since. Version 4.0.4.0 was the "upgrade" version that added a lot of new devices, so you will have that file somewhere. It is named: "Positron Upgrade 4.0.4.x-1.1.2.x.exe", where 'x' is the version of teh upgrade that wa purchased at the time, and all future upgrades add the devices as well.

A simple way to tell if you have the paid for "upgrade" is to look for the "bin8" folder here:

"C:\Program Files (x86)\ProtonIDE\PDS\Includes\bin8\"

And that it contains the "MpasmP.exe" file.

If it does not exist, it is the original Positron compilers that do not support the new devices, and will need the "upgrade" installed for any new device ".ppi" files.

In all the messages and in the "What's New.htm" file, I add the text:

QuoteNote....
A corrections update will not add the new devices from the 4.0.4.0 and 1.1.1.7 "upgrade". It will give an error message if a new device is tried on an earlier Positron compiler version.

Regards
Les

kcsl

Hi Les,
Thanks for replying.

This is the first time I've re-installed a computer for a very long time.

I searched and can't find "MpasmP.exe" anywhere and I don't have a Bin8 sub-folder in the Includes folder.
I've just installed Positron on a Laptop that has never had any of the compilers installed and I'm getting the same problem on that.

These are all the Positron files I have... am I missing one ?
There's no room for optimism in software or hardware engineering.

top204

Hello Joe

Did you purchase an "upgrade" for £25.00 at any time?

If so, you will need to run the upgrade installer for the new devices, then run the "corrections update" over that.

The "upgrade" added the new devices that needed a different assembler and files, that were added to the original Positron compilers.

Regards
Les

kcsl

Hi Les,

To be honest, I don't remember.
I have been happily working with the new PIC devices, until my PC blew up and I had to setup a new one.

However, if the file I need isn't in the list in the screen shot, then either I've lost it or I never purchased it.
I'll send you the £25 to your PayPal account in a minute.

Kind regards,
Joe
There's no room for optimism in software or hardware engineering.

top204

#5
If you were working with the devices before your machine went pop, then you did purchase it.

I will send a message to you with the download link of the "upgrade".

Do not add any free "updates", until you have installed the upgrade.


Also, to make sure your original installer installed correctly, compile one of the samples for a PIC16F877 device, and after compilation, press the F2 button to view the assembler code. In the header text of the assembler code, you will see your ID and the compiler version. If it is not there, the installer did not install correctly, and it is operating as the free "sample" version of the compiler with limitations. So it will need to be unistalled and re-installed.

Regards
Les

top204

Many thanks for your donation Joe. It is much appreciated.

Best regards
Les