18F887 UART - MAX 485 - USB RS485 - PC PROBLEM

Moderator: Benj

asbase
Posts: 20
Joined: Sun Jun 03, 2012 12:53 pm
Location: Malaysia
Has thanked: 13 times
Contact:

18F887 UART - MAX 485 - USB RS485 - PC PROBLEM

Postby asbase » Tue Apr 26, 2016 3:01 am

Hello, my 887 waiting data to be input from pc, after input then re output again to pc terminal(realterm) but the output length always short by 2 byte. please help.

Thank you.

kersing
Valued Contributor
Valued Contributor
Posts: 1873
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 530 times
Been thanked: 1040 times
Contact:

Re: 18F887 UART - MAX 485 - USB RS485 - PC PROBLEM

Postby kersing » Tue Apr 26, 2016 7:18 am

If your flowchart does not work as expected and you want help with it you need to post your flowchart. Our crystal ball has worn out long ago and our psychic abilities are not what they used to be either. ;-)

Use the "Upload attachment" TAB below the "Submit" button to attach files to forum messages.
These users thanked the author kersing for the post (total 2):
dazz (Thu May 12, 2016 11:49 pm) • medelec35 (Sat May 21, 2016 9:22 pm)
Rating: 11.11%
 
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

asbase
Posts: 20
Joined: Sun Jun 03, 2012 12:53 pm
Location: Malaysia
Has thanked: 13 times
Contact:

Re: 18F887 UART - MAX 485 - USB RS485 - PC PROBLEM

Postby asbase » Thu May 12, 2016 7:02 am

Simple LED Flashing work in fc5 but not in real hardware
Attachments
fc5.jpg
Simple LED Flashing work in fc5 but not in real hardware
(528.41 KiB) Downloaded 1695 times

kersing
Valued Contributor
Valued Contributor
Posts: 1873
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 530 times
Been thanked: 1040 times
Contact:

Re: 18F887 UART - MAX 485 - USB RS485 - PC PROBLEM

Postby kersing » Thu May 12, 2016 8:27 am

As requested previously, please attach your flowchart, a screen shot is not a flow chart, so we can look at it.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

asbase
Posts: 20
Joined: Sun Jun 03, 2012 12:53 pm
Location: Malaysia
Has thanked: 13 times
Contact:

Re: 18F887 UART - MAX 485 - USB RS485 - PC PROBLEM

Postby asbase » Thu May 12, 2016 9:08 am

File Attached.
Attachments
TEST.fcf
(8 KiB) Downloaded 228 times