Upgrade to a ZX-24n???

Discussion specific to the 24-pin ZX microcontrollers, e.g. ZX-24r, ZX-24s and ZX-24t.
Post Reply
victorf
Posts: 342
Joined: 01 January 2006, 4:08 AM
Location: Schenectady, New York

Upgrade to a ZX-24n???

Post by victorf »

I have been a long time user of the zx-24a and am quite satisfied with it. However. As I am starting a new phase of my development, I would like to ask if I should move up to a -24n? I assume that I can use the code I developed on the -24a with a -24n. Is it a wise move to go to the -24n. Is the 24n a drop-in replacement for the 24a? Is there a downside? Upside?

Any enlightenment will be appreciated.

Vic
Vic Fraenckel
KC2GUI
windswaytoo ATSIGN gmail DOT com
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Upgrade to a ZX-24n???

Post by dkinzer »

victorf wrote:I assume that I can use the code I developed on the -24a with a -24n.
In many cases, you should be able to re-compile the code for a ZX-24n and it will work fine. In some cases, you may have to "fix" a latent timing problem that is revealed by the significantly faster speed of the ZX-24n. If you use multiple tasks, you'll probably have to increase the task stack size - the compiler will notify you if the stacks are too small.
victorf wrote:Is the 24n a drop-in replacement for the 24a?
The two are fully pin-compatible. The ZX-24n has a second hardware UART, more RAM, more Persistent memory and more Program Memory.
victorf wrote:Is there a downside? Upside?
In addition to the discussion above, the VM vs Native FAQ covers the high points. If you have more specific questions after reading that we can address those.

Others who have migrated from VM to Native mode devices might wish to add some comments.
- Don Kinzer
Post Reply