DSPRelated.com
Forums

Re: UART in EVMDM642

Started by hani...@cantab.net July 9, 2008
Hi,
I also have EVMDM642 but with DDK version 1.11. I cannot run uarttest.pjt, because there is no CDB configuration file. According to the readme file:
"These applications are not delivered with any CDB configuration files, but have been delivered with textual configuration files. You can generate your CDB files by running the CCS tconf utility on the application's respective TCF file. Alternatively, you can generate all of the DDK CDB files at once from the makefile in the DDK's top level directory."
1. Anyone knows where is this tconf utility and which TCF file is it referring to? Is it uarttestcfg.tcf? I've also checked spru007h, but it assumes I have the original CDB file.
2. I tried the build6000.bat makefile. But I get the error: "the system cannot find the path specified". What does this mean? I installed CCS in the default location C:\CCStudio_v3.3.
2. The last file in this folder (besides uarttest.pjt, uarttestcfg.tcf & readme) is tconflocal.tci. What is it for?
Thanks.
Hanief

> Hi,
>Am using UART in EVMDM642. It has dual UART. I tried out the
>example, uarttest.pjt given along with DDK version 1.20. It works fine
>for UART port A which is a 9-pin port. But when I configure the
>example for UART port B which is a 10-pin port, the example does not
>work. Serial communication is not taking place if I use UART port B.
>Has anyone encountered this problem? Please give me ur solution.
>
>Thanks,
>Kalai.
Hi
1. Regarding the CDB/TCF file, I remove the CDB file from the
project, replacing it with uarttestcfg.tcf and build the project
anyway. It gives out 2 errors: uarttestcfg.s62", ERROR! : [E1000]
Cannot open source file uarttestcfg.s62: No such file or directory &
Fatal error: could not open source file "uarttestcfg_c.c".
2. Regarding the build6000.bat makefile, I tried installing DDK in
c:\ti instead. This time, the error is different: Can't load
platform definition 'EvmDM642.tcp': Error: Can't find import
file: 'EvmDM642.tcp'. Any help?
Thanks.
Hanief

--- In c..., hanief@... wrote:
>
> Hi,
> I also have EVMDM642 but with DDK version 1.11. I cannot run
uarttest.pjt, because there is no CDB configuration file. According
to the readme file:
> "These applications are not delivered with any CDB configuration
files, but have been delivered with textual configuration files. You
can generate your CDB files by running the CCS tconf utility on the
application's respective TCF file. Alternatively, you can generate
all of the DDK CDB files at once from the makefile in the DDK's top
level directory."
> 1. Anyone knows where is this tconf utility and which TCF file is
it referring to? Is it uarttestcfg.tcf? I've also checked spru007h,
but it assumes I have the original CDB file.
> 2. I tried the build6000.bat makefile. But I get the error: "the
system cannot find the path specified". What does this mean? I
installed CCS in the default location C:\CCStudio_v3.3.
> 3. The last file in this folder (besides uarttest.pjt,
uarttestcfg.tcf & readme) is tconflocal.tci. What is it for?
> Thanks.
> Hanief
H,

every project has a set of build options (under the Project menu)
within the build options is a list of all the directories that are accessed for files, libraries, etc.

When you modify the directory where things are located or incorporate a file from a different
directories, the list of directories in the build options must also be changed to match.

R. Williams

---------- Original Message -----------
From: "H"
To: c...
Sent: Wed, 16 Jul 2008 06:56:56 -0000
Subject: [c6x] Re: UART in EVMDM642

