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!

AR# 44678

13.3 EDK, MicroBlaze - Software failures occur when using write-back data cache

Description


In EDK 13.3 only, when using a MicroBlaze processor with data cache set to write-back mode (XPAR_MICROBLAZE_DCACHE_USE_WRITEBACK = 1), standalone applications (no OS) might inexplicably fail or otherwise misbehave after a cache flush.

How do I resolve this issue?

Solution


Xil_DCacheFlush()/Xil_DCacheFlushRange() functions in the standalone v3_02_a BSP for MicroBlaze processor will invalidate data in the cache instead of flushing it for write-back caches. The effect of this can be that the MicroBlaze processor store instructions will not update memory, silently disregarding the changes.

A tactical patch is required to fix this issue. Extract the following file to the Xilinx EDK installation directory, like C:\Xilinx\13.3\EDK:
http://www.xilinx.com/txpatches/pub/applications/misc/ar44678.zip

This issue is scheduled to be fixed in EDK 13.4.
AR# 44678
Date Created 10/21/2011
Last Updated 10/28/2011
Status Active
Type General Article
Tools
  • EDK - 13.3
IP
  • Microblaze