PIC18F15Q41

For general Flowcode discussion that does not belong in the other sections.
BenR
Matrix Staff
Posts: 2065
http://meble-kuchenne.info.pl
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 549 times
Been thanked: 735 times

Re: PIC18F15Q41

Post by BenR »

Hello Dirk,
It seems that the LUT component is not working either. Instead of a sine wave, it produces a random output. An up-down counter produces a triangular signal at the output of the PWM.
Can you post a simple project file that demonstrates this issue and we will investigate.

Since the last update (PIC_CAL_SPI.c), the compiler crashes with an error message.
What error message are you getting, again can you provide a project file and the .msg.txt file that is generated so we can investigate.

DirkB
Posts: 100
Joined: Thu Dec 10, 2020 3:55 pm
Has thanked: 1 time
Been thanked: 4 times

Re: PIC18F15Q41

Post by DirkB »

The compiler ran once without errors. After updating cal_spi.fcpx, the compiler crashes with an error message. The current project only has interrupt pins, interrupt IOC, MIDI, and digital inputs and outputs. Remapping the MIDI component only offers port C. According to the data sheet, the component can be mapped to all port pins. I will prepare a small project and post it.
I wish everyone a happy new year.

regards
Bambledrive-18F05Q41-V1.0.c:4576:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4576:18: error: (182) illegal conversion between types
int -> volatile union S1713
Bambledrive-18F05Q41-V1.0.c:4594:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4594:18: error: (182) illegal conversion between types
int -> volatile union S1713
Bambledrive-18F05Q41-V1.0.c:4616:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4616:18: error: (182) illegal conversion between types
int -> volatile union S1713
Bambledrive-18F05Q41-V1.0.c:4634:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4634:18: error: (182) illegal conversion between types
int -> volatile union S1713
(908) exit status = 1

Error returned from [xc8.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet

Autoclose turned off

medelec35
Valued Contributor
Posts: 2227
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 685 times
Been thanked: 759 times

Re: PIC18F15Q41

Post by medelec35 »

Hi Dirk.
it looks like you have not attached requested .fcfx project file.
If what you posted is not the full msg.txt file then you will need to attach that as well.
Martin

DirkB
Posts: 100
Joined: Thu Dec 10, 2020 3:55 pm
Has thanked: 1 time
Been thanked: 4 times

Re: PIC18F15Q41

Post by DirkB »

Hello Martin,

Port C is not available for patching. This applies to all PIC18FxxQ41, 14-pin, and 20-pin devices. I can only send a project file once port C is also available for patching, as my PCB is designed for port C. Please also activate port C for patching.

Thank you.

medelec35
Valued Contributor
Posts: 2227
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 685 times
Been thanked: 759 times

Re: PIC18F15Q41

Post by medelec35 »

Hi Dirk.
I don't work for Matrix anymore.
it will be Ben or Steve dealing with with any issues.
Also VC members including myself will help out when we can in our own spare time.
Martin

Post Reply