Two HW UARTs

Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Post Reply
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Two HW UARTs

Post by dlh »

Don,

On chips that have two high-speed HW UARTs, would it be possible to use either for downloading to the chip?

I am playing with a design where one UART can be switched between an FT232RL USB chip and a LAN (wired or wireless). The ethernet hardware can be plugged into the main board by the user so there might be instances where they don't want to use ethernet and are too far away from a PC to use USB (e.g. when the unit is in a wiring closet). In that case, it would simplify things if the second UART could be used for a PC link.
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Two HW UARTs

Post by dkinzer »

dlh wrote:On chips that have two high-speed HW UARTs, would it be possible to use either for downloading to the chip?
It is not possible with the current version of the ZX bootloaders. It might be possible to modify the bootloader so that the downloading UART is somehow selectable.
- Don Kinzer
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Re: Two HW UARTs

Post by dlh »

dkinzer wrote: It might be possible to modify the bootloader so that the downloading UART is somehow selectable.
If it is a major undertaking, never mind. There's always sneakernet to cover my (possibly rare) scenario. :wink:

I can interface with RS232 on the second port (with a cross-over adapter) for everything except downloading so normal operation would not be affected. They would just need to move it close enough to the PC to download via the USB link.
Post Reply