Communication program for AFX
Started by
Roeoender
, Dec 27 2002 07:13 PM
8 replies to this topic
#1
Posted 27 December 2002 - 07:13 PM
Hi to all
I used those few free days to make a new program for AFX2.0.
Generally I made a program that receives data at 38400 baud,
so I can use my calc as a diskette at school.
I have no problems with transmitting data to the calc,
but it seems that my PC-Calc cable is powered by the PC's RTS pin
when doing Calc->PC transfer (that is RTS must be voltage HI, active 0).
I wonder if anyone else had the same problem.
To test if do the following:
1. set your PC serial communication program (e.g. Hyper Term)
COM settings to: 38400, 8bit, no partity, 1 stop bit, no flow control.
2. Run Calc's ZX945 hidden menu, and choose:
TRANS/VCCI Spec Test/Send (keys: 5 2 1)
or
COM Check/Send (keys: 5 1 1)
Both test probably should output characters on your PC.
And this doesn't work with my cable.
Please report your results.
Right now I am only able to receive data from the calc by using
rather unique programs, like: comDebug (Windmill software) and
BradN's ComRecv (from COMSEND package), those programs allow
to manually change the state of RTS line.
Or maybe someone knows how to change the default COM's RTS state?
It is important because many file transfer protocols need
(like x/y/zmodem, kermit etc.) 2 way communcation for either
upload/download.
Anyway my program right now is able to download any data <64Kb to
the calc's RAM, where can I upload it? (where is the FileSharing area?)
Roeoender
my current email: wosik AT inetia.pl (drzodrzo AT kki.net.pl is dead)
I used those few free days to make a new program for AFX2.0.
Generally I made a program that receives data at 38400 baud,
so I can use my calc as a diskette at school.
I have no problems with transmitting data to the calc,
but it seems that my PC-Calc cable is powered by the PC's RTS pin
when doing Calc->PC transfer (that is RTS must be voltage HI, active 0).
I wonder if anyone else had the same problem.
To test if do the following:
1. set your PC serial communication program (e.g. Hyper Term)
COM settings to: 38400, 8bit, no partity, 1 stop bit, no flow control.
2. Run Calc's ZX945 hidden menu, and choose:
TRANS/VCCI Spec Test/Send (keys: 5 2 1)
or
COM Check/Send (keys: 5 1 1)
Both test probably should output characters on your PC.
And this doesn't work with my cable.
Please report your results.
Right now I am only able to receive data from the calc by using
rather unique programs, like: comDebug (Windmill software) and
BradN's ComRecv (from COMSEND package), those programs allow
to manually change the state of RTS line.
Or maybe someone knows how to change the default COM's RTS state?
It is important because many file transfer protocols need
(like x/y/zmodem, kermit etc.) 2 way communcation for either
upload/download.
Anyway my program right now is able to download any data <64Kb to
the calc's RAM, where can I upload it? (where is the FileSharing area?)
Roeoender
my current email: wosik AT inetia.pl (drzodrzo AT kki.net.pl is dead)
#2
Posted 28 December 2002 - 05:22 AM
Cool!
I was wondering whether you were kidnapped or something.
You know, it's hard for a company like CASIO to have such a hard competitor like your CAZIO Elektrinics.
Anyway, I'll test your program as soon as I'm back.
And my website is there for you if you want to upload anything not more than 3 MB. Mail me if you want so I give you the loggin name/password.
I was wondering whether you were kidnapped or something.
You know, it's hard for a company like CASIO to have such a hard competitor like your CAZIO Elektrinics.
Anyway, I'll test your program as soon as I'm back.
And my website is there for you if you want to upload anything not more than 3 MB. Mail me if you want so I give you the loggin name/password.
#3
Posted 28 December 2002 - 08:15 PM
ah roeneder
you've used brad or mine comm methods !
you've said you wouldn't use other peoples methods !
you've used brad or mine comm methods !
you've said you wouldn't use other peoples methods !
#4
Posted 28 December 2002 - 08:17 PM
for information, with my max232 equiped cable and my fxi cable, hyperterm receives characters, allways the same
for more informlation on afx comm port (really great thing !), just look at my website, my methods are really good
for example, i've creted 2 programs to send the rom and the ram with the comm port to Mastermage's program (originaly mpade for Sysxpl) names Sysxpl Receiver available on Whyp's website : www.graphx-prog.fr.st
for more informlation on afx comm port (really great thing !), just look at my website, my methods are really good
for example, i've creted 2 programs to send the rom and the ram with the comm port to Mastermage's program (originaly mpade for Sysxpl) names Sysxpl Receiver available on Whyp's website : www.graphx-prog.fr.st
#5
Posted 28 December 2002 - 08:53 PM
Ah Superna,
You are wrong :-)
I simply disassembled 0x02000 (ZX945 test menu) segment of casio's ROM.
Lots of work, but at least my routines do everything just as the CASIO do.
Moreover I have no problems with my routines I have problem on the PC side with setting RTS pin LOW in programs like HyperTerm. I have no problems with communicating with programs that are able to change the state of RTS pin.
Anyway,
Could at least 1 person do the ZX945 TRANS test I mentioned in my previous post?
Roeoender
You are wrong :-)
I simply disassembled 0x02000 (ZX945 test menu) segment of casio's ROM.
Lots of work, but at least my routines do everything just as the CASIO do.
Moreover I have no problems with my routines I have problem on the PC side with setting RTS pin LOW in programs like HyperTerm. I have no problems with communicating with programs that are able to change the state of RTS pin.
Anyway,
Could at least 1 person do the ZX945 TRANS test I mentioned in my previous post?
Roeoender
#6
Posted 29 December 2002 - 04:30 AM
roeoender:
my homemade max232 cable can receive stuff in hyperterminal from the test mode just fine. I don't think my setup depends on either DTR or RTS to work.
Glad someone made use of my comrecv at least
Side note: I made comrecv because hyperterminal does evil things to raw data received - it's impossible to log raw data with it without losing some bytes.
my homemade max232 cable can receive stuff in hyperterminal from the test mode just fine. I don't think my setup depends on either DTR or RTS to work.
Glad someone made use of my comrecv at least
Side note: I made comrecv because hyperterminal does evil things to raw data received - it's impossible to log raw data with it without losing some bytes.
#7
Posted 29 December 2002 - 02:35 PM
yea
it's true brad
the hyperterminal looses data
i didn't disassembled the menu but my method works quite good
sorry if it's not casio's way....
i'll nearly start my program sysg100 with flash and file transfert ability and i'll tell you if it works !
note that my method is similar but i don't use the fucking 09h port but the 54h and 55h port to see bytes transfer status and it works better and faster
note that i found much more speeds, juste take a look onto my website
please
just do it
for chance, it's in english !
it's true brad
the hyperterminal looses data
i didn't disassembled the menu but my method works quite good
sorry if it's not casio's way....
i'll nearly start my program sysg100 with flash and file transfert ability and i'll tell you if it works !
note that my method is similar but i don't use the fucking 09h port but the 54h and 55h port to see bytes transfer status and it works better and faster
note that i found much more speeds, juste take a look onto my website
please
just do it
for chance, it's in english !
#8
Posted 29 December 2002 - 02:40 PM
i made the test menu trans, and the calc sends H bytes :
#9
Posted 30 December 2002 - 12:24 AM
Thank you for the interest, now it is clear to me
that I (and probably all people from Poland) have
a cable that is not "normal" CASIO cable.
But Look at my next thread!
(Good to see BradN here)
Roeoender.
that I (and probably all people from Poland) have
a cable that is not "normal" CASIO cable.
But Look at my next thread!
(Good to see BradN here)
Roeoender.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users