How long should it take to update the ZX firmware? I used the IDE option with zx24_1-1-6.zvm.
My red LED is constant, my green LED has been flashing slowly and the IDE has been frozen for several minutes now.
UPDATE: After 10 minutes or so I disregarded the dire warnings of doom, powered down the ZX-24 and used the three-finger salute on the IDE.
Fortunately the ZX-24 was still running the factory test app.
I tried updating the ZX firmware from the command line with the same result. The red LED is constant, the green LED is flashing and there is a single dot in the DOS window. Here's hoping it will survive another power cycle.
UPDATE2: No such luck. The second power cycle scrambled its brains. Here's hoping the emergency rescue procedure works.
BTW, is there a copy of the factory test application available for download? I always used the one from NetMedia as a test after glitches like this.
Updating ZX firmware
The firmware update seems to flash the green LED at a constant rate irrespective of what is happening with the download itself. The way you know it is working it that a period appears on the IDE console for each 1% complete. There are four lines of periods with a percent count that goes something like 26%, 51%, 77%, 100%. These are not equal 25% portions but that doesn't really matter.
I think you have three options:
1. Retry the firmware download again. If you cannot download programs and the ZX runtime is stuck then you need to go to option 2.
2. Do an emergency update (see http://www.zbasic.net/doc/ZBasicRef/ZBasicRef92.html)
3. If the emergency update doesn't work then Don will need to help with getting you a replacement.
UPDATE: I don't get emails for your updates. So judging by your latest append, it looks like you are now on option 2. The factory installed program is somewhat similar to the first example program in the ZBasic reference. It doesn't realy matter too much what it is providing is sends debug lines to the console and flashes the LEDs.
I think you have three options:
1. Retry the firmware download again. If you cannot download programs and the ZX runtime is stuck then you need to go to option 2.
2. Do an emergency update (see http://www.zbasic.net/doc/ZBasicRef/ZBasicRef92.html)
3. If the emergency update doesn't work then Don will need to help with getting you a replacement.
UPDATE: I don't get emails for your updates. So judging by your latest append, it looks like you are now on option 2. The factory installed program is somewhat similar to the first example program in the ZBasic reference. It doesn't realy matter too much what it is providing is sends debug lines to the console and flashes the LEDs.
Mike Perks
An update normally takes several minutes. If the progress indicator is not advancing then something has gone awry.
The "Hello" program installed in manufacturing is:
The "Hello" program installed in manufacturing is:
Code: Select all
Private msg as StringVectorData({ "ZX-24 says...", " Hello, world!" })
Sub Main()
Dim j as Integer
j = 0
Do
Call Hello(j)
j = (j + 1) And 1
Loop
End Sub
Sub Hello(ByVal idx as Integer)
Debug.Print msg(idx + 1)
Call PutPin(25, 0)
Call Delay(0.5)
Call PutPin(25, 1)
Call PutPin(26, 0)
Call Delay(0.5)
Call PutPin(26, 1)
End Sub
- Don Kinzer
I'm confused by the emergency update procedure. The example in the docs reads...
If ever I get this working again would it be possible to revise zload.exe so I can pass a handle to a window on the command line that it will send % complete updates to so I can call zload.exe from my Windows application and provide a progress window. I think it makes things less confusing for end users of the applications I create.
- zload –c2 –e zvm_1-12.zpd
If ever I get this working again would it be possible to revise zload.exe so I can pass a handle to a window on the command line that it will send % complete updates to so I can call zload.exe from my Windows application and provide a progress window. I think it makes things less confusing for end users of the applications I create.
The extension should be .zvm. The update file is the same whether you use the "normal" or the "emergency" update.What is zvm_1-12.zpd?
Perhaps so. Alternatively, since the source code for zload.exe is available on your system you could integrate the code and make it look exactly like you want it to look. You can find the source code at */source/zload/zload.c where * is the directory where you installed ZBasic.[W]ould it be possible to revise zload.exe so I can pass a handle to a window on the command line...
- Don Kinzer
The emergency procedure worked and I was pleasantly suprised to see the Hello app was intact but I have to say this whole experience leaves me a bit uneasy. How often does an update fail via the IDE or command line?dkinzer wrote:The extension should be .zvm. The update file is the same whether you use the "normal" or the "emergency" update.
I have quite an assortment of jumpers with various clips but I found I had to solder a machined pin SIP socket to the SPI pads in order to make the necessary emergency connections. I am reluctant to suggest that to folks who may build my DIY applications.
I write my Windows apps using VB4-32 so I'm not sure the C code will be of much help. I will look at it.Alternatively, since the source code for zload.exe is available on your system you could integrate the code and make it look exactly like you want it to look.
So far, there has been only one other instance that I recall. Unfortunately, it is difficult, if not impossible, to ascertain what caused the failure. The emergency update procedure was implemented because it seemed likely that it would be useful from time to time.How often does an update fail via the IDE or command line?
I've used jumpers with E-Z Mini Hooks, available at Digi-Key and elsewhere. The Micro Hook might work even better.I have quite an assortment of jumpers with various clips but I found I had to solder a machined pin SIP socket to the SPI pads in order to make the necessary emergency connections.
- Don Kinzer
My mini-hooks must be less mini than yours. I guess I'll need micros for a microcontroller.dkinzer wrote:I've used jumpers with E-Z Mini Hooks, available at Digi-Key and elsewhere. The Micro Hook might work even better.
It is indeed somewhat strange that the same hardware that failed with both IDE and command line works with the emergency hookup.it is difficult, if not impossible, to ascertain what caused the failure