4D Picaso V1 component issues

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
wardelder
Posts: 10
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 5:06 pm

4D Picaso V1 component issues

Post by wardelder »

Using my EB091 board I tried to compile a very basic program for a 4D systems LCD running the Picaso processor. The code only has one component macro: the gLCD Initialise component. I get an error in the linker.

Here is the output from the build:


Target folder: C:\Flowcode
Source name: C:\Flowcode\V9_EB091_Picaso1.fcfx
Title:
Description:
Device: PIC16.33E.EB091
Generated by: Flowcode v9.0.0.23
Date: Tuesday, January 05, 2021 20:07:00
Users: 1

NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\Program Files (x86)\Flowcode\Compilers\pic16\batchfiles\pic16_C30_comp.bat "V9_EB091_Picaso1" "C:\Flowcode\" "33EP256MU806"

C:\Flowcode>xc16-gcc -c -mcpu="33EP256MU806" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\Flowcode\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\Flowcode\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "V9_EB091_Picaso1".c -o "V9_EB091_Picaso1".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
V9_EB091_Picaso1.c: In function 'FCD_047c1_gLCD_4D_v1_Picaso1__Print':
V9_EB091_Picaso1.c:3205:2: warning: implicit declaration of function 'FCD_0ba71_Base_GLCD__Print'
V9_EB091_Picaso1.c: At top level:
V9_EB091_Picaso1.c:3977:1: warning: '_FGS' definition has been deprecated: consider migrating to #pragma config
V9_EB091_Picaso1.c:3977:1: warning: '_FOSCSEL' definition has been deprecated: consider migrating to #pragma config
V9_EB091_Picaso1.c:3977:1: warning: '_FOSC' definition has been deprecated: consider migrating to #pragma config
V9_EB091_Picaso1.c:3977:1: warning: '_FWDT' definition has been deprecated: consider migrating to #pragma config
V9_EB091_Picaso1.c:3977:1: warning: '_FPOR' definition has been deprecated: consider migrating to #pragma config
V9_EB091_Picaso1.c:3977:1: warning: '_FICD' definition has been deprecated: consider migrating to #pragma config
V9_EB091_Picaso1.c:3977:1: warning: '_FAS' definition has been deprecated: consider migrating to #pragma config
V9_EB091_Picaso1.c:3977:1: warning: '_FUID0' definition has been deprecated: consider migrating to #pragma config

Compilation successful!

Launching the linker/assembler...
C:\Program Files (x86)\Flowcode\Compilers\pic16\batchfiles\pic16_C30_link.bat "C:\Flowcode\V9_EB091_Picaso1" 33EP256MU806 33E


xc16-ld 1.26 (A)

Program Memory [Origin = 0x200, Length = 0x2aa00]

section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.text 0x200 0x456 0x681 (1665)
.const 0x656 0x2 0x3 (3)
.text 0x658 0x1208 0x1b0c (6924)
.dinit 0x1860 0x8 0xc (12)

Total program memory used (bytes): 0x219c (8604) 3%


Auxflash Memory [Origin = 0x7fc000, Length = 0x3ffa]

section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------

Total auxflash memory used (bytes): 0 (0) <1%


Data Memory [Origin = 0x1000, Length = 0x7000]

section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x1000 0 0x36 (54)

Total data memory used (bytes): 0x36 (54) <1%


Dynamic Memory Usage

region address maximum length (dec)
------ ------- ---------------------
heap 0 0 (0)
stack 0x1036 0x6fca (28618)

Maximum dynamic memory (bytes): 0x6fca (28618)

C:\Flowcode\V9_EB091_Picaso1.o(.text+0xd94):C:\Flowcode\V9_EB091_Picaso1.c: undefined reference to `FCD_0ba71_Base_GLCD__Print'

Error returned from [xc16-gcc.exe]
.

C:\Program Files (x86)\Flowcode\Compilers\pic16\batchfiles\pic16_C30_link.bat reported error code 0x1

Autoclose turned off


FINISHED
Attachments
V9_EB091_Picaso1.fcfx
(7.92 KiB) Downloaded 144 times

BenR
Matrix Staff
Posts: 1747
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 444 times
Been thanked: 604 times

Re: 4D Picaso V1 component issues

Post by BenR »

THanks for letting us know.

Hopefully should be fixed for you now.

wardelder
Posts: 10
Joined: Thu Dec 10, 2020 5:06 pm

Re: 4D Picaso V1 component issues

Post by wardelder »

It now works. I am using the Visi4D component as it gives more functionality on the 4D display I am using. Thanks for the quick fix!

Post Reply