I thought the timer-counter on the uCsimm was available for user use,
seems not to be so. uClinux seems to use it for the tick clock (?). I
/* set up timer to generate 1khz pulse train. */
PBDIR |= 0x40; /* set PB6 to output */
PBSEL &= 0xbf; /* select internal function */
TPRER = 0x00; /* no clock prescaler */
TCMP = 0x0f; /* divide by 16; with toggle mode > 1khz pulse train. */
TCTL = 0x39; /* set Restart mode, OM=1, IRQEN=1, 32KHz clock and TEN=1
This does what it says, but the response of the system slows down. If I
set TCTL=0x29, i.e. disable the interrupt, then the system hangs. So I
that uClinux needs this timer, therefore it is unavailable for other
The uCsimm manual says that it is available, but it seems not so.
Anyone else used it?
Also, I would like to use the serial port as a normal serial port, i.e.
not as the
console. How do I do that? I will log into the system via telnet. Any
This message resent by the email@example.com list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:38 EST