Other Parts Discussed in Thread: CCSTUDIO
Just got a nice shiny EVMDM6437 media board. Ran the demo OK, H264 file decode, works fine.
Now what I am doing is porting a C6457 application front end based upon NDK 2.0 to the DM6437 EVM.
I have got the DM6437 to printf that it added the network and has a link "full duplex on PHY 0". However, I cannot ping it or connect using an internet browser (HTTP index page) which seems unusual.
I then added to the project the NSP source files for the DM6437 from NDK 2.0 and attempted to build. This is where it starts to get interesting ...
It will not build because it starts looking in CCStudio_v3.3/C6000/csl/include/csl_chiphal.h and says "#error NO CHIP DEFINED". I know why this is, but there is no definition for the DM6437 in that file.
It then occurred to me that perhaps the NDK 2.0 NSP for the DM6437 is not compatible with the packages (specifically PSP) that come with the DM6437.
What I would like to do is have a CSL for the DM6437 and put it in the CCStudio_v3.3\C6000 directory but do not know if this is appropriate for this product?
(1) Can I successfully use NDK 2.0 with the DM6437 board? If not, why not?
(2) If I can, then do I need to get hold of a different version of the PSP that came with the board or use a separate CSL?
(3) The PSP is quite confusing because there is a CSL 'inc' directory (dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\soc\dm6437\dsp\inc) but where are the CSL libs? (For the C6457 there were 2: little and big endian). I have spotted lots of libs in dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\lib\DM6437\Debug for example but I am not sure if these are the ones.
(4) I wonder if the source (c files) of the DM6437 NSP files - ethdriver, nimu, mdio, emac would be compatible with the DM6437 PSP which is psp_1_00_01_00 on my install?
(5) If the DM6437 is too problematic would I be better to use a DM642 which I have and does seem to be mentioned in the CCStudio_v3.3/C6000/csl/include/csl_chiphal.h file?
Also, as an aside I noticed in the evmdm6437init.c file that came with the board, the LinkStr is effectively commented out (#ifdef WARNING) and the 'printf' that prints the link status is commented out. If it is left that way the emac registers OK. If this string is uncommented and the printf used then the emac does not register with the NIMU. However, if I use a local not static string in the DM64LCEMAC_linkStatus function then the emac registers OK. I'm thinking there is some sort of issue here that was not resolved when the EVMDM6437 was released and wonder if there is similar code in other NSP components: ethdriver, nimu, emac, mdio?