Reply by pabl...@ctag.com June 28, 20112011-06-28
Hi.
>
>I have got DM6437 DVDP and I have some problems:
>
> I probe demo6437_demo program (executed on start) and I can’t connect hostapp with device. I know the device is running because audio line in is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both SW7 position).
>
> “Getting started Guide” document describes that DS2 LED might be ON when the IP stack is ready. By default, demo is configurated in DHCP mode, so I connect board to a router whit DHCP activated, and through my computer host (where I try to connect with “hostapp”). I check connections in router and I find 192.168.1.105 to client host “dm6437evm9def” and 192.168.1.106 for the host. I think all is correct, by it happens three troubles:
>
>1. I can’t do ping from host to board (from 192.168.1.106 to 192.168.1.105)
>
>2. LED DS2 is off
>
>3. hostapp can’t connect to board (both button “discover” and connect to 192.168.1.105 )
>
>Could you help me, please?. I’m very frustrated.
>
>_____________________________________
>
>Hi!
Thanks for your response.Finally, I could execute correctly the projects changing GEL file!.I don't know why Digital Spectrum purchase SW package with files that not run, but with your tip, I resolved my troubles!! Now I can start to develop mi own applications with some of these project such base...

Thanks!

_____________________________________
Reply by Sankaranarayanan B June 16, 20112011-06-16
Hi,

I have faced the same problem that you have mentioned in your previous post, all you need to do is change the GEL file which has been loaded by default, you can find the gel file in the spectrum digital site, find the link below

http://c6000.spectrumdigital.com/evmdm6437/reve/files/evmdm6437.gel

Hope it helps.....

Thanks & Regards,
Sankaranarayanan B.
________________________________
DISCLAIMER
The information transmitted is intended exclusively for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient or have received this mail in error, please notify the sender immediately and delete the material from your system.
Reply by Richard Williams June 15, 20112011-06-15
Pablo,

have you tried some simple project, like 'hello world', to learn how to write
the linker .cmd file?
Have you tried some simple project, like 'hello world', to learn how to write
the BIOS configuration file?
Have you tried some simple project, like 'hello world', to learn how to use the
debugger?

The above three(3) activities are 'critical' to learning how to make a project
build, debug, and run correctly.

When you can perform the above 3 activities successfully, then you can move on
to more complex projects.

If you were to email me the source, configuration, etc files, I could take a
look and advise you on what needs to be done.

R. Williams

---------- Original Message -----------
From: p...@ctag.com
To: c...
Sent: Tue, 14 Jun 2011 07:51:59 -0400
Subject: [c6x] Re: DM6437 DVDP hostapp demo not run!

> Hi.
> >
> >I have got DM6437 DVDP and I have some problems:
> >
> > I probe demo6437_demo program (executed on start) and I canât
connect hostapp with device. I know the device is running because audio line in
is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both
SW7 position).
> >
> > âGetting started Guideâ document describes that DS2 LED might
be ON when the IP stack is ready. By default, demo is configurated in DHCP mode,
so I connect board to a router whit DHCP activated, and through my computer host
(where I try to connect with âhostappâ). I check connections in router and I
find 192.168.1.105 to client host âdm6437evm9defâ and 192.168.1.106 for the
host. I think all is correct, by it happens three troubles:
> >
> >1. I canât do ping from host to board (from 192.168.1.106 to
192.168.1.105)
> >
> >2. LED DS2 is off
> >
> >3. hostapp canât connect to board (both button âdiscoverâ and
connect to 192.168.1.105 )
> >
> >Could you help me, please?. Iâm very frustrated.
> >
> >_____________________________________
> >
> Well, thanks Richard.
>
> I tried steps that you explaint, but my program in debugger seems
> doesn't work. I reset emulator, reset CPU, click "Go Main", and
> debugger shows "Running", but never stops on main. Moreover, if I add
> a breakpoint in main, this behavior is the same.
>
> I suspect all changes made for reach compilation causes this problems...
>
> I need some example project to take image form Video In, proccessing,
> and the showing it for one DAC output...I have this project, but I
> can't debug and modify it.
>
>
>

_____________________________________
Reply by pabl...@ctag.com June 14, 20112011-06-14
Hi.
>
>I have got DM6437 DVDP and I have some problems:
>
> I probe demo6437_demo program (executed on start) and I can’t connect hostapp with device. I know the device is running because audio line in is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both SW7 position).
>
> “Getting started Guide” document describes that DS2 LED might be ON when the IP stack is ready. By default, demo is configurated in DHCP mode, so I connect board to a router whit DHCP activated, and through my computer host (where I try to connect with “hostapp”). I check connections in router and I find 192.168.1.105 to client host “dm6437evm9def” and 192.168.1.106 for the host. I think all is correct, by it happens three troubles:
>
>1. I can’t do ping from host to board (from 192.168.1.106 to 192.168.1.105)
>
>2. LED DS2 is off
>
>3. hostapp can’t connect to board (both button “discover” and connect to 192.168.1.105 )
>
>Could you help me, please?. I’m very frustrated.
>
>_____________________________________
>
Well, thanks Richard.

I tried steps that you explaint, but my program in debugger seems doesn't work. I reset emulator, reset CPU, click "Go Main", and debugger shows "Running", but never stops on main. Moreover, if I add a breakpoint in main, this behavior is the same.

I suspect all changes made for reach compilation causes this problems...

I need some example project to take image form Video In, proccessing, and the showing it for one DAC output...I have this project, but I can't debug and modify it.

_____________________________________
Reply by Richard Williams June 6, 20112011-06-06
pablo,

