Hi Benj,
As usual very helpful.
Update done, tested and functional.
thank you,
Tiberiu
Search found 16 matches
- Mon May 20, 2019 3:02 pm
- Forum: Flowcode V8
- Topic: Component: IO Expander (MCP23017) - error?
- Replies: 4
- Views: 3140
- Sun May 19, 2019 9:11 am
- Forum: Flowcode V8
- Topic: Component: IO Expander (MCP23017) - error?
- Replies: 4
- Views: 3140
Re: Component: IO Expander (MCP23017) - error?
I solved the problem by creating my own component to control six MCP23017, via 12c bus.
But the Flowcode component still, has a problem with controlling more than 5 expanders.
And...would be nice to solve this issue.
best regards,
Tiberiu
But the Flowcode component still, has a problem with controlling more than 5 expanders.
And...would be nice to solve this issue.
best regards,
Tiberiu
- Sat May 18, 2019 6:24 pm
- Forum: Flowcode V8
- Topic: Component: IO Expander (MCP23017) - error?
- Replies: 4
- Views: 3140
Component: IO Expander (MCP23017) - error?
Hi, I build a system which is using an i2c graphical display and 6 x MCP23017 on the same i2c bus. For each expander i build a macro. First five expanders are working fine. When i initialized the sixth one, i got the bellow error message: 0: (499) undefined symbol: _FC_CAL_I2C_Master_Init_7(Flowcode...
- Sun Jul 29, 2018 6:39 pm
- Forum: Bug Reports
- Topic: compile error
- Replies: 17
- Views: 15617
Re: compile error
Hi Martin,
I didn't know that is possible to go back so easily.
With the original file compiles ok.
thanks for the tip.
Tiberiu
I didn't know that is possible to go back so easily.
With the original file compiles ok.
thanks for the tip.
Tiberiu
- Sat Jul 28, 2018 6:37 pm
- Forum: Bug Reports
- Topic: compile error
- Replies: 17
- Views: 15617
compile error
After today update i have the bellow compiling error: Microchip MPLAB XC8 C Compiler (Free Mode) V1.45 Build date: Nov 15 2017 Part Support Version: 1.45 Copyright (C) 2017 Microchip Technology Inc. License type: Node Configuration C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Float.c: 82: { ^...
- Wed Jul 04, 2018 10:08 pm
- Forum: Flowcode V8
- Topic: PIC18F26K80 compiler error
- Replies: 8
- Views: 5291
Re: PIC18F26K80 compiler error
I still have a problem, i read only "0" value from RE3 (with hardware pull-up added). The conclusion regarding RE3 pin of PIC18F26K80 (28-pin) is this: "Note: PORTE is unavailable on 28-pin devices" quote from data sheet, page 181. I found an errata where is clearly stated: if MC...
- Tue Jul 03, 2018 8:07 pm
- Forum: Flowcode V8
- Topic: PIC18F26K80 compiler error
- Replies: 8
- Views: 5291
Re: PIC18F26K80 compiler error
Because i want to understand more about this subject, from where did you get the info?
It is useful for future similar issues, maybe i'll be able to solve them faster.
Tiberiu
It is useful for future similar issues, maybe i'll be able to solve them faster.
Tiberiu
- Tue Jul 03, 2018 7:53 pm
- Forum: Flowcode V8
- Topic: PIC18F26K80 compiler error
- Replies: 8
- Views: 5291
Re: PIC18F26K80 compiler error
Hi Martin,
Your solution solved my problem.
I compared the existing header file with your uploaded header file and "trisE" register declarations are missing.
This was the reason for the error.
thank you
Your solution solved my problem.
I compared the existing header file with your uploaded header file and "trisE" register declarations are missing.
This was the reason for the error.
thank you
- Mon Jul 02, 2018 8:29 pm
- Forum: Flowcode V8
- Topic: PIC18F26K80 compiler error
- Replies: 8
- Views: 5291
PIC18F26K80 compiler error
Hi, I try to read the state of PortE 3 (input only) but i get the bellow message from the compiler. I have no issue with the other Ports. { Control module v1.0.c: 33: __config("__PROG_CONFIG", "pic18", 0x2, 0x74FE); ^ (1386) unable to determine the semantics of the configuration ...
- Mon Jan 15, 2018 6:35 pm
- Forum: 8-Bit PIC
- Topic: PIC18F26K42 compiler error
- Replies: 9
- Views: 6919
Re: PIC18F26K42 compiler error
Ok Ben,
I understand were the problem is.
I already found a replacement (18f26K80).
Thank you for explanations.
Tiberiu
I understand were the problem is.
I already found a replacement (18f26K80).
Thank you for explanations.
Tiberiu
- Mon Dec 18, 2017 5:00 pm
- Forum: 8-Bit PIC
- Topic: PIC18F26K42 compiler error
- Replies: 9
- Views: 6919
Re: PIC18F26K42 compiler error
The error code list is shorter but still there. If i can help in another way, besides compiling and posting error messages, just let me know. TMR0 was used for interrupt. Flowcode1.c: main() 98: T0CONbits.T0CS = 0; ^ (192) undefined identifier "T0CONbits" ^ (196) struct/union required 99: ...
- Thu Dec 14, 2017 10:17 pm
- Forum: 8-Bit PIC
- Topic: PIC18F26K42 compiler error
- Replies: 9
- Views: 6919
Re: PIC18F26K42 compiler error
Hi Benj, I copied the file. Without using the interrupt the code is compiled successfully. With TMR0 interrupt activated error message is: Flowcode1.c: main() 102: T0CONbits.T0CS = 0; ^ (192) undefined identifier "T0CONbits" ^ (196) struct/union required 103: T0CONbits.T0SE = 1; ^ (196) st...
- Tue Dec 12, 2017 8:46 pm
- Forum: 8-Bit PIC
- Topic: PIC18F26K42 compiler error
- Replies: 9
- Views: 6919
Re: PIC18F26K42 compiler error
Hi Benj, I tried your suggestion and the result is below: http://www.matrixtsl.com Launching the compiler... C:\Program Files (x86)\Microchip\xc8\v1.44\bin\xc8.exe --chip=18F26K42 "PIMF_amplifier_controller_v6.c" --MSGDISABLE=359,1273,1388 Microchip MPLAB XC8 C Compiler (Free Mode) V1.44 B...
- Fri Nov 17, 2017 8:19 pm
- Forum: 8-Bit PIC
- Topic: PIC18F26K42 compiler error
- Replies: 9
- Views: 6919
PIC18F26K42 compiler error
Hi, I have an issue with PIC18F26K42 when i try to compile the code. Error message is: Launching the compiler... C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe --chip=18F26K42 "PIMF_amplifier_controller_v6.c" --MSGDISABLE=359,1273,1388 (922) chip "18F26K42" not prese...
- Fri Dec 23, 2016 5:06 pm
- Forum: Flowcode V7
- Topic: Supplementary code / definitions and declarations
- Replies: 10
- Views: 7875
Re: Supplementary code / definitions and declarations
Your suggestion worked. But, the predefined eeprom data are always written from address 8, not from address 0, as expected. 00 FF FF FF FF FF FF FF 2D B6 0A 64 2D B6 0A 64 2D B6 0A 64 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF...
- Fri Dec 23, 2016 11:51 am
- Forum: Flowcode V7
- Topic: Supplementary code / definitions and declarations
- Replies: 10
- Views: 7875
Supplementary code / definitions and declarations
Hi, I have to predefine 2 constant values in the internal eeprom of a PIC18F25K50. For this i used supplementary code, definition and functions declarations where i wrote: #pragma DATA _EEPROM, 45, 182, 28, 45 The problem is at compiling: Ver3.1.c: 442: #pragma DATA _EEPROM, 45, 182, 28, 45 ^ (335) ...