> Hi
> 1. Regarding the CDB/TCF file, I remove the CDB file from the
> project, replacing it with uarttestcfg.tcf and build the project
> anyway. It gives out 2 errors: uarttestcfg.s62", ERROR! : [E1000]
> Cannot open source file uarttestcfg.s62: No such file or directory &
> Fatal error: could not open source file "uarttestcfg_c.c".
> 2. Regarding the build6000.bat makefile, I tried installing DDK in
> c:\ti instead. This time, the error is different: Can't load
> platform definition 'EvmDM642.tcp': Error: Can't find import
> file: 'EvmDM642.tcp'. Any help?
> Thanks.
> Hanief
>
> --- In c..., hanief@... wrote:
> >
> > Hi,
> > I also have EVMDM642 but with DDK version 1.11. I cannot run
> uarttest.pjt, because there is no CDB configuration file. According
> to the readme file:
> > "These applications are not delivered with any CDB configuration
> files, but have been delivered with textual configuration files. You
> can generate your CDB files by running the CCS tconf utility on the
> application's respective TCF file. Alternatively, you can generate
> all of the DDK CDB files at once from the makefile in the DDK's top
> level directory."
> > 1. Anyone knows where is this tconf utility and which TCF file is
> it referring to? Is it uarttestcfg.tcf? I've also checked spru007h,
> but it assumes I have the original CDB file.
> > 2. I tried the build6000.bat makefile. But I get the error: "the
> system cannot find the path specified". What does this mean? I
> installed CCS in the default location C:\CCStudio_v3.3.
> > 3. The last file in this folder (besides uarttest.pjt,
> uarttestcfg.tcf & readme) is tconflocal.tci. What is it for?
> > Thanks.
> > Hanief
------- End of Original Message -------
R. Williams,
Thanks for the reminder. My problem is that the missing files such
as 'EvmDM642.tcp' are totally missing from my hard disk. Not a case
of incorrect directory.
The exceptions are "uarttestcfg.s62" and "uarttestcfg_c.c" which are
(supposed to be) generated by the Configuration Tool. However, in
this case, they didn't get generated, hence the errors. I'm not
quite sure of the function of these 2 files, but similar files are
generated when I build other projects as well.
Thanks.
Hanief

--- In c..., "Richard Williams" wrote:
>
> H,
>
> every project has a set of build options (under the Project menu)
> within the build options is a list of all the directories that are
accessed for files, libraries, etc.
>
> When you modify the directory where things are located or
incorporate a file from a different
> directories, the list of directories in the build options must
also be changed to match.
>
> R. Williams
>
> ---------- Original Message -----------
> From: "H"
> To: c...
> Sent: Wed, 16 Jul 2008 06:56:56 -0000
> Subject: [c6x] Re: UART in EVMDM642
>
> > Hi
> > 1. Regarding the CDB/TCF file, I remove the CDB file from the
> > project, replacing it with uarttestcfg.tcf and build the project
> > anyway. It gives out 2 errors: uarttestcfg.s62", ERROR! :
[E1000]
> > Cannot open source file uarttestcfg.s62: No such file or
directory &
> > Fatal error: could not open source file "uarttestcfg_c.c".
> > 2. Regarding the build6000.bat makefile, I tried installing DDK
in
> > c:\ti instead. This time, the error is different: Can't load
> > platform definition 'EvmDM642.tcp': Error: Can't find import
> > file: 'EvmDM642.tcp'. Any help?
> > Thanks.
> > Hanief
> >
> > --- In c..., hanief@ wrote:
> > >
> > > Hi,
> > > I also have EVMDM642 but with DDK version 1.11. I cannot run
> > uarttest.pjt, because there is no CDB configuration file.
According
> > to the readme file:
> > > "These applications are not delivered with any CDB
configuration
> > files, but have been delivered with textual configuration files.
You
> > can generate your CDB files by running the CCS tconf utility on
the
> > application's respective TCF file. Alternatively, you can
generate
> > all of the DDK CDB files at once from the makefile in the DDK's
top
> > level directory."
> > > 1. Anyone knows where is this tconf utility and which TCF file
is
> > it referring to? Is it uarttestcfg.tcf? I've also checked
spru007h,
> > but it assumes I have the original CDB file.
> > > 2. I tried the build6000.bat makefile. But I get the
error: "the
> > system cannot find the path specified". What does this mean? I
> > installed CCS in the default location C:\CCStudio_v3.3.
> > > 3. The last file in this folder (besides uarttest.pjt,
> > uarttestcfg.tcf & readme) is tconflocal.tci. What is it for?
> > > Thanks.
> > > Hanief
> ------- End of Original Message -------
>
H,

Since We know the files are expected to be generated by the configuration tool, I would be looking
at the configuration tool.