BEFORE running, the DSP and the emulator need to be reset
There is a clickable menu entry in the debugger menu to perform that operation.

Your next step, after the reset click, is:
clicking 'run to main' in the debug menu.

This will start at the entry point of the program and stop on a temporary
breakpoint at main().

Note you have set your breakpoint after main() by one 'C' source code line.
There is no need to set a breakpoint at main() unless you suspect a bug is
causing the program to reset, which does not seem to be the problem.

Note:
If you have not reset the emulator and the DPS, then they are in unknown states
and execution might start anywhere.

R. Williams

---------- Original Message -----------
From: p...@ctag.com
To: c...
Sent: Mon, 06 Jun 2011 06:02:10 -0400
Subject: [c6x] Re: DM6437 DVDP hostapp demo not run!

> Hi.
> >
> >I have got DM6437 DVDP and I have some problems:
> >
> > I probe demo6437_demo program (executed on start) and I canât
connect hostapp with device. I know the device is running because audio line in
is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both
SW7 position).
> >
> > âGetting started Guideâ document describes that DS2 LED might
be ON when the IP stack is ready. By default, demo is configurated in DHCP mode,
so I connect board to a router whit DHCP activated, and through my computer host
(where I try to connect with âhostappâ). I check connections in router and I
find 192.168.1.105 to client host âdm6437evm9defâ and 192.168.1.106 for the
host. I think all is correct, by it happens three troubles:
> >
> >1. I canât do ping from host to board (from 192.168.1.106 to
192.168.1.105)
> >
> >2. LED DS2 is off
> >
> >3. hostapp canât connect to board (both button âdiscoverâ and
connect to 192.168.1.105 )
> >
> >Could you help me, please?. Iâm very frustrated.
> >
> >_____________________________________
> >
> I tried to install every thnigs in empty VM_XP and I made changes that
> you described, and Iinally I could compiled it!!!
>
> But (arghhhh!!), I load .out program (in Debug directory) and it's
> not working fine: there is no image in ouput and if I put break point
> in first line of void main, never reaches that!
>
> (...)
>
> int main(int argc, char *argv[]) {
>
> int status = 0;
>
> /* init the codec engine runtime */
> CERuntime_init(); <----- HERE
> (...)
>
> Do you know what it happens? Maybe project is different that in flash
> is stored...
>
> Thanks a lot

_____________________________________
Reply by Richard Williams June 6, 20112011-06-06
Pablo,

in your #includes, how is the reference to the std.h file written?

If it is "std.h" then it will not find the correct file
If is is and it is not finding the correct file then write it as


R. Williams
---------- Original Message -----------
From: p...@ctag.com
To: c...
Sent: Mon, 06 Jun 2011 03:42:43 -0400
Subject: [c6x] Re: DM6437 DVDP hostapp demo not run!

> Hi.
> >
> >I have got DM6437 DVDP and I have some problems:
> >
> > I probe demo6437_demo program (executed on start) and I canât
connect hostapp with device. I know the device is running because audio line in
is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both
SW7 position).
> >
> > âGetting started Guideâ document describes that DS2 LED might
be ON when the IP stack is ready. By default, demo is configurated in DHCP mode,
so I connect board to a router whit DHCP activated, and through my computer host
(where I try to connect with âhostappâ). I check connections in router and I
find 192.168.1.105 to client host âdm6437evm9defâ and 192.168.1.106 for the
host. I think all is correct, by it happens three troubles:
> >
> >1. I canât do ping from host to board (from 192.168.1.106 to
192.168.1.105)
> >
> >2. LED DS2 is off
> >
> >3. hostapp canât connect to board (both button âdiscoverâ and
connect to 192.168.1.105 )
> >
> >Could you help me, please?. Iâm very frustrated.
> >
> >_____________________________________
> >
> >
> Thanks a lot for your information, but I have problems yet.
>
> There was problems with "std.h". Now, compiler finds this file, but I
> think is wrong file, beacuse appearing type definition errors:
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 101: error:
> identifier "xdc_IArg" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 102: error:
> identifier "xdc_UArg" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 104: error:
> identifier "xdc_Int8" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 105: error:
> identifier "xdc_Int16" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 106: error:
> identifier "xdc_Int32" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 111: error:
> identifier "xdc_UInt8" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 112: error:
> identifier "xdc_UInt16" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 113: error:
> identifier "xdc_UInt32" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 126: error:
> identifier "xdc_UInt8" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 127: error:
> identifier "xdc_UInt16" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 128: error:
> identifier "xdc_UInt32" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/fxn.h", line
> 28: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/fxn.h", line
> 29: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 29: error: identifier-list parameters may only be used in a function definition
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 29: error: duplicate parameter name
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 72: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 73: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 122: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 122: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 123: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 123: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/hwi.h", line
> 48: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 51: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 52: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 60: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 83: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 84: error: identifier "Arg" is undefined
>
> in C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h. I checked that
> there are other std.h files in BIOS with
> (C:\CCStudio_v3.3\bios_5_31_07\xdctools\packages\xdc\rts) where this
> types are defined.
>
> How can I associate to this correct files?
>
> Thanks

_____________________________________
Reply by Richard Williams June 6, 20112011-06-06
---------- Original Message -----------
From: p...@ctag.com
To: c...
Sent: Mon, 06 Jun 2011 03:42:43 -0400
Subject: [c6x] Re: DM6437 DVDP hostapp demo not run!

