Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | UART (16C550CFN) configuration

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

UART (16C550CFN) configuration - telldinakaran - Jan 1 7:29:00 2002



Hi all,

I am a new C5402 DSK board user. Now, I am developing a device driver
for UART under DSP bios environment. I am facing the following
problem in this work. The contents of the UART status and control memory mapped registers
are not being diplayed on the view I/O memory window. The memory
window doesn't even reflect the default configuration of the
registers after manual borad reset. So it is not clear what is being
written to the registers.

There is no mention about the uart enabled/diabled position before
configuration, in themanual.

Could any body help, in finding out a way for checking the contents
of the UART registers?

Also, I have a doubt. Is there a way to view the changes in the
regester contents of the UART.

Thanks in advance.

Yours,
R.Dinakaran





(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

RE: UART (16C550CFN) configuration - Author Unknown - Jan 2 3:32:00 2002

It sounds to me like the GEL file may not be set up correctly. If the
GEL file is not setup for your project and instance of CCS, then it will
not show the proper values. Its kinda strange really.

Which Gel file are you using?
Carl Chipman
Nomadics, Inc.

http://www.nomadics.com > -----Original Message-----
> From: telldinakaran [mailto:]
> Sent: Tuesday, January 01, 2002 1:29 AM
> To:
> Subject: [c54x] UART (16C550CFN) configuration
>
> Hi all,
>
> I am a new C5402 DSK board user. Now, I am developing a device driver
> for UART under DSP bios environment. I am facing the following
> problem in this work. > The contents of the UART status and control memory mapped registers
> are not being diplayed on the view I/O memory window. The memory
> window doesn't even reflect the default configuration of the
> registers after manual borad reset. So it is not clear what is being
> written to the registers.
>
> There is no mention about the uart enabled/diabled position before
> configuration, in themanual.
>
> Could any body help, in finding out a way for checking the contents
> of the UART registers?
>
> Also, I have a doubt. Is there a way to view the changes in the
> regester contents of the UART.
>
> Thanks in advance.
>
> Yours,
> R.Dinakaran >
> _____________________________________




(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: UART (16C550CFN) configuration - stan_hudson - Jan 2 18:18:00 2002

Edit the c5000.gel file and add:

GEL_MapAdd(0x0000, 2, 0x10000, 1, 1);

in the C5402_DSK_Init() hotmenu functiuon.

Save the file, then do a 'reload' of the GEL file (right mouse
button).

This will tell CCS that the 64K I/O space is also valid
memory that can be read from and written to.

regards,
Stan

--- In c54x@y..., "telldinakaran" <telldinakaran@y...> wrote:
> Hi all,
>
> I am a new C5402 DSK board user. Now, I am developing a device
driver
> for UART under DSP bios environment. I am facing the following
> problem in this work. > The contents of the UART status and control memory mapped registers
> are not being diplayed on the view I/O memory window. The memory
> window doesn't even reflect the default configuration of the
> registers after manual borad reset. So it is not clear what is
being
> written to the registers.
>
> There is no mention about the uart enabled/diabled position before
> configuration, in themanual.
>
> Could any body help, in finding out a way for checking the contents
> of the UART registers?
>
> Also, I have a doubt. Is there a way to view the changes in the
> regester contents of the UART.
>
> Thanks in advance.
>
> Yours,
> R.Dinakaran




(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )