Formula AllCode Robot Buggy
Posted: Sun Oct 04, 2020 9:29 pm
I have found two issues regarding the buggy.
1) Compiling will fail with :
Can get around this by using update and rolling back CAL_PWM.
The update system is really great and far superior to other products i have used!
After rollback to CAL_PWM Rev1 Flowchart compiles OK.
2) The flowchart sent to target, locks the buggy up with: The time when picure of LCD was taken is 21:23 and flowchart was sent at 16:43. the battery is on 98% but wrongly showing low.
Backlight is permanently off.
My only option is to upload factory settings, to get display to work normally.
Attached flowchart was to test one random function.
Buggy was initially loaded with API_Master_Production - P4v3.hex
1) Compiling will fail with :
Code: Select all
Launching the compiler...
D:\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat "All code buggy test1" "D:\FC Testing\" "33EP256MU810"
D:\FC Testing>xc16-gcc -c -mcpu="33EP256MU810" -omf=coff -funsigned-char -fno-short-double -Os -I"D:\Common\Compilers\pic16\batchfiles\..\support\h" -I"D:\Common\Compilers\pic16\batchfiles\" -std=gnu99 "All code buggy test1".c -o "All code buggy test1".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:643:0,
from All code buggy test1.c:1763:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_SetDuty8Bit_1':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:912:8: error: 'duty' undeclared (first use in this function)
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:912:8: note: each undeclared identifier is reported only once for each function it appears in
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:665:0,
from All code buggy test1.c:1763:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_SetDuty8Bit_2':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:912:8: error: 'duty' undeclared (first use in this function)
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:686:0,
from All code buggy test1.c:1763:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_SetDuty8Bit_3':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:912:8: error: 'duty' undeclared (first use in this function)
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:710:0,
from All code buggy test1.c:1763:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_SetDuty8Bit_4':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:912:8: error: 'duty' undeclared (first use in this function)
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:734:0,
from All code buggy test1.c:1763:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_SetDuty8Bit_5':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:908:8: error: 'duty' undeclared (first use in this function)
In file included from C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\includes.c:758:0,
from All code buggy test1.c:1763:
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_SetDuty8Bit_6':
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:912:8: error: 'duty' undeclared (first use in this function)
Error returned from [xc16-gcc.exe]
D:\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1
The update system is really great and far superior to other products i have used!
After rollback to CAL_PWM Rev1 Flowchart compiles OK.
2) The flowchart sent to target, locks the buggy up with: The time when picure of LCD was taken is 21:23 and flowchart was sent at 16:43. the battery is on 98% but wrongly showing low.
Backlight is permanently off.
My only option is to upload factory settings, to get display to work normally.
Attached flowchart was to test one random function.
Buggy was initially loaded with API_Master_Production - P4v3.hex