Errors when generate HEX

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
jojo31
Posts: 12
Joined: Sun Jan 08, 2017 1:23 pm
Been thanked: 4 times
Contact:

Errors when generate HEX

Post by jojo31 »

Hello

I writed a basic program with LCD i2c.

No problem with simulation but when I tried to generate the HEX file, I have several errors
Errors.JPG
Errors.JPG (104.82 KiB) Viewed 2211 times
Could you have an idea about theses problems and how to resolve ?

Thnak you very much

Best regards
Attachments
Test_LCD.fcfx
(8.99 KiB) Downloaded 153 times
Last edited by jojo31 on Sat Jan 20, 2018 3:49 pm, edited 1 time in total.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: Errors when generate HEX

Post by LeighM »

Thanks for the project file.
Works on my installation.
Are you up to date with Flowcode?
and subsequent patches
http://www.matrixtsl.com/mmforums/viewt ... 63&t=19743

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Errors when generate HEX

Post by Benj »

Confirmed working for me too. As a quick workaround you can do this to solve the problem.

Click View -> Component Debugger

Tick the Expose full component tree tick box.

Use the drop down at the top of the properties window to select the LCD component inside the lcd_I2C2 component.

Set all the available pin properties to valid pins.

This in-built component is only used for simulation but if the pins are left unconnected then it generates the errors you're seeing during compilation. In the latest component file these pins are auto set to match the top level SDA pin.

Remember to untick the expose component tree tick box when you're done.

jojo31
Posts: 12
Joined: Sun Jan 08, 2017 1:23 pm
Been thanked: 4 times
Contact:

Re: Errors when generate HEX

Post by jojo31 »

Now It's better because I have updated Flowcode and I have only some warnings.
HEX file is generated.
version.JPG
version.JPG (14.61 KiB) Viewed 2194 times
Capture.JPG
Capture.JPG (69.02 KiB) Viewed 2194 times
Thank you very much for your help.

Post Reply