|
|
| Author |
Message |
tomhilton
Joined: 03 Jul 2009
Posts: 26
Location: Peoria AZ
|
|
Posted: 04 June 2010, 2:22 AM Post subject: Programming 2 ZX-24p in-line with each other |
|
|
If you have 2 ZX-24p (or ZX24n) where one is connect to a PC and the other is connected to the second serial port of the first one, is there anyway that
the code to program the second one could be passed through the first one? |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 04 June 2010, 3:16 AM Post subject: Re: Programming 2 ZX-24p in-line with each other |
|
|
| tomhilton wrote: | | [I]s there anyway that the code to program the second one could be passed through the first one? | The short answer is that there is no easy way to do that. The longer answer is that it might be possible if you were to implement the ZX download communication protocol in ZBasic code. We supply C source code for a downloader as part of the installation package and an application note describing the same which could serve as the basis upon which such code could be written. |
|
| Back to top |
|
 |
GTBecker
Joined: 18 Jan 2006
Posts: 457
Location: Cape Coral
|
|
Posted: 04 June 2010, 16:48 PM Post subject: |
|
|
My experience with wireless downloads leads me to believe it is possible to program one ZX-24 from another via COM1. As Don suggests, it will likely not be a trivial exercise, but I think one can do it.
I'd like to be able to program a ZX-24n via SPI from another ZX-24n, as well; is that possible, Don? |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 04 June 2010, 17:31 PM Post subject: |
|
|
| GTBecker wrote: | | I'd like to be able to program a ZX-24n via SPI from another ZX-24n, as well; is that possible? | No. Generally speaking, the user program for a ZX can be written to a ZX only via the serial port and using the download procedure. It is possible to program most AVR chips via the SPI lines using a special in-system programmer but doing so requires that the chip be erased first, an operation which removes the ZX bootloader from the chip. |
|
| Back to top |
|
 |
tomhilton
Joined: 03 Jul 2009
Posts: 26
Location: Peoria AZ
|
|
Posted: 07 June 2010, 3:31 AM Post subject: Cannot find the C source downloader |
|
|
I cannot find the C source downloader code that you say is loaded
with the installation package. |
|
| Back to top |
|
 |
tomhilton
Joined: 03 Jul 2009
Posts: 26
Location: Peoria AZ
|
|
Posted: 07 June 2010, 3:45 AM Post subject: |
|
|
Never Mind I found it.
Thanks |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
| Back to top |
|
 |
tomhilton
Joined: 03 Jul 2009
Posts: 26
Location: Peoria AZ
|
|
Posted: 07 June 2010, 6:12 AM Post subject: |
|
|
| Thanks Don |
|
| Back to top |
|
 |
|