12-04-2018 10:49 PM
Can Zynq be used to change only PS program from PL (FPGA)?
It is assumed that booting is performed from the SD card, and the update program is written in the DDR memory.
The flow is like this.
1. Receive program from LAN at PL
2. Write to DDR memory with PL
3. Restart PS
4. PS program is updated
I could not find the material. Is there a document etc somewhere?
12-05-2018 10:47 PM
Thank you for your reply.
Would you tell us how to use "Self-modifying code"?
Is it in such a form as to jump to address 0 by rewriting OCM?
I tried creating a program to jump to address 0 and found that it caught on Xil_ExceptionNullHandler.
typedef int (*FN_PROGRAM)(void);
memadr = 0x00000000;// adr 0
FN_PROGRAM pg = (FN_PROGRAM)memadr;
12-09-2018 11:39 PM
Which type do you develop, application run on OS or bearmetal software ?
If it is bearmetal software, you don't execute "jump 0" operation.
Would you refer the following URL ?
If you give some information, I may be able to help you...