For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.
This might cause more problems than it fixes because of the Ethernet but, here is a possible band aid.
Add the following to the top box in the supplementary code window:
#define TXIF TX1IF
The real solution will probably have to be done by Matrix Multimedia unless someone else has any ideas on how to fix this.
Good luck.
I have another idea to solve this. The problem is the name of the register bit TXIF. The Ethernet uses that bit name on this chip and the UART uses TX1IF. The file PIC_CAL_UART.c uses the bit name TXIF for the UART which works for all the micros except for this one it seems. So instead of using the name of the bit we could change it to use the bit position (which is 4). So you could find and replace TXIF with pir1.4 in that file. However, if there are any micros where TXIF is not in position bit 4 then it would fail and not even give you an error message and I don't have the data sheets on all the micros to check for this. At least doing it this way you can still use the Ethernet if you want. If you try this method, do not use the #define suggested in the above post.
There is no config data embedded into the program you posted above. Are you using an external application to setup the config? If your not setting up the config then the device will probably not run. There shouldn't be anything causing the UART to fail on this device but I could be missing something.