> Hi.
> >
> >I have got DM6437 DVDP and I have some problems:
> >
> > I probe demo6437_demo program (executed on start) and I canât
connect hostapp with device. I know the device is running because audio line in
is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both
SW7 position).
> >
> > âGetting started Guideâ document describes that DS2 LED might
be ON when the IP stack is ready. By default, demo is configurated in DHCP mode,
so I connect board to a router whit DHCP activated, and through my computer host
(where I try to connect with âhostappâ). I check connections in router and I
find 192.168.1.105 to client host âdm6437evm9defâ and 192.168.1.106 for the
host. I think all is correct, by it happens three troubles:
> >
> >1. I canât do ping from host to board (from 192.168.1.106 to
192.168.1.105)
> >
> >2. LED DS2 is off
> >
> >3. hostapp canât connect to board (both button âdiscoverâ and
connect to 192.168.1.105 )
> >
> >Could you help me, please?. Iâm very frustrated.
> >
> >_____________________________________
> >
> >
> Thanks a lot for your information, but I have problems yet.
>
> There was problems with "std.h". Now, compiler finds this file, but I
> think is wrong file, beacuse appearing type definition errors:
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 101: error:
> identifier "xdc_IArg" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 102: error:
> identifier "xdc_UArg" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 104: error:
> identifier "xdc_Int8" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 105: error:
> identifier "xdc_Int16" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 106: error:
> identifier "xdc_Int32" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 111: error:
> identifier "xdc_UInt8" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 112: error:
> identifier "xdc_UInt16" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 113: error:
> identifier "xdc_UInt32" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 126: error:
> identifier "xdc_UInt8" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 127: error:
> identifier "xdc_UInt16" is undefined
> "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 128: error:
> identifier "xdc_UInt32" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/fxn.h", line
> 28: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/fxn.h", line
> 29: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 29: error: identifier-list parameters may only be used in a function definition
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 29: error: duplicate parameter name
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 72: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 73: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 122: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 122: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 123: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line
> 123: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/hwi.h", line
> 48: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 51: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 52: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 60: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 83: error: identifier "Arg" is undefined
> "C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line
> 84: error: identifier "Arg" is undefined
>
> in C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h. I checked that
> there are other std.h files in BIOS with
> (C:\CCStudio_v3.3\bios_5_31_07\xdctools\packages\xdc\rts) where this
> types are defined.
>
> How can I associate to this correct files?
>
> Thanks

_____________________________________
Reply by pabl...@ctag.com June 6, 20112011-06-06
Hi.
>
>I have got DM6437 DVDP and I have some problems:
>
> I probe demo6437_demo program (executed on start) and I can’t connect hostapp with device. I know the device is running because audio line in is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both SW7 position).
>
> “Getting started Guide” document describes that DS2 LED might be ON when the IP stack is ready. By default, demo is configurated in DHCP mode, so I connect board to a router whit DHCP activated, and through my computer host (where I try to connect with “hostapp”). I check connections in router and I find 192.168.1.105 to client host “dm6437evm9def” and 192.168.1.106 for the host. I think all is correct, by it happens three troubles:
>
>1. I can’t do ping from host to board (from 192.168.1.106 to 192.168.1.105)
>
>2. LED DS2 is off
>
>3. hostapp can’t connect to board (both button “discover” and connect to 192.168.1.105 )
>
>Could you help me, please?. I’m very frustrated.
>
>_____________________________________
>
I tried to install every thnigs in empty VM_XP and I made changes that you described, and Iinally I could compiled it!!!

But (arghhhh!!), I load .out program (in Debug directory) and it's not working fine: there is no image in ouput and if I put break point in first line of void main, never reaches that!

(...)

int main(int argc, char *argv[]) {

int status = 0;

/* init the codec engine runtime */
CERuntime_init(); <----- HERE
(...)
Do you know what it happens? Maybe project is different that in flash is stored...

Thanks a lot
>

_____________________________________
Reply by pabl...@ctag.com June 6, 20112011-06-06
Hi.
>
>I have got DM6437 DVDP and I have some problems:
>
> I probe demo6437_demo program (executed on start) and I can’t connect hostapp with device. I know the device is running because audio line in is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both SW7 position).
>
> “Getting started Guide” document describes that DS2 LED might be ON when the IP stack is ready. By default, demo is configurated in DHCP mode, so I connect board to a router whit DHCP activated, and through my computer host (where I try to connect with “hostapp”). I check connections in router and I find 192.168.1.105 to client host “dm6437evm9def” and 192.168.1.106 for the host. I think all is correct, by it happens three troubles:
>
>1. I can’t do ping from host to board (from 192.168.1.106 to 192.168.1.105)
>
>2. LED DS2 is off
>
>3. hostapp can’t connect to board (both button “discover” and connect to 192.168.1.105 )
>
>Could you help me, please?. I’m very frustrated.
>
>_____________________________________
Thanks a lot for your information, but I have problems yet.

There was problems with "std.h". Now, compiler finds this file, but I think is wrong file, beacuse appearing type definition errors:
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 101: error: identifier "xdc_IArg" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 102: error: identifier "xdc_UArg" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 104: error: identifier "xdc_Int8" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 105: error: identifier "xdc_Int16" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 106: error: identifier "xdc_Int32" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 111: error: identifier "xdc_UInt8" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 112: error: identifier "xdc_UInt16" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 113: error: identifier "xdc_UInt32" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 126: error: identifier "xdc_UInt8" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 127: error: identifier "xdc_UInt16" is undefined
"C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h", line 128: error: identifier "xdc_UInt32" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/fxn.h", line 28: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/fxn.h", line 29: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 29: error: identifier-list parameters may only be used in a function definition
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 29: error: duplicate parameter name
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 72: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 73: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 122: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 122: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 123: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/swi.h", line 123: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/hwi.h", line 48: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line 51: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line 52: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line 60: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line 83: error: identifier "Arg" is undefined
"C:/CCStudio_v3.3/bios_5_31_07/packages/ti/bios/include/dev.h", line 84: error: identifier "Arg" is undefined

