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# 21360

9.1i EDK, OPB_SysAce - What causes the System ACE module to issue an error?

Description

I have encountered two situations that result in unstable behavior with System ACE: 

 

Situation one 

The boot loader mounts the CF as a file system, copies the VxWorks image into memory, then jumps to the entry point for VxWorks. I receive an error and then System ACE hangs.  

 

Situation two 

The boot loader outlined above continues as the reset vector after VxWorks starts up. I receive an error, and System ACE does not access the CF card correctly when the reset button is pressed.

Solution

Resolution to situation one 

This is most likely due to the original boot loader mounting the CF, then leaving it in an unusual state when VxWorks starts up. 

 

To keep the System ACE from hanging when VxWorks starts up, set the "FORCELOCKREQ" bit in the Control Register of the System ACE in the boot loader just before it starts up VxWorks. This keeps the System ACE in a fixed state as VxWorks starts up. 

 

Resolution to situation two 

This is due to VxWorks mounting the CF and keeping it locked as a mounted file system. When the reset button is pressed, the boot loader starts up and tries to mount the CF as a file system, causing an error since VxWorks did not release the lock from when it was running.  

 

To keep the System ACE from hanging when boot loader mounts the CF as a file system again, have the boot loader lock the System ACE, set the command register to "Abort Command" 0x06, then release the lock on the System ACE. This forces the System ACE to abort all pending commands and to return to the start up state, allowing the boot loader to mount the CF as expected.

AR# 21360
Date Created 09/04/2007
Last Updated 05/19/2014
Status Archive
Type General Article