From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: jeremy Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] HAL register write problem Date: Fri, 19 Jan 2001 08:33:00 -0000 Message-id: <20010119103729.A11030@visi.com> References: <000e01c08183$65c3bf00$7c6509c0@viatech.com> X-SW-Source: 2001-01/msg00344.html On Thu, Jan 18, 2001 at 11:17:55AM -0800, jeremy wrote: > #define CYG_DEVICE_SERIAL_RS232_UART_UBRDIV \ > ((volatile cyg_uint16 *) CYG_DEVICE_SERIAL_RS232_UART_BASE + 0x14) Are you sure that you want ((volatile cyg_uint16 *)XXX + 0x14) and not ((volatile cyg_uint16 *)(XXX+0x14)) I've been bitten by that one... -- Grant Edwards grante@visi.com