Integrating the ublox LISA C200 modem

Fork of SprintUSBModemHTTPClientTest by Donatien Garnier

Committer:
sam_grove
Date:
Thu Sep 26 00:44:20 2013 -0500
Revision:
5:3f93dd1d4cb3
Exported program and replaced contents of the repo with the source
to build and debug using keil mdk. Libs NOT upto date are lwip, lwip-sys
and socket. these have newer versions under mbed_official but were starting
from a know working point

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sam_grove 5:3f93dd1d4cb3 1 ;/*****************************************************************************
sam_grove 5:3f93dd1d4cb3 2 ; * @file: startup_LPC17xx.s
sam_grove 5:3f93dd1d4cb3 3 ; * @purpose: CMSIS Cortex-M3 Core Device Startup File
sam_grove 5:3f93dd1d4cb3 4 ; * for the NXP LPC17xx Device Series
sam_grove 5:3f93dd1d4cb3 5 ; * @version: V1.02, modified for mbed
sam_grove 5:3f93dd1d4cb3 6 ; * @date: 27. July 2009, modified 3rd Aug 2009
sam_grove 5:3f93dd1d4cb3 7 ; *------- <<< Use Configuration Wizard in Context Menu >>> ------------------
sam_grove 5:3f93dd1d4cb3 8 ; *
sam_grove 5:3f93dd1d4cb3 9 ; * Copyright (C) 2009 ARM Limited. All rights reserved.
sam_grove 5:3f93dd1d4cb3 10 ; * ARM Limited (ARM) is supplying this software for use with Cortex-M3
sam_grove 5:3f93dd1d4cb3 11 ; * processor based microcontrollers. This file can be freely distributed
sam_grove 5:3f93dd1d4cb3 12 ; * within development tools that are supporting such ARM based processors.
sam_grove 5:3f93dd1d4cb3 13 ; *
sam_grove 5:3f93dd1d4cb3 14 ; * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
sam_grove 5:3f93dd1d4cb3 15 ; * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
sam_grove 5:3f93dd1d4cb3 16 ; * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
sam_grove 5:3f93dd1d4cb3 17 ; * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
sam_grove 5:3f93dd1d4cb3 18 ; * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
sam_grove 5:3f93dd1d4cb3 19 ; *
sam_grove 5:3f93dd1d4cb3 20 ; *****************************************************************************/
sam_grove 5:3f93dd1d4cb3 21
sam_grove 5:3f93dd1d4cb3 22 __initial_sp EQU 0x10008000 ; Top of RAM from LPC1768
sam_grove 5:3f93dd1d4cb3 23
sam_grove 5:3f93dd1d4cb3 24 PRESERVE8
sam_grove 5:3f93dd1d4cb3 25 THUMB
sam_grove 5:3f93dd1d4cb3 26
sam_grove 5:3f93dd1d4cb3 27 ; Vector Table Mapped to Address 0 at Reset
sam_grove 5:3f93dd1d4cb3 28
sam_grove 5:3f93dd1d4cb3 29 AREA RESET, DATA, READONLY
sam_grove 5:3f93dd1d4cb3 30 EXPORT __Vectors
sam_grove 5:3f93dd1d4cb3 31
sam_grove 5:3f93dd1d4cb3 32 __Vectors DCD __initial_sp ; Top of Stack
sam_grove 5:3f93dd1d4cb3 33 DCD Reset_Handler ; Reset Handler
sam_grove 5:3f93dd1d4cb3 34 DCD NMI_Handler ; NMI Handler
sam_grove 5:3f93dd1d4cb3 35 DCD HardFault_Handler ; Hard Fault Handler
sam_grove 5:3f93dd1d4cb3 36 DCD MemManage_Handler ; MPU Fault Handler
sam_grove 5:3f93dd1d4cb3 37 DCD BusFault_Handler ; Bus Fault Handler
sam_grove 5:3f93dd1d4cb3 38 DCD UsageFault_Handler ; Usage Fault Handler
sam_grove 5:3f93dd1d4cb3 39 DCD 0 ; Reserved
sam_grove 5:3f93dd1d4cb3 40 DCD 0 ; Reserved
sam_grove 5:3f93dd1d4cb3 41 DCD 0 ; Reserved
sam_grove 5:3f93dd1d4cb3 42 DCD 0 ; Reserved
sam_grove 5:3f93dd1d4cb3 43 DCD SVC_Handler ; SVCall Handler
sam_grove 5:3f93dd1d4cb3 44 DCD DebugMon_Handler ; Debug Monitor Handler
sam_grove 5:3f93dd1d4cb3 45 DCD 0 ; Reserved
sam_grove 5:3f93dd1d4cb3 46 DCD PendSV_Handler ; PendSV Handler
sam_grove 5:3f93dd1d4cb3 47 DCD SysTick_Handler ; SysTick Handler
sam_grove 5:3f93dd1d4cb3 48
sam_grove 5:3f93dd1d4cb3 49 ; External Interrupts
sam_grove 5:3f93dd1d4cb3 50 DCD WDT_IRQHandler ; 16: Watchdog Timer
sam_grove 5:3f93dd1d4cb3 51 DCD TIMER0_IRQHandler ; 17: Timer0
sam_grove 5:3f93dd1d4cb3 52 DCD TIMER1_IRQHandler ; 18: Timer1
sam_grove 5:3f93dd1d4cb3 53 DCD TIMER2_IRQHandler ; 19: Timer2
sam_grove 5:3f93dd1d4cb3 54 DCD TIMER3_IRQHandler ; 20: Timer3
sam_grove 5:3f93dd1d4cb3 55 DCD UART0_IRQHandler ; 21: UART0
sam_grove 5:3f93dd1d4cb3 56 DCD UART1_IRQHandler ; 22: UART1
sam_grove 5:3f93dd1d4cb3 57 DCD UART2_IRQHandler ; 23: UART2
sam_grove 5:3f93dd1d4cb3 58 DCD UART3_IRQHandler ; 24: UART3
sam_grove 5:3f93dd1d4cb3 59 DCD PWM1_IRQHandler ; 25: PWM1
sam_grove 5:3f93dd1d4cb3 60 DCD I2C0_IRQHandler ; 26: I2C0
sam_grove 5:3f93dd1d4cb3 61 DCD I2C1_IRQHandler ; 27: I2C1
sam_grove 5:3f93dd1d4cb3 62 DCD I2C2_IRQHandler ; 28: I2C2
sam_grove 5:3f93dd1d4cb3 63 DCD SPI_IRQHandler ; 29: SPI
sam_grove 5:3f93dd1d4cb3 64 DCD SSP0_IRQHandler ; 30: SSP0
sam_grove 5:3f93dd1d4cb3 65 DCD SSP1_IRQHandler ; 31: SSP1
sam_grove 5:3f93dd1d4cb3 66 DCD PLL0_IRQHandler ; 32: PLL0 Lock (Main PLL)
sam_grove 5:3f93dd1d4cb3 67 DCD RTC_IRQHandler ; 33: Real Time Clock
sam_grove 5:3f93dd1d4cb3 68 DCD EINT0_IRQHandler ; 34: External Interrupt 0
sam_grove 5:3f93dd1d4cb3 69 DCD EINT1_IRQHandler ; 35: External Interrupt 1
sam_grove 5:3f93dd1d4cb3 70 DCD EINT2_IRQHandler ; 36: External Interrupt 2
sam_grove 5:3f93dd1d4cb3 71 DCD EINT3_IRQHandler ; 37: External Interrupt 3
sam_grove 5:3f93dd1d4cb3 72 DCD ADC_IRQHandler ; 38: A/D Converter
sam_grove 5:3f93dd1d4cb3 73 DCD BOD_IRQHandler ; 39: Brown-Out Detect
sam_grove 5:3f93dd1d4cb3 74 DCD USB_IRQHandler ; 40: USB
sam_grove 5:3f93dd1d4cb3 75 DCD CAN_IRQHandler ; 41: CAN
sam_grove 5:3f93dd1d4cb3 76 DCD DMA_IRQHandler ; 42: General Purpose DMA
sam_grove 5:3f93dd1d4cb3 77 DCD I2S_IRQHandler ; 43: I2S
sam_grove 5:3f93dd1d4cb3 78 DCD ENET_IRQHandler ; 44: Ethernet
sam_grove 5:3f93dd1d4cb3 79 DCD RIT_IRQHandler ; 45: Repetitive Interrupt Timer
sam_grove 5:3f93dd1d4cb3 80 DCD MCPWM_IRQHandler ; 46: Motor Control PWM
sam_grove 5:3f93dd1d4cb3 81 DCD QEI_IRQHandler ; 47: Quadrature Encoder Interface
sam_grove 5:3f93dd1d4cb3 82 DCD PLL1_IRQHandler ; 48: PLL1 Lock (USB PLL)
sam_grove 5:3f93dd1d4cb3 83
sam_grove 5:3f93dd1d4cb3 84
sam_grove 5:3f93dd1d4cb3 85 IF :LNOT::DEF:NO_CRP
sam_grove 5:3f93dd1d4cb3 86 AREA |.ARM.__at_0x02FC|, CODE, READONLY
sam_grove 5:3f93dd1d4cb3 87 CRP_Key DCD 0xFFFFFFFF
sam_grove 5:3f93dd1d4cb3 88 ENDIF
sam_grove 5:3f93dd1d4cb3 89
sam_grove 5:3f93dd1d4cb3 90
sam_grove 5:3f93dd1d4cb3 91 AREA |.text|, CODE, READONLY
sam_grove 5:3f93dd1d4cb3 92
sam_grove 5:3f93dd1d4cb3 93
sam_grove 5:3f93dd1d4cb3 94 ; Reset Handler
sam_grove 5:3f93dd1d4cb3 95
sam_grove 5:3f93dd1d4cb3 96 Reset_Handler PROC
sam_grove 5:3f93dd1d4cb3 97 EXPORT Reset_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 98 IMPORT SystemInit
sam_grove 5:3f93dd1d4cb3 99 IMPORT __main
sam_grove 5:3f93dd1d4cb3 100 LDR R0, =SystemInit
sam_grove 5:3f93dd1d4cb3 101 BLX R0
sam_grove 5:3f93dd1d4cb3 102 LDR R0, =__main
sam_grove 5:3f93dd1d4cb3 103 BX R0
sam_grove 5:3f93dd1d4cb3 104 ENDP
sam_grove 5:3f93dd1d4cb3 105
sam_grove 5:3f93dd1d4cb3 106
sam_grove 5:3f93dd1d4cb3 107 ; Dummy Exception Handlers (infinite loops which can be modified)
sam_grove 5:3f93dd1d4cb3 108
sam_grove 5:3f93dd1d4cb3 109 NMI_Handler PROC
sam_grove 5:3f93dd1d4cb3 110 EXPORT NMI_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 111 B .
sam_grove 5:3f93dd1d4cb3 112 ENDP
sam_grove 5:3f93dd1d4cb3 113 HardFault_Handler\
sam_grove 5:3f93dd1d4cb3 114 PROC
sam_grove 5:3f93dd1d4cb3 115 EXPORT HardFault_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 116 B .
sam_grove 5:3f93dd1d4cb3 117 ENDP
sam_grove 5:3f93dd1d4cb3 118 MemManage_Handler\
sam_grove 5:3f93dd1d4cb3 119 PROC
sam_grove 5:3f93dd1d4cb3 120 EXPORT MemManage_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 121 B .
sam_grove 5:3f93dd1d4cb3 122 ENDP
sam_grove 5:3f93dd1d4cb3 123 BusFault_Handler\
sam_grove 5:3f93dd1d4cb3 124 PROC
sam_grove 5:3f93dd1d4cb3 125 EXPORT BusFault_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 126 B .
sam_grove 5:3f93dd1d4cb3 127 ENDP
sam_grove 5:3f93dd1d4cb3 128 UsageFault_Handler\
sam_grove 5:3f93dd1d4cb3 129 PROC
sam_grove 5:3f93dd1d4cb3 130 EXPORT UsageFault_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 131 B .
sam_grove 5:3f93dd1d4cb3 132 ENDP
sam_grove 5:3f93dd1d4cb3 133 SVC_Handler PROC
sam_grove 5:3f93dd1d4cb3 134 EXPORT SVC_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 135 B .
sam_grove 5:3f93dd1d4cb3 136 ENDP
sam_grove 5:3f93dd1d4cb3 137 DebugMon_Handler\
sam_grove 5:3f93dd1d4cb3 138 PROC
sam_grove 5:3f93dd1d4cb3 139 EXPORT DebugMon_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 140 B .
sam_grove 5:3f93dd1d4cb3 141 ENDP
sam_grove 5:3f93dd1d4cb3 142 PendSV_Handler PROC
sam_grove 5:3f93dd1d4cb3 143 EXPORT PendSV_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 144 B .
sam_grove 5:3f93dd1d4cb3 145 ENDP
sam_grove 5:3f93dd1d4cb3 146 SysTick_Handler PROC
sam_grove 5:3f93dd1d4cb3 147 EXPORT SysTick_Handler [WEAK]
sam_grove 5:3f93dd1d4cb3 148 B .
sam_grove 5:3f93dd1d4cb3 149 ENDP
sam_grove 5:3f93dd1d4cb3 150
sam_grove 5:3f93dd1d4cb3 151 Default_Handler PROC
sam_grove 5:3f93dd1d4cb3 152
sam_grove 5:3f93dd1d4cb3 153 EXPORT WDT_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 154 EXPORT TIMER0_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 155 EXPORT TIMER1_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 156 EXPORT TIMER2_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 157 EXPORT TIMER3_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 158 EXPORT UART0_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 159 EXPORT UART1_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 160 EXPORT UART2_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 161 EXPORT UART3_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 162 EXPORT PWM1_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 163 EXPORT I2C0_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 164 EXPORT I2C1_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 165 EXPORT I2C2_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 166 EXPORT SPI_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 167 EXPORT SSP0_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 168 EXPORT SSP1_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 169 EXPORT PLL0_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 170 EXPORT RTC_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 171 EXPORT EINT0_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 172 EXPORT EINT1_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 173 EXPORT EINT2_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 174 EXPORT EINT3_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 175 EXPORT ADC_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 176 EXPORT BOD_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 177 EXPORT USB_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 178 EXPORT CAN_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 179 EXPORT DMA_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 180 EXPORT I2S_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 181 EXPORT ENET_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 182 EXPORT RIT_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 183 EXPORT MCPWM_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 184 EXPORT QEI_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 185 EXPORT PLL1_IRQHandler [WEAK]
sam_grove 5:3f93dd1d4cb3 186
sam_grove 5:3f93dd1d4cb3 187 WDT_IRQHandler
sam_grove 5:3f93dd1d4cb3 188 TIMER0_IRQHandler
sam_grove 5:3f93dd1d4cb3 189 TIMER1_IRQHandler
sam_grove 5:3f93dd1d4cb3 190 TIMER2_IRQHandler
sam_grove 5:3f93dd1d4cb3 191 TIMER3_IRQHandler
sam_grove 5:3f93dd1d4cb3 192 UART0_IRQHandler
sam_grove 5:3f93dd1d4cb3 193 UART1_IRQHandler
sam_grove 5:3f93dd1d4cb3 194 UART2_IRQHandler
sam_grove 5:3f93dd1d4cb3 195 UART3_IRQHandler
sam_grove 5:3f93dd1d4cb3 196 PWM1_IRQHandler
sam_grove 5:3f93dd1d4cb3 197 I2C0_IRQHandler
sam_grove 5:3f93dd1d4cb3 198 I2C1_IRQHandler
sam_grove 5:3f93dd1d4cb3 199 I2C2_IRQHandler
sam_grove 5:3f93dd1d4cb3 200 SPI_IRQHandler
sam_grove 5:3f93dd1d4cb3 201 SSP0_IRQHandler
sam_grove 5:3f93dd1d4cb3 202 SSP1_IRQHandler
sam_grove 5:3f93dd1d4cb3 203 PLL0_IRQHandler
sam_grove 5:3f93dd1d4cb3 204 RTC_IRQHandler
sam_grove 5:3f93dd1d4cb3 205 EINT0_IRQHandler
sam_grove 5:3f93dd1d4cb3 206 EINT1_IRQHandler
sam_grove 5:3f93dd1d4cb3 207 EINT2_IRQHandler
sam_grove 5:3f93dd1d4cb3 208 EINT3_IRQHandler
sam_grove 5:3f93dd1d4cb3 209 ADC_IRQHandler
sam_grove 5:3f93dd1d4cb3 210 BOD_IRQHandler
sam_grove 5:3f93dd1d4cb3 211 USB_IRQHandler
sam_grove 5:3f93dd1d4cb3 212 CAN_IRQHandler
sam_grove 5:3f93dd1d4cb3 213 DMA_IRQHandler
sam_grove 5:3f93dd1d4cb3 214 I2S_IRQHandler
sam_grove 5:3f93dd1d4cb3 215 ENET_IRQHandler
sam_grove 5:3f93dd1d4cb3 216 RIT_IRQHandler
sam_grove 5:3f93dd1d4cb3 217 MCPWM_IRQHandler
sam_grove 5:3f93dd1d4cb3 218 QEI_IRQHandler
sam_grove 5:3f93dd1d4cb3 219 PLL1_IRQHandler
sam_grove 5:3f93dd1d4cb3 220
sam_grove 5:3f93dd1d4cb3 221 B .
sam_grove 5:3f93dd1d4cb3 222
sam_grove 5:3f93dd1d4cb3 223 ENDP
sam_grove 5:3f93dd1d4cb3 224
sam_grove 5:3f93dd1d4cb3 225 ALIGN
sam_grove 5:3f93dd1d4cb3 226 END