summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOctasic Inc <support@octasic.com>2009-09-11 14:38:52 +0300
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-27 21:11:18 +0200
commit8d2d06a050b1a5de0c5139733ae5216a8a8f2632 (patch)
treec8e25946110eb1a70ff5e001d5e8064fc43c0713
parent4ed38158b4baae55739e1753c59073eccd4d17ec (diff)
importing OCT612x-01.03.00
-rw-r--r--ReleaseNotes.txt47
-rw-r--r--doc/oct612Xas5000-038.pdfbin806545 -> 0 bytes
-rw-r--r--doc/oct612Xas5000-039.pdfbin0 -> 813464 bytes
-rw-r--r--software/apilib/bt/octapi_bt0.c2
-rw-r--r--software/apilib/bt/octapi_bt0_private.h2
-rw-r--r--software/apilib/largmath/octapi_largmath.c2
-rw-r--r--software/apilib/llman/octapi_llman.c2
-rw-r--r--software/apilib/llman/octapi_llman_private.h2
-rw-r--r--software/include/apilib/octapi_bt0.h2
-rw-r--r--software/include/apilib/octapi_largmath.h2
-rw-r--r--software/include/apilib/octapi_llman.h2
-rw-r--r--software/include/oct6100api/oct6100_adpcm_chan_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_adpcm_chan_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_api.h2
-rw-r--r--software/include/oct6100api/oct6100_api_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_apimi.h2
-rw-r--r--software/include/oct6100api/oct6100_apiud.h2
-rw-r--r--software/include/oct6100api/oct6100_channel_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_channel_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_chip_open_inst.h8
-rw-r--r--software/include/oct6100api/oct6100_chip_open_pub.h5
-rw-r--r--software/include/oct6100api/oct6100_chip_stats_inst.h6
-rw-r--r--software/include/oct6100api/oct6100_chip_stats_pub.h6
-rw-r--r--software/include/oct6100api/oct6100_conf_bridge_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_conf_bridge_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_debug_inst.h14
-rw-r--r--software/include/oct6100api/oct6100_debug_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_defines.h9
-rw-r--r--software/include/oct6100api/oct6100_errors.h11
-rw-r--r--software/include/oct6100api/oct6100_events_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_events_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_interrupts_inst.h7
-rw-r--r--software/include/oct6100api/oct6100_interrupts_pub.h6
-rw-r--r--software/include/oct6100api/oct6100_mixer_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_mixer_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_phasing_tsst_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_phasing_tsst_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_playout_buf_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_playout_buf_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_remote_debug_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_remote_debug_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_tlv_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_tone_detection_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_tone_detection_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_tsi_cnct_inst.h2
-rw-r--r--software/include/oct6100api/oct6100_tsi_cnct_pub.h2
-rw-r--r--software/include/oct6100api/oct6100_tsst_inst.h2
-rw-r--r--software/include/octdef.h2
-rw-r--r--software/include/octmac.h2
-rw-r--r--software/include/octosdependant.h2
-rw-r--r--software/include/octrpc/oct6100_rpc_protocol.h2
-rw-r--r--software/include/octrpc/rpc_protocol.h2
-rw-r--r--software/include/octtype.h2
-rw-r--r--software/include/octtypevx.h2
-rw-r--r--software/include/octtypewin.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_adpcm_chan_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c142
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c13
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c386
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c19
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c8
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c6
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c5
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_channel_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_chip_open_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_chip_stats_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_conf_bridge_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_debug_priv.h18
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_events_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_interrupts_priv.h6
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_memory_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_miscellaneous_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_mixer_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_playout_buf_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_remote_debug_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_tlv_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_tone_detection_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_tsi_cnct_priv.h2
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_tsst_priv.h6
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_version.h6
94 files changed, 685 insertions, 191 deletions
diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt
index 1a7e423..a9f1199 100644
--- a/ReleaseNotes.txt
+++ b/ReleaseNotes.txt
@@ -3,6 +3,53 @@
RELEASE NOTES
+Version: OCT6100API-01.03.00
+
+Date: September 10, 2009
+
+-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+
+1.0 BACKWARD COMPATIBILITY NOTICE
+
+- Rout Noise Reduction features are no more supported
+- Stop events on 2100Hz are only supported from firmware 01.06.00.
+
+-------------------------------------------------------------------------------
+
+2.0 MODIFICATIONS DONE SINCE LAST RELEASE
+
+PR-7532 : Added support for the core dump mode in the Oct6100DebugGetData
+ function (cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP).
+
+
+-------------------------------------------------------------------------------
+
+3.0 BUGS FIXED IN THIS RELEASE
+
+NONE
+
+-------------------------------------------------------------------------------
+
+4.0 KNOWN BUGS PRESENT IN THIS RELEASE
+
+NONE
+
+-------------------------------------------------------------------------------
+
+5.0 KNOWN ISSUES PRESENT IN THIS RELEASE
+
+PR-5157 : 16-bit architectures are not supported by the API.
+
+-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+
+
+-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+
+ RELEASE NOTES
+
Version: OCT6100API-01.02.04
Date: July 30, 2009
diff --git a/doc/oct612Xas5000-038.pdf b/doc/oct612Xas5000-038.pdf
deleted file mode 100644
index 1b8094b..0000000
--- a/doc/oct612Xas5000-038.pdf
+++ /dev/null
Binary files differ
diff --git a/doc/oct612Xas5000-039.pdf b/doc/oct612Xas5000-039.pdf
new file mode 100644
index 0000000..1efc991
--- /dev/null
+++ b/doc/oct612Xas5000-039.pdf
Binary files differ
diff --git a/software/apilib/bt/octapi_bt0.c b/software/apilib/bt/octapi_bt0.c
index 94e1ac8..85b66e6 100644
--- a/software/apilib/bt/octapi_bt0.c
+++ b/software/apilib/bt/octapi_bt0.c
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 18 $
diff --git a/software/apilib/bt/octapi_bt0_private.h b/software/apilib/bt/octapi_bt0_private.h
index c0737af..3be62cb 100644
--- a/software/apilib/bt/octapi_bt0_private.h
+++ b/software/apilib/bt/octapi_bt0_private.h
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 11 $
diff --git a/software/apilib/largmath/octapi_largmath.c b/software/apilib/largmath/octapi_largmath.c
index a7062ae..17584c9 100644
--- a/software/apilib/largmath/octapi_largmath.c
+++ b/software/apilib/largmath/octapi_largmath.c
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 10 $
diff --git a/software/apilib/llman/octapi_llman.c b/software/apilib/llman/octapi_llman.c
index 6fbfe63..cfe417f 100644
--- a/software/apilib/llman/octapi_llman.c
+++ b/software/apilib/llman/octapi_llman.c
@@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 22 $
diff --git a/software/apilib/llman/octapi_llman_private.h b/software/apilib/llman/octapi_llman_private.h
index 60d4c37..eb3a9e9 100644
--- a/software/apilib/llman/octapi_llman_private.h
+++ b/software/apilib/llman/octapi_llman_private.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 13 $
diff --git a/software/include/apilib/octapi_bt0.h b/software/include/apilib/octapi_bt0.h
index 499cffa..a93426d 100644
--- a/software/include/apilib/octapi_bt0.h
+++ b/software/include/apilib/octapi_bt0.h
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 11 $
diff --git a/software/include/apilib/octapi_largmath.h b/software/include/apilib/octapi_largmath.h
index 29f7551..fcb8a3c 100644
--- a/software/include/apilib/octapi_largmath.h
+++ b/software/include/apilib/octapi_largmath.h
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 6 $
diff --git a/software/include/apilib/octapi_llman.h b/software/include/apilib/octapi_llman.h
index 611d1c5..f8d68bc 100644
--- a/software/include/apilib/octapi_llman.h
+++ b/software/include/apilib/octapi_llman.h
@@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 8 $
diff --git a/software/include/oct6100api/oct6100_adpcm_chan_inst.h b/software/include/oct6100api/oct6100_adpcm_chan_inst.h
index d636a90..2950b51 100644
--- a/software/include/oct6100api/oct6100_adpcm_chan_inst.h
+++ b/software/include/oct6100api/oct6100_adpcm_chan_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 6 $
diff --git a/software/include/oct6100api/oct6100_adpcm_chan_pub.h b/software/include/oct6100api/oct6100_adpcm_chan_pub.h
index c10de20..cccd353 100644
--- a/software/include/oct6100api/oct6100_adpcm_chan_pub.h
+++ b/software/include/oct6100api/oct6100_adpcm_chan_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 5 $
diff --git a/software/include/oct6100api/oct6100_api.h b/software/include/oct6100api/oct6100_api.h
index 9829a00..ba470b6 100644
--- a/software/include/oct6100api/oct6100_api.h
+++ b/software/include/oct6100api/oct6100_api.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 23 $
diff --git a/software/include/oct6100api/oct6100_api_inst.h b/software/include/oct6100api/oct6100_api_inst.h
index 6d11734..2cfd52a 100644
--- a/software/include/oct6100api/oct6100_api_inst.h
+++ b/software/include/oct6100api/oct6100_api_inst.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 42 $
diff --git a/software/include/oct6100api/oct6100_apimi.h b/software/include/oct6100api/oct6100_apimi.h
index ac56a04..3ae82fd 100644
--- a/software/include/oct6100api/oct6100_apimi.h
+++ b/software/include/oct6100api/oct6100_apimi.h
@@ -27,7 +27,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 6 $
diff --git a/software/include/oct6100api/oct6100_apiud.h b/software/include/oct6100api/oct6100_apiud.h
index 08a068d..24d07be 100644
--- a/software/include/oct6100api/oct6100_apiud.h
+++ b/software/include/oct6100api/oct6100_apiud.h
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 16 $
diff --git a/software/include/oct6100api/oct6100_channel_inst.h b/software/include/oct6100api/oct6100_channel_inst.h
index fe65031..93f74da 100644
--- a/software/include/oct6100api/oct6100_channel_inst.h
+++ b/software/include/oct6100api/oct6100_channel_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 92 $
diff --git a/software/include/oct6100api/oct6100_channel_pub.h b/software/include/oct6100api/oct6100_channel_pub.h
index fc6f26b..a2be8f6 100644
--- a/software/include/oct6100api/oct6100_channel_pub.h
+++ b/software/include/oct6100api/oct6100_channel_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 89 $
diff --git a/software/include/oct6100api/oct6100_chip_open_inst.h b/software/include/oct6100api/oct6100_chip_open_inst.h
index 1ebcdc2..c2538f5 100644
--- a/software/include/oct6100api/oct6100_chip_open_inst.h
+++ b/software/include/oct6100api/oct6100_chip_open_inst.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 131 $
+$Octasic_Revision: 133 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -60,6 +60,7 @@ typedef struct _OCT6100_API_CHIP_CONFIG_
+
UINT16 usMaxRwAccesses;
UINT16 usTailDisplacement;
@@ -159,6 +160,8 @@ typedef struct _OCT6100_API_MISCELLANEOUS_
UINT32 aulNumMafEvents[2];
UINT32 aulNlpTimestamps[2];
+
+
} tOCT6100_API_MISCELLANEOUS, *tPOCT6100_API_MISCELLANEOUS;
typedef struct _OCT6100_API_MEMORY_MAP_
@@ -481,6 +484,7 @@ typedef struct _OCT6100_API_IMAGE_INFO_
+
UINT8 fPerChannelPlayoutControl;
UINT8 szVersionNumber[ cOCT6100_VERSION_NUMBER_MAX_SIZE ];
diff --git a/software/include/oct6100api/oct6100_chip_open_pub.h b/software/include/oct6100api/oct6100_chip_open_pub.h
index b5adf9a..091e6fa 100644
--- a/software/include/oct6100api/oct6100_chip_open_pub.h
+++ b/software/include/oct6100api/oct6100_chip_open_pub.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 56 $
+$Octasic_Revision: 58 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -62,6 +62,7 @@ typedef struct _OCT6100_CHIP_OPEN_
UINT32 ulMemoryChipSize; /* The size of the memory chips. */
+
UINT32 ulTailDisplacement; /* Tail displacement supported by the chip. */
diff --git a/software/include/oct6100api/oct6100_chip_stats_inst.h b/software/include/oct6100api/oct6100_chip_stats_inst.h
index d5db72f..85e285c 100644
--- a/software/include/oct6100api/oct6100_chip_stats_inst.h
+++ b/software/include/oct6100api/oct6100_chip_stats_inst.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 24 $
+$Octasic_Revision: 26 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -61,6 +61,8 @@ typedef struct _OCT6100_API_CHIP_ERROR_STATS_
UINT32 ulH100FrameABadCnt;
+
+
} tOCT6100_API_CHIP_ERROR_STATS, *tPOCT6100_API_CHIP_ERROR_STATS;
diff --git a/software/include/oct6100api/oct6100_chip_stats_pub.h b/software/include/oct6100api/oct6100_chip_stats_pub.h
index e7942d5..2494793 100644
--- a/software/include/oct6100api/oct6100_chip_stats_pub.h
+++ b/software/include/oct6100api/oct6100_chip_stats_pub.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 64 $
+$Octasic_Revision: 66 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -64,6 +64,7 @@ typedef struct _OCT6100_CHIP_STATS_
UINT32 ulPllJitterErrorCount;
+
UINT32 ulOverflowToneEventsCount;
UINT32 ulSoftOverflowToneEventsCount;
@@ -117,6 +118,7 @@ typedef struct _OCT6100_CHIP_IMAGE_INFO_
BOOL fSinLevel;
+
UINT32 ulMaxChannels;
UINT32 ulNumTonesAvailable;
UINT32 ulToneProfileNumber;
diff --git a/software/include/oct6100api/oct6100_conf_bridge_inst.h b/software/include/oct6100api/oct6100_conf_bridge_inst.h
index 3819fa8..2378fa2 100644
--- a/software/include/oct6100api/oct6100_conf_bridge_inst.h
+++ b/software/include/oct6100api/oct6100_conf_bridge_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 19 $
diff --git a/software/include/oct6100api/oct6100_conf_bridge_pub.h b/software/include/oct6100api/oct6100_conf_bridge_pub.h
index 8f35fc1..a3e0d5c 100644
--- a/software/include/oct6100api/oct6100_conf_bridge_pub.h
+++ b/software/include/oct6100api/oct6100_conf_bridge_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 22 $
diff --git a/software/include/oct6100api/oct6100_debug_inst.h b/software/include/oct6100api/oct6100_debug_inst.h
index 8f3b19e..420ca32 100644
--- a/software/include/oct6100api/oct6100_debug_inst.h
+++ b/software/include/oct6100api/oct6100_debug_inst.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 10 $
+$Octasic_Revision: 12 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -92,6 +92,11 @@ typedef struct _OCT6100_API_DEBUG_
/* Last AF log read pointer. */
UINT16 usLastAfLogReadPtr;
+ /* Last core dump memory offset. */
+ UINT32 ulLastMemoryOffset;
+
+
+
/* AF log hardware write pointer. */
UINT16 usAfLogWritePtr;
@@ -104,6 +109,11 @@ typedef struct _OCT6100_API_DEBUG_
/* Whether the api version string has been copied in the user buffer. */
BOOL fApiVersionCopied;
+ /* Whether the chip's internal & external memories have been added to the dump. */
+ BOOL fCoreDumped;
+
+
+
/* Total number of bytes that will be returned for the current dump. */
UINT32 ulDebugDataTotalNumBytes;
diff --git a/software/include/oct6100api/oct6100_debug_pub.h b/software/include/oct6100api/oct6100_debug_pub.h
index 8453baf..e3b0e27 100644
--- a/software/include/oct6100api/oct6100_debug_pub.h
+++ b/software/include/oct6100api/oct6100_debug_pub.h
@@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 14 $
diff --git a/software/include/oct6100api/oct6100_defines.h b/software/include/oct6100api/oct6100_defines.h
index eaa2a46..a110092 100644
--- a/software/include/oct6100api/oct6100_defines.h
+++ b/software/include/oct6100api/oct6100_defines.h
@@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.7
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 175 $
+$Octasic_Revision: 179 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -253,6 +253,8 @@ $Octasic_Revision: 175 $
+
+
/* Internal memory mapping.*/
/*=======================================================================*/
@@ -584,6 +586,8 @@ $Octasic_Revision: 175 $
/* Image start string define */
#define cOCT6100_IMAGE_START_STRING "EDS3_IMAGE_NAME"
+#define cOCT6100_IMAGE_VERSION_STRING "EDS3_IMAGE_VERSION"
+
/* Tone image info defines.*/
#define cOCT6100_TONE_INFO_START_STRING "[ToneDetectorInfo]"
@@ -640,6 +644,7 @@ $Octasic_Revision: 175 $
#define cOCT6100_DEBUG_GET_DATA_MODE_120S_LITE 0x1
#define cOCT6100_DEBUG_GET_DATA_MODE_16S 0x2
#define cOCT6100_DEBUG_GET_DATA_MODE_120S 0x3
+#define cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP 0x4
/* Debug get data dump content. */
#define cOCT6100_DEBUG_GET_DATA_CONTENT_COMPLETE 0x0 /* Full binary dump to be sent for support. */
diff --git a/software/include/oct6100api/oct6100_errors.h b/software/include/oct6100api/oct6100_errors.h
index f59a7f3..09168c4 100644
--- a/software/include/oct6100api/oct6100_errors.h
+++ b/software/include/oct6100api/oct6100_errors.h
@@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 215 $
+$Octasic_Revision: 217 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -86,6 +86,7 @@ $Octasic_Revision: 215 $
+
#define cOCT6100_ERR_NOT_SUPPORTED_CHANNEL_ROUT_NOISE_REDUCTION_GAIN (0x0002B + cOCT6100_NOT_SUPPORTED_BASE)
#define cOCT6100_ERR_CHANNEL_ENABLE_PLAYOUT (0x0002C + cOCT6100_NOT_SUPPORTED_BASE)
@@ -191,6 +192,7 @@ $Octasic_Revision: 215 $
#define cOCT6100_ERR_OPEN_INVALID_IMAGE_FILE (0x0305D + cOCT6100_ERR_BASE)
+
#define cOCT6100_ERR_OPEN_ENABLE_2100_STOP_EVENT (0x03060 + cOCT6100_ERR_BASE)
@@ -508,6 +510,7 @@ $Octasic_Revision: 215 $
#define cOCT6100_ERR_INTRPTS_NLP_TIMESTAMP_READ_TIMEOUT (0x0D00D + cOCT6100_ERR_BASE)
+
#define cOCT6100_ERR_TSST_TIMESLOT (0x0E000 + cOCT6100_ERR_BASE)
#define cOCT6100_ERR_TSST_STREAM (0x0E001 + cOCT6100_ERR_BASE)
#define cOCT6100_ERR_TSST_TSST_RESERVED (0x0E002 + cOCT6100_ERR_BASE)
@@ -540,6 +543,7 @@ $Octasic_Revision: 215 $
#define cOCT6100_ERR_DEBUG_CHANNEL_IN_POWER_DOWN (0x11014 + cOCT6100_ERR_BASE)
#define cOCT6100_ERR_DEBUG_GET_DATA_CONTENT (0x11015 + cOCT6100_ERR_BASE)
#define cOCT6100_ERR_DEBUG_GET_DATA_MODE_CANNOT_CHANGE (0x11016 + cOCT6100_ERR_BASE)
+#define cOCT6100_ERR_DEBUG_CHANNEL_USED_FOR_INTERNAL_MEM_BIST (0x11017 + cOCT6100_ERR_BASE)
#define cOCT6100_ERR_MIXER_ALL_COPY_EVENT_ENTRY_OPENED (0x12000 + cOCT6100_ERR_BASE)
#define cOCT6100_ERR_MIXER_COPY_EVENT_HANDLE (0x12001 + cOCT6100_ERR_BASE)
@@ -595,6 +599,7 @@ $Octasic_Revision: 215 $
#define cOCT6100_ERR_TLV_TIMEOUT (0x31000 + cOCT6100_ERR_BASE)
#define cOCT6100_WARNING_OPEN_FUNCTIONAL_BIST_FAILED (0x03200 + cOCT6100_ERR_BASE)
+#define cOCT6100_WARNING_INTERNAL_MEMORY_BIST_FAILED (0x03201 + cOCT6100_ERR_BASE)
/* Fatal errors must always be greater or equal to 0xE000. */
@@ -847,5 +852,7 @@ $Octasic_Revision: 215 $
#define cOCT6100_ERR_FATAL_E9 (0x000E9 + cOCT6100_FATAL_BASE)
#define cOCT6100_ERR_FATAL_EA (0x000EA + cOCT6100_FATAL_BASE)
#define cOCT6100_ERR_FATAL_EB (0x000EB + cOCT6100_FATAL_BASE)
+#define cOCT6100_ERR_FATAL_EC (0x000EC + cOCT6100_FATAL_BASE)
+#define cOCT6100_ERR_FATAL_ED (0x000ED + cOCT6100_FATAL_BASE)
#endif /* __OCT6100_ERRORS_H__ */
diff --git a/software/include/oct6100api/oct6100_events_inst.h b/software/include/oct6100api/oct6100_events_inst.h
index 9ccd1c3..752c48a 100644
--- a/software/include/oct6100api/oct6100_events_inst.h
+++ b/software/include/oct6100api/oct6100_events_inst.h
@@ -26,7 +26,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 12 $
diff --git a/software/include/oct6100api/oct6100_events_pub.h b/software/include/oct6100api/oct6100_events_pub.h
index 29d2311..fd10c36 100644
--- a/software/include/oct6100api/oct6100_events_pub.h
+++ b/software/include/oct6100api/oct6100_events_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 14 $
diff --git a/software/include/oct6100api/oct6100_interrupts_inst.h b/software/include/oct6100api/oct6100_interrupts_inst.h
index 855cdaa..9efdbf8 100644
--- a/software/include/oct6100api/oct6100_interrupts_inst.h
+++ b/software/include/oct6100api/oct6100_interrupts_inst.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 21 $
+$Octasic_Revision: 23 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -53,6 +53,7 @@ typedef struct _OCT6100_API_INTRPT_CONFIG_
UINT8 byFatalMemoryConfig;
UINT8 byErrorMemoryConfig;
+
UINT8 byErrorOverflowToneEventsConfig;
UINT8 byErrorH100Config;
@@ -131,6 +132,8 @@ typedef struct _OCT6100_API_INTRPT_MANAGE_
UINT8 fAfBistFailedOnBoot;
+
+
UINT8 fIsrCalled;
} tOCT6100_API_INTRPT_MANAGE, *tPOCT6100_API_INTRPT_MANAGE;
diff --git a/software/include/oct6100api/oct6100_interrupts_pub.h b/software/include/oct6100api/oct6100_interrupts_pub.h
index faa331f..c97da6a 100644
--- a/software/include/oct6100api/oct6100_interrupts_pub.h
+++ b/software/include/oct6100api/oct6100_interrupts_pub.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 27 $
+$Octasic_Revision: 29 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -50,6 +50,7 @@ typedef struct _OCT6100_INTERRUPT_CONFIGURE_
UINT32 ulErrorMemoryConfig;
+
UINT32 ulErrorOverflowToneEventsConfig;
UINT32 ulErrorH100Config;
@@ -72,6 +73,7 @@ typedef struct _OCT6100_INTERRUPT_FLAGS_
+
BOOL fErrorOverflowToneEvents;
BOOL fErrorH100OutOfSync;
diff --git a/software/include/oct6100api/oct6100_mixer_inst.h b/software/include/oct6100api/oct6100_mixer_inst.h
index 5637229..94aaedb 100644
--- a/software/include/oct6100api/oct6100_mixer_inst.h
+++ b/software/include/oct6100api/oct6100_mixer_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 13 $
diff --git a/software/include/oct6100api/oct6100_mixer_pub.h b/software/include/oct6100api/oct6100_mixer_pub.h
index a070d74..677ce15 100644
--- a/software/include/oct6100api/oct6100_mixer_pub.h
+++ b/software/include/oct6100api/oct6100_mixer_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 7 $
diff --git a/software/include/oct6100api/oct6100_phasing_tsst_inst.h b/software/include/oct6100api/oct6100_phasing_tsst_inst.h
index 6bcfd98..24d7805 100644
--- a/software/include/oct6100api/oct6100_phasing_tsst_inst.h
+++ b/software/include/oct6100api/oct6100_phasing_tsst_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 11 $
diff --git a/software/include/oct6100api/oct6100_phasing_tsst_pub.h b/software/include/oct6100api/oct6100_phasing_tsst_pub.h
index 1588f5f..879a573 100644
--- a/software/include/oct6100api/oct6100_phasing_tsst_pub.h
+++ b/software/include/oct6100api/oct6100_phasing_tsst_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 10 $
diff --git a/software/include/oct6100api/oct6100_playout_buf_inst.h b/software/include/oct6100api/oct6100_playout_buf_inst.h
index 462e7b5..f419a8d 100644
--- a/software/include/oct6100api/oct6100_playout_buf_inst.h
+++ b/software/include/oct6100api/oct6100_playout_buf_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 10 $
diff --git a/software/include/oct6100api/oct6100_playout_buf_pub.h b/software/include/oct6100api/oct6100_playout_buf_pub.h
index e3a0233..261175e 100644
--- a/software/include/oct6100api/oct6100_playout_buf_pub.h
+++ b/software/include/oct6100api/oct6100_playout_buf_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 21 $
diff --git a/software/include/oct6100api/oct6100_remote_debug_inst.h b/software/include/oct6100api/oct6100_remote_debug_inst.h
index 5b36217..0598732 100644
--- a/software/include/oct6100api/oct6100_remote_debug_inst.h
+++ b/software/include/oct6100api/oct6100_remote_debug_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 6 $
diff --git a/software/include/oct6100api/oct6100_remote_debug_pub.h b/software/include/oct6100api/oct6100_remote_debug_pub.h
index 3eb0224..54dad36 100644
--- a/software/include/oct6100api/oct6100_remote_debug_pub.h
+++ b/software/include/oct6100api/oct6100_remote_debug_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 6 $
diff --git a/software/include/oct6100api/oct6100_tlv_inst.h b/software/include/oct6100api/oct6100_tlv_inst.h
index 6b2d3b9..edfcbef 100644
--- a/software/include/oct6100api/oct6100_tlv_inst.h
+++ b/software/include/oct6100api/oct6100_tlv_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 7 $
diff --git a/software/include/oct6100api/oct6100_tone_detection_inst.h b/software/include/oct6100api/oct6100_tone_detection_inst.h
index c61e83b..afc10fc 100644
--- a/software/include/oct6100api/oct6100_tone_detection_inst.h
+++ b/software/include/oct6100api/oct6100_tone_detection_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 8 $
diff --git a/software/include/oct6100api/oct6100_tone_detection_pub.h b/software/include/oct6100api/oct6100_tone_detection_pub.h
index ffbf6ec..76d89dc 100644
--- a/software/include/oct6100api/oct6100_tone_detection_pub.h
+++ b/software/include/oct6100api/oct6100_tone_detection_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 10 $
diff --git a/software/include/oct6100api/oct6100_tsi_cnct_inst.h b/software/include/oct6100api/oct6100_tsi_cnct_inst.h
index 8806075..6b961a3 100644
--- a/software/include/oct6100api/oct6100_tsi_cnct_inst.h
+++ b/software/include/oct6100api/oct6100_tsi_cnct_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 9 $
diff --git a/software/include/oct6100api/oct6100_tsi_cnct_pub.h b/software/include/oct6100api/oct6100_tsi_cnct_pub.h
index 939d371..1e2bbc3 100644
--- a/software/include/oct6100api/oct6100_tsi_cnct_pub.h
+++ b/software/include/oct6100api/oct6100_tsi_cnct_pub.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 11 $
diff --git a/software/include/oct6100api/oct6100_tsst_inst.h b/software/include/oct6100api/oct6100_tsst_inst.h
index 46acf3a..d58b08f 100644
--- a/software/include/oct6100api/oct6100_tsst_inst.h
+++ b/software/include/oct6100api/oct6100_tsst_inst.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 5 $
diff --git a/software/include/octdef.h b/software/include/octdef.h
index 95b4666..7a135e0 100644
--- a/software/include/octdef.h
+++ b/software/include/octdef.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 12 $
diff --git a/software/include/octmac.h b/software/include/octmac.h
index d21a089..46bbb27 100644
--- a/software/include/octmac.h
+++ b/software/include/octmac.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 14 $
diff --git a/software/include/octosdependant.h b/software/include/octosdependant.h
index e65b658..75440a3 100644
--- a/software/include/octosdependant.h
+++ b/software/include/octosdependant.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 20 $
diff --git a/software/include/octrpc/oct6100_rpc_protocol.h b/software/include/octrpc/oct6100_rpc_protocol.h
index 9abc54a..005448f 100644
--- a/software/include/octrpc/oct6100_rpc_protocol.h
+++ b/software/include/octrpc/oct6100_rpc_protocol.h
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 6 $
diff --git a/software/include/octrpc/rpc_protocol.h b/software/include/octrpc/rpc_protocol.h
index 26c47d9..d12a91c 100644
--- a/software/include/octrpc/rpc_protocol.h
+++ b/software/include/octrpc/rpc_protocol.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 23 $
diff --git a/software/include/octtype.h b/software/include/octtype.h
index cf2d701..89f7087 100644
--- a/software/include/octtype.h
+++ b/software/include/octtype.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 18 $
diff --git a/software/include/octtypevx.h b/software/include/octtypevx.h
index e952304..046a923 100644
--- a/software/include/octtypevx.h
+++ b/software/include/octtypevx.h
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 9 $
diff --git a/software/include/octtypewin.h b/software/include/octtypewin.h
index 938a732..3f60abb 100644
--- a/software/include/octtypewin.h
+++ b/software/include/octtypewin.h
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 16 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_adpcm_chan_priv.h b/software/octdeviceapi/oct6100api/oct6100_adpcm_chan_priv.h
index 395f478..708ed08 100644
--- a/software/octdeviceapi/oct6100api/oct6100_adpcm_chan_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_adpcm_chan_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 7 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c
index a419b35..27effc7 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 16 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
index 329c318..055f515 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 510 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
index af0fda6..da82fb6 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c
@@ -24,9 +24,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 367 $
+$Octasic_Revision: 374 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -183,6 +183,7 @@ UINT32 Oct6100ChipOpenDef(
+
/* Set the tail displacement to zero. */
f_pChipOpen->ulTailDisplacement = 0;
@@ -223,6 +224,7 @@ UINT32 Oct6100ChipOpenDef(
f_pChipOpen->InterruptConfig.ulFatalGeneralConfig = cOCT6100_INTERRUPT_NO_TIMEOUT;
f_pChipOpen->InterruptConfig.ulFatalMemoryConfig = cOCT6100_INTERRUPT_NO_TIMEOUT;
+
f_pChipOpen->InterruptConfig.ulErrorH100Config = cOCT6100_INTERRUPT_NO_TIMEOUT;
f_pChipOpen->InterruptConfig.ulErrorOverflowToneEventsConfig = cOCT6100_INTERRUPT_NO_TIMEOUT;
@@ -435,7 +437,7 @@ UINT32 Oct6100ChipOpen(
if ( ulResult != cOCT6100_ERR_OK )
return ulResult;
- /* Initialize the mixer memory. */
+ /* Initialize the recorder. */
ulResult = Oct6100ApiInitRecordResources( f_pApiInstance );
if ( ulResult != cOCT6100_ERR_OK )
return ulResult;
@@ -448,7 +450,7 @@ UINT32 Oct6100ChipOpen(
- /*Clear all interrupts that could have occured during startup*/
+ /* Clear all interrupts that could have occured during startup */
ulResult = Oct6100ApiClearInterrupts( f_pApiInstance );
if ( ulResult != cOCT6100_ERR_OK )
return ulResult;
@@ -464,8 +466,10 @@ UINT32 Oct6100ChipOpen(
)
return cOCT6100_WARNING_OPEN_FUNCTIONAL_BIST_FAILED;
- else
- return cOCT6100_ERR_OK;
+
+
+
+ return cOCT6100_ERR_OK;
}
@@ -1052,12 +1056,14 @@ UINT32 Oct6100ApiCheckChipConfiguration(
if ( f_pChipOpen->pbyImageFile == NULL )
return cOCT6100_ERR_OPEN_IMAGE_FILE;
- ulTempVar = Oct6100ApiCheckImageFileHeader(f_pChipOpen);
- if (ulTempVar != cOCT6100_ERR_OK)
+ ulTempVar = Oct6100ApiCheckImageFileHeader( f_pChipOpen );
+ if ( ulTempVar != cOCT6100_ERR_OK )
return ulTempVar;
+
+
/* Check the acoustic echo activation flag. */
if ( f_pChipOpen->fEnableAcousticEcho != TRUE &&
f_pChipOpen->fEnableAcousticEcho != FALSE )
@@ -1357,6 +1363,7 @@ UINT32 Oct6100ApiCopyChipConfiguration(
+
pSharedInfo->ChipConfig.usTailDisplacement = (UINT16)( f_pChipOpen->ulTailDisplacement & 0xFFFF );
pSharedInfo->ChipConfig.fEnableAcousticEcho = (UINT8)( f_pChipOpen->fEnableAcousticEcho & 0xFF );
/* Resource allocation parameters. */
@@ -1472,6 +1479,7 @@ UINT32 Oct6100ApiInitializeMiscellaneousVariables(
pSharedInfo->MiscVars.usCodepoint = 0;
pSharedInfo->MiscVars.usCpuLsuWritePtr = 0;
+
/* Pouch counter not present until TLVs are read. */
pSharedInfo->DebugInfo.fPouchCounter = FALSE;
pSharedInfo->DebugInfo.fIsIsrCalledField = FALSE;
@@ -2029,14 +2037,13 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the
UINT32 Oct6100ApiCheckImageFileHeader(
IN tPOCT6100_CHIP_OPEN f_pChipOpen )
{
-
- PUINT8 pszImageInfoStart = NULL;
- UINT32 ulStrLen;
+ UINT32 ulStrLen;
+ PUINT8 pszImageVersion;
ulStrLen = Oct6100ApiStrLen( (PUINT8)cOCT6100_IMAGE_START_STRING );
- pszImageInfoStart = Oct6100ApiStrStr(f_pChipOpen->pbyImageFile,(PUINT8)cOCT6100_IMAGE_START_STRING,
- f_pChipOpen->pbyImageFile + ulStrLen);
- if (pszImageInfoStart == NULL)
+ pszImageVersion = Oct6100ApiStrStr( f_pChipOpen->pbyImageFile, (PUINT8)cOCT6100_IMAGE_START_STRING,
+ f_pChipOpen->pbyImageFile + ulStrLen );
+ if ( pszImageVersion == NULL )
return cOCT6100_ERR_OPEN_INVALID_IMAGE_FILE;
return cOCT6100_ERR_OK;
@@ -2062,11 +2069,16 @@ UINT32 Oct6100ApiDecodeKeyAndBist(
tPOCT6100_API_CHIP_CONFIG pChipConfig;
tOCT6100_WRITE_PARAMS WriteParams;
tOCT6100_READ_PARAMS ReadParams;
- UINT16 ausBistData[ 3 ];
+ tOCT6100_READ_BURST_PARAMS ReadBurstParams;
+ UINT16 ausBistData[ 6 ];
UINT16 usReadData;
UINT32 ulResult;
BOOL fBitEqual;
UINT32 i;
+ UINT32 ulBistIndex = 0;
+ UINT32 aulBistTypes[] = {
+
+ 0 /* Memory clear */ };
/* Get local pointer to shared portion of instance. */
pSharedInfo = f_pApiInstance->pSharedInfo;
@@ -2085,8 +2097,13 @@ UINT32 Oct6100ApiDecodeKeyAndBist(
ReadParams.ulUserChipId = pChipConfig->ulUserChipId;
+ /* Set the process context and user chip ID parameters once and for all. */
+ ReadBurstParams.pProcessContext = f_pApiInstance->pProcessContext;
+
+ ReadBurstParams.ulUserChipId = pChipConfig->ulUserChipId;
+
/* Write key in CPU internal memory. */
- for(i=0; i<8; i++)
+ for( i=0; i<8; i++ )
{
WriteParams.ulWriteAddress = 0x150;
WriteParams.usWriteData = 0x0000;
@@ -2114,7 +2131,7 @@ UINT32 Oct6100ApiDecodeKeyAndBist(
}
/* Write one in CPU internal memory. */
- for(i=0; i<8; i++)
+ for( i=0; i<8; i++ )
{
WriteParams.ulWriteAddress = 0x150;
if (i == 0)
@@ -2154,62 +2171,65 @@ UINT32 Oct6100ApiDecodeKeyAndBist(
/* Run BISTs and key decode. */
WriteParams.ulWriteAddress = 0x160;
- WriteParams.usWriteData = 0x0081;
- mOCT6100_DRIVER_WRITE_API( WriteParams, ulResult );
- if ( ulResult != cOCT6100_ERR_OK )
- return ulResult;
- /* Wait for the key decode PC to clear. */
- ulResult = Oct6100ApiWaitForPcRegisterBit( f_pApiInstance, 0x160, 0, 0, 100000, &fBitEqual );
- if ( TRUE != fBitEqual )
- return cOCT6100_ERR_FATAL_13;
+
+ /* Activate BIST and key decode. */
+ WriteParams.usWriteData = 0x0081;
- /* Read the key valid bit to make sure everything is ok. */
- ReadParams.ulReadAddress = 0x160;
- ReadParams.pusReadData = &usReadData;
+ /* Set BIST type. */
+ WriteParams.usWriteData |= aulBistTypes[ ulBistIndex ] << 4;
+
+ mOCT6100_DRIVER_WRITE_API( WriteParams, ulResult );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
- mOCT6100_DRIVER_READ_API( ReadParams, ulResult );
- if ( ulResult != cOCT6100_ERR_OK )
- return ulResult;
+ /* Wait for the key decode PC to clear. */
+ ulResult = Oct6100ApiWaitForPcRegisterBit( f_pApiInstance, 0x160, 0, 0, 100000, &fBitEqual );
+ if ( TRUE != fBitEqual )
+ return cOCT6100_ERR_FATAL_13;
- /* The channel capacity pins of the chip do not match what the firmware is expecting. */
- if ( ( usReadData & 0x4 ) == 0 )
- return cOCT6100_ERR_OPEN_INVALID_FIRMWARE_OR_CAPACITY_PINS;
+ /* Read the key valid bit to make sure everything is ok. */
+ ReadParams.ulReadAddress = 0x160;
+ ReadParams.pusReadData = &usReadData;
- /* Read the result of the internal memory bist. */
- ReadParams.ulReadAddress = 0x110;
- ReadParams.pusReadData = &ausBistData[ 0 ];
+ mOCT6100_DRIVER_READ_API( ReadParams, ulResult );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
- mOCT6100_DRIVER_READ_API( ReadParams, ulResult );
- if ( ulResult != cOCT6100_ERR_OK )
- return ulResult;
+ /* The channel capacity pins of the chip do not match what the firmware is expecting. */
+ if ( ( usReadData & 0x4 ) == 0 )
+ return cOCT6100_ERR_OPEN_INVALID_FIRMWARE_OR_CAPACITY_PINS;
- ReadParams.ulReadAddress = 0x114;
- ReadParams.pusReadData = &ausBistData[ 1 ];
+ /* Read the result of the internal memory BIST. */
+ ReadBurstParams.ulReadAddress = 0x110;
+ ReadBurstParams.pusReadData = ausBistData;
+ ReadBurstParams.ulReadLength = 6;
- mOCT6100_DRIVER_READ_API( ReadParams, ulResult );
- if ( ulResult != cOCT6100_ERR_OK )
- return ulResult;
-
- ReadParams.ulReadAddress = 0x118;
- ReadParams.pusReadData = &ausBistData[ 2 ];
+ mOCT6100_DRIVER_READ_BURST_API( ReadBurstParams, ulResult );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
- mOCT6100_DRIVER_READ_API( ReadParams, ulResult );
- if ( ulResult != cOCT6100_ERR_OK )
- return ulResult;
+ /* Check if an error was reported. */
+ for ( i=0; i<6; i++ )
+ {
+ if ( ausBistData[ i ] != 0x0000 )
+ {
+ if ( aulBistTypes[ ulBistIndex ] == 0 )
+ return cOCT6100_ERR_OPEN_INTERNAL_MEMORY_BIST;
- /* Check if an error was reported. */
- if (ausBistData[0] != 0x0000 || ausBistData[1] != 0x0000 || ausBistData[2] != 0x0000)
- return cOCT6100_ERR_OPEN_INTERNAL_MEMORY_BIST;
+ }
+ }
+
+ /* Put key decoder in powerdown. */
+ WriteParams.ulWriteAddress = 0x160;
+ WriteParams.usWriteData = 0x00AA;
+
+ mOCT6100_DRIVER_WRITE_API( WriteParams, ulResult );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
- /* Put key decoder in powerdown. */
- WriteParams.ulWriteAddress = 0x160;
- WriteParams.usWriteData = 0x008A;
- mOCT6100_DRIVER_WRITE_API( WriteParams, ulResult );
- if ( ulResult != cOCT6100_ERR_OK )
- return ulResult;
return cOCT6100_ERR_OK;
}
@@ -5189,6 +5209,8 @@ UINT32 Oct6100ApiInitChannels(
&& ( pSharedInfo->ImageInfo.usMaxNumberOfChannels < cOCT6100_MAX_ECHO_CHANNELS )
&& ( pSharedInfo->ChipConfig.usMaxChannels == pSharedInfo->ImageInfo.usMaxNumberOfChannels ) )
return cOCT6100_ERR_NOT_SUPPORTED_OPEN_MAX_ECHO_CHANNELS_VALUE;
+
+
/* Initialize the memory for all required channels. */
for( i = 0; i < f_pApiInstance->pSharedInfo->ChipConfig.usMaxChannels; i++ )
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c
index 2e57fa8..e874a81 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c
@@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 96 $
+$Octasic_Revision: 98 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -105,6 +105,7 @@ UINT32 Oct6100ChipGetStatsDef(
+
return cOCT6100_ERR_OK;
}
@@ -216,6 +217,7 @@ UINT32 Oct6100ChipGetImageInfoDef(
f_pChipImageInfo->fSinLevel = TRUE;
+
f_pChipImageInfo->fPerChannelPlayoutControl = FALSE;
for ( i = 0; i < cOCT6100_MAX_TONE_EVENT; i++ )
@@ -290,6 +292,7 @@ UINT32 Oct6100ChipGetImageInfo(
f_pChipImageInfo->ulImageType = pImageInfo->byImageType;
+
f_pChipImageInfo->fPerChannelPlayoutControl = pImageInfo->fPerChannelPlayoutControl;
for ( i = 0; i < cOCT6100_MAX_TONE_EVENT; i++ )
@@ -358,6 +361,8 @@ UINT32 Oct6100ApiChipStatsSwInit(
+
+
return cOCT6100_ERR_OK;
}
@@ -416,6 +421,8 @@ UINT32 Oct6100ChipGetStatsSer(
pSharedInfo->SoftBufs.ulBufPlayoutEventBufferOverflowCnt = 0;
+
+
}
f_pChipStats->ulH100OutOfSynchCount = pSharedInfo->ErrorStats.ulH100OutOfSyncCnt;
@@ -429,6 +436,8 @@ UINT32 Oct6100ChipGetStatsSer(
+
+
f_pChipStats->ulOverflowToneEventsCount = pSharedInfo->ErrorStats.ulOverflowToneEventsCnt;
f_pChipStats->ulSoftOverflowToneEventsCount = pSharedInfo->SoftBufs.ulToneEventBufferOverflowCnt;
f_pChipStats->ulSoftOverflowBufferPlayoutEventsCount = pSharedInfo->SoftBufs.ulBufPlayoutEventBufferOverflowCnt;
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c
index 0fe4f90..e3279c1 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 146 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c
index 2b9ad20..9fbb269 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c
@@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 66 $
+$Octasic_Revision: 74 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -37,6 +37,8 @@ $Octasic_Revision: 66 $
#include "oct6100api/oct6100_errors.h"
#include "oct6100api/oct6100_apiud.h"
+#include "apilib/octapi_largmath.h"
+
#include "oct6100api/oct6100_apiud.h"
#include "oct6100api/oct6100_tlv_inst.h"
#include "oct6100api/oct6100_chip_open_inst.h"
@@ -49,10 +51,12 @@ $Octasic_Revision: 66 $
#include "oct6100api/oct6100_interrupts_pub.h"
#include "oct6100api/oct6100_chip_open_pub.h"
+#include "oct6100api/oct6100_chip_stats_pub.h"
#include "oct6100api/oct6100_channel_pub.h"
#include "oct6100api/oct6100_debug_pub.h"
#include "oct6100_chip_open_priv.h"
+#include "oct6100_chip_stats_priv.h"
#include "oct6100_channel_priv.h"
#include "oct6100_miscellaneous_priv.h"
#include "oct6100_memory_priv.h"
@@ -289,8 +293,6 @@ UINT32 Oct6100DebugSelectChannelSer(
return ulResult;
}
pTempChanEntry->usExtraSinTsiMemIndex = cOCT6100_INVALID_INDEX;
-
- /* XXX: What about the silence TSI usSinSilenceEventIndex ?? */
}
pTempChanEntry->usExtraSinTsiDependencyCnt--;
@@ -352,8 +354,6 @@ UINT32 Oct6100DebugSelectChannelSer(
if ( ulResult != cOCT6100_ERR_OK )
return ulResult;
}
-
- /* XXX: What about the silence TSI usSinSilenceEventIndex ?? */
}
@@ -479,7 +479,6 @@ UINT32 Oct6100DebugGetDataSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData )
{
-
tPOCT6100_SHARED_INFO pSharedInfo;
tPOCT6100_API_CHANNEL pChanEntry = NULL;
tOCT6100_READ_PARAMS ReadParams;
@@ -561,7 +560,8 @@ UINT32 Oct6100DebugGetDataSer(
if ( ( f_pGetData->ulGetDataMode != cOCT6100_DEBUG_GET_DATA_MODE_16S_LITE )
&& ( f_pGetData->ulGetDataMode != cOCT6100_DEBUG_GET_DATA_MODE_120S_LITE )
&& ( f_pGetData->ulGetDataMode != cOCT6100_DEBUG_GET_DATA_MODE_16S )
- && ( f_pGetData->ulGetDataMode != cOCT6100_DEBUG_GET_DATA_MODE_120S ) )
+ && ( f_pGetData->ulGetDataMode != cOCT6100_DEBUG_GET_DATA_MODE_120S )
+ && ( f_pGetData->ulGetDataMode != cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP ) )
return cOCT6100_ERR_DEBUG_GET_DATA_MODE;
/* Check dump content. */
@@ -571,6 +571,11 @@ UINT32 Oct6100DebugGetDataSer(
&& ( f_pGetData->ulGetDataContent != cOCT6100_DEBUG_GET_DATA_CONTENT_SOUT_PCM ) )
return cOCT6100_ERR_DEBUG_GET_DATA_CONTENT;
+ /* The core dump mode does not support the xxx_PCM data contents. */
+ if ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP )
+ && ( f_pGetData->ulGetDataContent != cOCT6100_DEBUG_GET_DATA_CONTENT_COMPLETE ) )
+ return cOCT6100_ERR_DEBUG_GET_DATA_CONTENT;
+
/* Check if can accomodate the 120 seconds dump. */
if ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S_LITE )
|| ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S ) )
@@ -593,8 +598,6 @@ UINT32 Oct6100DebugGetDataSer(
if ( pChanEntry->byEchoOperationMode == cOCT6100_ECHO_OP_MODE_POWER_DOWN )
return cOCT6100_ERR_DEBUG_CHANNEL_IN_POWER_DOWN;
- pSharedInfo->DebugInfo.fDebugDataBeingDumped = TRUE;
-
/* Flag the hot channel that it must stop recording. The data is being transfered. */
/* This also tells the remote client not to do anything right now. */
@@ -679,9 +682,12 @@ UINT32 Oct6100DebugGetDataSer(
}
+
/* If the user only requested the last 16 seconds, cap the number of events. */
if ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S
- || f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S_LITE )
+ || f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S_LITE
+ || ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP )
+ && ( pSharedInfo->DebugInfo.ulDebugEventSize != 0x100 ) ) )
{
/* x events to get the last 16 seconds. */
if ( pSharedInfo->DebugInfo.usNumEvents > ( 16000 / ( pSharedInfo->DebugInfo.ulRecordedPcmEventByteSize / 8 ) ) )
@@ -757,7 +763,8 @@ UINT32 Oct6100DebugGetDataSer(
/* In heavy mode, the AF log pointer is retrieved. */
if ( ( pSharedInfo->DebugInfo.usNumEvents >= 2 )
&& ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S )
- || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S ) ) )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP ) ) )
{
/* The latest AF log write pointer is at the latest matrix event. */
ReadParams.ulReadAddress = pSharedInfo->DebugInfo.ulMatrixBaseAddress + ( ( pSharedInfo->DebugInfo.usChipDebugEventWritePtr & pSharedInfo->DebugInfo.usMatrixCBMask ) * 1024 );
@@ -793,6 +800,9 @@ UINT32 Oct6100DebugGetDataSer(
/* Remember the data mode for later checks. Also, the user cannot change this "mode". */
pSharedInfo->DebugInfo.ulCurrentGetDataMode = f_pGetData->ulGetDataMode;
+
+ /* Remember that we are currently dumping. */
+ pSharedInfo->DebugInfo.fDebugDataBeingDumped = TRUE;
}
else
{
@@ -845,6 +855,11 @@ UINT32 Oct6100DebugGetDataSer(
pSharedInfo->DebugInfo.fImageVersionCopied = FALSE;
pSharedInfo->DebugInfo.fApiVersionCopied = FALSE;
+ /* The core dump flag has not been set yet. */
+ pSharedInfo->DebugInfo.fCoreDumped = FALSE;
+ pSharedInfo->DebugInfo.ulLastMemoryOffset = 0;
+
+
/* Estimate the total size of the buffer that will be returned. */
f_pGetData->ulTotalNumBytes = ulUserBufWriteIndex;
@@ -853,7 +868,8 @@ UINT32 Oct6100DebugGetDataSer(
{
/* Add the matrix events. */
if ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S )
- || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S ) )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP ) )
{
/* Heavy mode! Grab everything! */
f_pGetData->ulTotalNumBytes += pSharedInfo->DebugInfo.usNumEvents * pSharedInfo->DebugInfo.ulDebugChanStatsByteSize;
@@ -869,7 +885,8 @@ UINT32 Oct6100DebugGetDataSer(
/* If requested, add the AF log events. */
if ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S )
- || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S ) )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP ) )
{
f_pGetData->ulTotalNumBytes += (UINT32)( ( pSharedInfo->DebugInfo.usAfLogWritePtr - pSharedInfo->DebugInfo.usLastAfLogReadPtr ) & 0xFFFF ) * 16;
}
@@ -882,6 +899,18 @@ UINT32 Oct6100DebugGetDataSer(
/* Add the API version string. */
f_pGetData->ulTotalNumBytes += sizeof( cOCT6100_API_VERSION );
+
+ /* If core dumping, must add the size of the memory regions that will be returned to the user. */
+ if ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP )
+ {
+ /* Internal memories. */
+ f_pGetData->ulTotalNumBytes += 0x300000;
+
+ /* External memory. */
+ f_pGetData->ulTotalNumBytes += ( pSharedInfo->MemoryMap.ulFreeMemBaseAddress - cOCT6100_EXTERNAL_MEM_BASE_ADDRESS );
+
+
+ }
}
else /* if ( f_pGetData->ulGetDataContent != cOCT6100_DEBUG_GET_DATA_CONTENT_COMPLETE ) */
{
@@ -918,7 +947,8 @@ UINT32 Oct6100DebugGetDataSer(
/* Check if we are in light or heavy mode. The burst size is not the same. */
if ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S )
- || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S ) )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP ) )
{
if ( ( f_pGetData->ulMaxBytes - ulUserBufWriteIndex ) >= pSharedInfo->DebugInfo.ulDebugChanStatsByteSize )
ulNumReads = pSharedInfo->DebugInfo.ulDebugChanStatsByteSize / 2;
@@ -967,7 +997,8 @@ UINT32 Oct6100DebugGetDataSer(
/* Increment index. */
if ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S )
- || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S ) )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP ) )
{
ulUserBufWriteIndex += pSharedInfo->DebugInfo.ulDebugChanStatsByteSize;
}
@@ -1115,7 +1146,8 @@ UINT32 Oct6100DebugGetDataSer(
/* Go for the AF events. The AF events are only copied in heavy mode. */
if ( ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_16S )
- || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S ) )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_120S )
+ || ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP ) )
{
while ( pSharedInfo->DebugInfo.usLastAfLogReadPtr != pSharedInfo->DebugInfo.usAfLogWritePtr )
{
@@ -1201,6 +1233,9 @@ UINT32 Oct6100DebugGetDataSer(
{
if ( ( f_pGetData->ulMaxBytes - ulUserBufWriteIndex ) >= 512 )
{
+ tOCT6100_CHIP_STATS ChipStats;
+ UINT32 ulTempIndex;
+
Oct6100UserMemCopy( &f_pGetData->pbyData[ ulUserBufWriteIndex ], pSharedInfo->ImageInfo.szVersionNumber, 512 );
/* Get PLL jitter count from external memory. */
@@ -1232,6 +1267,61 @@ UINT32 Oct6100DebugGetDataSer(
f_pGetData->pbyData[ ulUserBufWriteIndex + 510 ] |= 0x80;
}
+
+
+ /* Set the hardware revision number. */
+ ulTempIndex = 509;
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( pSharedInfo->MiscVars.usChipRevision ) & 0xFF );
+
+ Oct6100ChipGetStatsDef( &ChipStats );
+ ulResult = Oct6100ChipGetStatsSer( f_pApiInstance, &ChipStats );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulNumberChannels & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulNumberChannels >> 8 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( f_pApiInstance->pSharedInfo->MiscVars.ulNumActiveChannels & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( f_pApiInstance->pSharedInfo->MiscVars.ulNumActiveChannels >> 8 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulNumberTsiCncts & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulNumberTsiCncts >> 8 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulNumberConfBridges & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulNumberConfBridges >> 8 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulNumberPlayoutBuffers & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulNumberPlayoutBuffers >> 8 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulPlayoutFreeMemSize & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulPlayoutFreeMemSize >> 8 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulPlayoutFreeMemSize >> 16 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulPlayoutFreeMemSize >> 24 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulNumberPhasingTssts & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulNumberPhasingTssts >> 8 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulNumberAdpcmChannels & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulNumberAdpcmChannels >> 8 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulInternalReadTimeoutCount & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulInternalReadTimeoutCount >> 8 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulInternalReadTimeoutCount >> 16 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulInternalReadTimeoutCount >> 24 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulSdramRefreshTooLateCount & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulSdramRefreshTooLateCount >> 8 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulSdramRefreshTooLateCount >> 16 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulSdramRefreshTooLateCount >> 24 ) & 0xFF );
+
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ChipStats.ulPllJitterErrorCount & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulPllJitterErrorCount >> 8 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulPllJitterErrorCount >> 16 ) & 0xFF );
+ f_pGetData->pbyData[ ulUserBufWriteIndex + ulTempIndex-- ] = (UINT8)( ( ChipStats.ulPllJitterErrorCount >> 24 ) & 0xFF );
+
+ ulTempIndex -= 5;
+
+ /* Update write pointer. */
ulUserBufWriteIndex += 512;
/* The version has been copied. */
@@ -1254,14 +1344,38 @@ UINT32 Oct6100DebugGetDataSer(
}
}
}
+
+ /* Check for the core dump content. */
+ if ( pSharedInfo->DebugInfo.fApiVersionCopied == TRUE )
+ {
+ if ( f_pGetData->ulGetDataMode == cOCT6100_DEBUG_GET_DATA_MODE_CORE_DUMP )
+ {
+ if ( pSharedInfo->DebugInfo.fCoreDumped == FALSE )
+ {
+ ulResult = Oct6100DebugCoreDump( f_pApiInstance, f_pGetData, &ulUserBufWriteIndex );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
+ }
+ }
+ else
+ {
+ /* Even though it was not requested, set the flag to pass through the next gate. */
+ pSharedInfo->DebugInfo.fCoreDumped = TRUE;
+ }
+ }
}
+
+
/* Check if we are done! */
- if ( pSharedInfo->DebugInfo.fApiVersionCopied == TRUE )
+ if ( ( pSharedInfo->DebugInfo.fApiVersionCopied == TRUE )
+ && ( pSharedInfo->DebugInfo.fCoreDumped == TRUE )
+
+ )
{
/* Done dumping. */
- /* Reset data being dumpped flag. */
+ /* Reset data being dumped flag. */
pSharedInfo->DebugInfo.fDebugDataBeingDumped = FALSE;
/* Reset data recording in the chip. */
@@ -1302,3 +1416,237 @@ UINT32 Oct6100DebugGetDataSer(
return cOCT6100_ERR_OK;
}
+
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+Function: Oct6100DebugCoreDump
+
+Description: Called to generate debug core dump information.
+
+-------------------------------------------------------------------------------
+| Argument | Description
+-------------------------------------------------------------------------------
+f_pApiInstance Pointer to API instance. This memory is used to keep the
+ present state of the chip and all its resources.
+
+f_pGetData Pointer to a tOCT6100_DEBUG_GET_DATA structure.
+
+f_pulUserBufWriteIndex User buffer write index.
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+UINT32 Oct6100DebugCoreDump(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData,
+ IN OUT PUINT32 f_pulUserBufWriteIndex )
+{
+ tPOCT6100_SHARED_INFO pSharedInfo;
+ tOCT6100_READ_BURST_PARAMS ReadBurstParams;
+ tOCT6100_READ_PARAMS ReadParams;
+
+ UINT32 ulResult;
+ UINT32 ulNumReads;
+ UINT32 ulTempIndex;
+
+ /* Get local pointer(s). */
+ pSharedInfo = f_pApiInstance->pSharedInfo;
+
+ ReadBurstParams.pProcessContext = f_pApiInstance->pProcessContext;
+
+ ReadBurstParams.ulUserChipId = pSharedInfo->ChipConfig.ulUserChipId;
+
+ ReadParams.pProcessContext = f_pApiInstance->pProcessContext;
+
+ ReadParams.ulUserChipId = pSharedInfo->ChipConfig.ulUserChipId;
+
+ /* All registers. */
+ if ( pSharedInfo->DebugInfo.ulLastMemoryOffset < 0x800 )
+ {
+ /* Here we assume cOCT6100_INTERNAL_SUPER_ARRAY_SIZE can contain all the registers. */
+ /* Check if must retrieve data from the hardware. */
+ if ( pSharedInfo->DebugInfo.ulLastMemoryOffset == 0 )
+ {
+ /* Clear whole array */
+ Oct6100UserMemSet( pSharedInfo->MiscVars.ausSuperArray, 0, sizeof( pSharedInfo->MiscVars.ausSuperArray ) );
+
+ /* Retrieve all registers data from the hardware. */
+ /* Start at the CPU registers (0x100). */
+ ReadParams.ulReadAddress = 0x100;
+
+ /* As much as we can for the burst. */
+ ulTempIndex = 0x100 / 2; /* Start indexing at the CPU registers (0x100) */
+ ulNumReads = 0x380; /* Up to 0x800 */
+
+ while ( ulNumReads != 0 )
+ {
+ /* Set pointer where to write data. */
+ ReadParams.pusReadData = &pSharedInfo->MiscVars.ausSuperArray[ ulTempIndex ];
+
+ mOCT6100_DRIVER_READ_API( ReadParams, ulResult );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
+
+ /* Update indexes, temp variables, addresses. */
+ ulNumReads--;
+ ulTempIndex++;
+ ReadParams.ulReadAddress += 2;
+
+ /* Skip range 0x400 to 0x500 -- Cannot read between 0x400 & 0x500. */
+ if ( ReadParams.ulReadAddress == 0x400 )
+ {
+ ReadParams.ulReadAddress += 0x100;
+ ulTempIndex += 0x80;
+ ulNumReads -= 0x80;
+ }
+ }
+ }
+
+ for ( ; pSharedInfo->DebugInfo.ulLastMemoryOffset < 0x800; pSharedInfo->DebugInfo.ulLastMemoryOffset +=2 )
+ {
+ /* Check if enough room for this word. */
+ if ( ( f_pGetData->ulMaxBytes - *f_pulUserBufWriteIndex ) < 2 )
+ break;
+
+ /* Copy data byte per byte to avoid endianess problems. */
+ f_pGetData->pbyData[ *f_pulUserBufWriteIndex ] = (UINT8)( pSharedInfo->MiscVars.ausSuperArray[ ( pSharedInfo->DebugInfo.ulLastMemoryOffset / 2 ) % cOCT6100_INTERNAL_SUPER_ARRAY_SIZE ] & 0xFF );
+ f_pGetData->pbyData[ *f_pulUserBufWriteIndex + 1 ] = (UINT8)( ( pSharedInfo->MiscVars.ausSuperArray[ ( pSharedInfo->DebugInfo.ulLastMemoryOffset / 2 ) % cOCT6100_INTERNAL_SUPER_ARRAY_SIZE ] >> 8 ) & 0xFF );
+
+ /* Update indexes. */
+ *f_pulUserBufWriteIndex += 2;
+ }
+ }
+
+ /* All internal memories */
+ if ( pSharedInfo->DebugInfo.ulLastMemoryOffset < 0x300000 )
+ {
+ ulResult = Oct6100DebugCoreDumpMemory( f_pApiInstance, f_pGetData, f_pulUserBufWriteIndex, 0x800, 0x300000 );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
+ }
+
+ /* All external memory, up until the beginning of the free memory pool. */
+ if ( pSharedInfo->DebugInfo.ulLastMemoryOffset < pSharedInfo->MemoryMap.ulFreeMemBaseAddress )
+ {
+ /* External memory. */
+ ulResult = Oct6100DebugCoreDumpMemory( f_pApiInstance, f_pGetData, f_pulUserBufWriteIndex, cOCT6100_EXTERNAL_MEM_BASE_ADDRESS, pSharedInfo->MemoryMap.ulFreeMemBaseAddress );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
+ }
+
+ if ( pSharedInfo->DebugInfo.ulLastMemoryOffset >= pSharedInfo->MemoryMap.ulFreeMemBaseAddress )
+ {
+ /* Done here. */
+ pSharedInfo->DebugInfo.fCoreDumped = TRUE;
+ }
+
+ return cOCT6100_ERR_OK;
+}
+
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+Function: Oct6100DebugCoreDumpMemory
+
+Description: Called to read a memory region.
+
+-------------------------------------------------------------------------------
+| Argument | Description
+-------------------------------------------------------------------------------
+f_pApiInstance Pointer to API instance. This memory is used to keep the
+ present state of the chip and all its resources.
+
+f_pGetData Pointer to a tOCT6100_DEBUG_GET_DATA structure.
+
+f_pulUserBufWriteIndex User buffer write index.
+
+f_ulMemOffsetBottom Memory address, bottom.
+
+f_ulMemOffsetTop Memory address, top.
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+UINT32 Oct6100DebugCoreDumpMemory(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData,
+ IN OUT PUINT32 f_pulUserBufWriteIndex,
+ IN UINT32 f_ulMemOffsetBottom,
+ IN UINT32 f_ulMemOffsetTop )
+{
+ tPOCT6100_SHARED_INFO pSharedInfo;
+ tOCT6100_READ_BURST_PARAMS ReadBurstParams;
+
+ UINT32 ulResult;
+ UINT32 ulNumReads;
+ UINT32 ulTempIndex;
+
+ /* Get local pointer(s). */
+ pSharedInfo = f_pApiInstance->pSharedInfo;
+
+ ReadBurstParams.pProcessContext = f_pApiInstance->pProcessContext;
+
+ ReadBurstParams.ulUserChipId = pSharedInfo->ChipConfig.ulUserChipId;
+
+ /* Check if enough room for at least 1 word. */
+ if ( ( f_pGetData->ulMaxBytes - *f_pulUserBufWriteIndex ) < 2 )
+ return cOCT6100_ERR_OK;
+
+ /* Make sure we are starting at the right offset.. Sometimes memory regions are not continuous. */
+ if ( pSharedInfo->DebugInfo.ulLastMemoryOffset < f_ulMemOffsetBottom )
+ pSharedInfo->DebugInfo.ulLastMemoryOffset = f_ulMemOffsetBottom;
+
+ for ( ; pSharedInfo->DebugInfo.ulLastMemoryOffset < f_ulMemOffsetTop; pSharedInfo->DebugInfo.ulLastMemoryOffset +=2 )
+ {
+ /* Check if enough room for this word. */
+ if ( ( f_pGetData->ulMaxBytes - *f_pulUserBufWriteIndex ) < 2 )
+ break;
+
+ /* Check if must retrieve data from the hardware. */
+ if ( ( pSharedInfo->DebugInfo.ulLastMemoryOffset / 2 ) % cOCT6100_INTERNAL_SUPER_ARRAY_SIZE == 0 )
+ {
+ ReadBurstParams.ulReadAddress = pSharedInfo->DebugInfo.ulLastMemoryOffset;
+
+ /* Some internal memory regions cannot be read. Check for these here. */
+ if ( ( ReadBurstParams.ulReadAddress >= 0xF0000 )
+ && ( ReadBurstParams.ulReadAddress < 0x100000 ) )
+ {
+ /* Region cannot be read. */
+ Oct6100UserMemSet( pSharedInfo->MiscVars.ausSuperArray, 0, cOCT6100_INTERNAL_SUPER_ARRAY_SIZE * sizeof( UINT16 ) );
+ }
+ else
+ {
+ /* As much as we can for the burst. */
+ ulTempIndex = 0x0;
+ ulNumReads = cOCT6100_INTERNAL_SUPER_ARRAY_SIZE;
+
+ while ( ulNumReads != 0 )
+ {
+ /* Set read burst size. */
+ if ( ulNumReads >= pSharedInfo->ChipConfig.usMaxRwAccesses )
+ ReadBurstParams.ulReadLength = pSharedInfo->ChipConfig.usMaxRwAccesses;
+ else
+ ReadBurstParams.ulReadLength = ulNumReads;
+
+ /* Set pointer where to write data. */
+ ReadBurstParams.pusReadData = &pSharedInfo->MiscVars.ausSuperArray[ ulTempIndex ];
+
+ mOCT6100_DRIVER_READ_BURST_API( ReadBurstParams, ulResult );
+ if ( ulResult != cOCT6100_ERR_OK )
+ return ulResult;
+
+ /* Update indexes, temp variables, addresses. */
+ ulNumReads -= ReadBurstParams.ulReadLength;
+ ulTempIndex += ReadBurstParams.ulReadLength;
+ ReadBurstParams.ulReadAddress += ReadBurstParams.ulReadLength * 2;
+ }
+ }
+ }
+
+ /* Copy data byte per byte to avoid endianness problems. */
+ f_pGetData->pbyData[ *f_pulUserBufWriteIndex ] = (UINT8)( pSharedInfo->MiscVars.ausSuperArray[ ( pSharedInfo->DebugInfo.ulLastMemoryOffset / 2 ) % cOCT6100_INTERNAL_SUPER_ARRAY_SIZE ] & 0xFF );
+ f_pGetData->pbyData[ *f_pulUserBufWriteIndex + 1 ] = (UINT8)( ( pSharedInfo->MiscVars.ausSuperArray[ ( pSharedInfo->DebugInfo.ulLastMemoryOffset / 2 ) % cOCT6100_INTERNAL_SUPER_ARRAY_SIZE ] >> 8 ) & 0xFF );
+
+ /* Update indexes. */
+ *f_pulUserBufWriteIndex += 2;
+ }
+
+ return cOCT6100_ERR_OK;
+}
+
+
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
index 16b93e6..ac80cc7 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 83 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c
index 49de3f5..d45b5a0 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c
@@ -23,9 +23,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 91 $
+$Octasic_Revision: 97 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -60,6 +60,8 @@ $Octasic_Revision: 91 $
#include "oct6100_events_priv.h"
#include "oct6100_interrupts_priv.h"
#include "oct6100_channel_priv.h"
+#include "oct6100_tsst_priv.h"
+#include "oct6100_memory_priv.h"
/**************************** PUBLIC FUNCTIONS *****************************/
@@ -87,6 +89,7 @@ UINT32 Oct6100InterruptConfigureDef(
f_pIntrptConfig->ulErrorMemoryConfig = cOCT6100_INTERRUPT_NO_TIMEOUT;
+
f_pIntrptConfig->ulErrorOverflowToneEventsConfig = cOCT6100_INTERRUPT_NO_TIMEOUT;
f_pIntrptConfig->ulErrorH100Config = cOCT6100_INTERRUPT_NO_TIMEOUT;
@@ -167,6 +170,7 @@ UINT32 Oct6100InterruptServiceRoutineDef(
f_pIntFlags->fErrorPllJitter = FALSE;
+
f_pIntFlags->fErrorOverflowToneEvents = FALSE;
@@ -273,6 +277,8 @@ UINT32 Oct6100ApiIsrSwInit(
pSharedInfo->IntrptManage.fAfBistFailedOnBoot = FALSE;
+
+
/* The ISR has never been called. */
pSharedInfo->IntrptManage.fIsrCalled = FALSE;
@@ -395,6 +401,7 @@ UINT32 Oct6100InterruptConfigureSer(
f_pIntrptConfig->ulErrorMemoryConfig != cOCT6100_INTERRUPT_NO_TIMEOUT )
return cOCT6100_ERR_INTRPTS_DATA_ERR_MEMORY_CONFIG;
+
if ( f_pIntrptConfig->ulErrorOverflowToneEventsConfig != cOCT6100_INTERRUPT_DISABLE &&
f_pIntrptConfig->ulErrorOverflowToneEventsConfig != cOCT6100_INTERRUPT_TIMEOUT &&
f_pIntrptConfig->ulErrorOverflowToneEventsConfig != cOCT6100_INTERRUPT_NO_TIMEOUT )
@@ -426,6 +433,7 @@ UINT32 Oct6100InterruptConfigureSer(
pIntrptConfig->byFatalMemoryConfig = (UINT8)( f_pIntrptConfig->ulFatalMemoryConfig & 0xFF );
pIntrptConfig->byErrorMemoryConfig = (UINT8)( f_pIntrptConfig->ulErrorMemoryConfig & 0xFF );
+
pIntrptConfig->byErrorOverflowToneEventsConfig = (UINT8)( f_pIntrptConfig->ulErrorOverflowToneEventsConfig & 0xFF );
pIntrptConfig->byErrorH100Config = (UINT8)( f_pIntrptConfig->ulErrorH100Config & 0xFF );
@@ -656,6 +664,7 @@ UINT32 Oct6100InterruptServiceRoutineSer(
+
f_pIntFlags->fErrorH100OutOfSync = FALSE;
f_pIntFlags->fErrorH100ClkA = FALSE;
f_pIntFlags->fErrorH100ClkB = FALSE;
@@ -736,6 +745,8 @@ UINT32 Oct6100InterruptServiceRoutineSer(
if ( ulResult != cOCT6100_ERR_OK )
return ulResult;
+
+
/* Write to the necessary IE registers. */
ulResult = Oct6100ApiWriteIntrptRegs( f_pApiInstance );
if ( ulResult != cOCT6100_ERR_OK )
@@ -1818,10 +1829,8 @@ UINT32 Oct6100ApiCheckProcessorState(
UINT32 ulAfTimestamp;
UINT32 ulTimestampDiff;
UINT32 ulMafWPnt;
-
UINT32 ulResult;
UINT32 i;
-
UINT16 usReadData;
UINT16 ausReadData[ 2 ];
@@ -2072,8 +2081,8 @@ UINT32 Oct6100ApiCheckProcessorState(
-
return cOCT6100_ERR_OK;
}
+
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c
index 5dd39b9..6f8eeb8 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 42 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
index 3170fc1..b589f17 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 36 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c
index 5fa5830..9f54a06 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 42 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
index d01ee0f..953e958 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 46 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c
index 8887a9c..3e2ed6f 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 109 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c
index a97e237..2d3aa6d 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 35 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c
index 559cd18..9a2d8e9 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c
@@ -24,9 +24,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 118 $
+$Octasic_Revision: 120 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -270,6 +270,8 @@ UINT32 Oct6100ApiInterpretTlvEntry(
cOCT6100_TLV_MAX_LENGTH_VERSION_NUMBER );
if ( ulResult == cOCT6100_ERR_OK )
{
+
+
ReadParams.ulReadAddress = f_ulTlvValueAddress;
for( i = 0; i < (f_ulTlvFieldLength/2); i++ )
@@ -285,6 +287,8 @@ UINT32 Oct6100ApiInterpretTlvEntry(
/* Modify the address. */
ReadParams.ulReadAddress += 2;
}
+
+
}
break;
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
index b43dcfb..4cc2ac7 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
@@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 51 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c
index 5cb10e7..6cbfed0 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 38 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c
index d93dd58..ef170b4 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c
@@ -23,9 +23,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 39 $
+$Octasic_Revision: 40 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -563,3 +563,5 @@ UINT32 Oct6100ApiReleaseTsst(
return cOCT6100_ERR_OK;
}
+
+
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c
index 64b5b36..b9f7d76 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c
@@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 29 $
+$Octasic_Revision: 31 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -471,4 +471,3 @@ UINT32 Oct6100UserDriverReadBurstOs(
-
diff --git a/software/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c b/software/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c
index d71b39a..ab5af49 100644
--- a/software/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c
+++ b/software/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c
@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 8 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_channel_priv.h b/software/octdeviceapi/oct6100api/oct6100_channel_priv.h
index 5bfa6dc..b8b2a9b 100644
--- a/software/octdeviceapi/oct6100api/oct6100_channel_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_channel_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 62 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_chip_open_priv.h b/software/octdeviceapi/oct6100api/oct6100_chip_open_priv.h
index 58005c8..78c36f9 100644
--- a/software/octdeviceapi/oct6100api/oct6100_chip_open_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_chip_open_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 63 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_chip_stats_priv.h b/software/octdeviceapi/oct6100api/oct6100_chip_stats_priv.h
index 1ead763..ea4827a 100644
--- a/software/octdeviceapi/oct6100api/oct6100_chip_stats_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_chip_stats_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 8 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_conf_bridge_priv.h b/software/octdeviceapi/oct6100api/oct6100_conf_bridge_priv.h
index 8f3ccf8..f07b210 100644
--- a/software/octdeviceapi/oct6100api/oct6100_conf_bridge_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_conf_bridge_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 30 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_debug_priv.h b/software/octdeviceapi/oct6100api/oct6100_debug_priv.h
index 1fa1669..04efcdd 100644
--- a/software/octdeviceapi/oct6100api/oct6100_debug_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_debug_priv.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 12 $
+$Octasic_Revision: 14 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -55,4 +55,18 @@ UINT32 Oct6100DebugGetDataSer(
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData );
+UINT32 Oct6100DebugCoreDump(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData,
+ IN OUT PUINT32 f_pulUserBufWriteIndex );
+
+UINT32 Oct6100DebugCoreDumpMemory(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData,
+ IN OUT PUINT32 f_pulUserBufWriteIndex,
+ IN UINT32 f_ulMemOffsetBottom,
+ IN UINT32 f_ulMemOffsetTop );
+
+
+
#endif /* __OCT6100_DEBUG_PRIV_H__ */
diff --git a/software/octdeviceapi/oct6100api/oct6100_events_priv.h b/software/octdeviceapi/oct6100api/oct6100_events_priv.h
index f2069ac..cf5f2d0 100644
--- a/software/octdeviceapi/oct6100api/oct6100_events_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_events_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 14 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_interrupts_priv.h b/software/octdeviceapi/oct6100api/oct6100_interrupts_priv.h
index 9f589ad..1ba1a1c 100644
--- a/software/octdeviceapi/oct6100api/oct6100_interrupts_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_interrupts_priv.h
@@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 11 $
+$Octasic_Revision: 13 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -155,4 +155,6 @@ UINT32 Oct6100ApiCheckProcessorState(
IN tPOCT6100_INSTANCE_API f_pApiInstance,
IN tPOCT6100_INTERRUPT_FLAGS f_pIntFlags );
+
+
#endif /* __OCT6100_INTERRUPTS_PRIV_H__ */
diff --git a/software/octdeviceapi/oct6100api/oct6100_memory_priv.h b/software/octdeviceapi/oct6100api/oct6100_memory_priv.h
index 166c7a6..dd8b286 100644
--- a/software/octdeviceapi/oct6100api/oct6100_memory_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_memory_priv.h
@@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 17 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_miscellaneous_priv.h b/software/octdeviceapi/oct6100api/oct6100_miscellaneous_priv.h
index 339ed58..bd25acf 100644
--- a/software/octdeviceapi/oct6100api/oct6100_miscellaneous_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_miscellaneous_priv.h
@@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 20 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_mixer_priv.h b/software/octdeviceapi/oct6100api/oct6100_mixer_priv.h
index 63c4375..3070720 100644
--- a/software/octdeviceapi/oct6100api/oct6100_mixer_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_mixer_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 18 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h b/software/octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h
index ca6a1c0..9df7a6d 100644
--- a/software/octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 12 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_playout_buf_priv.h b/software/octdeviceapi/oct6100api/oct6100_playout_buf_priv.h
index e3ad652..378a153 100644
--- a/software/octdeviceapi/oct6100api/oct6100_playout_buf_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_playout_buf_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 22 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_remote_debug_priv.h b/software/octdeviceapi/oct6100api/oct6100_remote_debug_priv.h
index 5900b03..09c872e 100644
--- a/software/octdeviceapi/oct6100api/oct6100_remote_debug_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_remote_debug_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 13 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_tlv_priv.h b/software/octdeviceapi/oct6100api/oct6100_tlv_priv.h
index e463374..3a20295 100644
--- a/software/octdeviceapi/oct6100api/oct6100_tlv_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_tlv_priv.h
@@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 60 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_tone_detection_priv.h b/software/octdeviceapi/oct6100api/oct6100_tone_detection_priv.h
index 5d629d6..ec9e570 100644
--- a/software/octdeviceapi/oct6100api/oct6100_tone_detection_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_tone_detection_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 14 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_tsi_cnct_priv.h b/software/octdeviceapi/oct6100api/oct6100_tsi_cnct_priv.h
index 57bfee1..ff5fbb0 100644
--- a/software/octdeviceapi/oct6100api/oct6100_tsi_cnct_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_tsi_cnct_priv.h
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
$Octasic_Revision: 14 $
diff --git a/software/octdeviceapi/oct6100api/oct6100_tsst_priv.h b/software/octdeviceapi/oct6100api/oct6100_tsst_priv.h
index dd8a882..244f839 100644
--- a/software/octdeviceapi/oct6100api/oct6100_tsst_priv.h
+++ b/software/octdeviceapi/oct6100api/oct6100_tsst_priv.h
@@ -24,9 +24,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 14 $
+$Octasic_Revision: 15 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -86,4 +86,6 @@ UINT32 Oct6100ApiReleaseTsst(
IN UINT32 f_ulDirection,
IN UINT16 f_usTsstListIndex );
+
+
#endif /* __OCT6100_TSST_PRIV_H__ */
diff --git a/software/octdeviceapi/oct6100api/oct6100_version.h b/software/octdeviceapi/oct6100api/oct6100_version.h
index 3763277..dd30915 100644
--- a/software/octdeviceapi/oct6100api/oct6100_version.h
+++ b/software/octdeviceapi/oct6100api/oct6100_version.h
@@ -23,9 +23,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.02.04 $
+$Octasic_Release: OCT612xAPI-01.03.00 $
-$Octasic_Revision: 63 $
+$Octasic_Revision: 64 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -34,6 +34,6 @@ $Octasic_Revision: 63 $
/* String version of the OCT6100 API.*/
-#define cOCT6100_API_VERSION "OCT6100API-01.02.04"
+#define cOCT6100_API_VERSION "OCT6100API-01.03.00"
#endif /* __OCT6100_VERSION_H__ */