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 |
|
UART (16C550CFN) configuration
Started by ●January 1, 2002
Reply by ●January 2, 20022002-01-02
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 > > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author > of this message will receive your answer. You need to do a "reply all" if > you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.yahoogroups.com/group/c54x > > Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ > |
Reply by ●January 2, 20022002-01-02
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 |