Page 1 of 1

ATNChar fails on -24x, -24u

Posted: 11 January 2014, 17:28 PM
by GTBecker
The following simple code allows ATNChar downloads on a ZX-24n, but fails on a -24x or -24u.

Code: Select all

Option ATNChar 4
Sub Main()
End Sub

Re: ATNChar fails on -24x, -24u

Posted: 15 January 2014, 10:39 AM
by dkinzer
GTBecker wrote:The following simple code allows ATNChar downloads on a ZX-24n, but fails on a -24x or -24u.
The cause of this issue has been corrected. The problem only affects xmega-based ZX devices.

An update to the ZBasic Library has been posted. You can download the .zip file and extract the contents to the zlib subdirectory of the ZBasic installation directory.

ZX-24u ATNChar failure resurrected in v4.2.4 package

Posted: 03 April 2014, 14:28 PM
by GTBecker
I installed the current v4.2.4 complete package zip and find that the "4-2-4_partial.zip" zlib fixes (over 4.2.3 at the time) needed to be installed to get ATNChar to work again. Were they not included in the new full zip?

Re: ZX-24u ATNChar failure resurrected in v4.2.4 package

Posted: 04 April 2014, 11:46 AM
by dkinzer
GTBecker wrote:Were they not included in the new full zip?
The v4.2.4 installer contains v4.2.4 of the ZBasic compiler and v4.2.3 of the ZBasic Library. It was released 06 Jan 2014.

The updated ZBasic Library v4.2.4, which contains the xmega ATNChar correction was released on 15 Jan 2014. It is not in the installer yet.

We'll be posting an updated installer soon.

Posted: 04 April 2014, 14:02 PM
by GTBecker
Ah. I believed I had downloaded the 4.2.4 installer quite some time after zlibs 4.2.4_partial. Sorry.

Something odd still with ATNChar downloads

Posted: 05 April 2014, 19:45 PM
by GTBecker
It appears that ATNChar downloads from the IDE always need a currently-open serial port.

IDE Serial Port Option Open for download, close afterward often fails as does Open on activation, close on deactivation. Only option Leave open unless manually closed appears to work reliably - as does a manually-opened port if it is closed at download time.