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
Could you have an idea about theses problems and how to resolve ?
Thnak you very much
Best regards
Errors when generate HEX
Moderator: Benj
Errors when generate HEX
- 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.
- 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
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
Works on my installation.
Are you up to date with Flowcode?
and subsequent patches
http://www.matrixtsl.com/mmforums/viewt ... 63&t=19743
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Errors when generate HEX
Now It's better because I have updated Flowcode and I have only some warnings.
HEX file is generated.
Thank you very much for your help.
HEX file is generated.
Thank you very much for your help.