This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Sinan,
I'm not able to understand your language, I have translated your texts and I think that you have problem on running ethernet code on C6424 (NDK),
Is this your custom board or TI EVM board ?
What error are you getting while you running the code ?
Hi,
Thanks for your post.
We do not have an NSP package especially for C6424. However, we do have a package for DM6437 which they can be safely used for C6424 too. C6424 and DM6437 are the same to the best of my knowledge, just the part number difference. So, you can start by using DM6437 package from NDK 2.0.
The NDK 2.0 has one major change from NDK 1.92, i.e. the interface between the NDK stack and the ethernet driver has been changed now. Previously, in NDK 1.92 this interface used "LL Packet driver architecture" and now in NDK 2.0 all packages use the "NIMU Architecture". This has been well documented in NDK 2.0. So, when porting drivers/applications from 1.92 to 2.0, you need to be aware of this transitiion and port them to use NIMU. DM6437 examples and drivers have already been ported to NIMU, so you can use this as an example.
You can try ethernet example code is available in the “Network Client” (client.pjt) project and can be found at: NDK_INSTALL_DIR\packages\ti\ndk\example\network\client\<platform_name>\client.pjt
Do you get any chance to try client example project attached to this post which is from 1.92 NDK for c6424 EVM? Can you download client.zip file attached & try the example project?
You could also check the below wiki link for NDK 2.x releases and NDK EMAC drivers for C6424 from BIOS PSP package which you could add support to it.
Thanks & regards,
Sivaraj K
When I load the sample project without compiling it works. I receive many errors after I "clean" the project and compile. Besides this is a sample project of DSP/BIOS. Don't we have the chance to make the ethernet work using SYS/BIOS with the app.cfg.
Hi Mesut,
I think, we have released ethernet drivers in DSPBIOS for C6424.
http://downloads.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/bios_psp/index.html
When I load the sample project without compiling it works. I receive many errors after I "clean" the project and compile.
Which error are you getting after clean and rebuild ?
Have you set the paths correctly as per your location of project?
What errors are you getting while you work with SYSBIOS ?
Is any run time error or compilation error ?
If any runtime error,
Are you able to get break point in "main()" function after load .out into DSP through emulator ?
Please elaborate your problem.
Hi Mesut & Sinan,
Also, Please check out the below TI E2E thread.
http://e2e.ti.com/support/embedded/tirtos/f/355/t/41302.aspx
Hi Mesut,
I have watched your video and your project attachments.
I don't see any PINMUX registers to enable RMII or MII, EMAC and MDIO driver implementation in your project.
I recommend to use Sivaraj attachment of client examples and try to understand the code.
NDK and .cfg configurations are not sufficient to ethernet make to work.
Please refer the "evmc6424init.c" file in client example.
TI released NDK ethernet code in DSPBIOS and not in SYSBIOS since it is a old processor I think.
I think we have a difficulty because we have selected an old type of processor.
Hi Sinan,
Yes, We have NDK support with SYSBIOS for OMAPL13x (OMAPL137 and OMAPL138)
Please refer the following TI NDK package downloads and E2E threads.
http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/321775.aspx
http://www.ti.com/tool/ndktcpip
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html
http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/61744.aspx
http://downloads.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/NDK/index.html
Hi Mesut/Sinan,
I would like to suggest to upgrade/migrate the ethernet DSPBIOS project to SYSBIOS in Sivaraj attached code.
Could you please tell Sivaraj to upgrade the same project to SYSBIOS himself and send it to us. This will be our last request. When we tried it we got many errors. Please let us get over this problem.
Hi,
Actually, the attached example code in my previous post which would be compatible to customer's setup and i intend to give this for you to take that as a reference and customize the same as per your requirement. Also, upgrading the attached project to SYSBIOS is not in our scope.
We apologise for the same.
Thanks & regards,
Sivaraj K