News:

;) This forum is the property of Proton software developers

Main Menu

help with proton compile error

Started by jam19857, Nov 22, 2022, 10:37 PM

Previous topic - Next topic

jam19857

The compiler won't let me generate the .hex files; It tells me that it cannot find the application PreProcessor.exe; I already uninstalled the software and reinstalled the latest version I bought Positron Compilers Setup for Josue Arenaza - 4.0.2.5-1.1.0.9 and the problem persists, could you help me to solve it?

Stephen Moss

Did you check to see if the file is actually in the folder or not?
That may help to determine if it is an installation issue (not writing the file) or something else, if it is an installation issue then it may be worth installing v4.0.3.0 to see if that copies the file over as solves the problem for you.

Bob (G8GFA)

PreProcessor.exe should be in the PDS/Includes directory.

jam19857

Thank you very much for answering, I already checked and if it is found, but the program indicates that it is not there.
I uninstalled the compiler and removed the records, then I reinstalled the purchased version and updated with the corrected version that they told me and it already compiles but the hexadeximal file does not generate it correctly, I record it in the microcontroller and it does nothing.
I checked with another compiler the chips and my microcontroller recorder and they work fine.
I don't understand what happened to the proton compiler; It was fine and suddenly it stopped working. :'(  :'(

Pepe

Have you tried doing a basic program, how to turn a LED on and off, to see if that works?

trastikata

@jam19857

Can you try compiling with the other IDE's?

jam19857

I did a test on and off a led and it doesn't work.
I installed the previous version purchased Proton Compilers Setup for Josue - 3.7.5.5-1.0.8.0 and the codes that I already had working, now do not work.
I think it's the generator log of the . hex

See_Mos

#7
I started writing how I would approach the problem using a spare Windows 7 laptop and the original editor

I wrote a simple LED flasher program and saved it in folder

 C:\Program files (x86\ProtonIDE\User Files\Test.

 When I compiled it no errors were reported but when I looked in the folder there was only the .bas file.

I used the program EVERYTHING to search for my program and found it in the following path

C:\users\Rob\AppData\Local\VirtualStore\Program Files (x86)\ProtonIDE\User Files\Test.bas

Nothing like the path that I had used so I save it in another folder in my usual path

 Local Disk (C:)\users\Rob\PDS\User\Test\Test.bas

it compiled as before and this time the usual six compilation files were where I intended them to be.

Very strange

 


John Lawton

Well done. Imagine my surprise to find such a directory on my Win7 machine too. File date June this year. I will see whether I can 'fix' it.

John

See_Mos

Thanks sdallo I have never used virtual store on this old W7 laptop so why it has suddenly done this is another Microsoft mystery

HAL

Gentlemen,

Thank you for the information.
Somehow my W7 Laptop has missed this.

I have heard that it is not possible to stop automatic updates on W10.
That may prove interesting...

Best regards
Hal

joesaliba

Quote from: HAL on Nov 24, 2022, 09:11 PMI have heard that it is not possible to stop automatic updates on W10.

Updates or non updates on Windows 10, I never had a single issue with Positron running on Windows 10!

To be fair, with any other windows I had to reformat my PC every 6 or 8 months. With Windows 10 I never did a format for more than 5 years.

Joe

jam19857

#13
Hello everyone again!!, my problem persists, it generates a file with errors that I cannot write to the microcontroller. I open a new document and it generated some code to turn a led on and off.
Then I open the program that I want to write on the microcontroller with notepad, copy and paste it into the code that was made by deleting the initial code.
I save it and compile it and it generates the hexadecimal file fine, and after several compilations it generates the problem again and I have to repeat what was written before. It is definitely a problem with the machine code file generator. this is my code.  I attach my code. My operating system is Windows 10 and I had not had any problems until today




trastikata


Dompie

I compiled your program 13 times and there is no problem on my Win 10 computer.
QuoteIt is definitely a problem with the machine code file generator..... I had not had any problems until today
.
So it is certainly not a Positron problem that just pops up with the same compiler and the same source.
I think you have a problem somewhere in Win10 but where, I don't know.

Johan

jam19857

The proton does compile it and generates a hexadecimal file, but writing it to the microcontroller physically does nothing, and the code does work. Anyway I am in the process of formatting my pc.

trastikata

Quote from: jam19857 on Nov 23, 2022, 07:17 PMI don't understand what happened to the proton compiler; It was fine and suddenly it stopped working. :'(  :'(

Quote from: jam19857 on Nov 25, 2022, 02:14 PMit generates a file with errors that I cannot write to the microcontroller.It is definitely a problem with the machine code file generator. this is my code.

Quote from: jam19857 on Nov 25, 2022, 06:22 PMThe proton does compile it and generates a hexadecimal file, but writing it to the microcontroller physically does nothing, and the code does work.

Your description of the events depicting the problem is contradicting and very confusing, could you please elaborate.

See_Mos

Sounds as if it could be the oscillator setup.

I will have a look at your code later

jam19857

#19
Thanks, I use an external 10MHz crystal and the PLL for 40MHz, timer interruption, the most curious thing is that it generates a new code to turn a led on and off and sometimes it generates the hex and other times it doesn't. It's very strange.

The code is for the use of a 16x32 led p10 module with a 1/4 scan.