Run CM1 code from external ram

Hi,

I'm using a pynq-z1 board where i'm placing a CM1 soft  proccessor and i want to load the code that would be executed by the CM1 on the DDR RAM of the pynq's PS so the CM1 could read the code from there.

I'm able to tell the CM1 (in keil uVision) that the ROM is external and is is the address that correspond to the PS RAM but i don't know how to extract the code itself from the .elf generated when building the proyect in the Keil and load it directly on the RAM of the PS.

I'm not sure if what i say makes sense or if i missing some steps.

Could you please give some hints?

Thanks in advance and best regards,

Juan

Parents Reply Children
No data