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?
Port J ???
Moderator: Benj
- 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 ???
Hello
Here is an updated FCD file. Please can you confirm if it fixes your problem.
Here is an updated FCD file. Please can you confirm if it fixes your problem.
- Attachments
-
- 18F8490.fcd
- (11.26 KiB) Downloaded 257 times
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: Port J ???
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"
- 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 ???
Ok I think I have fixed it now.
- Attachments
-
- 18F8490.fcd
- (11.26 KiB) Downloaded 270 times
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: Port J ???
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:
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:
- 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 ???
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.
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;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