UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
677 Views
Registered: ‎10-14-2013

SDK/QEMU debug without board? Zynq-7010

How to run software emulation / debug on a Zynq-7010 on Windows platform? Using SDK 2018.2 and it throws an error "QEMU debug not supported for Cortex A9 applications". However, it's said in QEMU documentation that Cortex A9 should be supported?

0 Kudos
7 Replies
Moderator
Moderator
654 Views
Registered: ‎09-12-2007

Re: SDK/QEMU debug without board? Zynq-7010

I created the doc attached along time ago.

 

Thisflow is also covered in the QEMU user guide:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_2/ug1169-xilinx-qemu.pdf

0 Kudos
Adventurer
Adventurer
608 Views
Registered: ‎10-14-2013

Re: SDK/QEMU debug without board? Zynq-7010

From Xilinx QEMU guide: "This system-emulation-model runs on an Intel-compatible Linux or Windows host systems."

 

Your linked guide includes only Linux based QEMU. So, needed QEMU package is not installed with the Windows SDK and there's no possibilities to emulate/debug Xilinx Zynq-7010 device on Windows system SDK installed - without the actual Zynq board?

0 Kudos
Moderator
Moderator
569 Views
Registered: ‎09-12-2007

Re: SDK/QEMU debug without board? Zynq-7010

Yes, my guide used linux. I have never tried this on windows. You can obtain the QEMU from github and compile:

https://github.com/Xilinx/qemu

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842060/QEMU

 

0 Kudos
Moderator
Moderator
554 Views
Registered: ‎12-04-2016

Re: SDK/QEMU debug without board? Zynq-7010

Hi @tsillanp

 

Here is a wiki to run Qemu for windows

 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842016/QEMU+for+Windows

 

 

Best Regards

Shabbir

0 Kudos
Adventurer
Adventurer
510 Views
Registered: ‎10-14-2013

Re: SDK/QEMU debug without board? Zynq-7010

Thank you for the answers.

Is there a reason why the QEMU isn't integrated in the SDK installation and GUI by default in Windows environment? Instead, editing text based configuration files and running command prompt commands required.

 

 

0 Kudos
Moderator
Moderator
467 Views
Registered: ‎12-04-2016

Re: SDK/QEMU debug without board? Zynq-7010

Hi

 

Stanadlone Qemu applications can still be executed in windows SDK, but not linux applications

Check this link

https://www.xilinx.com/html_docs/xilinx2018_2/SDK_Doc/SDK_tasks/sdk_t_qemu_debugging_system_debugger.html

 

 

Best Regards

Shabbir

0 Kudos
Adventurer
Adventurer
365 Views
Registered: ‎10-14-2013

Re: SDK/QEMU debug without board? Zynq-7010

"QEMU debug not supported for Cortex A9 applications" ???

Back to square one...

From QEMU documentation you can find for ex.:

xilinx-zynq-a9    Xilinx Zynq Platform Baseboard for Cortex-A9

And even Mathworks is having QEMU Cortex A9 support in Matlab/SIMULINK?


So, still I'm confused, am I able to emulate the Zynq device on windows machine with standalone/baremetal SDK application? There's a need to be able to test the code even if you don't have a board. If the Cortex A9 support is missing totally, is the SDK able to run C-code X86 natively on the PC machine running the SDK?

0 Kudos