FOr instance, did the configuration tool get executed?, were the right project names used?, etc.

The document SPRU303B.pdf has all the details of the usage of the configuration tool.

I would suspect the tool was run with some misspellings of the project/etc names.

R. Williams

---------- Original Message -----------
From: "H"
To: c...
Sent: Fri, 18 Jul 2008 03:21:52 -0000
Subject: [c6x] Re: UART in EVMDM642

> R. Williams,
> Thanks for the reminder. My problem is that the missing files such
> as 'EvmDM642.tcp' are totally missing from my hard disk. Not a case
> of incorrect directory.
> The exceptions are "uarttestcfg.s62" and "uarttestcfg_c.c" which are
> (supposed to be) generated by the Configuration Tool. However, in
> this case, they didn't get generated, hence the errors. I'm not
> quite sure of the function of these 2 files, but similar files are
> generated when I build other projects as well.
> Thanks.
> Hanief
>
> --- In c..., "Richard Williams" wrote:
> >
> > H,
> >
> > every project has a set of build options (under the Project menu)
> > within the build options is a list of all the directories that are
> accessed for files, libraries, etc.
> >
> > When you modify the directory where things are located or
> incorporate a file from a different
> > directories, the list of directories in the build options must
> also be changed to match.
> >
> > R. Williams
> >
> >
> >
> > ---------- Original Message -----------
> > From: "H"
> > To: c...
> > Sent: Wed, 16 Jul 2008 06:56:56 -0000
> > Subject: [c6x] Re: UART in EVMDM642
> >
> > > Hi
> > > 1. Regarding the CDB/TCF file, I remove the CDB file from the
> > > project, replacing it with uarttestcfg.tcf and build the project
> > > anyway. It gives out 2 errors: uarttestcfg.s62", ERROR! :
> [E1000]
> > > Cannot open source file uarttestcfg.s62: No such file or
> directory &
> > > Fatal error: could not open source file "uarttestcfg_c.c".
> > > 2. Regarding the build6000.bat makefile, I tried installing DDK
> in
> > > c:\ti instead. This time, the error is different: Can't load
> > > platform definition 'EvmDM642.tcp': Error: Can't find import
> > > file: 'EvmDM642.tcp'. Any help?
> > > Thanks.
> > > Hanief
> > >
> > > --- In c..., hanief@ wrote:
> > > >
> > > > Hi,
> > > > I also have EVMDM642 but with DDK version 1.11. I cannot run
> > > uarttest.pjt, because there is no CDB configuration file.
> According
> > > to the readme file:
> > > > "These applications are not delivered with any CDB
> configuration
> > > files, but have been delivered with textual configuration files.
> You
> > > can generate your CDB files by running the CCS tconf utility on
> the
> > > application's respective TCF file. Alternatively, you can
> generate
> > > all of the DDK CDB files at once from the makefile in the DDK's
> top
> > > level directory."
> > > > 1. Anyone knows where is this tconf utility and which TCF file
> is
> > > it referring to? Is it uarttestcfg.tcf? I've also checked
> spru007h,
> > > but it assumes I have the original CDB file.
> > > > 2. I tried the build6000.bat makefile. But I get the
> error: "the
> > > system cannot find the path specified". What does this mean? I
> > > installed CCS in the default location C:\CCStudio_v3.3.
> > > > 3. The last file in this folder (besides uarttest.pjt,
> > > uarttestcfg.tcf & readme) is tconflocal.tci. What is it for?
> > > > Thanks.
> > > > Hanief
> > ------- End of Original Message -------
> >
------- End of Original Message -------
Hanief,

On Fri, Jul 18, 2008 at 7:41 AM, Richard Williams
wrote:
> H,
>
> Since We know the files are expected to be generated by the configuration
> tool, I would be looking
> at the configuration tool.
>
> FOr instance, did the configuration tool get executed?, were the right
> project names used?, etc.
>
> The document SPRU303B.pdf has all the details of the usage of the
> configuration tool.
>
> I would suspect the tool was run with some misspellings of the project/etc
> names.

I will repeat - I am not a DM642 user, but here are a few thoughts...

