Page 1 of 2
PIC18F15Q41
Posted: Mon Mar 10, 2025 5:19 pm
by DirkB
Hello Martin, hello Ben,
anny news about the PIC18F04/05/06/14/15/16Q41 family?
As as already written, it is very urgent for some of my company's
products!
thanks
Dirk
Re: Suggestions for new microcontroller support
Posted: Mon Mar 10, 2025 5:51 pm
by medelec35
Hi Dirk.
UART, PWM and interrupts work well.
There is an issue with I2C so you will need to use I2C in SW mode.
Have you tried using 18F15Q41?
Re: Suggestions for new microcontroller support
Posted: Wed Mar 12, 2025 9:26 am
by DirkB
Hello Martin,
yes, but there are 2 error messages. I have used the uart as midiinterface. Is that a problem?
::: error: (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
(908) exit status = 1
Error returned from [xc8.exe]
And,
I can't compile without midi components. I have extendet cpu disabled!
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_UART.c:585:17: error: (255) not a member of the struct/union ""
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_UART.c:585:20: error: (182) illegal conversion between types
int -> volatile union S1746
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_UART.c

28: error: (255) not a member of the struct/union ""
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_UART.c

29: error: (182) illegal conversion between types
volatile union S1770 -> unsigned char
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_UART.c

29: error: (181) non-scalar types can't be converted to other types
(908) exit status = 1
Error returned from [xc8.exe]
In the simulation the components work!
Dirk
PIC18F15Q41
Posted: Wed Mar 12, 2025 2:36 pm
by medelec35
Hi Dirk, before I will investigate,
Can you Run component updates but change Files in-use to Full database.
Then reload your project and try again.
If you still have an issue then can you attach your project .fcf and . c files.
Re: Suggestions for new microcontroller support
Posted: Wed Mar 12, 2025 5:45 pm
by DirkB
Hello Martin,
here is my test project. An update has yielded nothing.
Thank you
Dirk
Re: Suggestions for new microcontroller support
Posted: Tue Mar 18, 2025 4:49 pm
by medelec35
Hi Dirk.
I have moved some of the latests posts to the general sections as was hijacking Suggestions for new microcontroller support section.
Can you try the attached.
PWM is working for me.
Re: PIC18F15Q41
Posted: Wed Mar 26, 2025 5:00 pm
by medelec35
Hi Dirk.
Ben has sorted the SPI for q41 devices.
I2C still needs to be software mode.
PWM, Timers, UART and interrupts work.
Anything else?
Re: PIC18F15Q41
Posted: Sat Mar 29, 2025 1:42 pm
by medelec35
Hi Dirk.
DirkB wrote: ↑Fri Mar 28, 2025 4:28 pm
Unfortunately there is an error message.
::: error: (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
(908) exit status = 1
Where can I switch it on and off? Where can I switch it on and off? I have not switched it on. And can I expect
the PIC18F04/05/06 - 14/15/16Q41 family to be ready soon?
Thanks
Dirk
I will See if I can sort this issue on Monday, when I am next at work
Re: PIC18F15Q41
Posted: Wed Apr 02, 2025 7:35 am
by medelec35
Hi Dirk.
Configuration setting should now be working well.
The fdcx updates have now been push on to the database and are available to download via Help >Library Updates. Change Files in-use to Full database.
Re: PIC18F15Q41
Posted: Thu Apr 17, 2025 4:36 pm
by DirkB
Hi Martin,
with UART, PWM and i2c software the compiler now runs without errors.
Is i2c software slower if only data is sent and when will i2c hardware be ready?
many thanks
Dirk