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?
Problem to build a project from Version8
-
Jorg_Guldner
- Posts: 56
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Problem to build a project from Version8
- Attachments
-
- V10.msg.txt
- (3.74 KiB) Downloaded 8 times
-
- V8.msg.txt
- (3.63 KiB) Downloaded 7 times
Last edited by Jorg_Guldner on Tue Oct 21, 2025 5:16 am, edited 1 time in total.
-
chipfryer27
- Valued Contributor
- Posts: 1757
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 387 times
- Been thanked: 598 times
Re: Problem to build a project from Version8
Hi
Looks like a license issue with v10.
Not all targets are free, some you need a license for.
Regards
Looks like a license issue with v10.
Not all targets are free, some you need a license for.
Regards
-
Jorg_Guldner
- Posts: 56
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: Problem to build a project from Version8
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
In the meantime I load the compiler from matrix down and install it new.
Same problem as before.
Jorg
- Attachments
-
- Licence OK.pdf
- (122.85 KiB) Downloaded 10 times
-
medelec35
- Matrix Staff
- Posts: 2151
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 662 times
- Been thanked: 725 times
Re: Problem to build a project from Version8
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.
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.
Martin
-
Jorg_Guldner
- Posts: 56
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: Problem to build a project from Version8
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?
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?
-
medelec35
- Matrix Staff
- Posts: 2151
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 662 times
- Been thanked: 725 times
Re: Problem to build a project from Version8
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.
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.
Martin
-
Jorg_Guldner
- Posts: 56
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: Problem to build a project from Version8
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
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
- Attachments
-
- V10.fcfx
- (166.17 KiB) Downloaded 9 times
-
medelec35
- Matrix Staff
- Posts: 2151
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 662 times
- Been thanked: 725 times
Re: Problem to build a project from Version8
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
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.
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
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.
- Attachments
-
- V10a.fcfx
- (141.92 KiB) Downloaded 9 times
Martin
-
Jorg_Guldner
- Posts: 56
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: Problem to build a project from Version8
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
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
-
Jorg_Guldner
- Posts: 56
- Joined: Wed Dec 23, 2020 9:55 am
- Been thanked: 4 times
Re: Problem to build a project from Version8
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
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