dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 25 April 2006, 2:13 AM Post subject: |
|
|
| Quote: | | 1. If it can download to the BX-24P, is it likely to be able to download with the ZX-24? |
I would guess not. The BasicX executable file is a simple memory image, i.e. the content of the .bxb file is simply the object code that will be written to Program Memory. I assume that there is some sort of handshaking protocol used during download but I don't know what it is.
The ZBasic executable file is an extended Intel hex format. The content of the .zxb file is consists of "records" containing and address, a byte count, the some bytes to be placed in memory and a checksum, all in hexadecimal format. A record is sent to the ZX and an acknowledgement is awaited.
It is unlikely, I think, that the SPT module will be able to download to a ZX. Its developers could add that capability. If they can read C code the file zload.c tells them everything that they need to know.
| Quote: | | 2. I need to invert the TXD, RXD lines (sometimes two wrongs do make a right). I plan to use a TC7W04F for TXD & RXD. Can I omit current limiting resistors since the ZX-24 has them in the TXD & RXD circuits? |
The current limiting resistors are not necessary for operation. They are there as a simple measure of protection in case someone connects things incorrectly.
| Quote: | | 3. Do I need to invert DTR? All these inversions confuse me. |
The ZX requires three or more reset pulses at no more than 58mS intervals in order to enter the download mode. On the ZX-24, the reset pulses are generated by a rising edge on pin 3. Since the ATN signal is capacitively coupled to the reset circuitry, it should work with either polarity. It might even work with a 50% duty cycle - I haven't tried it. |
|