gnupic: quick dumb gpsim/18F question


Previous by date: 11 Jan 2005 16:44:36 +0000 Re: DIY USB programmer ?, David Willmore
Next by date: 11 Jan 2005 16:44:36 +0000 Re: DIY USB programmer ?, David Willmore
Previous in thread: 11 Jan 2005 16:44:36 +0000 quick dumb gpsim/18F question, David McNab
Next in thread:

Subject: Re: quick dumb gpsim/18F question
From: Scott Dattalo ####@####.####
Date: 11 Jan 2005 16:44:36 +0000
Message-Id: <Pine.LNX.4.60.0501110835310.2330@ruckus.brouhaha.com>

On Tue, 11 Jan 2005, David McNab wrote:

> Hi,
>
> Can GPSIM simulate a serial port, connected via the USART to pins 
> RB6/RB7? If so, how do I send/receive chars to/from this 'port' from 
> other applications?

Hi David,

At one time gpsim could simulate the USART. However, that code has 
bit-rotted. The problem ties into the I/O port issue that's been discussed 
recently. Furthermore, the USART code was originally developed for the 
mid-range PIC's and has not been tested (by me at least) for the 18F 
devices.

Looking into the future....

One of these days the I/O ports will work again. Also, the USART will work 
too. In the modules/ directory is a module for modelling a USART host. 
This module is designed to interface to the I/O pins of a processor and 
communicate with it using the serial TTL format of the PIC's USARTs. In my 
day job I've been working on a PS/2 module which is very similar to the 
USART module. The PS/2 module can be controlled either from the command 
line (via attributes), from a stimulus, or from a socket interface. All 
three of these are extremely useful for debugging and testing a PS/2 
interface. One of these days those features will be in the USART module...

Scott

Previous by date: 11 Jan 2005 16:44:36 +0000 Re: DIY USB programmer ?, David Willmore
Next by date: 11 Jan 2005 16:44:36 +0000 Re: DIY USB programmer ?, David Willmore
Previous in thread: 11 Jan 2005 16:44:36 +0000 quick dumb gpsim/18F question, David McNab
Next in thread:


Powered by ezmlm-browse 0.20.