I am trying to log the SERTXD output - e.g.
sertxd ("line 75 first read ",#ldr, cr,lf)
via the com port and save it to a file on my laptop (as I have done many times before) using the AXE027 USB lead (don't have any serial ports, just USB)
I am using a PICAXE 18X, 4MHz, 256 Gosub
Serial port 9
2400 bits
8 data
No parity
1 stop
No flow control
All I get is a stream of rubbish like this
"21/01/2011 22:41:00",–]EÓªQ¬TQ<ó–]EתQ¿Q×=ó–]ETߪ”QœTQžWQçÔQ<sÏQ]ëÊ”QE”Ö]EÓªQ¬TQ<ó–]EתQ¿Q×=ó–]ETߪ”QœTQžWQçÔQ<sÏQ]ëÊ”QE”Ö]EÓªQ¬TQ<ó–]EתQ¿Q×=ó–]ETߪ”QœTQžWQçÔQ<sÏQ]ëÊ”QE”Ã
which is as if the speed or port settings are wrong .....this example is from Realterm which allows date & timestamping, these do appear correctly
Any ideas please - I'd appreciate a speedy response on this one if possible
many thanks
ps
Have tried it using F8 of the PIC programming editor and also Hyperterm and Realterm (which allows you to save the output to a file) all with the same results.
I can program the PIC OK so eliminating the lead
thanks
sertxd ("line 75 first read ",#ldr, cr,lf)
via the com port and save it to a file on my laptop (as I have done many times before) using the AXE027 USB lead (don't have any serial ports, just USB)
I am using a PICAXE 18X, 4MHz, 256 Gosub
Serial port 9
2400 bits
8 data
No parity
1 stop
No flow control
All I get is a stream of rubbish like this
"21/01/2011 22:41:00",–]EÓªQ¬TQ<ó–]EתQ¿Q×=ó–]ETߪ”QœTQžWQçÔQ<sÏQ]ëÊ”QE”Ö]EÓªQ¬TQ<ó–]EתQ¿Q×=ó–]ETߪ”QœTQžWQçÔQ<sÏQ]ëÊ”QE”Ö]EÓªQ¬TQ<ó–]EתQ¿Q×=ó–]ETߪ”QœTQžWQçÔQ<sÏQ]ëÊ”QE”Ã
which is as if the speed or port settings are wrong .....this example is from Realterm which allows date & timestamping, these do appear correctly
Any ideas please - I'd appreciate a speedy response on this one if possible
many thanks
ps
Have tried it using F8 of the PIC programming editor and also Hyperterm and Realterm (which allows you to save the output to a file) all with the same results.
I can program the PIC OK so eliminating the lead
thanks