FreeCalypso > hg > fc-magnetite
view cdg211/cdginc/ccdmtab.cdg @ 629:3231dd9b38c1
armio.c: make GPIOs 8 & 13 outputs driving 1 on all "classic" targets
Calypso GPIOs 8 & 13 are pinmuxed with MCUEN1 & MCUEN2, respectively,
and on powerup these pins are MCUEN, i.e., outputs driving 1. TI's code
for C-Sample and earlier turns them into GPIOs configured as outputs also
driving 1 - so far, so good - but TI's code for BOARD 41 (which covers
D-Sample, Leonardo and all real world Calypso devices derived from the
latter) switches them from MCUEN to GPIOs, but then leaves them as inputs.
Given that the hardware powerup state of these two pins is outputs driving 1,
every Calypso board design MUST be compatible with such driving; typically
these GPIO signals will be either unused and unconnected or connected as
outputs driving some peripheral. Turning these pins into GPIO inputs will
result in floating inputs on every reasonably-wired board, thus I am
convinced that this configuration is nothing but a bug on the part of
whoever wrote this code at TI.
This floating input bug had already been fixed earlier for GTA modem and
FCDEV3B targets; the present change makes the fix unconditional for all
"classic" targets. The newly affected targets are D-Sample, Leonardo,
Tango and GTM900.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 02 Jan 2020 05:38:26 +0000 |
parents | 56abf6cf8a0b |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : ccdmtab.cdg | | SOURCE : "__out__\g23m_dfile\msg\rr_com.mdf" | | LastModified : "2002-11-18" | | IdAndVersion : "8443.250.02.008" | | SrcFileTime : "Mon Nov 24 15:49:38 2003" | | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:14 2007 | | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | +--------------------------------------------------------------------------+ */ const T_CCD_VarTabEntry mvar [] = { #include "mvar.cdg" }; const T_CCD_SpareTabEntry spare [] = { #include "spare.cdg" }; const T_CCD_CalcTabEntry calc [] = { #include "calc.cdg" }; const T_CCD_CompTabEntry mcomp [] = { #include "mcomp.cdg" }; const T_CCD_ElemTabEntry melem [] = { #include "melem.cdg" }; const USHORT mmtx [NUM_OF_ENTITIES][MAX_MESSAGE_ID+1][2] = { #include "mmtx.cdg" }; /* * link time sanity check * (is h-files and tables from same version, does not check versions * across serial chanel only with in same exe file and its loaded dlls) */ #define CDG_ENTER_DEFINE_SANITY #define CDG_ENTER__M_RR_COM_VAL #define CDG_ENTER__FILENAME _M_RR_COM_VAL #define CDG_ENTER__M_RR_COM_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_RR_COM_VAL__LAST_MODIFIED _2002_11_18 #define CDG_ENTER__M_RR_COM_VAL__ID_AND_VERSION _8443_250_02_008 #define CDG_ENTER__M_RR_COM_VAL__SRC_FILE_TIME _Mon_Nov_24_15_49_38_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_RR_COM_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_RR_COM_H #define CDG_ENTER__FILENAME _M_RR_COM_H #define CDG_ENTER__M_RR_COM_H__FILE_TYPE CDGINC #define CDG_ENTER__M_RR_COM_H__LAST_MODIFIED _2002_11_18 #define CDG_ENTER__M_RR_COM_H__ID_AND_VERSION _8443_250_02_008 #define CDG_ENTER__M_RR_COM_H__SRC_FILE_TIME _Mon_Nov_24_15_49_38_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_RR_COM_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_RR_VAL #define CDG_ENTER__FILENAME _M_RR_VAL #define CDG_ENTER__M_RR_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_RR_VAL__LAST_MODIFIED _2002_12_19 #define CDG_ENTER__M_RR_VAL__ID_AND_VERSION _6147_604_97_114 #define CDG_ENTER__M_RR_VAL__SRC_FILE_TIME _Wed_Aug_24_12_48_50_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_RR_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_RR_H #define CDG_ENTER__FILENAME _M_RR_H #define CDG_ENTER__M_RR_H__FILE_TYPE CDGINC #define CDG_ENTER__M_RR_H__LAST_MODIFIED _2002_12_19 #define CDG_ENTER__M_RR_H__ID_AND_VERSION _6147_604_97_114 #define CDG_ENTER__M_RR_H__SRC_FILE_TIME _Wed_Aug_24_12_48_50_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_RR_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_MM_VAL #define CDG_ENTER__FILENAME _M_MM_VAL #define CDG_ENTER__M_MM_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_MM_VAL__LAST_MODIFIED _2002_04_18 #define CDG_ENTER__M_MM_VAL__ID_AND_VERSION _6147_602_02_105 #define CDG_ENTER__M_MM_VAL__SRC_FILE_TIME _Mon_Nov_24_15_51_08_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_MM_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_MM_H #define CDG_ENTER__FILENAME _M_MM_H #define CDG_ENTER__M_MM_H__FILE_TYPE CDGINC #define CDG_ENTER__M_MM_H__LAST_MODIFIED _2002_04_18 #define CDG_ENTER__M_MM_H__ID_AND_VERSION _6147_602_02_105 #define CDG_ENTER__M_MM_H__SRC_FILE_TIME _Mon_Nov_24_15_51_08_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_MM_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_CC_VAL #define CDG_ENTER__FILENAME _M_CC_VAL #define CDG_ENTER__M_CC_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_CC_VAL__LAST_MODIFIED _2003_02_04 #define CDG_ENTER__M_CC_VAL__ID_AND_VERSION _6147_600_97_108 #define CDG_ENTER__M_CC_VAL__SRC_FILE_TIME _Mon_Nov_24_15_50_36_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_CC_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_CC_H #define CDG_ENTER__FILENAME _M_CC_H #define CDG_ENTER__M_CC_H__FILE_TYPE CDGINC #define CDG_ENTER__M_CC_H__LAST_MODIFIED _2003_02_04 #define CDG_ENTER__M_CC_H__ID_AND_VERSION _6147_600_97_108 #define CDG_ENTER__M_CC_H__SRC_FILE_TIME _Mon_Nov_24_15_50_36_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_CC_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SS_VAL #define CDG_ENTER__FILENAME _M_SS_VAL #define CDG_ENTER__M_SS_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_SS_VAL__LAST_MODIFIED _2003_02_04 #define CDG_ENTER__M_SS_VAL__ID_AND_VERSION _6147_601_97_104 #define CDG_ENTER__M_SS_VAL__SRC_FILE_TIME _Mon_Nov_24_15_49_14_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SS_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SS_H #define CDG_ENTER__FILENAME _M_SS_H #define CDG_ENTER__M_SS_H__FILE_TYPE CDGINC #define CDG_ENTER__M_SS_H__LAST_MODIFIED _2003_02_04 #define CDG_ENTER__M_SS_H__ID_AND_VERSION _6147_601_97_104 #define CDG_ENTER__M_SS_H__SRC_FILE_TIME _Mon_Nov_24_15_49_14_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SS_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SMS_VAL #define CDG_ENTER__FILENAME _M_SMS_VAL #define CDG_ENTER__M_SMS_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_SMS_VAL__LAST_MODIFIED _2001_09_11 #define CDG_ENTER__M_SMS_VAL__ID_AND_VERSION _6147_607_97_102 #define CDG_ENTER__M_SMS_VAL__SRC_FILE_TIME _Thu_Mar_4_16_08_34_2004 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SMS_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SMS_H #define CDG_ENTER__FILENAME _M_SMS_H #define CDG_ENTER__M_SMS_H__FILE_TYPE CDGINC #define CDG_ENTER__M_SMS_H__LAST_MODIFIED _2001_09_11 #define CDG_ENTER__M_SMS_H__ID_AND_VERSION _6147_607_97_102 #define CDG_ENTER__M_SMS_H__SRC_FILE_TIME _Thu_Mar_4_16_08_34_2004 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SMS_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_FAC_VAL #define CDG_ENTER__FILENAME _M_FAC_VAL #define CDG_ENTER__M_FAC_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_FAC_VAL__LAST_MODIFIED _2002_01_14 #define CDG_ENTER__M_FAC_VAL__ID_AND_VERSION _6147_608_00_205 #define CDG_ENTER__M_FAC_VAL__SRC_FILE_TIME _Mon_Nov_24_15_50_40_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_FAC_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_FAC_H #define CDG_ENTER__FILENAME _M_FAC_H #define CDG_ENTER__M_FAC_H__FILE_TYPE CDGINC #define CDG_ENTER__M_FAC_H__LAST_MODIFIED _2002_01_14 #define CDG_ENTER__M_FAC_H__ID_AND_VERSION _6147_608_00_205 #define CDG_ENTER__M_FAC_H__SRC_FILE_TIME _Mon_Nov_24_15_50_40_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_FAC_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SAT_VAL #define CDG_ENTER__FILENAME _M_SAT_VAL #define CDG_ENTER__M_SAT_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_SAT_VAL__LAST_MODIFIED _2003_02_25 #define CDG_ENTER__M_SAT_VAL__ID_AND_VERSION _6147_609_99_011 #define CDG_ENTER__M_SAT_VAL__SRC_FILE_TIME _Tue_Nov_15_17_04_28_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SAT_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SAT_H #define CDG_ENTER__FILENAME _M_SAT_H #define CDG_ENTER__M_SAT_H__FILE_TYPE CDGINC #define CDG_ENTER__M_SAT_H__LAST_MODIFIED _2003_02_25 #define CDG_ENTER__M_SAT_H__ID_AND_VERSION _6147_609_99_011 #define CDG_ENTER__M_SAT_H__SRC_FILE_TIME _Tue_Nov_15_17_04_28_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SAT_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_T30_VAL #define CDG_ENTER__FILENAME _M_T30_VAL #define CDG_ENTER__M_T30_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_T30_VAL__LAST_MODIFIED _2000_02_04 #define CDG_ENTER__M_T30_VAL__ID_AND_VERSION _8411_620_98_101 #define CDG_ENTER__M_T30_VAL__SRC_FILE_TIME _Mon_Nov_24_15_51_02_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_T30_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_T30_H #define CDG_ENTER__FILENAME _M_T30_H #define CDG_ENTER__M_T30_H__FILE_TYPE CDGINC #define CDG_ENTER__M_T30_H__LAST_MODIFIED _2000_02_04 #define CDG_ENTER__M_T30_H__ID_AND_VERSION _8411_620_98_101 #define CDG_ENTER__M_T30_H__SRC_FILE_TIME _Mon_Nov_24_15_51_02_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_T30_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_GMM_VAL #define CDG_ENTER__FILENAME _M_GMM_VAL #define CDG_ENTER__M_GMM_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_GMM_VAL__LAST_MODIFIED _2003_08_18 #define CDG_ENTER__M_GMM_VAL__ID_AND_VERSION _8441_603_02_013 #define CDG_ENTER__M_GMM_VAL__SRC_FILE_TIME _Tue_Aug_10_15_44_10_2004 #include "CDG_ENTER.h" #undef CDG_ENTER__M_GMM_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_GMM_H #define CDG_ENTER__FILENAME _M_GMM_H #define CDG_ENTER__M_GMM_H__FILE_TYPE CDGINC #define CDG_ENTER__M_GMM_H__LAST_MODIFIED _2003_08_18 #define CDG_ENTER__M_GMM_H__ID_AND_VERSION _8441_603_02_013 #define CDG_ENTER__M_GMM_H__SRC_FILE_TIME _Tue_Aug_10_15_44_10_2004 #include "CDG_ENTER.h" #undef CDG_ENTER__M_GMM_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_TST_VAL #define CDG_ENTER__FILENAME _M_TST_VAL #define CDG_ENTER__M_TST_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_TST_VAL__LAST_MODIFIED _2000_10_23 #define CDG_ENTER__M_TST_VAL__ID_AND_VERSION _8441_603_99_005 #define CDG_ENTER__M_TST_VAL__SRC_FILE_TIME _Mon_Nov_24_15_50_42_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_TST_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_TST_H #define CDG_ENTER__FILENAME _M_TST_H #define CDG_ENTER__M_TST_H__FILE_TYPE CDGINC #define CDG_ENTER__M_TST_H__LAST_MODIFIED _2000_10_23 #define CDG_ENTER__M_TST_H__ID_AND_VERSION _8441_603_99_005 #define CDG_ENTER__M_TST_H__SRC_FILE_TIME _Mon_Nov_24_15_50_42_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_TST_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_GRLC_VAL #define CDG_ENTER__FILENAME _M_GRLC_VAL #define CDG_ENTER__M_GRLC_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_GRLC_VAL__LAST_MODIFIED _2003_03_26 #define CDG_ENTER__M_GRLC_VAL__ID_AND_VERSION _8441_601_99_001 #define CDG_ENTER__M_GRLC_VAL__SRC_FILE_TIME _Thu_Feb_17_14_27_10_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_GRLC_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_GRLC_H #define CDG_ENTER__FILENAME _M_GRLC_H #define CDG_ENTER__M_GRLC_H__FILE_TYPE CDGINC #define CDG_ENTER__M_GRLC_H__LAST_MODIFIED _2003_03_26 #define CDG_ENTER__M_GRLC_H__ID_AND_VERSION _8441_601_99_001 #define CDG_ENTER__M_GRLC_H__SRC_FILE_TIME _Thu_Feb_17_14_27_10_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_GRLC_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_GRR_VAL #define CDG_ENTER__FILENAME _M_GRR_VAL #define CDG_ENTER__M_GRR_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_GRR_VAL__LAST_MODIFIED _2003_10_27 #define CDG_ENTER__M_GRR_VAL__ID_AND_VERSION _8441_601_03_017 #define CDG_ENTER__M_GRR_VAL__SRC_FILE_TIME _Thu_Feb_17_14_27_12_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_GRR_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_GRR_H #define CDG_ENTER__FILENAME _M_GRR_H #define CDG_ENTER__M_GRR_H__FILE_TYPE CDGINC #define CDG_ENTER__M_GRR_H__LAST_MODIFIED _2003_10_27 #define CDG_ENTER__M_GRR_H__ID_AND_VERSION _8441_601_03_017 #define CDG_ENTER__M_GRR_H__SRC_FILE_TIME _Thu_Feb_17_14_27_12_2005 #include "CDG_ENTER.h" #undef CDG_ENTER__M_GRR_H #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SM_VAL #define CDG_ENTER__FILENAME _M_SM_VAL #define CDG_ENTER__M_SM_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_SM_VAL__LAST_MODIFIED _2002_04_29 #define CDG_ENTER__M_SM_VAL__ID_AND_VERSION _8441_605_99_007 #define CDG_ENTER__M_SM_VAL__SRC_FILE_TIME _Mon_Nov_24_15_51_04_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SM_VAL #undef CDG_ENTER__FILENAME #define CDG_ENTER__M_SM_H #define CDG_ENTER__FILENAME _M_SM_H #define CDG_ENTER__M_SM_H__FILE_TYPE CDGINC #define CDG_ENTER__M_SM_H__LAST_MODIFIED _2002_04_29 #define CDG_ENTER__M_SM_H__ID_AND_VERSION _8441_605_99_007 #define CDG_ENTER__M_SM_H__SRC_FILE_TIME _Mon_Nov_24_15_51_04_2003 #include "CDG_ENTER.h" #undef CDG_ENTER__M_SM_H #undef CDG_ENTER__FILENAME