in C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/std.h. I checked that there are other std.h files in BIOS with (C:\CCStudio_v3.3\bios_5_31_07\xdctools\packages\xdc\rts) where this types are defined.

How can I associate to this correct files?

Thanks

_____________________________________
Reply by Sankaranarayanan B June 6, 20112011-06-06
Hi,
You can modify your code by making simple changes, kindly follow the below steps.

Open the example project : C:\dvsdk_1_01_00_15\dm6437_demo_1_30_00.

It will ask for the std.h, Ignore it.
Follow the procedure.

Step 1.

Go to project Build options-->Compiler-->Preprocessor

Include Search path:(Include the following) (Copy and paste it)

$(Proj_dir);.;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\inc;%BSL_EVMDM6437_INSTALLDIR%\include;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\inc;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\drivers\inc;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\soc\dm6437\dsp\inc;C:\dvsdk_1_01_00_15\xdc_2_95_02\packages;C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages;C:\dvsdk_1_01_00_15\xdais_5_21\packages;C:\CCStudio_v3.3\boards\evmdm6437_v2\include;C:\dvsdk_1_01_00_15\biosutils_1_00_02\packages

Step 2:

Go to --> linker --> Libraries --> Search path -->

%BIOS_INSTALL_DIR%/packages/ti/rtdx/lib/c6000;C:\CCStudio_v3.3\boards\evmdm6437_v2\lib;

Go to --> linker --> Libraries --> Incl. Lib-->

%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\hal\evmdm6437\hal_eth_dm64lc.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\hal\hal_ser_stub.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\hal\hal_timer_bios.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\hal\hal_userled_stub.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\miniPrintf.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\netctrl.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\nettool.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\os.lib;%BIOSDVSDK_INSTALL_DIR%\ndk_1_92_00_22_eval\packages\ti\ndk\lib\c64plus\stack.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\edma3\lib\Debug\edma3_drv_bios.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\edma3\lib\Debug\edma3_drv_sample.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\edma3\lib\Debug\edma3_rm_bios.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\audio_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\i2c_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\mcasp_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\mcbsp_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\palos_bios.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\prev_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\rsz_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\video_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\vpbe_bios_drv.lib;%BIOSDVSDK_INSTALL_DIR%\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug\vpfe_bios_drv.lib;C:\CCStudio_v3.3\boards\evmdm6437_v2\lib\evmdm6437bsl.lib

Step 3:

If you encountered this following error

C:\Documents and Settings\sankaranarayanan.b\Desktop\error 1\dm6437_demo_1_30_00\xdcconfig\linker.cmd

Copy the Below file and paste it in the linker.cmd file
/*
* Do not modify this file; it is automatically generated from the template
* linkcmd.xdt in the ti.targets package and will be overwritten.
*/

/*
* put '"'s around paths because, without this, the linker
* considers '-' as minus operator, not a file name character.
*/

-l"C:\dvsdk_1_01_00_15\dm6437_demo_1_30_00\xdcconfig\package\cfg\dm6437_demo_x64P.o64P"
-l"C:\dvsdk_1_01_00_15\dm6437_demo_1_30_00\xdcconfig\package\cfg\dm6437_demo_x64Pcfg.o64P"
-l"C:\dvsdk_1_01_00_15\dm6437_demo_1_30_00\xdcconfig\package\cfg\dm6437_demo_x64Pcfg_c.o64P"
-l"C:\dvsdk_1_01_00_15\codecs_1_10\packages\ti\sdo\codecs\mpeg4enc\lib\watermark\mp4venc_ti.l64P"
-l"C:\dvsdk_1_01_00_15\codecs_1_10\packages\ti\sdo\codecs\mpeg4dec\lib\watermark\m4h3dec_ti.l64P"
-l"C:\dvsdk_1_01_00_15\codecs_1_10\packages\ti\sdo\codecs\g711dec\lib\watermark\g711dec_tii.l64P"
-l"C:\dvsdk_1_01_00_15\codecs_1_10\packages\ti\sdo\codecs\g711enc\lib\watermark\g711enc_tii.l64P"
-l"C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages\ti\sdo\ce\speech\lib\speech.a64P"
-l"C:\dvsdk_1_01_00_15\codecs_1_10\packages\ti\sdo\codecs\h264dec\lib\watermark\h264vdec_ti.l64P"
-l"C:\dvsdk_1_01_00_15\codecs_1_10\packages\ti\sdo\codecs\h264enc\lib\watermark\h264venc_ti.l64P"
-l"C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages\ti\sdo\ce\video\lib\video.a64P"
-l"C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages\ti\sdo\ce\lib\ce.a64P"
-l"C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages\ti\sdo\ce\osal\lib\osal_bios.a64P"
-l"C:\dvsdk_1_01_00_15\framework_components_1_20_03\packages\ti\sdo\fc\acpy3\acpy3.a64P"
-l"C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages\ti\sdo\ce\utils\xdm\lib\XdmUtils.a64P"
-l"C:\dvsdk_1_01_00_15\framework_components_1_20_03\packages\ti\sdo\fc\dman3\dman3Cfg.a64P"
-l"C:\dvsdk_1_01_00_15\framework_components_1_20_03\packages\ti\sdo\fc\dskt2\dskt2.a64P"
-l"C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages\ti\sdo\ce\node\lib\node.a64P"
-l"C:\dvsdk_1_01_00_15\biosutils_1_00_02\packages\ti\bios\log\ndk\lib\logservercgi.a64P"
-l"C:\dvsdk_1_01_00_15\biosutils_1_00_02\packages\ti\bios\log\support\lib\logsupport.a64P"
-l"C:\dvsdk_1_01_00_15\biosutils_1_00_02\packages\ti\bios\utils\lib\utils.a64P"
-l"C:\dvsdk_1_01_00_15\codec_engine_1_20_02\packages\ti\sdo\ce\trace\lib\gt.a64P"
-l"C:\dvsdk_1_01_00_15\xdc_2_95_02\packages\ti\targets\rts6000\lib\ti.targets.rts6000.a64P"

