From 6d0f1ee6f6a2dffd2ab9480c196f2393d2f67b75 Mon Sep 17 00:00:00 2001 From: Balint Seeber Date: Wed, 17 Jun 2015 11:34:43 -0700 Subject: fx3: New firmware features: Logging, more configuration - Logging in conjunction with B200 side-channel utility (using UART or directly over USB) - More and better configurability, e.g. Tx voltage swing and DMA configuration --- firmware/fx3/b200/b200_gpifconfig.h | 46 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 24 deletions(-) mode change 100644 => 100755 firmware/fx3/b200/b200_gpifconfig.h (limited to 'firmware/fx3/b200/b200_gpifconfig.h') diff --git a/firmware/fx3/b200/b200_gpifconfig.h b/firmware/fx3/b200/b200_gpifconfig.h old mode 100644 new mode 100755 index 58836fac8..a6a24e0c5 --- a/firmware/fx3/b200/b200_gpifconfig.h +++ b/firmware/fx3/b200/b200_gpifconfig.h @@ -1,10 +1,6 @@ -// -// Copyright 2013-2014 Ettus Research LLC -// - /* - * Project Name: b200_v2.cyfx - * Time : 01/17/2013 12:50:08 + * Project Name: ssf2-edit.cyfx + * Time : 11/17/2014 13:01:01 * Device Type: FX3 * Project Type: GPIF2 * @@ -13,7 +9,7 @@ * * This is a generated file and should not be modified * This file need to be included only once in the firmware - * This file is generated by Gpif2 designer tool version - 1.0.715.0 + * This file is generated by Gpif2 designer tool version - 1.0.837.1 * */ @@ -25,7 +21,7 @@ /* Summary Number of states in the state machine */ -#define CY_NUMBER_OF_STATES 6 +#define CY_NUMBER_OF_STATES 7 /* Summary Mapping of user defined state names to state indices @@ -36,12 +32,13 @@ #define WRITE 3 #define SHORT_PKT 4 #define ZLP 5 +#define DSS_STATE 6 /* Summary Initial value of early outputs from the state machine. */ -#define ALPHA_RESET 0x8 +#define ALPHA_RESET 0xC /* Summary @@ -58,26 +55,27 @@ uint16_t CyFxGpifTransition[] = { waveform table. */ CyU3PGpifWaveData CyFxGpifWavedata[] = { - {{0x1E086001,0x000100C4,0x80000000},{0x00000000,0x00000000,0x00000000}}, - {{0x4E080302,0x00000200,0x80000000},{0x00000000,0x00000000,0x00000000}}, - {{0x1E086001,0x000100C4,0x80000000},{0x4E040704,0x20000200,0xC0100000}}, + {{0x1E086001,0x000302C4,0x80000000},{0x00000000,0x00000000,0x00000000}}, + {{0x4E080302,0x00000300,0x80000000},{0x1E086006,0x000302C4,0x80000000}}, + {{0x1E086001,0x000302C4,0x80000000},{0x4E040704,0x20000300,0xC0100000}}, + {{0x4E080302,0x00000300,0x80000000},{0x1E086001,0x000302C4,0x80000000}}, {{0x00000000,0x00000000,0x00000000},{0x00000000,0x00000000,0x00000000}}, - {{0x00000000,0x00000000,0x00000000},{0x3E738705,0x00000200,0xC0100000}}, - {{0x00000000,0x00000000,0x00000000},{0x5E002703,0x2001020C,0x80000000}}, - {{0x00000000,0x00000000,0x00000000},{0x4E040704,0x20000200,0xC0100000}} + {{0x00000000,0x00000000,0x00000000},{0x3E738705,0x00000300,0xC0100000}}, + {{0x00000000,0x00000000,0x00000000},{0x5E002703,0x2003030C,0x80000000}}, + {{0x00000000,0x00000000,0x00000000},{0x4E040704,0x20000300,0xC0100000}} }; /* Summary Table that maps state indices to the descriptor table indices. */ uint8_t CyFxGpifWavedataPosition[] = { - 0,1,0,2,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, - 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, - 0,4,0,2,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, - 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, - 0,5,0,2,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, - 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, - 0,6,0,2,0,0 + 0,1,0,2,0,0,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, + 0,5,0,2,0,0,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, + 0,6,0,2,0,0,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, + 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, + 0,7,0,2,0,0,7 }; /* Summary @@ -154,12 +152,12 @@ uint32_t CyFxGpifRegValue[] = { 0x00000000, /* CY_U3P_PIB_GPIF_LAMBDA_STAT */ 0x00000000, /* CY_U3P_PIB_GPIF_ALPHA_STAT */ 0x00000000, /* CY_U3P_PIB_GPIF_BETA_STAT */ - 0x00080000, /* CY_U3P_PIB_GPIF_WAVEFORM_CTRL_STAT */ + 0x000C0000, /* CY_U3P_PIB_GPIF_WAVEFORM_CTRL_STAT */ 0x00000000, /* CY_U3P_PIB_GPIF_WAVEFORM_SWITCH */ 0x00000000, /* CY_U3P_PIB_GPIF_WAVEFORM_SWITCH_TIMEOUT */ 0x00000000, /* CY_U3P_PIB_GPIF_CRC_CONFIG */ 0x00000000, /* CY_U3P_PIB_GPIF_CRC_DATA */ - 0xFFFFFFF1 /* CY_U3P_PIB_GPIF_BETA_DEASSERT */ + 0xFFFFFFC1 /* CY_U3P_PIB_GPIF_BETA_DEASSERT */ }; /* Summary -- cgit v1.2.3