Page 2 of 2
Re: Problem to build a project from Version8 [not solved]
Posted: Tue Nov 11, 2025 10:07 am
by Jorg_Guldner
Hello matrix team,
is it possible to look at this situation what happens there?
May be, that it was simple bug to repair.
Jorg
Re: Problem to build a project from Version8 [not solved]
Posted: Tue Nov 11, 2025 10:41 am
by medelec35
Hi Jorg.
If 2 x UARTS stop your project from compiling you could consider UART Software Timer.
I have found it to work great with both RX and TX
Jorg_Guldner wrote: ↑Thu Oct 23, 2025 5:37 pm
If both uarts are disabled in the program, the compiler stops likewise?
Tat is because as soon as a component is added to the 2D or 3D panel, space will be automatically allocated for it.
Re: Problem to build a project from Version8 [solved]
Posted: Wed Nov 12, 2025 4:30 pm
by Jorg_Guldner
Hello matrix team,
I get it now compiling:
Boot segment write protect & Boot segment protect where enabled. This setup causes the memory problems. Are both disabled, then it compiles without errors.
In FC8 are both enabled if you choose the chip. This old compiler have no problems with this setup. For the newer compiler I found in a forum:
"Again, V2.00 has a problem in CODE GENERATION, not optimization.
the microchip 16bit architecture can deference a pointer with offset in a single instruction.
Pointer with offset can be a member of a pointer to struct, or when you pass an array to a function, because you pass the address of the first element and the compiler can't use the literal address."
"XC16 2.0 doesn't work as well as previous versions, internal changes added unnecessary bloat (the compiler forgot that it can do indirect addressing with an offset, and instead calculates the actual address every time. all pointers, including arrays, are affected)"
Jorg
Re: Problem to build a project from Version8 [not solved]
Posted: Wed Nov 12, 2025 4:42 pm
by Steve-Matrix
That could be the issue. The free version of the underlying XC16 compiler may not be optimised and be adding unnecessary bloat to the HEX file.
I think some of our users have used the professional version of XC16 with Flowcode with success, but I have never tried it myself.