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.
How to download elf file into zynq board
3 次查看(过去 30 天)
显示 更早的评论
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:
- How to download the elf into target SD, which make it run when power reset?
- What is the difference between "monitor and tune" and "build,deploy and start"?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!