Updated IPC Demo script DEV.MATRIX.APPS.01.00.00.02
authorCasey Smith <c-smith@ti.com>
Fri, 24 May 2013 12:36:06 +0000 (08:36 -0400)
committerCasey Smith <c-smith@ti.com>
Fri, 24 May 2013 12:36:06 +0000 (08:36 -0400)
demo_apps/demo_ipc/demo_ipc.sh

index c78a18adc67cbd23719b8e89bc4a267b7d3aaeb3..8d20f8f31a3b5ee879dd133cce296ae091f74056 100644 (file)
 #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
 #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-# Load/Run DSP Image
-mpm reset dsp0
-mpm load dsp0 /lib/firmware/messageq_single.xe66
-mpm run dsp0
+echo Loading DSP Images
+for i in 0 1 2 3 4 5 6 7
+do
+echo "Resetting core $i..."
+mpmcl reset dsp$i
+mpmcl status dsp$i
+done
+echo "Done"
+echo "Loading and Running " $1 "..."
+for i in 0 1 2 3 4 5 6 7
+do
+mpmcl load dsp$i "/lib/firmware/messageq_single.xe66"
+mpmcl run dsp$i
+done
 
 
-echo MessageQBench Output:
+echo Running MessageQBench:
 /usr/bin/MessageQBench
 /usr/bin/MessageQBench