Page 1 of 1

Problem to build a project from Version8

Posted: Mon Oct 20, 2025 6:27 pm
by Jorg_Guldner
Hello!
I write a program under V8. Today I want to compile again under V10. The linker stops compiling. Compiling the same program under V7 compiles without errors.
The attachment file with index V8 is compiled under V7.

If I disable half of the program under V10, then it`s compiling.

Any idea, why it`s not running through?

Re: Problem to build a project from Version8

Posted: Mon Oct 20, 2025 6:38 pm
by chipfryer27
Hi

Looks like a license issue with v10.

Not all targets are free, some you need a license for.

Regards

Re: Problem to build a project from Version8

Posted: Tue Oct 21, 2025 5:26 am
by Jorg_Guldner
Thanks for the first idea, but my baught licence seems to be OK.
In the meantime I load the compiler from matrix down and install it new.
Same problem as before.


Jorg

Re: Problem to build a project from Version8

Posted: Tue Oct 21, 2025 8:47 am
by medelec35
Hi Jorg.
Sorry I don't know much about the target device you are using.
It looks like there is memory allocation issue caused by the code being too big to fit.
You can prove that by changing to a different target device with more memory and just compile to hex.
If that works then either the optimisation requires increasing or you project requires changing to make it more efficient.

Re: Problem to build a project from Version8

Posted: Tue Oct 21, 2025 10:26 am
by Jorg_Guldner
Hello Martin,
I´m using a PIC24FV32KA304.
Compiling with FC7 shows, that the program only uses about 50%. The rest is altough OK.
Written in the past with FC8 was altough OK.
In the meantime I install FC10 new, but the results with broken compiling appears again.
Any more idea?

Re: Problem to build a project from Version8

Posted: Tue Oct 21, 2025 10:55 am
by medelec35
Did you try and compile to hex with a 64K version?
Code grows bigger because people request more feature within components which come at a price of using more memory.
By trying with a larger device to compile to hex that will prove or disprove my theory.
You don't need to have the microcontroller to do that.
Since you have not supplied your project if will be difficult to assist you any further.

Re: Problem to build a project from Version8

Posted: Tue Oct 21, 2025 11:35 am
by Jorg_Guldner
Hello!
The pcb-boards are running over the whole world and I could not change the CPU in the moment.
Compiling results:
FC7 = 39% program memory 9% data memory
FC8 = 45% program memory 9% data memory
FC9 = compiler breaks
FC10 = compiler breaks
From FC8 to FC9/10 the unused code is bigger than 16K? That`s not good.

In the attachment is the program.

Jorg

Re: Problem to build a project from Version8

Posted: Tue Oct 21, 2025 1:39 pm
by medelec35
What I have noticed is you have 2 x UART components that are set to the same channel, that will take up more memory.
Also you have 2 x EB013 components which are specifically for that Eblocks module.
Have you got 2 x EB013 hardware?
If not just use the standard SPI master components.
You will need to set the CS/SS to the correct pins.

Another thing, LET take a lot of memory.
Could you use a switch component and the branches has ShowSegments within.
Take a look at the attached.
I have not touched the LUT
Jorg_Guldner wrote:
Tue Oct 21, 2025 11:35 am
I could not change the CPU in the moment.
I was only referring to Send to hex to see if it is a memory issue.
I was not suggesting to change microcontroller on your hardware.
I will look in to optomistion.
however that can cause a different set of issues if hardware is not tested thoroughly
I'm using FC11, so ignore the This project was built with a newer version.... etc.

Re: Problem to build a project from Version8

Posted: Tue Oct 21, 2025 3:12 pm
by Jorg_Guldner
Hello!
By testing something it could be, that I changed the 2 uarts to 1 channel. The 2 x EB013 I paste in an old FC7. With your changes it compiles in my FC10 complete through. I will now rework back your changes to my program and hope to get it running. What I`m wondering is, that my software written in FC7 runs without any crashes.

Thanks at first. I will report then when I managed the changes.

Jorg

Re: Problem to build a project from Version8

Posted: Thu Oct 23, 2025 5:37 pm
by Jorg_Guldner
I´ve now found the point why it`s not compiling!
If you initialize only uart 1 or 2, then all is running. If you are initialize both uarts, the compiler stops.
Can you have a look to this section?
If you place a second uart in "10a.FCD" with "init", the compiler stops too.
If both uarts are disabled in the program, the compiler stops likewise?
Remember that this happens in FC9 + FC10
Jorg