Keep in mind that the 'configuration tool' is for the DSP and on-chip
peripherals. In the case of the DM642, the UART is off-chip and the
tool knows nothing about it. I do not know if there is a "BIOS board
support package" or a custom setup just for this board.
Have you installed any CCS updates after the DM642 software install??
If so, it might be possible that some of the 'DM642 specif stuff' was
over written [it should not have been] by the update.
Also, have you verified that you have the latest DM642 EVM software
for your board??

mikedunn
>
> R. Williams
>
> ---------- Original Message -----------
> From: "H"
> To: c...
> Sent: Fri, 18 Jul 2008 03:21:52 -0000
> Subject: [c6x] Re: UART in EVMDM642
>
>> R. Williams,
>> Thanks for the reminder. My problem is that the missing files such
>> as 'EvmDM642.tcp' are totally missing from my hard disk. Not a case
>> of incorrect directory.
>> The exceptions are "uarttestcfg.s62" and "uarttestcfg_c.c" which are
>> (supposed to be) generated by the Configuration Tool. However, in
>> this case, they didn't get generated, hence the errors. I'm not
>> quite sure of the function of these 2 files, but similar files are
>> generated when I build other projects as well.
>> Thanks.
>> Hanief
>>
>> --- In c..., "Richard Williams" wrote:
>> >
>> > H,
>> >
>> > every project has a set of build options (under the Project menu)
>> > within the build options is a list of all the directories that are
>> accessed for files, libraries, etc.
>> >
>> > When you modify the directory where things are located or
>> incorporate a file from a different
>> > directories, the list of directories in the build options must
>> also be changed to match.
>> >
>> > R. Williams
>> >
>> >
>> >
>> > ---------- Original Message -----------
>> > From: "H"
>> > To: c...
>> > Sent: Wed, 16 Jul 2008 06:56:56 -0000
>> > Subject: [c6x] Re: UART in EVMDM642
>> >
>> > > Hi
>> > > 1. Regarding the CDB/TCF file, I remove the CDB file from the
>> > > project, replacing it with uarttestcfg.tcf and build the project
>> > > anyway. It gives out 2 errors: uarttestcfg.s62", ERROR! :
>> [E1000]
>> > > Cannot open source file uarttestcfg.s62: No such file or
>> directory &
>> > > Fatal error: could not open source file "uarttestcfg_c.c".
>> > > 2. Regarding the build6000.bat makefile, I tried installing DDK
>> in
>> > > c:\ti instead. This time, the error is different: Can't load
>> > > platform definition 'EvmDM642.tcp': Error: Can't find import
>> > > file: 'EvmDM642.tcp'. Any help?
>> > > Thanks.
>> > > Hanief
>> > >
>> > > --- In c..., hanief@ wrote:
>> > > >
>> > > > Hi,
>> > > > I also have EVMDM642 but with DDK version 1.11. I cannot run
>> > > uarttest.pjt, because there is no CDB configuration file.
>> According
>> > > to the readme file:
>> > > > "These applications are not delivered with any CDB
>> configuration
>> > > files, but have been delivered with textual configuration files.
>> You
>> > > can generate your CDB files by running the CCS tconf utility on
>> the
>> > > application's respective TCF file. Alternatively, you can
>> generate
>> > > all of the DDK CDB files at once from the makefile in the DDK's
>> top
>> > > level directory."
>> > > > 1. Anyone knows where is this tconf utility and which TCF file
>> is
>> > > it referring to? Is it uarttestcfg.tcf? I've also checked
>> spru007h,
>> > > but it assumes I have the original CDB file.
>> > > > 2. I tried the build6000.bat makefile. But I get the
>> error: "the
>> > > system cannot find the path specified". What does this mean? I
>> > > installed CCS in the default location C:\CCStudio_v3.3.
>> > > > 3. The last file in this folder (besides uarttest.pjt,
>> > > uarttestcfg.tcf & readme) is tconflocal.tci. What is it for?
>> > > > Thanks.
>> > > > Hanief
>> > ------- End of Original Message -------
>> >
> ------- End of Original Message -------

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php