News:

Let's find out together what makes a PIC Tick!

Main Menu

Unable to find with Assembler program

Started by Fanie, Nov 25, 2024, 01:46 PM

Previous topic - Next topic

Fanie

I've ordered a few of the 16F17126 pics and decided to give it a trial run in the IDE...
It returns the error message below.
I'm sure it's an oversight om my part.
Looks like it does not find the part's include file - I have the latest upgrade installed (Thank you Les !)
If I change to another micro previously supported it compiles correctly.
I will be thankful if someone can help resolve this.

top204

Compiler version 4.0.2.7 will not operate with the new devices because it uses a different assembler program for them.

Make sure you have the latest compiler version and make sure you have the "bin8" folder in the folder: "C:\Program Files (x86)\ProtonIDE\PDS\Includes\".

If not, you will need to use a newer Positron compiler.

The newer devices are quite different to some of the older devices, so the compiler needed quite a lot of changes made to it for them.

Fanie

#2
Thank you Les,

The bin8 folder is there with 3 files in it.

What is weird is I have installed Positron 4.0.3.3-1.1.1.5.exe

And I have installed 4.0.4.9-1.1.2.3.exe


But when I run the Positron, it shows   Proton IDE 2.0.3.3

On this PC it shows the logo as the old green yelow red blue ball
On the other PC (I switch between them) the logo is like your avatar here.
Both show Proton IDE 2.0.3.3 in the About in the program.

John Lawton

Fanie,

I believe that the original Mechanique IDE shows the wrong compiler version for the Positron installation.  See this post: https://protoncompiler.com/index.php?msg=18485 to get the actual compiler version.

John

normnet

The about is meant to show the IDE (editor)version.  Try compiling to see the compiler version of an 8 bit Microchip for the 8 bit compiler or a 16 bit Microchip for the 16 bit compiler.


Norm

Fanie

@ Les - I have paid 44GBP for the Positron compiler, paid by my brother for me, and I have just now paid 25GBP for the upgrade. (I finally got my Paypal to work),
If more is required, please let me know so I can get up to date with the IDE.
Thank you.

top204

Many thanks Fanie.

I have sent you a message with a link to the 4.0.5.0. upgrade that adds the extra features, devices and executables.

Best regards
Les

Fanie

#7
Thank you very much Les !

I did not receive anything yet, but maybe the internet cable has a knot somewhere.

Quote from: Fanie on Nov 25, 2024, 04:44 PMOn this PC it shows the logo as the old green yelow red blue ball
On the other PC (I switch between them) the logo is like your avatar here.
Both show Proton IDE 2.0.3.3 in the About in the program.

I'm gradually migrating from an i5 (6 cores) over to a faster i7 (12 cores) PC.
The Arduino takes 20 seconds to compile and program the ESP32-S3 on the i5,
The i7 does it in 8 seconds.  It makes a huge difference if you have to program a few hundred of them.
You want to die of deadness if you have to sit and wait for something to finally complete.

top204

Hello Fanie

I sent the link as a forum message, and just in case, I have sent it again as another forum message.

Best regards
Les

Fanie


Fanie

#10
Installed, and it compiled, no errors.
The About however still show the same.

Sorry to be a pain in the butt about this.
Is this the version that it should show ?
If this is ok, then I won't worry about it.

Fanie

Oh blimey
Now this has a compile problem  :-[
Has a problem with the Xtal = 8, and the Declared Xtal = 8

Happened after the upgrade.  Before it compiled correctly.

Pepe

If you want the IDE to report the compiler version, copy the pos8.exe file to the same folder with the name App.exe

Fanie

Hi Pepe

In the Program Files(x86) folder there is only a ProtonIDE folder, and not a Positron installation.
It seems the Positron installed in the same folder as the Proton did.

The pos8.exe is in the PDS subfolder.
I copied to the ProtonIDE folder where the ProtonIDE.exe is, and it made no difference.

Fanie

Also, in the start menu show all programs, I do find the Positron separate from the Protron, but the Positron drop down arrow shows an empty space where the IDE should be, and below it a uninstall Positron link.  The link to the Positron compilers is on my desktop and I cannot get it in the Start Menu.

Pepe

#15
You have to copy it to the same folder where pos8.exe is

Fanie


Fanie

Everything compiles correctly.
I was expecting the compiler should indicate a different version, but since it doesn't, it makes no difference to what it shows, as long as it does what it should.

Stephen Moss

#18
Quote from: Pepe on Nov 26, 2024, 03:58 PMyou want the IDE to report the compiler version, copy the pos8.exe file to the same folder with the name App.exe
Are you sure that works?
I have  App.exe, App24.exe, Pos8.exe and Pos16.exe all appearing in folder ProtonIDE/PDS by default and the well known issue of the Mechanique IDE not reporting the correct version number persists.

Quote from: Fanie on Nov 27, 2024, 08:23 AMI was expecting the compiler should indicate a different version, but since it doesn't, it makes no difference to what it shows, as long as it does what it should.
Look at the top of the small window that opens when you compile to update you on the status of the compilation process, the correct version number (i.e. Pos8 V4.0.5.0) is displayed in its title bar, although it your PC is too fast/the program is short (resulting in a fast compilation) it may not be displayed long enough to see it.
Alternatively use one of the alternate IDE's listed here as they should list the correct compiler version. 


RGV250

QuoteI was expecting the compiler should indicate a different version
Look at the assembler output, it has the version and your name at the top.

Bob