MCP23017 Flowcode 7 problem

A forums to allow resolved bugs and problems with Flowcode v7 to be stored and marked as resolved.

Moderator: Benj

radist73
Posts: 36
Joined: Mon Dec 22, 2014 10:04 pm
Location: TALLINN
Has thanked: 5 times
Been thanked: 2 times
Contact:

MCP23017 Flowcode 7 problem

Postby radist73 » Tue Sep 20, 2016 4:00 pm

Hello,
Please help, mcp23017 test program works fine on Flowcode v5 and v6, but hasnt work on v7, Program stop working after I2C master component macro TransmitByte. Simulation in console show that all ok.
I use PIC18F2620, v6 program works fine.
New patch for Flowcode7 today installed, no result for this problem.
Attachments
2620v6_test1.fcfx
v6 program works fine
(7.38 KiB) Downloaded 116 times
2620_i2ctest.fcfx
v7 program
(9.18 KiB) Downloaded 112 times

radist73
Posts: 36
Joined: Mon Dec 22, 2014 10:04 pm
Location: TALLINN
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: MCP23017 Flowcode 7 problem

Postby radist73 » Wed Sep 21, 2016 7:16 am

Hello,
With updated ModbusMaster component http://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=17514&p=73930&hilit=modbus#p73930 my project with Modbus and I2C MCP23017 works fine on Flowcode v6.
In Flowcode v7 MCP23017 not working.
Any ideas? Thanks!

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

Re: MCP23017 Flowcode 7 problem

Postby Benj » Wed Sep 21, 2016 10:45 am

Hello,

You have the "Extended CPU" Configuration setting set to enabled, Change this to disabled and hopefully your program should run correctly using v7.

Let us know how you get on.
These users thanked the author Benj for the post (total 2):
radist73 (Wed Sep 21, 2016 1:28 pm) • medelec35 (Wed Sep 21, 2016 1:31 pm)
Rating: 10%
 

radist73
Posts: 36
Joined: Mon Dec 22, 2014 10:04 pm
Location: TALLINN
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: MCP23017 Flowcode 7 problem

Postby radist73 » Wed Sep 21, 2016 1:28 pm

Works fine! Thank you for help!
These users thanked the author radist73 for the post:
Benj (Wed Sep 21, 2016 4:03 pm)
Rating: 5%