Jump to content
  • 0

Problems with Zybo DMA Audio Demo


Rmpjunior

Question

Hello,

I'm trying to follow the Zybo DMA Audio Demo but I'm founding some problems. I had already make it work one time, but iIm cannot do it again now. 

Everything goes okay until the import of dma and dma_bsp in the Xilinx SDK software, at this point, more than 40 errors appears in "Problems" tab and all of them is related with the file 'xparameters.h' which is missing.

So I found that the "Re-generate BSP Sources" included the missing file and removed all the errors. Continuing with the tutorial I programmed the FPGA with the bitstream generated by vivado and run the SDK with the option "Run in Hardware", but although the log shows that apparently nothing went wrong, I cannot see anything in the SDK console and neither record/play any audio.

 

Here is the log:

17:33:12 INFO	: Connected to target on host '127.0.0.1' and port '3121'.
17:33:12 INFO	: 'targets -set -filter {jtag_cable_name =~ "Digilent Zybo 210279651214A" && level==0} -index 1' command is executed.
17:33:14 INFO	: FPGA configured successfully with bitstream "C:/Users/Roberto/Documents/IME/PFC/Vivado/Zybo-Z7-10-DMA/proj/DMA.sdk/system_wrapper_hw_platform_0/system_wrapper.bit"
17:33:25 INFO	: Disconnected from the channel tcfchan#3.
17:33:26 INFO	: 'targets -set -filter {jtag_cable_name =~ "Digilent Zybo 210279651214A" && level==0} -index 1' command is executed.
17:33:26 INFO	: 'fpga -state' command is executed.
17:33:26 INFO	: Connected to target on host '127.0.0.1' and port '3121'.
17:33:26 INFO	: Jtag cable 'Digilent Zybo 210279651214A' is selected.
17:33:26 INFO	: 'jtag frequency' command is executed.
17:33:26 INFO	: Sourcing of 'C:/Users/Roberto/Documents/IME/PFC/Vivado/Zybo-Z7-10-DMA/proj/DMA.sdk/system_wrapper_hw_platform_0/ps7_init.tcl' is done.
17:33:27 INFO	: Context for 'APU' is selected.
17:33:31 INFO	: Hardware design information is loaded from 'C:/Users/Roberto/Documents/IME/PFC/Vivado/Zybo-Z7-10-DMA/proj/DMA.sdk/system_wrapper_hw_platform_0/system.hdf'.
17:33:31 INFO	: Context for 'APU' is selected.
17:33:31 INFO	: 'stop' command is executed.
17:33:32 INFO	: 'ps7_init' command is executed.
17:33:32 INFO	: 'ps7_post_config' command is executed.
17:33:32 INFO	: Context for processor 'ps7_cortexa9_0' is selected.
17:33:32 INFO	: Processor reset is completed for 'ps7_cortexa9_0'.
17:33:32 INFO	: Context for processor 'ps7_cortexa9_0' is selected.
17:33:32 INFO	: The application 'C:/Users/Roberto/Documents/IME/PFC/Vivado/Zybo-Z7-10-DMA/proj/DMA.sdk/dma/Debug/dma.elf' is downloaded to processor 'ps7_cortexa9_0'.
17:33:32 INFO	: ----------------XSDB Script----------------
connect -url tcp:127.0.0.1:3121
source C:/Users/Roberto/Documents/IME/PFC/Vivado/Zybo-Z7-10-DMA/proj/DMA.sdk/system_wrapper_hw_platform_0/ps7_init.tcl
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent Zybo 210279651214A"} -index 0
loadhw C:/Users/Roberto/Documents/IME/PFC/Vivado/Zybo-Z7-10-DMA/proj/DMA.sdk/system_wrapper_hw_platform_0/system.hdf
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent Zybo 210279651214A"} -index 0
stop
ps7_init
ps7_post_config
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent Zybo 210279651214A"} -index 0
rst -processor
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent Zybo 210279651214A"} -index 0
dow C:/Users/Roberto/Documents/IME/PFC/Vivado/Zybo-Z7-10-DMA/proj/DMA.sdk/dma/Debug/dma.elf
----------------End of Script----------------

17:33:32 INFO	: Memory regions updated for context APU
17:33:33 INFO	: Context for processor 'ps7_cortexa9_0' is selected.
17:33:33 INFO	: 'con' command is executed.
17:33:33 INFO	: ----------------XSDB Script (After Launch)----------------
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent Zybo 210279651214A"} -index 0
con
----------------End of Script----------------

17:33:33 INFO	: Launch script is exported to file 'C:\Users\Roberto\Documents\IME\PFC\Vivado\Zybo-Z7-10-DMA\proj\DMA.sdk\.sdk\launch_scripts\xilinx_c-c++_application_(system_debugger)\system_debugger_using_debug_dma.elf_on_local.tcl'

 

Thanks in advance,

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Oh, it's true, I didn't realize that ZyboZ7 was another board ?

Now it worked, thank you!

Taking the opportunity, I want to add some IPCores to process the audio input, and I'm planning to do it with the System Generator for MATLAB.

I think that I need to do some type of conversion of the I2S signal to a signal which can be processed in my SysGen block, right? How can I do this conversion? There is any IP in the default repository to do that?

 

Thank you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...