--args 0x200

/*
* Linker command file contributions from all loaded packages:
*/
/* Content from xdc (null): */

/* Content from xdc.services.global (null): */

/* Content from xdc.runtime (null): */

/* Content from xdc.platform (null): */

/* Content from xdc.cfg (null): */

/* Content from xdc.shelf (null): */

/* Content from xdc.services.spec (null): */

/* Content from xdc.services.intern.xsr (null): */

/* Content from xdc.services.intern.gen (null): */

/* Content from xdc.services.intern.cmd (null): */

/* Content from ti.catalog.c6000 (null): */

/* Content from ti.platforms.evmDM6437 (null): */

/* Content from ti.targets.rts6000 (null): */

/* Content from ti.psl (ti/psl/psl.xdt): */

/* define the library search paths */
-i"C:\CCStudio_v3.3\bios_5_31_07\packages\ti\psl\lib/"

/* Content from ti.rtdx (ti/rtdx/rtdx.xdt): */

/* define the library search paths */
-i"C:\CCStudio_v3.3\bios_5_31_07\packages\ti\rtdx\lib/c6000"

/* Content from xdc.bld (null): */

/* Content from ti.bios (ti/bios/bios.xdt): */
/* define the library search paths */
-i"C:\CCStudio_v3.3\bios_5_31_07\packages\ti\bios/lib"
-i"C:/CCStudio_v3.3/C6000/cgtools/lib"

/* include the bios generated linker command file */
"C:/dvsdk_1_01_00_15/dm6437_demo_1_30_00/xdcconfig/package/cfg/dm6437_demo_x64Pcfg.cmd"

/* Content from ti.sdo.ce.trace (null): */

/* Content from ti.bios.utils (null): */

/* Content from ti.bios.log.support (null): */

/* Content from ti.bios.log.ndk (null): */

/* Content from ti.xdais (null): */

/* Content from ti.sdo.ce.node (null): */

/* Content from ti.xdais.dm (null): */

/* Content from ti.sdo.fc.dskt2 (ti/sdo/fc/dskt2/DSKT2.link.xdt): */

__DSKT_DARAM0 = _L1DSRAM;
__DSKT_DARAM1 = _L1DSRAM;
__DSKT_DARAM2 = _L1DSRAM;
__DSKT_SARAM0 = _L1DSRAM;
__DSKT_SARAM1 = _L1DSRAM;
__DSKT_SARAM2 = _L1DSRAM;
__DSKT_ESDATA = _DDR2;
__DSKT_IPROG = _L1DSRAM;
__DSKT_EPROG = _DDR2;
__DSKT2_HEAP = _DDR2;

/* Content from ti.sdo.fc.dman3 (ti/sdo/fc/dman3/DMAN3.link.xdt): */

_DMAN3_EDMA3BASE = 0x1c00000;

/* Content from ti.sdo.ce.utils.xdm (null): */

/* Content from ti.sdo.fc.acpy3 (null): */

/* Content from ti.sdo.ce.osal (ti/sdo/ce/osal/link.xdt): */
/*
* ======== Global Configuration ======= * Do not modify this file; it is automatically generated from the template
* Server.xdt in the ti.sdo.ce package and will be overwritten next time the
* executable is configured
*/
_Memory_SEGID = DDR2; /* default memory segment for Memory_alloc */
/* Content from ti.sdo.ce (null): */

/* Content from ti.sdo.ce.video (null): */

