Port J ???

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times

Port J ???

Post by beambase »

I am programming a 18F8490 that has Port J. But in the Flowcode you can only select Port A > Port I. Port I does not exist on the 18F8490.
Any fix for this?

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: Port J ???

Post by Benj »

Hello

Here is an updated FCD file. Please can you confirm if it fixes your problem.
Attachments
18F8490.fcd
(11.26 KiB) Downloaded 256 times

beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times

Re: Port J ???

Post by beambase »

no... the problem is nowthat if I use a dialouge box to set a connection to Port J... I can't. The dialouge box stille shows Port A > I and when I i selected, a diolouge shows saying that "Port I does not exist on this device"

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: Port J ???

Post by Benj »

Ok I think I have fixed it now.
Attachments
18F8490.fcd
(11.26 KiB) Downloaded 269 times

beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times

Re: Port J ???

Post by beambase »

Looks good in Flowcode but when compiling I get the following errors:



Panel8490b.c(573:2): error: unknown identifier 'trisi'
Panel8490b.c(573:2): error: invalid operand 'trisi'
Panel8490b.c(573:8): error: failed to generate expression
Panel8490b.c(574:13): error: unknown identifier 'porti'
Panel8490b.c(574:13): error: invalid operand 'porti'
Panel8490b.c(574:19): error: failed to generate expression
Panel8490b.c(574:19): error: invalid operand '& '
Panel8490b.c(574:27): error: failed to generate expression
Panel8490b.c(574:27): error: invalid operand '=='
Panel8490b.c(574:9): error: failed to generate expression
Panel8490b.c success

failure

Return code = 1

Flowcode was unable to compile the flowchart's C code due to the following errors:

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: Port J ???

Post by Benj »

Hello

Have you changed the registers from porti to portj?

I just created a simple test program to output 0 to port j and the code compiled correctly.

Here is the compiled C code.

Code: Select all

	//Output
	//Output: 0 -> PORT J
	trisj = 0x00;
	portj = 0;

Post Reply