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.

NO PHY CONNECTED

Other Parts Discussed in Thread: SYSBIOS

Hello,

I have 2 problems to be cleared.

1) Ethernet Error:

I have loaded Ethernet stack on my RTOS project.When i run my project 

"NO PHY CONNECTED"  error is shown.

It was working fine, Recently i have changed my PLL configuration in GEL and changed my SYSCLK to 500Mhz.

And I have also erased my external Flash(ROM).

Whether this causes any problem--?

2) RTOS with NDK build problem:

The same above RTOS project is compiled and build in  a particular workspace and working fine.

If once i copy the whole project to other place and import to the CCS, try to build it.

following error is shown.

 

**** Build of configuration Debug for project emac_test ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
making ../src/sysbios.a64P ...
cl64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/BIOS.c ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/family/c64p/Clobber_asm.s62 ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/family/c64p/MemoryProtect_asm.s64P ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/timers/timer64/Timer_asm.s64P ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/timers/gptimer/Timer_asm.s64P ...
asm64P C:/ti/bios_6_35_01_29/packages/ti/sysbios/timers/dmtimer/Timer_asm.s64P ...
ar64P BIOS.obj c64p_Hwi_disp_always.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Clobber_asm.obj c64p_Exception_asm.obj c64p_MemoryProtect_asm.obj c62_TaskSupport_asm.obj timer64_Timer_asm.obj gptimer_Timer_asm.obj dmtimer_Timer_asm.obj ...
'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_00_48/xs" --xdcpath="C:/ti/bios_6_35_01_29/packages;C:/ti/ccsv5/ccs_base;C:/ti/ndk_2_22_00_06/ndk_2_22_00_06/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C64P -p ti.platforms.dsk6455 -r release -c "C:/ti/ccsv5/tools/compiler/c6000_7.4.2" --compileOptions "-g --optimize_with_debug" "../app.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
[Fatal Error] package.bld.xml:10:30: The reference to entity "D" must end with the ';' delimiter.
org.xml.sax.SAXParseException: The reference to entity "D" must end with the ';' delimiter.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
at xdc.services.intern.gen.JClass.genPkgBuild(JClass.java:875)
at xdc.services.intern.gen.JClass.genPkgValues(JClass.java:1025)
at xdc.services.intern.gen.JClass.gen(JClass.java:197)
at xdc.services.intern.cmd.Builder.gen(Builder.java:245)
at xdc.services.intern.cmd.Builder.main(Builder.java:149)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:123)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at config.Shell.evaluateLoad(Shell.java:797)
at config.Shell.processLoad(Shell.java:679)
at config.Shell.load(Shell.java:1215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at config.Shell.evaluateReader(Shell.java:847)
at config.Shell.processReader(Shell.java:512)
at config.Shell.processFile(Shell.java:571)
at config.Shell.exec(Shell.java:781)
at config.Shell.main(Shell.java:1414)
js: "C:/ti/xdctools_3_25_00_48/packages/xdc/services/intern/cmd/build.xs", line 22: org.xml.sax.SAXParseException: The reference to entity "D" must end with the ';' delimiter.
org.mozilla.javascript.WrappedException: Wrapped java.lang.RuntimeException: org.xml.sax.SAXParseException: The reference to entity "D" must end with the ';' delimiter. (C:/ti/xdctools_3_25_00_48/packages/xdc/services/intern/cmd/build.xs#22)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at script(C:/ti/xdctools_3_25_00_48/packages/xdc/services/intern/cmd/build.xs:22)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:123)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at config.Shell.evaluateLoad(Shell.java:797)
at config.Shell.processLoad(Shell.java:679)
at config.Shell.load(Shell.java:1215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at script(C:/ti/xdctools_3_25_00_48/packages/xdc/utils.js:503)
at script(C:/ti/xdctools_3_25_00_48/packages/xdc/xs.js:165)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at config.Shell.evaluateReader(Shell.java:847)
at config.Shell.processReader(Shell.java:512)
at config.Shell.processFile(Shell.java:571)
at config.Shell.exec(Shell.java:781)
at config.Shell.main(Shell.java:1414)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException: The reference to entity "D" must end with the ';' delimiter.
at xdc.services.intern.gen.JClass.genPkgBuild(JClass.java:907)
at xdc.services.intern.gen.JClass.genPkgValues(JClass.java:1025)
at xdc.services.intern.gen.JClass.gen(JClass.java:197)
at xdc.services.intern.cmd.Builder.gen(Builder.java:245)
at xdc.services.intern.cmd.Builder.main(Builder.java:149)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
... 26 more
Caused by: org.xml.sax.SAXParseException: The reference to entity "D" must end with the ';' delimiter.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
at xdc.services.intern.gen.JClass.genPkgBuild(JClass.java:875)
... 35 more
gmake.exe: *** [package/package.xdc.inc] Error 1
js: "C:/ti/xdctools_3_25_00_48/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/compiler.opt] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

 

Request to suggest any correction or any thing should be added to the same.

  • Hi Surajkumar,

    Thanks for your post.

    Regarding your Error#1, what exactly you changed the PLL configuration in the GEL file? One way to narrow down that the issue could be with the recent modifications of GEL file, please undo the recent changes and check whether the same issue exists. By this, you could filter out whether the issue with the recent changes in GEL file.

    Basically, you can debug the run-time GEL file by appending debug error messages and also you can trace the GEL callback functions. Please refer the below wiki:

    http://processors.wiki.ti.com/index.php/GEL#Debugging_GEL

    Also there is hot menu "Setup_Memory_Map()" in which you could use GEL calls GEL_MapAddStr() to turn on the debugger memory map and define the regions of available memory. Please refer the below wiki:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS_-_Data_Verification_Errors#Debugger_Memory_Map

    Regarding your Error#2, you would have missed some required NDK/IP packages to be configured in XDC tools as well in bios configuration file. For instance, please see below

    var Ipc         = xdc.useModule('ti.sdo.ipc.Ipc');

    var Edma = xdc.loadPackage('ti.sdo.edma3.drv');

    So, please validate your bios configuration file to check for any package need to be added, so that, xdc tools automatically configures based on the inputs of bios config. file.

    Also, it could be a java XML error, seems it would have missed some XML based package. Please check it on eclipse plugins.

    To know more on debugging Sysbios application, please go through the SysBios software resource wiki in one shot as below:

    http://processors.wiki.ti.com/index.php/Category:SYSBIOS

    You could also see an online wiki video download link, which is part of TI RTOS kernel workshop video tutorial as below:

    http://processors.wiki.ti.com/index.php/TI-RTOS_Workshop

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------

  • Thankyou Sivaraj K.

    For the Error 2:

    I have copied Debug & Release folder and it's working fine.

    Error 1:

    I have reverted back my all configuration such as GEL file, PLL configuration from no boot mode to default EMIF ROM boot mode.

    But still problem occurs.

  • Hi Suraj,

    Thanks for your update.

    What exactly the problem you are getting when you revert back your GEL file to default EMIF ROM? Did you modify any other changes in GEL file and kindly ensure this.

    What is your PLL SysCLK configured in GEL file currently? You cannot configure 500 MHz which i saw in your previous post and actually CPU core operates at 456 MHz. Please validate your PLL SysCLK's in GEL file.

     

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------

  • ThankYou Sivaraj K.

    Problem was in Emifa Flash interface. I have erased my flash.

    configured EMIFA correctly.

    It's working fine.