/* Content from ti.sdo.codecs.h264enc (ti/sdo/codecs/h264enc/link.xdt): */
SECTIONS {
.preme : {
*(.text:_H264VENC_TI_pre_meFrame )
*(.text:_H264VENC_TI_mad_4x4 )
*(.text:_H264VENC_TI_mad_hx16 )
*(.text:_H264VENC_TI_mad_hx16_skip )
*(.text:_H264VENC_TI_vectmin )
*(.text:_H264VENC_TI_vectmin_weighted )
*(.text:_H264VENC_TI_sad_hnvn16 )

} > DDR2

.inter_mbs : {

*(.text:_H264VENC_TI_PutSliceP_Data )
*(.text:_H264VENC_TI_recon_addr_calc )
*(.text:_H264VENC_TI_recon_inter_mbs )
*(.text:_H264VENC_TI_error_gen_inter )
*(.text:_H264VENC_TI_recon_inter )
*(.text:_H264VENC_TI_trans_quant_luma )
*(.text:_H264VENC_TI_rle_iq_luma_generic )
*(.text:_H264VENC_TI_h264e_idct4x4 )
*(.text:_H264VENC_TI_trans_quant_chroma )
*(.text:_H264VENC_TI_rle_iq_chroma )

} > DDR2

.interpolation : {

*(.text:_H264VENC_TI_MV_fractionalPel )
*(.text:_H264VENC_TI_sad_halfpel )
*(.text:_H264VENC_TI_sad_hs_hpel )
*(.text:_H264VENC_TI_sad_vs_hpel )
*(.text:_H264VENC_TI_sad_hs_qpel )
*(.text:_H264VENC_TI_sad_vs_qpel )
*(.text:_H264VENC_TI_sad_hsvs_qpel )
*(.text:_H264VENC_TI_sad_hsvs_hpel )
*(.text:_H264VENC_TI_halfsearch )
*(.text:_H264VENC_TI_interpVhpHqp_N8x8 )
*(.text:_H264VENC_TI_interpVqpHqp_N8x8 )
*(.text:_H264VENC_TI_interpVqpHhp_N8x8 )
*(.text:_H264VENC_TI_interpVqphp_N8x8 )
*(.text:_H264VENC_TI_interpHqphp_N8x8 )
*(.text:_H264VENC_TI_interpVfpHfp_N8x8 )
*(.text:_H264VENC_TI_interpChroma_N4x4 )
*(.text:_H264VENC_TI_sad_quartpel )

} > DDR2

.deblock : {
*(.text:_H264VENC_TI_SetEdgeStrengthIntraMbs )
*(.text:_H264VENC_TI_SetEdgeStrengthInterMbs )
*(.text:_H264VENC_TI_deblock_mbs )
*(.text:_H264VENC_TI_filterEdgeVertLuma_Str4 )
*(.text:_H264VENC_TI_filterEdgeHorzLuma_Str4 )
*(.text:_H264VENC_TI_filterEdgeVertChroma_Str4 )
*(.text:_H264VENC_TI_filterEdgeHorzChroma_Str4 )
*(.text:_H264VENC_TI_filterEdgeVertLuma_Str3210 )
*(.text:_H264VENC_TI_filterEdgeHorzLuma_Str3210 )
*(.text:_H264VENC_TI_filterEdgeVertChroma_Str3210 )
*(.text:_H264VENC_TI_filterEdgeHorzChroma_Str3210 )

} > DDR2

.bit_stream : {
*(.text:_H264VENC_TI_GetLumaIntraModes )
*(.text:_H264VENC_TI_mb_header_gen )
*(.text:_H264VENC_TI_Cavlc )
*(.text:_H264VENC_TI_GenReferencePixels )
*(.text:_H264VENC_TI_GenRefDCLuma )
*(.text:_H264VENC_TI_GenRefDCChroma )
*(.text:_H264VENC_TI_BlockMove )
*(.text:_H264VENC_TI_scaledwn_4h4v )
*(.text:_H264VENC_TI_H264QP2quant )
*(.text:_H264VENC_TI_Quant2H264QP )
*(.text:_H264VENC_TI_QDMA_copy2D1D_linked )
*(.text:_H264VENC_TI_QDMA_copy1D1D_linked )
*(.text:_H264VENC_TI_QDMA_copy2D1D )
*(.text:_H264VENC_TI_QDMA_copy1D2D_linked )
*(.text:_H264VENC_TI_QDMA_copy1D2D )
*(.text:_H264VENC_TI_QDMA_copy1D1D )
*(.text:_H264VENC_TI_QDMA_wait )

} > DDR2

.intra_mbs : {
*(.text:_H264VENC_TI_PutSliceI_Data )
*(.text:_H264VENC_TI_GetIntraMode )
*(.text:_H264VENC_TI_GenChromaErrDC )
*(.text:_H264VENC_TI_GenChromaErrHor )
*(.text:_H264VENC_TI_GenChromaErrVer )
*(.text:_H264VENC_TI_GenLumaErrHor )
*(.text:_H264VENC_TI_GenLumaErrDC )
*(.text:_H264VENC_TI_GenLumaErrVer )
*(.text:_H264VENC_TI_ReconChromaDC )
*(.text:_H264VENC_TI_ReconChromaHor )
*(.text:_H264VENC_TI_ReconChromaVer )
*(.text:_H264VENC_TI_ReconLumaDC )
*(.text:_H264VENC_TI_ReconLumaHor )
*(.text:_H264VENC_TI_ReconLumaVer )
*(.text:_H264VENC_TI_process_intrambs )
*(.text:_H264VENC_TI_trans_quant_luma16x16 )
*(.text:_H264VENC_TI_rle_iq_luma_intra16x16)
*(.text:_H264VENC_TI_repeat_pad_plane )

} > DDR2

}

/* Content from ti.sdo.codecs.h264enc.ce (null): */

/* Content from ti.sdo.codecs.h264dec (ti/sdo/codecs/h264dec/link.xdt): */
SECTIONS {

H264VDEC_TI_dSect1 > DDR2, align = 128
H264VDEC_TI_dSect2 > DDR2, align = 128
H264VDEC_TI_cSect1 > DDR2, align = 0x10000
H264VDEC_TI_cSect2 > DDR2, align = 0x10000
H264VDEC_TI_cSect3 > DDR2, align = 0x10000
H264VDEC_TI_cSect4 > DDR2, align = 0x10000
H264VDEC_TI_cSect5 > DDR2, align = 0x10000
H264VDEC_TI_cSect6 > DDR2, align = 0x10000
H264VDEC_TI_cSect7 > DDR2, align = 0x10000

.rtsconst : { -lrts64plus.lib (.const) } > DDR2
rts_sect : { -lrts64plus.lib (.text) } > DDR2
.tables : > DDR2

}

/* Content from ti.sdo.codecs.h264dec.ce (null): */

