I'm downloading using the No DTR option, through an FTDI FT232R.
Most of the time the device just doesn't respond. Performing a power cycle and trying again fixes the problem for 1 download. Sometimes, it works the first time without a hitch. The issue is not code specific, so the running application is not, as far as I can tell, interfering. To be thourough, the currently running application offers the following when it's diagnostic routine is run:
To make things more interesting, today, I received an error that I had never seen beforeApplication output wrote: 2.3.0.
Ram Size 1536
Ram Start 160
Ram Used 323
Heap End 1696
Stack Pointer 522
Fault Type 0
Fault Data 1 0
Fault Data 2 0
Stack Margin 6
Reset Flags 8
I immediately tried again and received the standard "Device failed to respond..."IDE wrote: >C:\Program Files\ZBasic\IDE\..\zload -c3 -a04 -v "D:\Projects\uG\Software\ZBasic\ZXOnly.zxb"
Download completed successfully.
.
No verify ack from device.
>Exit code: 1
Same for the third try.
Cycle the power and try again gives the "No verify ack..." error, and the device hangs.
After a reboot, the application is again active and performing normally, but the device no longer accepts downloads.
So I'm wondering if the ZX is getting flaky, or if the FTDI chip is to blame. Both of them have about 3000 hours of runtime. Currently, I'm rewiring to use a MAX232 to try downloading using the DTR.
Edit: The No DTR response error as been appearing intermittently for a while, but the new error has only been present since the V2.3 VM and compiler update was installed. Perhaps a bug has crept in?
-Don