Page 1 of 1
Port J ???
Posted: Thu Aug 20, 2009 11:38 am
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?
Re: Port J ???
Posted: Thu Aug 20, 2009 11:50 am
by Benj
Hello
Here is an updated FCD file. Please can you confirm if it fixes your problem.
Re: Port J ???
Posted: Thu Aug 20, 2009 12:03 pm
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"
Re: Port J ???
Posted: Thu Aug 20, 2009 12:18 pm
by Benj
Ok I think I have fixed it now.
Re: Port J ???
Posted: Thu Aug 20, 2009 12:24 pm
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:
Re: Port J ???
Posted: Thu Aug 20, 2009 2:46 pm
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;