/* Content from ti.sdo.ce.speech (null): */

/* Content from ti.sdo.codecs.g711enc (ti/sdo/codecs/g711enc/link.xdt): */
SECTIONS {

.g711enc_const > DDR2

}

/* Content from ti.sdo.codecs.g711enc.ce (null): */

/* Content from ti.sdo.codecs.g711dec (ti/sdo/codecs/g711dec/link.xdt): */
SECTIONS {

.g711dec_const > DDR2

}

/* Content from ti.sdo.codecs.g711dec.ce (null): */

/* Content from ti.sdo.codecs.mpeg4dec (ti/sdo/codecs/mpeg4dec/link.xdt): */

/* Content from ti.sdo.codecs.mpeg4dec.ce (null): */

/* Content from ti.sdo.codecs.mpeg4enc (ti/sdo/codecs/mpeg4enc/link.xdt): */

SECTIONS
{
.External_Flow {
*(.text:_MP4VENC_TI_putSingleFrame)
*(.text:_MP4VENC_TI_Convert422To420Frame)
*(.text:_MP4VENC_TI_bt835toyuv_reverse_sa)
*(.text:_MP4VENC_TI_bt835toyuv_sa)
*(.text:_MP4VENC_TI_CountBitsPacket)
*(.text:_MP4VENC_TI_putseqinit)
*(.text:_MP4VENC_TI_CountBitsMPEG4headers)
*(.text:_MP4VENC_TI_CountBitsSlice)

*(.text:_MP4VENC_TI_NewPacket)
*(.text:_MP4VENC_TI_stuffRM)
*(.text:_MP4VENC_TI_CountBitsPicture)

*(.text:_MP4VENC_TI_CountBitsVOP)
*(.text:_MP4VENC_TI_FrameEncode)
*(.text:_MP4VENC_TI_RC_TM5_prePict)
*(.text:_MP4VENC_TI_RC_TMN5_preSeq)
*(.text:_MP4VENC_TI_RC_PLR3_preSeq)
*(.text:_MP4VENC_TI_RC_PLR1_evalMbGroupQuant)
*(.text:_MP4VENC_TI_RC_PLR1_preSeq)
*(.text:_MP4VENC_TI_RC_PLR3_evalMbGroupQuant)
*(.text:_MP4VENC_TI_RC_VM4_prePict)
*(.text:_MP4VENC_TI_RC_PLR3_prePict)
*(.text:_MP4VENC_TI_RC_TMN5_prePict)
*(.text:_MP4VENC_TI_RC_TM5_evalMbGroupQuant)
*(.text:_MP4VENC_TI_RC_VM4_preSeq)
*(.text:_MP4VENC_TI_RC_TMN5_evalMbGroupQuant)
*(.text:_MP4VENC_TI_RC_TM5_preSeq)
*(.text:_MP4VENC_TI_RC_TM5_postPict)
*(.text:_MP4VENC_TI_RC_TMN5_frameskip)
*(.text:_MP4VENC_TI_RC_TM5_evalMbInput)
*(.text:_MP4VENC_TI_RC_PLR1_frameskip)
*(.text:_MP4VENC_TI_RC_TM5_preGOP)
*(.text:_MP4VENC_TI_RC_PLR3_frameskip)
*(.text:_MP4VENC_TI_RC_PLR4_frameskip)
*(.text:_MP4VENC_TI_RC_PLR1_postPict)
*(.text:_MP4VENC_TI_RC_TMN5_postPict)
} > DDR2

.Common_Flow {
*(.text:_MP4VENC_TI_CountBitsMB)
*(.text:_MP4VENC_TI_put_cbpy)
*(.text:_MP4VENC_TI_put_cbpcm_intra)
*(.text:_MP4VENC_TI_UpdatePredictionVars)
*(.text:_MP4VENC_TI_UpdateDcPredVars)
*(.text:_MP4VENC_TI_talignbits)
*(.text:_MP4VENC_TI_MyDAT_copy)
*(.text:_MP4VENC_TI_blk_eswap32)
*(.text:_MP4VENC_TI_idct_8x8_asm)

} > DDR2

.I_Frame_Flow {
*(.text:_MP4VENC_TI_putSingleFramePic_I)
*(.text:_MP4VENC_TI_dct_type_estimation_intra)
*(.text:_MP4VENC_TI_quant_intra_sa)
*(.text:_MP4VENC_TI_doDCpred_toplevel)
*(.text:_MP4VENC_TI_doDCpred)
*(.text:_MP4VENC_TI_rle_iq_intra_sa)
*(.text:_MP4VENC_TI_CountBitsCoeff_IntraVLC_MPEG4)
*(.text:_MP4VENC_TI_CodeCoeffIntraVLC)
*(.text:_MP4VENC_TI_IntraDC)
*(.text:_MP4VENC_TI_intra_vlc_sa)
*(.text:_MP4VENC_TI_mocom_intra)

} > DDR2

.Preme_Flow {
*(.text:_MP4VENC_TI_Pre_meFrame_highQuality)
*(.text:_MP4VENC_TI_Pre_meFrame_highSpeed)
*(.text:_MP4VENC_TI_scaledwn_4h4v)
*(.text:_MP4VENC_TI_mad_4x4)
*(.text:_MP4VENC_TI_vectmin)
*(.text:_MP4VENC_TI_mad_hx16_skip2)
*(.text:_MP4VENC_TI_mad_hx16)
*(.text:_MP4VENC_TI_sad_hnvn16)

} > DDR2

.P_Frame_Flow {
*(.text:_MP4VENC_TI_putSingleFramePic_P)
*(.text:_MP4VENC_TI_refdma_frame)
*(.text:_MP4VENC_TI_frame_ME_P_host)
*(.text:_MP4VENC_TI_var_mb)
*(.text:_MP4VENC_TI_halfsearch)
*(.text:_MP4VENC_TI_sad_halfpel)
*(.text:_MP4VENC_TI_pred)
*(.text:_MP4VENC_TI_pred_kernel)
*(.text:_MP4VENC_TI_dct_type_estimation_inter)
*(.text:_MP4VENC_TI_fdct_8x8)
*(.text:_MP4VENC_TI_putpict_mpeg4)
*(.text:_MP4VENC_TI_quant_inter_sa)
*(.text:_MP4VENC_TI_CountBitsVectors)
*(.text:_MP4VENC_TI_rle_iq_vlc_inter_sa)
*(.text:_MP4VENC_TI_mocom_inter)
} > DDR2

.H263_Frame_Flow {
*(.text:_MP4VENC_TI_putpict_h263)
*(.text:_MP4VENC_TI_H263ENC_TI_quant_intra_sa)
*(.text:_MP4VENC_TI_H263ENC_TI_quant_inter_sa)
*(.text:_MP4VENC_TI_H263ENC_TI_rle_iq_intra_sa)
*(.text:_MP4VENC_TI_H263ENC_TI_rle_iq_vlc_inter_sa)
*(.text:_MP4VENC_TI_H263ENC_TI_vlc_sa)

} > DDR2

.params > DDR2
EXTERNAL_CONST : > DDR2,align = 0x100

}

