UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor m.h.leason
Visitor
204 Views
Registered: ‎05-17-2018

Microblaze Memory access exception

Hi

I have a design with microblaze connecting to Zynq PS S_AXI_GP1 through M_AXI_DP and to PS S_AXI_HP0 through M_AXI_IC and M_AXI_DC. microblaze memory map is:

Screenshot from 2019-02-11 10-30-20.png

I have no problem with downloading and executing program on Microblaze (through JTAG) when I don't use GP1_DDR_LOWOCM (0x20000000 - ...) on my lscript.ld, but when I create a section on linker script file and assign it to GP1_DDR_LOWOCM region (ps7_ddr_0_GP0_AXI_BASENAME), and define a variable on this region, I even can not download elf file to DDR for executing. The error that I get is:

Memory write error at 0x20000000. Memory access exception

What is the problem?

P.S: on my autogenerated lscript.ld, I can see "ps7_ddr_0_GP0_AXI_BASENAME : ORIGIN = 0x20000000, LENGTH = 0x10000000".

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
160 Views
Registered: ‎09-04-2012

Re: Microblaze Memory access exception

Make sure to provide your tool versions and the steps included in your debug configuration.

Have you initialized the PS system? If the ps7_init is not executed then the DDR is not initialized. The AXI ports also have to be initialized.

Regards,

Christophe

0 Kudos