FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5892 Discussions

Bus error on memory operation

Altera_Forum
Honored Contributor II
2,399 Views

Hello, 

 

I have a Cyclone V SoC dev kit and I get the following errors when trying to load it onto the board: 

 

ERROR(CMD16-TAD216-NAL18):  

! Failed to load "DPD_Ex.axf" 

! Failed to write 82,792 bytes to address S:0x00008000 while writing block of 4,096 bytes to address S:0x00008000 

! Bus error on memory operation. 

 

Any ideas what is going on? How to fix it?
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
849 Views

I suspect you are tring to fit a quart into a pint pot. 

The 82k looks like a standard bsp build that includes a printf(), it will only fit into external memory. 

Address 0x8000 is probably a small internal memory block. 

 

You need to look at which memory areas the code/date/stack are assigned to. 

 

Altera really ought to change the default examples to use the small bsp.
0 Kudos
Altera_Forum
Honored Contributor II
849 Views

I am running bare-metal, I have a .s file where I set those memory address. Do you know of a Doc where I can know what the memory address of the Cyclone board are?

0 Kudos
Altera_Forum
Honored Contributor II
849 Views

 

--- Quote Start ---  

Hello, 

 

I have a Cyclone V SoC dev kit and I get the following errors when trying to load it onto the board: 

 

ERROR(CMD16-TAD216-NAL18):  

! Failed to load "DPD_Ex.axf" 

! Failed to write 82,792 bytes to address S:0x00008000 while writing block of 4,096 bytes to address S:0x00008000 

! Bus error on memory operation. 

 

Any ideas what is going on? How to fix it? 

--- Quote End ---  

 

 

 

Hi,  

I am trying to execute the same bare-metal program (the one described in the user guide) on my Cyclone V SoC development kit and facing same error. Here is the message :  

 

 

loadfile "D:\TOOLS\altera\130sp1\embedded\ds_5_teast_wb\Altera-SoCFPGA-HelloWorld-Baremetal-GNU\hello.axf

Target Message: Memory access caused precise abort. 

Debug Precise Abort Registers : DFSR = 0x00000817, DFAR = 0xFFFF1000 

ERROR(CMD16-TAD216-NAL18):  

! Failed to load "hello.axf" 

! Failed to write 16,048 bytes to address S:0xFFFF0000 while writing block of 4,096 bytes to address S:0xFFFF1000 

! Bus error on memory operation. 

 

 

Will you please explain me how you solved this problem? 

 

 

Ashish
0 Kudos
Altera_Forum
Honored Contributor II
849 Views

Like, the answer given above says. Your file is too big for the space.

0 Kudos
Altera_Forum
Honored Contributor II
849 Views

 

--- Quote Start ---  

Like, the answer given above says. Your file is too big for the space. 

--- Quote End ---  

 

 

Yeah, that I know very well. But, what should I do to execute this bare-metal program successfully?
0 Kudos
Altera_Forum
Honored Contributor II
849 Views

Hi,  

I am facing same error. 

 

Will you please explain me how you solved this problem? 

 

Thank you very much!
0 Kudos
Reply