/* Content from ti.sdo.codecs.mpeg4enc.ce (null): */

/* Content from xdcconfig (null): */
Note:

All the above changes will work only if you installed in the default path C drive, kindly use C-drive for avoid unnecessary changes to made.
-----Original Message-----
From: c... [mailto:c...] On Behalf Of p...@ctag.com
Sent: Friday, June 03, 2011 1:03 PM
To: c...
Subject: [c6x] Re: DM6437 DVDP hostapp demo not run!

Hi.
>
>I have got DM6437 DVDP and I have some problems:
>
> I probe demo6437_demo program (executed on start) and I can't connect hostapp with device. I know the device is running because audio line in is on audio line out (with SW4-3 down). The 4 LEDs are off (even DS1, with both SW7 position).
>
> "Getting started Guide" document describes that DS2 LED might be ON when the IP stack is ready. By default, demo is configurated in DHCP mode, so I connect board to a router whit DHCP activated, and through my computer host (where I try to connect with "hostapp"). I check connections in router and I find 192.168.1.105 to client host "dm6437evm9def" and 192.168.1.106 for the host. I think all is correct, by it happens three troubles:
>
>1. I can't do ping from host to board (from 192.168.1.106 to 192.168.1.105)
>
>2. LED DS2 is off
>
>3. hostapp can't connect to board (both button "discover" and connect to 192.168.1.105 )
>
>Could you help me, please?. I'm very frustrated.
>
>_____________________________________
>
>Finally I could find in my mailbox the message, and I could read it:

Hi,

I can suggest you some ideas to resolve your problems,

First if you build the project you have to get 0 Errors and 0 Warnings,

--> I can't rebuild it because CCS3 can't find XDC/std.h (I know is in that path I have "C:\dvsdk_1_01_00_15\xdc_2_95_02\packages\xdc", but I can't know what changes I have to do to say to CCS to find correctly)

Then load the .out file and run the target, The IP address has to printed in the stdout window, If the IP is printed in the stdout window there is no problem, using that IP you can ping the data.

--> I load .out (demo6437_demo.out) from Debug of project, without recompilation . It's not working fine, because video_in is not in video_out (when board runs with default program, before reset, video_in is in video_out)

(If it doesn't prints anything in the stdout window kindly check the .gel file, new gel file is available in this link http://c6000.spectrumdigital.com/evmdm6437/reve/files/evmdm6437.gel )

--> STDOUT is in the debugger?? I haven't messages on debugger, and I change your GEL for default GEL on project, and doesn't work too.Have I use UART output?

If it prints the mac address but the ip is not printed you need to check your systems LAN settings using static ip method or dynamic ip method as per that, specify the method in the source code

-->
IpAddrMethod "dhcp" ; (app_main.c).

by default it is "dhcp" that is dynamic ip method, if you are using static ip method you need to specify it in the code , in the place of "dhcp" specify "static" .

-->I can't make changes on code (CCS problems described above), for that I use a router.

If I run default program on FLASH (after reset), video works, and when I check hosts connected in router, I saw the board. If I run hostapp, connection is stablished (status "CONNECTED, PLAYING")
------------
DM6437 DVSDK Demo Application 1.30.00
Texas Instruments Incorporated
------------
but quickly the boards is blocked (the video image is static in outline)and there are not responses for ethernet. in host_app DOS window appears "Warning:Fileio command '' failed. Main.js Warning:failed to read target statics.Reason JavaException: java.SocketTimeoutException:Read time out"...

Sorry, I have too much problems...

Very, very pleased for your responses/tips.

_____________________________________

Thanks & Regards,
Sankaranarayanan B.
Cranes Software International Limited,
#5, Airport Road, Domlur Layout, Bangalore - 560071.
Phone: +91-80-41254131/2/3 Extn-210
Mobile: +91-8123916463.
s...@cranessoftware.com
________________________________
DISCLAIMER
The information transmitted is intended exclusively for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient or have received this mail in error, please notify the sender immediately and delete the material from your system.