How to download elf file into zynq board

3 views (last 30 days)
zhouwb02
zhouwb02 on 25 Jan 2021
Commented: zhouwb02 on 28 Jan 2021
I creat a project with hdlcoder workflow of IP code generation.
Project funtion is : one PL-controlled PL-output LED1 blinking and one PS-controlled PL-ouput LED2 blinking。 The target board is zedboard.
When the workflow finished with bitstream downloaded, LED1 starts blinking, LED2 off. The PL part works.
In simulink, click the "monitor and tune" button, project compiled and downloaded to the targert. LED1 and LED2 start blink. When power off and on, LED1 blinks and LED2 off. It seems that the code of PS-part runs in RAM and lost after power-off.
In simulink, click the "build ,delopy and start" button ,elf file for PS-part generated, LED1 and LED2 blink. When power off and on, LED1 blinks and LED2 off. Again I judged that the code of PS-part runs in RAM.
So I have two questions on this:
  1. How to download the elf into target SD, which make it run when power reset?
  2. What is the difference between "monitor and tune" and "build,deploy and start"?
  2 Comments
zhouwb02
zhouwb02 on 25 Jan 2021
I checked the target with 'ssh' after deplyed. and found that the elf flie is in the /tmp folder. So the elf file will lost when power off.
zhouwb02
zhouwb02 on 28 Jan 2021
A hint in this link. I did not work it out yet.
https://www.mathworks.com/matlabcentral/answers/290256-hw-sw-co-design-full-deployment-using-zedboard-issues?s_tid=srchtitle

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!