FreeCalypso > hg > fc-magnetite
view cdg-hybrid/cdginc/p_llgmm.val @ 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 | e7a67accfad9 |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : p_llgmm.val | | SOURCE : "sap\llgmm.pdf" | | LastModified : "2003-03-21" | | IdAndVersion : "8441.103.99.014" | | SrcFileTime : "Thu Nov 29 09:44:54 2007" | | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 | | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | +--------------------------------------------------------------------------+ */ /* PRAGMAS * PREFIX : NONE * COMPATIBILITY_DEFINES : NO (require PREFIX) * ALWAYS_ENUM_IN_VAL_FILE: NO * ENABLE_GROUP: NO * CAPITALIZE_TYPENAME: NO */ #ifndef P_LLGMM_VAL #define P_LLGMM_VAL #define CDG_ENTER__P_LLGMM_VAL #define CDG_ENTER__FILENAME _P_LLGMM_VAL #define CDG_ENTER__P_LLGMM_VAL__FILE_TYPE CDGINC #define CDG_ENTER__P_LLGMM_VAL__LAST_MODIFIED _2003_03_21 #define CDG_ENTER__P_LLGMM_VAL__ID_AND_VERSION _8441_103_99_014 #define CDG_ENTER__P_LLGMM_VAL__SRC_FILE_TIME _Thu_Nov_29_09_44_54_2007 #include "CDG_ENTER.h" #undef CDG_ENTER__P_LLGMM_VAL #undef CDG_ENTER__FILENAME /* * Value constants for VAL_ciphering_algorithm */ #define LLGMM_CIPHER_NO_ALGORITHM (0x0) /* no ciphering algorithm */ #define LLGMM_CIPHER_GPRS_A5_1 (0x1) /* GPRS A5/1 ciphering algorithm */ #define LLGMM_CIPHER_GPRS_A5_2 (0x2) /* GPRS A5/2 ciphering algorithm */ #define LLGMM_CIPHER_NA (0xff) /* value n/a */ /* * Value constants for VAL_trigger_cause */ #define LLGMM_TRICS_PAGE_RESPONSE (0x1) /* trigger was sent due to a received paging message */ #define LLGMM_TRICS_CELL_UPDATE (0x3) /* trigger was sent because of a cell update */ // VAL-FF: REL99 // #define LLGMM_TRICS_CELL_UPDATE_NULL_FRAME (0x4)/* LLC can use NULL frame for cell updates */ /* * Value constants for VAL_error_cause */ #define VAL_ERROR_CAUSE___DEF (0x0) /* invalid error cause */ #define LLGMM_ERRCS_INVALID_UA (0xd064) /* invalid UA response */ #define LLGMM_ERRCS_SABM_INVALID_XID (0xd065) /* invalid XID response during connection establishment */ #define LLGMM_ERRCS_SABM_NO_PEER_RES (0xd066) /* no peer response during connection establishment */ #define LLGMM_ERRCS_XID_INVALID_XID (0xd067) /* invalid XID response during parameter negotiation */ #define LLGMM_ERRCS_XID_NO_PEER_RES (0xd068) /* no peer response during parameter negotiation */ #define LLGMM_ERRCS_DISC_NO_PEER_RES (0xd069) /* no peer response during release of connection */ #define LLGMM_ERRCS_MULT_ASS_TLLI (0xd06a) /* possible multiple assignment of a TLLI value */ #define LLGMM_ERRCS_DM1_RECEIVED (0xd06b) /* unsolicited DM response with F bit 1 in state ABM */ #define LLGMM_ERRCS_DM1_RECEIVED_REEST (0xd06c) /* unsolicited DM response with F bit 1 in state Timer Recovery; re-establishment procedure initiated */ #define LLGMM_ERRCS_ACK_NO_PEER_RES_REEST (0xd06d)/* no peer response during waiting for acknowledgement; re-establishment procedure initiated */ #define LLGMM_ERRCS_PEER_BUSY_REEST (0xd06e) /* peer receiver busy condition; re-establishment procedure initiated */ #define LLGMM_ERRCS_FRMR_COND (0xd06f) /* frame rejection condition; frame discarded */ #define LLGMM_ERRCS_FRMR_COND_REEST (0xd070) /* frame rejection condition; re-establishment procedure initiated */ #define LLGMM_ERRCS_FRMR_RECEIVED (0xd071) /* FRMR response received; frame discarded */ #define LLGMM_ERRCS_L3_REEST (0xd072) /* layer 3 initiated re-establishment procedure */ #define LLGMM_ERRCS_PEER_REEST (0xd073) /* peer initiated re-establishment procedure */ #define LLGMM_ERRCS_DM0_RECEIVED_REEST (0xd074) /* unsolicited DM response with F bit 0; re-establishment procedure initiated */ /* * Value constants for VAL_susp_cause */ #define VAL_SUSP_CAUSE___DEF (0x0) /* suspension because of Attach or RAU */ #define LLGMM_RAU (0x0) /* suspension because of Attach or RAU, GRR has to be suspended */ #define LLGMM_CALL (0x1) /* suspension because of GSM establishment request */ #define LLGMM_LIMITED (0x2) /* suspension because of limited service */ #define LLGMM_PERIODIC_RAU (0x3) /* suspension because of periodic RAU */ #define LLGMM_NO_GPRS_SERVICE (0x4) /* suspension because of no service or no GPRS supported */ /* * user defined constants */ #define LLGMM_MAX_SEQ_NR (0x1ff) #define LLGMM_NUM_SAPIS (0x10) #define LLGMM_TLLI_INVALID (0xffffffff) #include "CDG_LEAVE.h" #endif