Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Newbie
johnchoi4
Posts: 2
Registered: ‎11-11-2011
0

PPC system not working in 13.2 & 13.3?

[ Edited ]

I am trying to use the embedded PPC on the ML-405 board, and created a simple system that only has a rs232 uart and some bram.  I then create a helloworld c program from within sdk, and it seems to work fine in version 13.1 of the tools.  However, in both 13.2 and 13.3, when I create the same simple system in XPS and try to run helloworld from SDK, nothing seems to work.  The only potential clue is an error on the console that says "Unable to decode ELF start address (), assuming 0x0." This error appears in 13.2 and 13.3, but not in 13.1.  Can anyone suggest a way to determine why the embedded ppc doesn't seem to respond in 13.2 and 13.3 and whether this new error message is relevant or not?

 

I am fairly new to the EDK and SDK tools, and may be overlooking some basic things, so please do not assume I know what I am doing.  Any help would be greatly appreciated.  I tried searching on this but did not find anything yet, and any links to further reading would also be appreciated.

Newbie
johnchoi4
Posts: 2
Registered: ‎11-11-2011
0

Re: PPC system not working in 13.2 & 13.3?

In case anyone else has this problem, here is some information after getting help from xilinx tech support.

 

The best that we can tell, this is because I am using WIndows 7 Enterprise instead of Windows 7 Professional.

 

The workaround is to use the xmd console and manually send the binary to the ppc using the "dow" command.

Visitor
jackyang70
Posts: 2
Registered: ‎07-14-2011
0

Re: PPC system not working in 13.2 & 13.3?

  Hi, John, I have this problem also. and there is no any solution after I pass this problem to xilinx last two month .

  The workaround is to run your project in debug mode or in shell mode.

Xilinx Employee
garethc
Posts: 50
Registered: ‎06-29-2011
0

Re: PPC system not working in 13.2 & 13.3?

Hi John,

 

This has been highlighted and noted by the developers and the conclusion was that this happens on some machines and not on others and so there is no direct fix. Can you try another machine if you have on at your disposal?

 

As you stated the workaround is to use the XMD console to download and run the application directly.

Kind regards,
Gareth
Embedded Product Applications Engineer, WTS
Contributor
jairoscz
Posts: 30
Registered: ‎04-13-2009
0

Re: PPC system not working in 13.2 & 13.3?

I'm experiencing the same issue.  My work around has been to use a debug session.

 

I'm running Windows 7 Enterprise

Regular Visitor
cchamp
Posts: 19
Registered: ‎07-11-2011
0

Re: PPC system not working in 13.2 & 13.3?

Hi,

 

I have the same problem with both  Windows 7 pro and XP when using 13.3 or 13.4 .

It works fine with debug session or xmd console

 

CC

Contributor
schneemann79
Posts: 36
Registered: ‎05-02-2009
0

Re: PPC system not working in 13.2 & 13.3?

[ Edited ]

Same problem here with XP Pro and 13.2.

Console says "20:38 ERROR : Unable to decode ELF start address ( -4), assuming 0x0.".

The elf entry point is 0xfffffffc which is the location of the .boot section. Sorry guys, for me this clearly looks like an unsigned/signed code typo somewhere in the SDK/XMD domain.


Activating internal communication between SDK and XMD in the XMD console the following output can be observed:


xelf_start_address C:/SoC/image_processing_ML510/ml510_testforreset/system/SDK/peripheral_tests_0/Debug/peripheral_tests_0.elf#
<- -4
-> xcontinue 32 0x0 -status_on_stop#

 

As SDK wont accept a negative start address it erroneously sets the PC to 0x0 which is the location of the critical interrupt vector (only included when the underlying system uses interrupts), and not the start of the .text section. Building and executing a default hello_world  example works at first glance, as the .text section in this case starts at 0x0, but the boot sections are neither executed. Maybe someone can have another look in this issue. Its annoying.