#!/bin/bash

# This script stops FX2 8051 and reads out predefined memory area for diagnostics.
# The device is then started again.
#
# $Id$
# $Date$
# $Author$
# $Revision$
# $Log$

# Stop 8051
usbio_utils 8051reset 1
# Dump the debug buffer
usbio_utils ram_read 0x3000 0x1000
# Start again
usbio_utils 8051reset 0
