ATNChar fails on -24x, -24u

Discussion specific to the 24-pin ZX microcontrollers, e.g. ZX-24r, ZX-24s and ZX-24t.
Post Reply
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

ATNChar fails on -24x, -24u

Post 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
Tom
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

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

Post 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.
- Don Kinzer
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

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

Post 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?
Tom
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

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

Post 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.
- Don Kinzer
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

Post by GTBecker »

Ah. I believed I had downloaded the 4.2.4 installer quite some time after zlibs 4.2.4_partial. Sorry.
Tom
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

Something odd still with ATNChar downloads

Post 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.
Tom
Post Reply