diff --git a/Upstream/Debug/Upstream.elf b/Upstream/Debug/Upstream.elf index 8d0dfc8..5f34856 100755 Binary files a/Upstream/Debug/Upstream.elf and b/Upstream/Debug/Upstream.elf differ diff --git a/Upstream/Debug/Upstream.map b/Upstream/Debug/Upstream.map index c252832..a7a482d 100644 --- a/Upstream/Debug/Upstream.map +++ b/Upstream/Debug/Upstream.map @@ -24,6 +24,7 @@ TemporaryIncomingPacketLength 0x4 Src/upstream_spi.o SCSI_ProcessCmd_hmsc 0x4 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o +BlockStart 0x8 Src/upstream_msc.o SCSI_ProcessCmd_params 0x4 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o errno 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-reent.o) @@ -33,6 +34,7 @@ SentCommand 0x1 Src/upstream_spi.o GetCapacityCallback 0x4 Src/upstream_msc.o UpstreamPacket1 0x208 Src/upstream_spi.o +BlockCount 0x4 Src/upstream_msc.o TestReadyCallback 0x4 Src/upstream_msc.o SCSI_ProcessCmd_lun 0x1 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o @@ -3188,7 +3190,7 @@ LOAD /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/ LOAD /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a END GROUP -.text 0x08000000 0x7e2a +.text 0x08000000 0x7e9e *(.vectors) .vectors 0x08000000 0x188 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o 0x08000000 __Vectors @@ -3326,700 +3328,704 @@ END GROUP 0x08000b10 0x78 Src/upstream_spi.o 0x08000b10 Upstream_GetFreePacket .text.Upstream_GetFreePacketImmediately - 0x08000b88 0x68 Src/upstream_spi.o + 0x08000b88 0x50 Src/upstream_spi.o 0x08000b88 Upstream_GetFreePacketImmediately .text.Upstream_ReleasePacket - 0x08000bf0 0x68 Src/upstream_spi.o - 0x08000bf0 Upstream_ReleasePacket + 0x08000bd8 0x68 Src/upstream_spi.o + 0x08000bd8 Upstream_ReleasePacket .text.Upstream_TransmitPacket - 0x08000c58 0xf0 Src/upstream_spi.o - 0x08000c58 Upstream_TransmitPacket + 0x08000c40 0xf0 Src/upstream_spi.o + 0x08000c40 Upstream_TransmitPacket .text.HAL_SPI_TxRxCpltCallback - 0x08000d48 0x28 Src/upstream_spi.o - 0x08000d48 HAL_SPI_TxRxCpltCallback + 0x08000d30 0x28 Src/upstream_spi.o + 0x08000d30 HAL_SPI_TxRxCpltCallback .text.Upstream_SPIProcess_InterruptSafe - 0x08000d70 0x30 Src/upstream_spi.o - 0x08000d70 Upstream_SPIProcess_InterruptSafe + 0x08000d58 0x30 Src/upstream_spi.o + 0x08000d58 Upstream_SPIProcess_InterruptSafe .text.Upstream_SPIProcess - 0x08000da0 0x1cc Src/upstream_spi.o - 0x08000da0 Upstream_SPIProcess + 0x08000d88 0x1d4 Src/upstream_spi.o + 0x08000d88 Upstream_SPIProcess .text.Upstream_ReceivePacket - 0x08000f6c 0x44 Src/upstream_spi.o - 0x08000f6c Upstream_ReceivePacket + 0x08000f5c 0x44 Src/upstream_spi.o + 0x08000f5c Upstream_ReceivePacket .text.Upstream_CheckBeginPacketReception - 0x08000fb0 0x58 Src/upstream_spi.o - 0x08000fb0 Upstream_CheckBeginPacketReception + 0x08000fa0 0x58 Src/upstream_spi.o + 0x08000fa0 Upstream_CheckBeginPacketReception .text.Upstream_TxOkInterrupt - 0x08001008 0x78 Src/upstream_spi.o - 0x08001008 Upstream_TxOkInterrupt + 0x08000ff8 0x78 Src/upstream_spi.o + 0x08000ff8 Upstream_TxOkInterrupt .text.Upstream_BeginTransmitPacketSize - 0x08001080 0x4c Src/upstream_spi.o - 0x08001080 Upstream_BeginTransmitPacketSize + 0x08001070 0x4c Src/upstream_spi.o + 0x08001070 Upstream_BeginTransmitPacketSize .text.Upstream_BeginTransmitPacketBody - 0x080010cc 0x58 Src/upstream_spi.o - 0x080010cc Upstream_BeginTransmitPacketBody + 0x080010bc 0x58 Src/upstream_spi.o + 0x080010bc Upstream_BeginTransmitPacketBody .text.Upstream_BeginReceivePacketSize - 0x08001124 0x88 Src/upstream_spi.o - 0x08001124 Upstream_BeginReceivePacketSize + 0x08001114 0x88 Src/upstream_spi.o + 0x08001114 Upstream_BeginReceivePacketSize .text.Upstream_BeginReceivePacketBody - 0x080011ac 0x58 Src/upstream_spi.o - 0x080011ac Upstream_BeginReceivePacketBody + 0x0800119c 0x58 Src/upstream_spi.o + 0x0800119c Upstream_BeginReceivePacketBody .text.HAL_SPI_RxCpltCallback - 0x08001204 0x34 Src/upstream_spi.o - 0x08001204 HAL_SPI_RxCpltCallback + 0x080011f4 0x34 Src/upstream_spi.o + 0x080011f4 HAL_SPI_RxCpltCallback .text.HAL_SPI_ErrorCallback - 0x08001238 0x28 Src/upstream_spi.o - 0x08001238 HAL_SPI_ErrorCallback + 0x08001228 0x28 Src/upstream_spi.o + 0x08001228 HAL_SPI_ErrorCallback .text.Upstream_MSC_TestReady - 0x08001260 0x68 Src/upstream_msc.o - 0x08001260 Upstream_MSC_TestReady + 0x08001250 0x34 Src/upstream_msc.o + 0x08001250 Upstream_MSC_TestReady + .text.Upstream_MSC_TestReadyFreePacketCallback + 0x08001284 0x60 Src/upstream_msc.o .text.Upstream_MSC_TestReadyReplyCallback - 0x080012c8 0x5c Src/upstream_msc.o + 0x080012e4 0x5c Src/upstream_msc.o .text.Upstream_MSC_GetCapacity - 0x08001324 0x68 Src/upstream_msc.o - 0x08001324 Upstream_MSC_GetCapacity + 0x08001340 0x68 Src/upstream_msc.o + 0x08001340 Upstream_MSC_GetCapacity .text.Upstream_MSC_GetCapacityReplyCallback - 0x0800138c 0x64 Src/upstream_msc.o + 0x080013a8 0x64 Src/upstream_msc.o .text.Upstream_MSC_BeginRead - 0x080013f0 0xa0 Src/upstream_msc.o - 0x080013f0 Upstream_MSC_BeginRead + 0x0800140c 0xa0 Src/upstream_msc.o + 0x0800140c Upstream_MSC_BeginRead .text.Upstream_MSC_GetStreamDataPacket - 0x08001490 0x74 Src/upstream_msc.o - 0x08001490 Upstream_MSC_GetStreamDataPacket + 0x080014ac 0x74 Src/upstream_msc.o + 0x080014ac Upstream_MSC_GetStreamDataPacket .text.Upstream_MSC_GetStreamDataPacketCallback - 0x08001504 0xb0 Src/upstream_msc.o + 0x08001520 0xb0 Src/upstream_msc.o .text.Upstream_MSC_BeginWrite - 0x080015b4 0x80 Src/upstream_msc.o - 0x080015b4 Upstream_MSC_BeginWrite + 0x080015d0 0x50 Src/upstream_msc.o + 0x080015d0 Upstream_MSC_BeginWrite + .text.Upstream_MSC_BeginWriteFreePacketCallback + 0x08001620 0x84 Src/upstream_msc.o .text.Upstream_MSC_BeginWriteReplyCallback - 0x08001634 0x6c Src/upstream_msc.o + 0x080016a4 0x6c Src/upstream_msc.o .text.Upstream_MSC_PutStreamDataPacket - 0x080016a0 0x50 Src/upstream_msc.o - 0x080016a0 Upstream_MSC_PutStreamDataPacket - .text.main 0x080016f0 0x24 Src/main.o - 0x080016f0 main + 0x08001710 0x50 Src/upstream_msc.o + 0x08001710 Upstream_MSC_PutStreamDataPacket + .text.main 0x08001760 0x24 Src/main.o + 0x08001760 main .text.SystemClock_Config - 0x08001714 0x98 Src/main.o - 0x08001714 SystemClock_Config + 0x08001784 0x98 Src/main.o + 0x08001784 SystemClock_Config .text.GPIO_Init - 0x080017ac 0xe4 Src/main.o + 0x0800181c 0xe4 Src/main.o .text.LED_Init - 0x08001890 0x24 Src/led.o - 0x08001890 LED_Init + 0x08001900 0x24 Src/led.o + 0x08001900 LED_Init .text.LED_Fault_SetBlinkRate - 0x080018b4 0x3c Src/led.o - 0x080018b4 LED_Fault_SetBlinkRate + 0x08001924 0x3c Src/led.o + 0x08001924 LED_Fault_SetBlinkRate .text.LED_DoBlinks - 0x080018f0 0x68 Src/led.o - 0x080018f0 LED_DoBlinks + 0x08001960 0x68 Src/led.o + 0x08001960 LED_DoBlinks .text.SysTick_Handler - 0x08001958 0x10 Src/interrupts.o - 0x08001958 SysTick_Handler + 0x080019c8 0x10 Src/interrupts.o + 0x080019c8 SysTick_Handler .text.OTG_FS_IRQHandler - 0x08001968 0x10 Src/interrupts.o - 0x08001968 OTG_FS_IRQHandler + 0x080019d8 0x10 Src/interrupts.o + 0x080019d8 OTG_FS_IRQHandler .text.EXTI3_IRQHandler - 0x08001978 0x14 Src/interrupts.o - 0x08001978 EXTI3_IRQHandler + 0x080019e8 0x14 Src/interrupts.o + 0x080019e8 EXTI3_IRQHandler .text.SPI1_IRQHandler - 0x0800198c 0x24 Src/interrupts.o - 0x0800198c SPI1_IRQHandler + 0x080019fc 0x24 Src/interrupts.o + 0x080019fc SPI1_IRQHandler .text.HAL_MspInit - 0x080019b0 0x14 Src/hal_msp.o - 0x080019b0 HAL_MspInit + 0x08001a20 0x14 Src/hal_msp.o + 0x08001a20 HAL_MspInit .text.HAL_SPI_MspInit - 0x080019c4 0xac Src/hal_msp.o - 0x080019c4 HAL_SPI_MspInit + 0x08001a34 0xac Src/hal_msp.o + 0x08001a34 HAL_SPI_MspInit .text.USBD_CtlSendData - 0x08001a70 0x38 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08001a70 USBD_CtlSendData + 0x08001ae0 0x38 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x08001ae0 USBD_CtlSendData .text.USBD_CtlContinueSendData - 0x08001aa8 0x24 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08001aa8 USBD_CtlContinueSendData + 0x08001b18 0x24 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x08001b18 USBD_CtlContinueSendData .text.USBD_CtlContinueRx - 0x08001acc 0x24 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08001acc USBD_CtlContinueRx + 0x08001b3c 0x24 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x08001b3c USBD_CtlContinueRx .text.USBD_CtlSendStatus - 0x08001af0 0x28 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08001af0 USBD_CtlSendStatus + 0x08001b60 0x28 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x08001b60 USBD_CtlSendStatus .text.USBD_CtlReceiveStatus - 0x08001b18 0x28 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08001b18 USBD_CtlReceiveStatus + 0x08001b88 0x28 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x08001b88 USBD_CtlReceiveStatus .text.USBD_StdDevReq - 0x08001b40 0xa0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08001b40 USBD_StdDevReq + 0x08001bb0 0xa0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08001bb0 USBD_StdDevReq .text.USBD_StdItfReq - 0x08001be0 0x68 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08001be0 USBD_StdItfReq + 0x08001c50 0x68 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08001c50 USBD_StdItfReq .text.USBD_StdEPReq - 0x08001c48 0x1b0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08001c48 USBD_StdEPReq + 0x08001cb8 0x1b0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08001cb8 USBD_StdEPReq .text.USBD_GetDescriptor - 0x08001df8 0x1f8 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08001e68 0x1f8 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_SetAddress - 0x08001ff0 0x7c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08002060 0x7c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_SetConfig - 0x0800206c 0x114 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x080020dc 0x114 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_GetConfig - 0x08002180 0x64 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x080021f0 0x64 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_GetStatus - 0x080021e4 0x54 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08002254 0x54 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_SetFeature - 0x08002238 0x34 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x080022a8 0x34 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_ClrFeature - 0x0800226c 0x50 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x080022dc 0x50 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_ParseSetupRequest - 0x080022bc 0x78 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x080022bc USBD_ParseSetupRequest + 0x0800232c 0x78 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x0800232c USBD_ParseSetupRequest .text.USBD_CtlError - 0x08002334 0x20 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08002334 USBD_CtlError + 0x080023a4 0x20 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x080023a4 USBD_CtlError .text.USBD_GetString - 0x08002354 0x84 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08002354 USBD_GetString + 0x080023c4 0x84 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x080023c4 USBD_GetString .text.USBD_GetLen - 0x080023d8 0x30 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08002448 0x30 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_Init - 0x08002408 0x54 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002408 USBD_Init + 0x08002478 0x54 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002478 USBD_Init .text.USBD_RegisterClass - 0x0800245c 0x34 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x0800245c USBD_RegisterClass + 0x080024cc 0x34 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080024cc USBD_RegisterClass .text.USBD_Start - 0x08002490 0x18 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002490 USBD_Start + 0x08002500 0x18 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002500 USBD_Start .text.USBD_Stop - 0x080024a8 0x2c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080024a8 USBD_Stop + 0x08002518 0x2c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002518 USBD_Stop .text.USBD_RunTestMode - 0x080024d4 0x18 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080024d4 USBD_RunTestMode + 0x08002544 0x18 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002544 USBD_RunTestMode .text.USBD_SetClassConfig - 0x080024ec 0x40 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080024ec USBD_SetClassConfig + 0x0800255c 0x40 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x0800255c USBD_SetClassConfig .text.USBD_ClrClassConfig - 0x0800252c 0x28 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x0800252c USBD_ClrClassConfig + 0x0800259c 0x28 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x0800259c USBD_ClrClassConfig .text.USBD_SetupStage - 0x08002554 0x94 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002554 USBD_SetupStage + 0x080025c4 0x94 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080025c4 USBD_SetupStage .text.USBD_DataOutStage - 0x080025e8 0xb8 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080025e8 USBD_DataOutStage + 0x08002658 0xb8 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002658 USBD_DataOutStage .text.USBD_DataInStage - 0x080026a0 0x120 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080026a0 USBD_DataInStage + 0x08002710 0x120 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002710 USBD_DataInStage .text.USBD_Reset - 0x080027c0 0x60 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080027c0 USBD_Reset + 0x08002830 0x60 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002830 USBD_Reset .text.USBD_SetSpeed - 0x08002820 0x20 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002820 USBD_SetSpeed + 0x08002890 0x20 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002890 USBD_SetSpeed .text.USBD_Suspend - 0x08002840 0x2c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002840 USBD_Suspend + 0x080028b0 0x2c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080028b0 USBD_Suspend .text.USBD_Resume - 0x0800286c 0x24 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x0800286c USBD_Resume + 0x080028dc 0x24 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080028dc USBD_Resume .text.USBD_SOF - 0x08002890 0x34 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002890 USBD_SOF + 0x08002900 0x34 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002900 USBD_SOF .text.USBD_IsoINIncomplete - 0x080028c4 0x1c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080028c4 USBD_IsoINIncomplete + 0x08002934 0x1c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002934 USBD_IsoINIncomplete .text.USBD_IsoOUTIncomplete - 0x080028e0 0x1c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080028e0 USBD_IsoOUTIncomplete + 0x08002950 0x1c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002950 USBD_IsoOUTIncomplete .text.USBD_DevConnected - 0x080028fc 0x18 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080028fc USBD_DevConnected + 0x0800296c 0x18 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x0800296c USBD_DevConnected .text.USBD_DevDisconnected - 0x08002914 0x30 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002914 USBD_DevDisconnected + 0x08002984 0x30 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08002984 USBD_DevDisconnected .text.USBD_BufferFreed - 0x08002944 0x20 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08002944 USBD_BufferFreed + 0x080029b4 0x20 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080029b4 USBD_BufferFreed .text.SCSI_ProcessCmd - 0x08002964 0x22c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x08002964 SCSI_ProcessCmd + 0x080029d4 0x22c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x080029d4 SCSI_ProcessCmd .text.SCSI_TestUnitReady - 0x08002b90 0x68 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08002c00 0x68 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_TestUnitReadyCallback - 0x08002bf8 0x60 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x08002bf8 SCSI_TestUnitReadyCallback + 0x08002c68 0x60 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08002c68 SCSI_TestUnitReadyCallback .text.SCSI_Inquiry - 0x08002c58 0xb0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08002cc8 0xb0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_ReadCapacity10 - 0x08002d08 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08002d78 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_ReadCapacity10Callback - 0x08002d28 0x12c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x08002d28 SCSI_ReadCapacity10Callback + 0x08002d98 0x12c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08002d98 SCSI_ReadCapacity10Callback .text.SCSI_ReadFormatCapacity - 0x08002e54 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08002ec4 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_ReadFormatCapacityCallback - 0x08002e74 0x11c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x08002e74 SCSI_ReadFormatCapacityCallback + 0x08002ee4 0x11c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08002ee4 SCSI_ReadFormatCapacityCallback .text.SCSI_ModeSense6 - 0x08002f90 0x64 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003000 0x64 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_ModeSense10 - 0x08002ff4 0x64 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003064 0x64 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_RequestSense - 0x08003058 0x130 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x080030c8 0x130 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_SenseCode - 0x08003188 0x7c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x08003188 SCSI_SenseCode + 0x080031f8 0x7c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x080031f8 SCSI_SenseCode .text.SCSI_StartStopUnit - 0x08003204 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003274 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_Read10 - 0x08003224 0x188 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003294 0x188 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_Read10BeginCallback - 0x080033ac 0x68 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x080033ac SCSI_Read10BeginCallback + 0x0800341c 0x68 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x0800341c SCSI_Read10BeginCallback .text.SCSI_Read10ReplyCallback - 0x08003414 0xa4 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x08003414 SCSI_Read10ReplyCallback + 0x08003484 0xa4 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003484 SCSI_Read10ReplyCallback .text.SCSI_Write10 - 0x080034b8 0x210 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003528 0x210 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_Write10BeginCallback - 0x080036c8 0xa4 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x080036c8 SCSI_Write10BeginCallback + 0x08003738 0xa4 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003738 SCSI_Write10BeginCallback .text.SCSI_Write10FreePacketCallback - 0x0800376c 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x0800376c SCSI_Write10FreePacketCallback + 0x080037dc 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x080037dc SCSI_Write10FreePacketCallback .text.SCSI_Verify10 - 0x080037c4 0x84 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x08003834 0x84 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.SCSI_CheckAddressRange - 0x08003848 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x080038b8 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .text.MSC_BOT_Init - 0x080038a0 0x54 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x080038a0 MSC_BOT_Init + 0x08003910 0x54 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003910 MSC_BOT_Init .text.MSC_BOT_Reset - 0x080038f4 0x34 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x080038f4 MSC_BOT_Reset + 0x08003964 0x34 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003964 MSC_BOT_Reset .text.MSC_BOT_DeInit - 0x08003928 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x08003928 MSC_BOT_DeInit + 0x08003998 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003998 MSC_BOT_DeInit .text.MSC_BOT_DataIn - 0x08003948 0x60 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x08003948 MSC_BOT_DataIn + 0x080039b8 0x60 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x080039b8 MSC_BOT_DataIn .text.MSC_BOT_DataIn_Callback - 0x080039a8 0x28 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x080039a8 MSC_BOT_DataIn_Callback + 0x08003a18 0x28 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003a18 MSC_BOT_DataIn_Callback .text.MSC_BOT_DataOut - 0x080039d0 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x080039d0 MSC_BOT_DataOut + 0x08003a40 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003a40 MSC_BOT_DataOut .text.MSC_BOT_DataOut_Callback - 0x08003a28 0x28 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x08003a28 MSC_BOT_DataOut_Callback + 0x08003a98 0x28 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003a98 MSC_BOT_DataOut_Callback .text.MSC_BOT_CBW_Decode - 0x08003a50 0xb0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003ac0 0xb0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o .text.MSC_BOT_CBW_Decode_Callback - 0x08003b00 0xa0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x08003b00 MSC_BOT_CBW_Decode_Callback + 0x08003b70 0xa0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003b70 MSC_BOT_CBW_Decode_Callback .text.MSC_BOT_SendData - 0x08003ba0 0x50 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003c10 0x50 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o .text.MSC_BOT_SendCSW - 0x08003bf0 0x54 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x08003bf0 MSC_BOT_SendCSW + 0x08003c60 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003c60 MSC_BOT_SendCSW .text.MSC_BOT_Abort - 0x08003c44 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003cb8 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o .text.MSC_BOT_CplClrFeature - 0x08003c9c 0x4c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x08003c9c MSC_BOT_CplClrFeature + 0x08003d10 0x4c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x08003d10 MSC_BOT_CplClrFeature .text.USBD_MSC_Init - 0x08003ce8 0x90 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003ce8 USBD_MSC_Init + 0x08003d5c 0x90 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08003d5c USBD_MSC_Init .text.USBD_MSC_DeInit - 0x08003d78 0x4c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003d78 USBD_MSC_DeInit + 0x08003dec 0x4c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08003dec USBD_MSC_DeInit .text.USBD_MSC_Setup - 0x08003dc4 0x16c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003dc4 USBD_MSC_Setup + 0x08003e38 0x16c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08003e38 USBD_MSC_Setup .text.USBD_MSC_DataIn - 0x08003f30 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003f30 USBD_MSC_DataIn + 0x08003fa4 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08003fa4 USBD_MSC_DataIn .text.USBD_MSC_DataOut - 0x08003f50 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003f50 USBD_MSC_DataOut + 0x08003fc4 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08003fc4 USBD_MSC_DataOut .text.USBD_MSC_BufferFreed - 0x08003f70 0x40 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003f70 USBD_MSC_BufferFreed + 0x08003fe4 0x40 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08003fe4 USBD_MSC_BufferFreed .text.USBD_MSC_GetHSCfgDesc - 0x08003fb0 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003fb0 USBD_MSC_GetHSCfgDesc + 0x08004024 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08004024 USBD_MSC_GetHSCfgDesc .text.USBD_MSC_GetFSCfgDesc - 0x08003fd0 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003fd0 USBD_MSC_GetFSCfgDesc + 0x08004044 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08004044 USBD_MSC_GetFSCfgDesc .text.USBD_MSC_GetOtherSpeedCfgDesc - 0x08003ff0 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08003ff0 USBD_MSC_GetOtherSpeedCfgDesc + 0x08004064 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08004064 USBD_MSC_GetOtherSpeedCfgDesc .text.USBD_MSC_GetDeviceQualifierDescriptor - 0x08004010 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - 0x08004010 USBD_MSC_GetDeviceQualifierDescriptor + 0x08004084 0x20 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x08004084 USBD_MSC_GetDeviceQualifierDescriptor .text.USB_CoreInit - 0x08004030 0xa4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004030 USB_CoreInit + 0x080040a4 0xa4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080040a4 USB_CoreInit .text.USB_EnableGlobalInt - 0x080040d4 0x24 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080040d4 USB_EnableGlobalInt + 0x08004148 0x24 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004148 USB_EnableGlobalInt .text.USB_DisableGlobalInt - 0x080040f8 0x24 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080040f8 USB_DisableGlobalInt + 0x0800416c 0x24 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x0800416c USB_DisableGlobalInt .text.USB_SetCurrentMode - 0x0800411c 0x50 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x0800411c USB_SetCurrentMode + 0x08004190 0x50 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004190 USB_SetCurrentMode .text.USB_DevInit - 0x0800416c 0x258 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x0800416c USB_DevInit + 0x080041e0 0x258 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080041e0 USB_DevInit .text.USB_FlushTxFifo - 0x080043c4 0x4c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080043c4 USB_FlushTxFifo + 0x08004438 0x4c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004438 USB_FlushTxFifo .text.USB_FlushRxFifo - 0x08004410 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004410 USB_FlushRxFifo + 0x08004484 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004484 USB_FlushRxFifo .text.USB_SetDevSpeed - 0x08004454 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004454 USB_SetDevSpeed + 0x080044c8 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080044c8 USB_SetDevSpeed .text.USB_GetDevSpeed - 0x08004484 0x6c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004484 USB_GetDevSpeed + 0x080044f8 0x6c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080044f8 USB_GetDevSpeed .text.USB_ActivateEndpoint - 0x080044f0 0x114 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080044f0 USB_ActivateEndpoint + 0x08004564 0x114 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004564 USB_ActivateEndpoint .text.USB_DeactivateEndpoint - 0x08004604 0xf8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004604 USB_DeactivateEndpoint + 0x08004678 0xf8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004678 USB_DeactivateEndpoint .text.USB_EPStartXfer - 0x080046fc 0x484 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080046fc USB_EPStartXfer + 0x08004770 0x484 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004770 USB_EPStartXfer .text.USB_EP0StartXfer - 0x08004b80 0x2bc Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004b80 USB_EP0StartXfer + 0x08004bf4 0x2bc Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004bf4 USB_EP0StartXfer .text.USB_WritePacket - 0x08004e3c 0x70 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004e3c USB_WritePacket + 0x08004eb0 0x70 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004eb0 USB_WritePacket .text.USB_ReadPacket - 0x08004eac 0x54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004eac USB_ReadPacket + 0x08004f20 0x54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004f20 USB_ReadPacket .text.USB_EPSetStall - 0x08004f00 0xe4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004f00 USB_EPSetStall + 0x08004f74 0xe4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08004f74 USB_EPSetStall .text.USB_EPClearStall - 0x08004fe4 0xdc Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08004fe4 USB_EPClearStall + 0x08005058 0xdc Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005058 USB_EPClearStall .text.USB_StopDevice - 0x080050c0 0x88 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080050c0 USB_StopDevice + 0x08005134 0x88 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005134 USB_StopDevice .text.USB_SetDevAddress - 0x08005148 0x4c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08005148 USB_SetDevAddress + 0x080051bc 0x4c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080051bc USB_SetDevAddress .text.USB_DevConnect - 0x08005194 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08005194 USB_DevConnect + 0x08005208 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005208 USB_DevConnect .text.USB_DevDisconnect - 0x080051c4 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080051c4 USB_DevDisconnect + 0x08005238 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005238 USB_DevDisconnect .text.USB_ReadInterrupts - 0x080051f4 0x2c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080051f4 USB_ReadInterrupts + 0x08005268 0x2c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005268 USB_ReadInterrupts .text.USB_ReadDevAllOutEpInterrupt - 0x08005220 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08005220 USB_ReadDevAllOutEpInterrupt + 0x08005294 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005294 USB_ReadDevAllOutEpInterrupt .text.USB_ReadDevAllInEpInterrupt - 0x08005250 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08005250 USB_ReadDevAllInEpInterrupt + 0x080052c4 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080052c4 USB_ReadDevAllInEpInterrupt .text.USB_ReadDevOutEPInterrupt - 0x08005280 0x38 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08005280 USB_ReadDevOutEPInterrupt + 0x080052f4 0x38 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080052f4 USB_ReadDevOutEPInterrupt .text.USB_ReadDevInEPInterrupt - 0x080052b8 0x54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080052b8 USB_ReadDevInEPInterrupt + 0x0800532c 0x54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x0800532c USB_ReadDevInEPInterrupt .text.USB_GetMode - 0x0800530c 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x0800530c USB_GetMode + 0x08005380 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005380 USB_GetMode .text.USB_ActivateSetup - 0x08005328 0x6c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08005328 USB_ActivateSetup + 0x0800539c 0x6c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x0800539c USB_ActivateSetup .text.USB_EP0_OutStart - 0x08005394 0x8c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08005394 USB_EP0_OutStart + 0x08005408 0x8c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005408 USB_EP0_OutStart .text.USB_CoreReset - 0x08005420 0x68 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08005494 0x68 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o .text.HAL_SPI_Init - 0x08005488 0xcc Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - 0x08005488 HAL_SPI_Init + 0x080054fc 0xcc Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x080054fc HAL_SPI_Init .text.HAL_SPI_TransmitReceive_IT - 0x08005554 0x12c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - 0x08005554 HAL_SPI_TransmitReceive_IT + 0x080055c8 0x12c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x080055c8 HAL_SPI_TransmitReceive_IT .text.HAL_SPI_IRQHandler - 0x08005680 0x194 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - 0x08005680 HAL_SPI_IRQHandler + 0x080056f4 0x194 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x080056f4 HAL_SPI_IRQHandler .text.HAL_SPI_TxCpltCallback - 0x08005814 0x14 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - 0x08005814 HAL_SPI_TxCpltCallback + 0x08005888 0x14 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x08005888 HAL_SPI_TxCpltCallback .text.SPI_TxCloseIRQHandler - 0x08005828 0xd4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x0800589c 0xd4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o .text.SPI_TxISR - 0x080058fc 0x74 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x08005970 0x74 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o .text.SPI_RxCloseIRQHandler - 0x08005970 0x138 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x080059e4 0x138 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o .text.SPI_2LinesRxISR - 0x08005aa8 0x60 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x08005b1c 0x60 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o .text.SPI_WaitOnFlagUntilTimeout - 0x08005b08 0x148 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x08005b7c 0x148 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o .text.HAL_RCC_OscConfig - 0x08005c50 0x3c8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x08005c50 HAL_RCC_OscConfig + 0x08005cc4 0x3c8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x08005cc4 HAL_RCC_OscConfig .text.HAL_RCC_ClockConfig - 0x08006018 0x2b0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x08006018 HAL_RCC_ClockConfig + 0x0800608c 0x2b0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x0800608c HAL_RCC_ClockConfig .text.HAL_RCC_GetSysClockFreq - 0x080062c8 0x118 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x080062c8 HAL_RCC_GetSysClockFreq + 0x0800633c 0x118 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x0800633c HAL_RCC_GetSysClockFreq .text.HAL_RCC_GetHCLKFreq - 0x080063e0 0x58 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x080063e0 HAL_RCC_GetHCLKFreq + 0x08006454 0x58 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x08006454 HAL_RCC_GetHCLKFreq .text.HAL_PCDEx_SetTxFiFo - 0x08006438 0x9c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - 0x08006438 HAL_PCDEx_SetTxFiFo + 0x080064ac 0x9c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + 0x080064ac HAL_PCDEx_SetTxFiFo .text.HAL_PCDEx_SetRxFiFo - 0x080064d4 0x24 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - 0x080064d4 HAL_PCDEx_SetRxFiFo + 0x08006548 0x24 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + 0x08006548 HAL_PCDEx_SetRxFiFo .text.HAL_PCD_Init - 0x080064f8 0x210 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x080064f8 HAL_PCD_Init + 0x0800656c 0x210 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x0800656c HAL_PCD_Init .text.HAL_PCD_Start - 0x08006708 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08006708 HAL_PCD_Start + 0x0800677c 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x0800677c HAL_PCD_Start .text.HAL_PCD_Stop - 0x0800674c 0x50 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x0800674c HAL_PCD_Stop + 0x080067c0 0x50 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x080067c0 HAL_PCD_Stop .text.HAL_PCD_IRQHandler - 0x0800679c 0x764 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x0800679c HAL_PCD_IRQHandler + 0x08006810 0x764 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08006810 HAL_PCD_IRQHandler .text.HAL_PCD_SetAddress - 0x08006f00 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08006f00 HAL_PCD_SetAddress + 0x08006f74 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08006f74 HAL_PCD_SetAddress .text.HAL_PCD_EP_Open - 0x08006f44 0xd0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08006f44 HAL_PCD_EP_Open + 0x08006fb8 0xd0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08006fb8 HAL_PCD_EP_Open .text.HAL_PCD_EP_Close - 0x08007014 0x94 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08007014 HAL_PCD_EP_Close + 0x08007088 0x94 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08007088 HAL_PCD_EP_Close .text.HAL_PCD_EP_Receive - 0x080070a8 0xb8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x080070a8 HAL_PCD_EP_Receive + 0x0800711c 0xb8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x0800711c HAL_PCD_EP_Receive .text.HAL_PCD_EP_GetRxCount - 0x08007160 0x34 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08007160 HAL_PCD_EP_GetRxCount + 0x080071d4 0x34 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x080071d4 HAL_PCD_EP_GetRxCount .text.HAL_PCD_EP_Transmit - 0x08007194 0xb8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08007194 HAL_PCD_EP_Transmit + 0x08007208 0xb8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08007208 HAL_PCD_EP_Transmit .text.HAL_PCD_EP_SetStall - 0x0800724c 0xb8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x0800724c HAL_PCD_EP_SetStall + 0x080072c0 0xb8 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x080072c0 HAL_PCD_EP_SetStall .text.HAL_PCD_EP_ClrStall - 0x08007304 0x94 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08007304 HAL_PCD_EP_ClrStall + 0x08007378 0x94 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08007378 HAL_PCD_EP_ClrStall .text.HAL_PCD_EP_Flush - 0x08007398 0x5c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08007398 HAL_PCD_EP_Flush + 0x0800740c 0x5c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x0800740c HAL_PCD_EP_Flush .text.PCD_WriteEmptyTxFifo - 0x080073f4 0x118 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08007468 0x118 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o .text.HAL_GPIO_Init - 0x0800750c 0x32c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - 0x0800750c HAL_GPIO_Init + 0x08007580 0x32c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + 0x08007580 HAL_GPIO_Init .text.NVIC_SetPriorityGrouping - 0x08007838 0x48 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x080078ac 0x48 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.NVIC_GetPriorityGrouping - 0x08007880 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x080078f4 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.NVIC_EnableIRQ - 0x0800789c 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007910 0x30 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.NVIC_SetPriority - 0x080078cc 0x54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007940 0x54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.NVIC_EncodePriority - 0x08007920 0x68 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007994 0x68 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.SysTick_Config - 0x08007988 0x3c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x080079fc 0x3c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.HAL_NVIC_SetPriorityGrouping - 0x080079c4 0x14 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x080079c4 HAL_NVIC_SetPriorityGrouping + 0x08007a38 0x14 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007a38 HAL_NVIC_SetPriorityGrouping .text.HAL_NVIC_SetPriority - 0x080079d8 0x38 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x080079d8 HAL_NVIC_SetPriority + 0x08007a4c 0x38 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007a4c HAL_NVIC_SetPriority .text.HAL_NVIC_EnableIRQ - 0x08007a10 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x08007a10 HAL_NVIC_EnableIRQ + 0x08007a84 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007a84 HAL_NVIC_EnableIRQ .text.HAL_SYSTICK_Config - 0x08007a2c 0x18 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x08007a2c HAL_SYSTICK_Config + 0x08007aa0 0x18 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007aa0 HAL_SYSTICK_Config .text.HAL_SYSTICK_CLKSourceConfig - 0x08007a44 0x38 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x08007a44 HAL_SYSTICK_CLKSourceConfig + 0x08007ab8 0x38 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08007ab8 HAL_SYSTICK_CLKSourceConfig .text.HAL_Init - 0x08007a7c 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08007a7c HAL_Init + 0x08007af0 0x44 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x08007af0 HAL_Init .text.HAL_InitTick - 0x08007ac0 0x2c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08007ac0 HAL_InitTick + 0x08007b34 0x2c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x08007b34 HAL_InitTick .text.HAL_IncTick - 0x08007aec 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08007aec HAL_IncTick + 0x08007b60 0x1c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x08007b60 HAL_IncTick .text.HAL_GetTick - 0x08007b08 0x18 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08007b08 HAL_GetTick + 0x08007b7c 0x18 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x08007b7c HAL_GetTick .text.HAL_Delay - 0x08007b20 0x2c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08007b20 HAL_Delay + 0x08007b94 0x2c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x08007b94 HAL_Delay .text.SystemInit - 0x08007b4c 0x5c Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o - 0x08007b4c SystemInit + 0x08007bc0 0x5c Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + 0x08007bc0 SystemInit .text.Reset_Handler - 0x08007ba8 0x4c Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o - 0x08007ba8 Reset_Handler + 0x08007c1c 0x4c Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o + 0x08007c1c Reset_Handler .text.Default_Handler - 0x08007bf4 0x2 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o - 0x08007bf4 RTC_Alarm_IRQHandler - 0x08007bf4 HASH_RNG_IRQHandler - 0x08007bf4 EXTI2_IRQHandler - 0x08007bf4 TIM8_CC_IRQHandler - 0x08007bf4 DebugMon_Handler - 0x08007bf4 TIM1_CC_IRQHandler - 0x08007bf4 DMA2_Stream5_IRQHandler - 0x08007bf4 HardFault_Handler - 0x08007bf4 DMA1_Stream5_IRQHandler - 0x08007bf4 PVD_IRQHandler - 0x08007bf4 SDIO_IRQHandler - 0x08007bf4 TAMP_STAMP_IRQHandler - 0x08007bf4 PendSV_Handler - 0x08007bf4 NMI_Handler - 0x08007bf4 CAN2_RX1_IRQHandler - 0x08007bf4 TIM8_TRG_COM_TIM14_IRQHandler - 0x08007bf4 TIM1_UP_TIM10_IRQHandler - 0x08007bf4 TIM8_UP_TIM13_IRQHandler - 0x08007bf4 I2C3_ER_IRQHandler - 0x08007bf4 EXTI0_IRQHandler - 0x08007bf4 I2C2_EV_IRQHandler - 0x08007bf4 DMA1_Stream2_IRQHandler - 0x08007bf4 CAN1_RX0_IRQHandler - 0x08007bf4 FPU_IRQHandler - 0x08007bf4 OTG_HS_WKUP_IRQHandler - 0x08007bf4 UsageFault_Handler - 0x08007bf4 CAN2_SCE_IRQHandler - 0x08007bf4 DMA2_Stream2_IRQHandler - 0x08007bf4 TIM6_DAC_IRQHandler - 0x08007bf4 TIM1_BRK_TIM9_IRQHandler - 0x08007bf4 CAN2_RX0_IRQHandler - 0x08007bf4 DMA2_Stream3_IRQHandler - 0x08007bf4 USART6_IRQHandler - 0x08007bf4 USART3_IRQHandler - 0x08007bf4 CAN1_RX1_IRQHandler - 0x08007bf4 UART5_IRQHandler - 0x08007bf4 DMA2_Stream0_IRQHandler - 0x08007bf4 TIM4_IRQHandler - 0x08007bf4 I2C1_EV_IRQHandler - 0x08007bf4 DMA1_Stream6_IRQHandler - 0x08007bf4 DMA1_Stream1_IRQHandler - 0x08007bf4 UART4_IRQHandler - 0x08007bf4 TIM3_IRQHandler - 0x08007bf4 RCC_IRQHandler - 0x08007bf4 TIM8_BRK_TIM12_IRQHandler - 0x08007bf4 Default_Handler - 0x08007bf4 EXTI15_10_IRQHandler - 0x08007bf4 ADC_IRQHandler - 0x08007bf4 DMA1_Stream7_IRQHandler - 0x08007bf4 TIM7_IRQHandler - 0x08007bf4 CAN2_TX_IRQHandler - 0x08007bf4 TIM5_IRQHandler - 0x08007bf4 DMA2_Stream7_IRQHandler - 0x08007bf4 I2C3_EV_IRQHandler - 0x08007bf4 EXTI9_5_IRQHandler - 0x08007bf4 RTC_WKUP_IRQHandler - 0x08007bf4 SPI2_IRQHandler - 0x08007bf4 OTG_HS_EP1_IN_IRQHandler - 0x08007bf4 MemManage_Handler - 0x08007bf4 DMA1_Stream0_IRQHandler - 0x08007bf4 CAN1_TX_IRQHandler - 0x08007bf4 SVC_Handler - 0x08007bf4 EXTI4_IRQHandler - 0x08007bf4 FSMC_IRQHandler - 0x08007bf4 OTG_HS_EP1_OUT_IRQHandler - 0x08007bf4 WWDG_IRQHandler - 0x08007bf4 TIM2_IRQHandler - 0x08007bf4 OTG_FS_WKUP_IRQHandler - 0x08007bf4 TIM1_TRG_COM_TIM11_IRQHandler - 0x08007bf4 OTG_HS_IRQHandler - 0x08007bf4 EXTI1_IRQHandler - 0x08007bf4 USART2_IRQHandler - 0x08007bf4 I2C2_ER_IRQHandler - 0x08007bf4 DMA2_Stream1_IRQHandler - 0x08007bf4 CAN1_SCE_IRQHandler - 0x08007bf4 FLASH_IRQHandler - 0x08007bf4 DMA2_Stream4_IRQHandler - 0x08007bf4 BusFault_Handler - 0x08007bf4 USART1_IRQHandler - 0x08007bf4 SPI3_IRQHandler - 0x08007bf4 DMA1_Stream4_IRQHandler - 0x08007bf4 I2C1_ER_IRQHandler - 0x08007bf4 DMA2_Stream6_IRQHandler - 0x08007bf4 DMA1_Stream3_IRQHandler - *fill* 0x08007bf6 0x2 - .text.malloc 0x08007bf8 0x10 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-malloc.o) - 0x08007bf8 malloc - .text.free 0x08007c08 0x10 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-malloc.o) - 0x08007c08 free - .text._free_r 0x08007c18 0x88 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-freer.o) - 0x08007c18 _free_r + 0x08007c68 0x2 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o + 0x08007c68 RTC_Alarm_IRQHandler + 0x08007c68 HASH_RNG_IRQHandler + 0x08007c68 EXTI2_IRQHandler + 0x08007c68 TIM8_CC_IRQHandler + 0x08007c68 DebugMon_Handler + 0x08007c68 TIM1_CC_IRQHandler + 0x08007c68 DMA2_Stream5_IRQHandler + 0x08007c68 HardFault_Handler + 0x08007c68 DMA1_Stream5_IRQHandler + 0x08007c68 PVD_IRQHandler + 0x08007c68 SDIO_IRQHandler + 0x08007c68 TAMP_STAMP_IRQHandler + 0x08007c68 PendSV_Handler + 0x08007c68 NMI_Handler + 0x08007c68 CAN2_RX1_IRQHandler + 0x08007c68 TIM8_TRG_COM_TIM14_IRQHandler + 0x08007c68 TIM1_UP_TIM10_IRQHandler + 0x08007c68 TIM8_UP_TIM13_IRQHandler + 0x08007c68 I2C3_ER_IRQHandler + 0x08007c68 EXTI0_IRQHandler + 0x08007c68 I2C2_EV_IRQHandler + 0x08007c68 DMA1_Stream2_IRQHandler + 0x08007c68 CAN1_RX0_IRQHandler + 0x08007c68 FPU_IRQHandler + 0x08007c68 OTG_HS_WKUP_IRQHandler + 0x08007c68 UsageFault_Handler + 0x08007c68 CAN2_SCE_IRQHandler + 0x08007c68 DMA2_Stream2_IRQHandler + 0x08007c68 TIM6_DAC_IRQHandler + 0x08007c68 TIM1_BRK_TIM9_IRQHandler + 0x08007c68 CAN2_RX0_IRQHandler + 0x08007c68 DMA2_Stream3_IRQHandler + 0x08007c68 USART6_IRQHandler + 0x08007c68 USART3_IRQHandler + 0x08007c68 CAN1_RX1_IRQHandler + 0x08007c68 UART5_IRQHandler + 0x08007c68 DMA2_Stream0_IRQHandler + 0x08007c68 TIM4_IRQHandler + 0x08007c68 I2C1_EV_IRQHandler + 0x08007c68 DMA1_Stream6_IRQHandler + 0x08007c68 DMA1_Stream1_IRQHandler + 0x08007c68 UART4_IRQHandler + 0x08007c68 TIM3_IRQHandler + 0x08007c68 RCC_IRQHandler + 0x08007c68 TIM8_BRK_TIM12_IRQHandler + 0x08007c68 Default_Handler + 0x08007c68 EXTI15_10_IRQHandler + 0x08007c68 ADC_IRQHandler + 0x08007c68 DMA1_Stream7_IRQHandler + 0x08007c68 TIM7_IRQHandler + 0x08007c68 CAN2_TX_IRQHandler + 0x08007c68 TIM5_IRQHandler + 0x08007c68 DMA2_Stream7_IRQHandler + 0x08007c68 I2C3_EV_IRQHandler + 0x08007c68 EXTI9_5_IRQHandler + 0x08007c68 RTC_WKUP_IRQHandler + 0x08007c68 SPI2_IRQHandler + 0x08007c68 OTG_HS_EP1_IN_IRQHandler + 0x08007c68 MemManage_Handler + 0x08007c68 DMA1_Stream0_IRQHandler + 0x08007c68 CAN1_TX_IRQHandler + 0x08007c68 SVC_Handler + 0x08007c68 EXTI4_IRQHandler + 0x08007c68 FSMC_IRQHandler + 0x08007c68 OTG_HS_EP1_OUT_IRQHandler + 0x08007c68 WWDG_IRQHandler + 0x08007c68 TIM2_IRQHandler + 0x08007c68 OTG_FS_WKUP_IRQHandler + 0x08007c68 TIM1_TRG_COM_TIM11_IRQHandler + 0x08007c68 OTG_HS_IRQHandler + 0x08007c68 EXTI1_IRQHandler + 0x08007c68 USART2_IRQHandler + 0x08007c68 I2C2_ER_IRQHandler + 0x08007c68 DMA2_Stream1_IRQHandler + 0x08007c68 CAN1_SCE_IRQHandler + 0x08007c68 FLASH_IRQHandler + 0x08007c68 DMA2_Stream4_IRQHandler + 0x08007c68 BusFault_Handler + 0x08007c68 USART1_IRQHandler + 0x08007c68 SPI3_IRQHandler + 0x08007c68 DMA1_Stream4_IRQHandler + 0x08007c68 I2C1_ER_IRQHandler + 0x08007c68 DMA2_Stream6_IRQHandler + 0x08007c68 DMA1_Stream3_IRQHandler + *fill* 0x08007c6a 0x2 + .text.malloc 0x08007c6c 0x10 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-malloc.o) + 0x08007c6c malloc + .text.free 0x08007c7c 0x10 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-malloc.o) + 0x08007c7c free + .text._free_r 0x08007c8c 0x88 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-freer.o) + 0x08007c8c _free_r .text._malloc_r - 0x08007ca0 0xac /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-mallocr.o) - 0x08007ca0 _malloc_r - .text._sbrk_r 0x08007d4c 0x20 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-sbrkr.o) - 0x08007d4c _sbrk_r - .text._sbrk 0x08007d6c 0x1c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a(sbrk.o) - 0x08007d6c _sbrk + 0x08007d14 0xac /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-mallocr.o) + 0x08007d14 _malloc_r + .text._sbrk_r 0x08007dc0 0x20 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-sbrkr.o) + 0x08007dc0 _sbrk_r + .text._sbrk 0x08007de0 0x1c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a(sbrk.o) + 0x08007de0 _sbrk *(.init) *(.fini) *(.rodata*) .rodata.STORAGE_Inquirydata_FS - 0x08007d88 0x24 Src/usbd_descriptors.o - 0x08007d88 STORAGE_Inquirydata_FS - .rodata 0x08007dac 0x54 Src/usbd_descriptors.o + 0x08007dfc 0x24 Src/usbd_descriptors.o + 0x08007dfc STORAGE_Inquirydata_FS + .rodata 0x08007e20 0x54 Src/usbd_descriptors.o .rodata.MSC_Page00_Inquiry_Data - 0x08007e00 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o - 0x08007e00 MSC_Page00_Inquiry_Data + 0x08007e74 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + 0x08007e74 MSC_Page00_Inquiry_Data .rodata.MSC_Mode_Sense6_data - 0x08007e08 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o - 0x08007e08 MSC_Mode_Sense6_data + 0x08007e7c 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + 0x08007e7c MSC_Mode_Sense6_data .rodata.MSC_Mode_Sense10_data - 0x08007e10 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o - 0x08007e10 MSC_Mode_Sense10_data + 0x08007e84 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + 0x08007e84 MSC_Mode_Sense10_data .rodata.APBAHBPrescTable - 0x08007e18 0x10 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x08007e18 APBAHBPrescTable + 0x08007e8c 0x10 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x08007e8c APBAHBPrescTable .rodata.str1.1 - 0x08007e28 0x2 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-impure.o) + 0x08007e9c 0x2 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-impure.o) *(.eh_frame*) - 0x08007e2a __etext = . + 0x08007e9e __etext = . -.glue_7 0x08007e2c 0x0 +.glue_7 0x08007ea0 0x0 .glue_7 0x00000000 0x0 linker stubs -.glue_7t 0x08007e2c 0x0 +.glue_7t 0x08007ea0 0x0 .glue_7t 0x00000000 0x0 linker stubs -.vfp11_veneer 0x08007e2c 0x0 +.vfp11_veneer 0x08007ea0 0x0 .vfp11_veneer 0x00000000 0x0 linker stubs -.v4_bx 0x08007e2c 0x0 +.v4_bx 0x08007ea0 0x0 .v4_bx 0x00000000 0x0 linker stubs -.iplt 0x08007e2c 0x0 +.iplt 0x08007ea0 0x0 .iplt 0x00000000 0x0 Src/usbd_descriptors.o -.rel.dyn 0x08007e2c 0x0 +.rel.dyn 0x08007ea0 0x0 .rel.iplt 0x00000000 0x0 Src/usbd_descriptors.o -.data 0x20000000 0x144 load address 0x08007e2a +.data 0x20000000 0x144 load address 0x08007e9e 0x20000000 __data_start__ = . *(vtable) *(.data*) @@ -4056,103 +4062,106 @@ END GROUP 0x20000140 _impure_ptr 0x20000144 __data_end__ = . -.igot.plt 0x20000144 0x0 load address 0x08007f70 +.igot.plt 0x20000144 0x0 load address 0x08007fe4 .igot.plt 0x00000000 0x0 Src/usbd_descriptors.o -.bss 0x20000144 0xcb4 load address 0x08007f70 - 0x20000144 . = ALIGN (0x4) - 0x20000144 __bss_start__ = . +.bss 0x20000148 0xcc8 load address 0x08007fe8 + 0x20000148 . = ALIGN (0x4) + 0x20000148 __bss_start__ = . *(.bss*) .bss.UpstreamState - 0x20000144 0x1 Src/upstream_statemachine.o - 0x20000144 UpstreamState + 0x20000148 0x1 Src/upstream_statemachine.o + 0x20000148 UpstreamState .bss.ConfiguredDeviceClass - 0x20000145 0x1 Src/upstream_statemachine.o - 0x20000145 ConfiguredDeviceClass - *fill* 0x20000146 0x2 + 0x20000149 0x1 Src/upstream_statemachine.o + 0x20000149 ConfiguredDeviceClass + *fill* 0x2000014a 0x2 .bss.NextTxPacket - 0x20000148 0x4 Src/upstream_spi.o - 0x20000148 NextTxPacket + 0x2000014c 0x4 Src/upstream_spi.o + 0x2000014c NextTxPacket .bss.UpstreamInterfaceState - 0x2000014c 0x1 Src/upstream_spi.o - 0x2000014c UpstreamInterfaceState - *fill* 0x2000014d 0x3 + 0x20000150 0x1 Src/upstream_spi.o + 0x20000150 UpstreamInterfaceState + *fill* 0x20000151 0x3 .bss.PendingFreePacketCallback - 0x20000150 0x4 Src/upstream_spi.o - 0x20000150 PendingFreePacketCallback - .bss.ReceivePacketCallback 0x20000154 0x4 Src/upstream_spi.o - 0x20000154 ReceivePacketCallback + 0x20000154 PendingFreePacketCallback + .bss.ReceivePacketCallback + 0x20000158 0x4 Src/upstream_spi.o + 0x20000158 ReceivePacketCallback .bss.TxOkInterruptReceived - 0x20000158 0x1 Src/upstream_spi.o - 0x20000158 TxOkInterruptReceived + 0x2000015c 0x1 Src/upstream_spi.o + 0x2000015c TxOkInterruptReceived .bss.SpiInterruptCompleted - 0x20000159 0x1 Src/upstream_spi.o - 0x20000159 SpiInterruptCompleted + 0x2000015d 0x1 Src/upstream_spi.o + 0x2000015d SpiInterruptCompleted .bss.FaultLedBlinkRate - 0x2000015a 0x2 Src/led.o - 0x2000015a FaultLedBlinkRate + 0x2000015e 0x2 Src/led.o + 0x2000015e FaultLedBlinkRate .bss.FaultLedBlinkCounter - 0x2000015c 0x2 Src/led.o - 0x2000015c FaultLedBlinkCounter + 0x20000160 0x2 Src/led.o + 0x20000160 FaultLedBlinkCounter .bss.FaultLedState - 0x2000015e 0x1 Src/led.o - 0x2000015e FaultLedState + 0x20000162 0x1 Src/led.o + 0x20000162 FaultLedState .bss.cfgidx.8046 - 0x2000015f 0x1 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .bss.uwTick 0x20000160 0x4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x20000163 0x1 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .bss.uwTick 0x20000164 0x4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o .bss.__malloc_sbrk_start - 0x20000164 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-mallocr.o) - 0x20000164 __malloc_sbrk_start - .bss.__malloc_free_list 0x20000168 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-mallocr.o) - 0x20000168 __malloc_free_list + 0x20000168 __malloc_sbrk_start + .bss.__malloc_free_list + 0x2000016c 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-mallocr.o) + 0x2000016c __malloc_free_list .bss.heap_end.4079 - 0x2000016c 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a(sbrk.o) + 0x20000170 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a(sbrk.o) *(COMMON) - COMMON 0x20000170 0x200 Src/usbd_descriptors.o - 0x20000170 USBD_StrDesc - COMMON 0x20000370 0x3b4 Src/usbd_config.o - 0x20000370 hpcd_USB_OTG_FS - COMMON 0x20000724 0x224 Src/usb_device.o - 0x20000724 hUsbDeviceFS - COMMON 0x20000948 0x478 Src/upstream_spi.o - 0x20000948 TemporaryIncomingPacketLength - 0x2000094c SentCommand - 0x20000950 UpstreamPacket1 - 0x20000b58 CurrentWorkingPacket - 0x20000b5c UpstreamPacket0 - 0x20000d64 SentCommandClass - 0x20000d68 Hspi1 - COMMON 0x20000dc0 0x18 Src/upstream_msc.o - 0x20000dc0 ReadStreamPacket - 0x20000dc4 ReadStreamBusy - 0x20000dc8 GetCapacityCallback - 0x20000dcc TestReadyCallback - 0x20000dd0 GetStreamDataCallback - 0x20000dd4 ByteCount - COMMON 0x20000dd8 0x14 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - 0x20000dd8 SCSI_ProcessCmd_hmsc - 0x20000ddc SCSI_ProcessCmd_params - 0x20000de0 SCSI_ProcessCmd_lun - 0x20000de4 SCSI_ProcessCmd_callback - 0x20000de8 SCSI_ProcessCmd_pdev - COMMON 0x20000dec 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - 0x20000dec MSC_BOT_pdev - 0x20000df0 MSC_BOT_hmsc - COMMON 0x20000df4 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-reent.o) - 0x20000df4 errno - 0x20000df8 . = ALIGN (0x4) - 0x20000df8 __bss_end__ = . + COMMON 0x20000174 0x200 Src/usbd_descriptors.o + 0x20000174 USBD_StrDesc + COMMON 0x20000374 0x3b4 Src/usbd_config.o + 0x20000374 hpcd_USB_OTG_FS + COMMON 0x20000728 0x224 Src/usb_device.o + 0x20000728 hUsbDeviceFS + COMMON 0x2000094c 0x478 Src/upstream_spi.o + 0x2000094c TemporaryIncomingPacketLength + 0x20000950 SentCommand + 0x20000954 UpstreamPacket1 + 0x20000b5c CurrentWorkingPacket + 0x20000b60 UpstreamPacket0 + 0x20000d68 SentCommandClass + 0x20000d6c Hspi1 + *fill* 0x20000dc4 0x4 + COMMON 0x20000dc8 0x28 Src/upstream_msc.o + 0x20000dc8 ReadStreamPacket + 0x20000dd0 BlockStart + 0x20000dd8 ReadStreamBusy + 0x20000ddc GetCapacityCallback + 0x20000de0 BlockCount + 0x20000de4 TestReadyCallback + 0x20000de8 GetStreamDataCallback + 0x20000dec ByteCount + COMMON 0x20000df0 0x14 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x20000df0 SCSI_ProcessCmd_hmsc + 0x20000df4 SCSI_ProcessCmd_params + 0x20000df8 SCSI_ProcessCmd_lun + 0x20000dfc SCSI_ProcessCmd_callback + 0x20000e00 SCSI_ProcessCmd_pdev + COMMON 0x20000e04 0x8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x20000e04 MSC_BOT_pdev + 0x20000e08 MSC_BOT_hmsc + COMMON 0x20000e0c 0x4 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-reent.o) + 0x20000e0c errno + 0x20000e10 . = ALIGN (0x4) + 0x20000e10 __bss_end__ = . -.heap 0x20000df8 0x0 - 0x20000df8 __HeapBase = . - 0x20000df8 __end__ = . - 0x20000df8 end = __end__ +.heap 0x20000e10 0x0 + 0x20000e10 __HeapBase = . + 0x20000e10 __end__ = . + 0x20000e10 end = __end__ *(.heap*) - 0x20000df8 __HeapLimit = . + 0x20000e10 __HeapLimit = . -.stack_dummy 0x20000df8 0x0 +.stack_dummy 0x20000e10 0x0 *(.stack*) 0x2001c000 __StackTop = (ORIGIN (SRAM1) + 0x1c000) 0x2001c000 __StackLimit = (__StackTop - SIZEOF (.stack_dummy)) @@ -4175,65 +4184,65 @@ END GROUP 0x10000000 _eccmram = . OUTPUT(Upstream.elf elf32-littlearm) -.debug_info 0x00000000 0xeb5e +.debug_info 0x00000000 0xebad .debug_info 0x00000000 0x3bd Src/usbd_descriptors.o .debug_info 0x000003bd 0x12ff Src/usbd_config.o .debug_info 0x000016bc 0x4de Src/usb_device.o .debug_info 0x00001b9a 0x71b Src/upstream_statemachine.o - .debug_info 0x000022b5 0xad4 Src/upstream_spi.o - .debug_info 0x00002d89 0x507 Src/upstream_msc.o - .debug_info 0x00003290 0x54e Src/main.o - .debug_info 0x000037de 0x1fe Src/led.o - .debug_info 0x000039dc 0xa43 Src/interrupts.o - .debug_info 0x0000441f 0xa85 Src/hal_msp.o - .debug_info 0x00004ea4 0x673 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_info 0x00005517 0x873 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_info 0x00005d8a 0x93c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_info 0x000066c6 0xc44 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - .debug_info 0x0000730a 0x11c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o - .debug_info 0x00007426 0xa8b Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - .debug_info 0x00007eb1 0xa41 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - .debug_info 0x000088f2 0x13d5 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_info 0x00009cc7 0xf65 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - .debug_info 0x0000ac2c 0xd54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_info 0x0000b980 0x54b Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_info 0x0000becb 0xe89 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_info 0x0000cd54 0x6c6 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_info 0x0000d41a 0xb57 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_info 0x0000df71 0x6ae Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_info 0x0000e61f 0x4a2 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o - .debug_info 0x0000eac1 0x9d Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o + .debug_info 0x000022b5 0xacf Src/upstream_spi.o + .debug_info 0x00002d84 0x55b Src/upstream_msc.o + .debug_info 0x000032df 0x54e Src/main.o + .debug_info 0x0000382d 0x1fe Src/led.o + .debug_info 0x00003a2b 0xa43 Src/interrupts.o + .debug_info 0x0000446e 0xa85 Src/hal_msp.o + .debug_info 0x00004ef3 0x673 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_info 0x00005566 0x873 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_info 0x00005dd9 0x93c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_info 0x00006715 0xc44 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + .debug_info 0x00007359 0x11c Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + .debug_info 0x00007475 0xa8b Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + .debug_info 0x00007f00 0xa41 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + .debug_info 0x00008941 0x13d5 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_info 0x00009d16 0xf65 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + .debug_info 0x0000ac7b 0xd54 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_info 0x0000b9cf 0x54b Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_info 0x0000bf1a 0xe89 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_info 0x0000cda3 0x6c6 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_info 0x0000d469 0xb57 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_info 0x0000dfc0 0x6ae Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_info 0x0000e66e 0x4a2 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + .debug_info 0x0000eb10 0x9d Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o -.debug_abbrev 0x00000000 0x2c02 +.debug_abbrev 0x00000000 0x2c0d .debug_abbrev 0x00000000 0x144 Src/usbd_descriptors.o .debug_abbrev 0x00000144 0x20e Src/usbd_config.o .debug_abbrev 0x00000352 0x12e Src/usb_device.o .debug_abbrev 0x00000480 0x1a5 Src/upstream_statemachine.o - .debug_abbrev 0x00000625 0x291 Src/upstream_spi.o - .debug_abbrev 0x000008b6 0x164 Src/upstream_msc.o - .debug_abbrev 0x00000a1a 0x138 Src/main.o - .debug_abbrev 0x00000b52 0x106 Src/led.o - .debug_abbrev 0x00000c58 0x16d Src/interrupts.o - .debug_abbrev 0x00000dc5 0x15c Src/hal_msp.o - .debug_abbrev 0x00000f21 0x12e Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_abbrev 0x0000104f 0x1ee Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_abbrev 0x0000123d 0x1be Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_abbrev 0x000013fb 0x26e Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - .debug_abbrev 0x00001669 0x78 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o - .debug_abbrev 0x000016e1 0x20b Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - .debug_abbrev 0x000018ec 0x1c7 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - .debug_abbrev 0x00001ab3 0x216 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_abbrev 0x00001cc9 0x20d Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - .debug_abbrev 0x00001ed6 0x252 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_abbrev 0x00002128 0x161 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_abbrev 0x00002289 0x23b Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_abbrev 0x000024c4 0x1a4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_abbrev 0x00002668 0x282 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_abbrev 0x000028ea 0x202 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_abbrev 0x00002aec 0x104 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o - .debug_abbrev 0x00002bf0 0x12 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o + .debug_abbrev 0x00000625 0x29c Src/upstream_spi.o + .debug_abbrev 0x000008c1 0x164 Src/upstream_msc.o + .debug_abbrev 0x00000a25 0x138 Src/main.o + .debug_abbrev 0x00000b5d 0x106 Src/led.o + .debug_abbrev 0x00000c63 0x16d Src/interrupts.o + .debug_abbrev 0x00000dd0 0x15c Src/hal_msp.o + .debug_abbrev 0x00000f2c 0x12e Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_abbrev 0x0000105a 0x1ee Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_abbrev 0x00001248 0x1be Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_abbrev 0x00001406 0x26e Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + .debug_abbrev 0x00001674 0x78 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + .debug_abbrev 0x000016ec 0x20b Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + .debug_abbrev 0x000018f7 0x1c7 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + .debug_abbrev 0x00001abe 0x216 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_abbrev 0x00001cd4 0x20d Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + .debug_abbrev 0x00001ee1 0x252 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_abbrev 0x00002133 0x161 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_abbrev 0x00002294 0x23b Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_abbrev 0x000024cf 0x1a4 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_abbrev 0x00002673 0x282 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_abbrev 0x000028f5 0x202 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_abbrev 0x00002af7 0x104 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + .debug_abbrev 0x00002bfb 0x12 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o -.debug_aranges 0x00000000 0xdf8 +.debug_aranges 0x00000000 0xe08 .debug_aranges 0x00000000 0x50 Src/usbd_descriptors.o .debug_aranges @@ -4245,77 +4254,77 @@ OUTPUT(Upstream.elf elf32-littlearm) .debug_aranges 0x000001c0 0xa0 Src/upstream_spi.o .debug_aranges - 0x00000260 0x68 Src/upstream_msc.o + 0x00000260 0x78 Src/upstream_msc.o .debug_aranges - 0x000002c8 0x30 Src/main.o + 0x000002d8 0x30 Src/main.o .debug_aranges - 0x000002f8 0x30 Src/led.o + 0x00000308 0x30 Src/led.o .debug_aranges - 0x00000328 0x38 Src/interrupts.o + 0x00000338 0x38 Src/interrupts.o .debug_aranges - 0x00000360 0x30 Src/hal_msp.o + 0x00000370 0x30 Src/hal_msp.o .debug_aranges - 0x00000390 0x50 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x000003a0 0x50 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o .debug_aranges - 0x000003e0 0x88 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x000003f0 0x88 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .debug_aranges - 0x00000468 0xc0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x00000478 0xc0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o .debug_aranges - 0x00000528 0xc0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + 0x00000538 0xc0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o .debug_aranges - 0x000005e8 0x18 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + 0x000005f8 0x18 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o .debug_aranges - 0x00000600 0x80 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + 0x00000610 0x80 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o .debug_aranges - 0x00000680 0x68 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + 0x00000690 0x68 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o .debug_aranges - 0x000006e8 0x180 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x000006f8 0x180 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o .debug_aranges - 0x00000868 0x158 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + 0x00000878 0x158 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o .debug_aranges - 0x000009c0 0x88 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x000009d0 0x88 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o .debug_aranges - 0x00000a48 0x28 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + 0x00000a58 0x28 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o .debug_aranges - 0x00000a70 0x120 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x00000a80 0x120 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o .debug_aranges - 0x00000b90 0x58 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + 0x00000ba0 0x58 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o .debug_aranges - 0x00000be8 0x100 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x00000bf8 0x100 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .debug_aranges - 0x00000ce8 0xc0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x00000cf8 0xc0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o .debug_aranges - 0x00000da8 0x28 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + 0x00000db8 0x28 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o .debug_aranges - 0x00000dd0 0x28 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o + 0x00000de0 0x28 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o -.debug_ranges 0x00000000 0xc48 +.debug_ranges 0x00000000 0xc58 .debug_ranges 0x00000000 0x40 Src/usbd_descriptors.o .debug_ranges 0x00000040 0xf0 Src/usbd_config.o .debug_ranges 0x00000130 0x10 Src/usb_device.o .debug_ranges 0x00000140 0x40 Src/upstream_statemachine.o .debug_ranges 0x00000180 0x90 Src/upstream_spi.o - .debug_ranges 0x00000210 0x58 Src/upstream_msc.o - .debug_ranges 0x00000268 0x20 Src/main.o - .debug_ranges 0x00000288 0x20 Src/led.o - .debug_ranges 0x000002a8 0x28 Src/interrupts.o - .debug_ranges 0x000002d0 0x20 Src/hal_msp.o - .debug_ranges 0x000002f0 0x40 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_ranges 0x00000330 0x78 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_ranges 0x000003a8 0xb0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_ranges 0x00000458 0xb0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - .debug_ranges 0x00000508 0x70 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - .debug_ranges 0x00000578 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - .debug_ranges 0x000005d0 0x170 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_ranges 0x00000740 0x148 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - .debug_ranges 0x00000888 0x78 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_ranges 0x00000900 0x18 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_ranges 0x00000918 0x110 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_ranges 0x00000a28 0x48 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_ranges 0x00000a70 0xf0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_ranges 0x00000b60 0xb0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_ranges 0x00000c10 0x18 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o - .debug_ranges 0x00000c28 0x20 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o + .debug_ranges 0x00000210 0x68 Src/upstream_msc.o + .debug_ranges 0x00000278 0x20 Src/main.o + .debug_ranges 0x00000298 0x20 Src/led.o + .debug_ranges 0x000002b8 0x28 Src/interrupts.o + .debug_ranges 0x000002e0 0x20 Src/hal_msp.o + .debug_ranges 0x00000300 0x40 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_ranges 0x00000340 0x78 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_ranges 0x000003b8 0xb0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_ranges 0x00000468 0xb0 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + .debug_ranges 0x00000518 0x70 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + .debug_ranges 0x00000588 0x58 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + .debug_ranges 0x000005e0 0x170 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_ranges 0x00000750 0x148 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + .debug_ranges 0x00000898 0x78 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_ranges 0x00000910 0x18 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_ranges 0x00000928 0x110 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_ranges 0x00000a38 0x48 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_ranges 0x00000a80 0xf0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_ranges 0x00000b70 0xb0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_ranges 0x00000c20 0x18 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + .debug_ranges 0x00000c38 0x20 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o .debug_macro 0x00000000 0x13de4 .debug_macro 0x00000000 0x379 Src/usbd_descriptors.o @@ -4418,36 +4427,36 @@ OUTPUT(Upstream.elf elf32-littlearm) .debug_macro 0x00013b43 0x1ed Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o .debug_macro 0x00013d30 0xb4 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o -.debug_line 0x00000000 0xd494 +.debug_line 0x00000000 0xd4a9 .debug_line 0x00000000 0x7ee Src/usbd_descriptors.o .debug_line 0x000007ee 0x904 Src/usbd_config.o .debug_line 0x000010f2 0x784 Src/usb_device.o .debug_line 0x00001876 0x8f0 Src/upstream_statemachine.o - .debug_line 0x00002166 0x9f0 Src/upstream_spi.o - .debug_line 0x00002b56 0x832 Src/upstream_msc.o - .debug_line 0x00003388 0x74c Src/main.o - .debug_line 0x00003ad4 0x579 Src/led.o - .debug_line 0x0000404d 0x707 Src/interrupts.o - .debug_line 0x00004754 0x594 Src/hal_msp.o - .debug_line 0x00004ce8 0x768 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_line 0x00005450 0x919 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_line 0x00005d69 0x8e0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_line 0x00006649 0xa8f Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - .debug_line 0x000070d8 0x720 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o - .debug_line 0x000077f8 0x8e7 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - .debug_line 0x000080df 0x8b7 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - .debug_line 0x00008996 0xb86 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_line 0x0000951c 0xd52 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - .debug_line 0x0000a26e 0x855 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_line 0x0000aac3 0x58c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_line 0x0000b04f 0xa4f Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_line 0x0000ba9e 0x742 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_line 0x0000c1e0 0x80f Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_line 0x0000c9ef 0x6fa Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_line 0x0000d0e9 0x2fe Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o - .debug_line 0x0000d3e7 0xad Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o + .debug_line 0x00002166 0x9dc Src/upstream_spi.o + .debug_line 0x00002b42 0x85a Src/upstream_msc.o + .debug_line 0x0000339c 0x74c Src/main.o + .debug_line 0x00003ae8 0x579 Src/led.o + .debug_line 0x00004061 0x707 Src/interrupts.o + .debug_line 0x00004768 0x594 Src/hal_msp.o + .debug_line 0x00004cfc 0x768 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_line 0x00005464 0x919 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_line 0x00005d7d 0x8e0 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_line 0x0000665d 0xa8f Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + .debug_line 0x000070ec 0x720 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + .debug_line 0x0000780c 0x8e8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + .debug_line 0x000080f4 0x8b7 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + .debug_line 0x000089ab 0xb86 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_line 0x00009531 0xd52 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + .debug_line 0x0000a283 0x855 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_line 0x0000aad8 0x58c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_line 0x0000b064 0xa4f Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_line 0x0000bab3 0x742 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_line 0x0000c1f5 0x80f Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_line 0x0000ca04 0x6fa Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_line 0x0000d0fe 0x2fe Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + .debug_line 0x0000d3fc 0xad Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o -.debug_str 0x00000000 0x68d15 +.debug_str 0x00000000 0x68d99 .debug_str 0x00000000 0x6425d Src/usbd_descriptors.o 0x64575 (size before relaxing) .debug_str 0x0006425d 0xe4b Src/usbd_config.o @@ -4456,49 +4465,49 @@ OUTPUT(Upstream.elf elf32-littlearm) 0x645f6 (size before relaxing) .debug_str 0x000650e9 0x485 Src/upstream_statemachine.o 0x64a7d (size before relaxing) - .debug_str 0x0006556e 0xc7b Src/upstream_spi.o - 0x64aa0 (size before relaxing) - .debug_str 0x000661e9 0x2e0 Src/upstream_msc.o - 0x63fee (size before relaxing) - .debug_str 0x000664c9 0x140 Src/main.o + .debug_str 0x0006556e 0xc87 Src/upstream_spi.o + 0x64aac (size before relaxing) + .debug_str 0x000661f5 0x353 Src/upstream_msc.o + 0x64077 (size before relaxing) + .debug_str 0x00066548 0x140 Src/main.o 0x64236 (size before relaxing) - .debug_str 0x00066609 0x7c Src/led.o + .debug_str 0x00066688 0x7c Src/led.o 0x604e3 (size before relaxing) - .debug_str 0x00066685 0x74 Src/interrupts.o + .debug_str 0x00066704 0x74 Src/interrupts.o 0x646d2 (size before relaxing) - .debug_str 0x000666f9 0x3f Src/hal_msp.o + .debug_str 0x00066778 0x3f Src/hal_msp.o 0x60f2c (size before relaxing) - .debug_str 0x00066738 0xc9 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_str 0x000667b7 0xc9 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o 0x63d52 (size before relaxing) - .debug_str 0x00066801 0x133 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_str 0x00066880 0x133 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o 0x63dca (size before relaxing) - .debug_str 0x00066934 0x19c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_str 0x000669b3 0x19c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o 0x63e31 (size before relaxing) - .debug_str 0x00066ad0 0x50a Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + .debug_str 0x00066b4f 0x50a Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o 0x64c3e (size before relaxing) - .debug_str 0x00066fda 0x49 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o + .debug_str 0x00067059 0x49 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.o 0x6395b (size before relaxing) - .debug_str 0x00067023 0x15b Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + .debug_str 0x000670a2 0x15b Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o 0x648fe (size before relaxing) - .debug_str 0x0006717e 0x17f Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + .debug_str 0x000671fd 0x17f Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o 0x649ce (size before relaxing) - .debug_str 0x000672fd 0x73e Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_str 0x0006737c 0x73e Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o 0x609c1 (size before relaxing) - .debug_str 0x00067a3b 0x363 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + .debug_str 0x00067aba 0x363 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o 0x6088b (size before relaxing) - .debug_str 0x00067d9e 0x343 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_str 0x00067e1d 0x343 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o 0x60651 (size before relaxing) - .debug_str 0x000680e1 0x4a Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_str 0x00068160 0x4a Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o 0x603a7 (size before relaxing) - .debug_str 0x0006812b 0x1f0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_str 0x000681aa 0x1f5 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o 0x60857 (size before relaxing) - .debug_str 0x0006831b 0x25e Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_str 0x0006839f 0x25e Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o 0x6042f (size before relaxing) - .debug_str 0x00068579 0x306 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_str 0x000685fd 0x306 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o 0x60902 (size before relaxing) - .debug_str 0x0006887f 0x40d Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_str 0x00068903 0x40d Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o 0x6067f (size before relaxing) - .debug_str 0x00068c8c 0x89 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + .debug_str 0x00068d10 0x89 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o 0x39fc2 (size before relaxing) .comment 0x00000000 0x70 @@ -4601,35 +4610,35 @@ OUTPUT(Upstream.elf elf32-littlearm) .ARM.attributes 0x0000065d 0x2d /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a(sbrk.o) -.debug_frame 0x00000000 0x36d8 +.debug_frame 0x00000000 0x3718 .debug_frame 0x00000000 0x114 Src/usbd_descriptors.o .debug_frame 0x00000114 0x428 Src/usbd_config.o .debug_frame 0x0000053c 0x2c Src/usb_device.o .debug_frame 0x00000568 0xf4 Src/upstream_statemachine.o - .debug_frame 0x0000065c 0x248 Src/upstream_spi.o - .debug_frame 0x000008a4 0x178 Src/upstream_msc.o - .debug_frame 0x00000a1c 0x74 Src/main.o - .debug_frame 0x00000a90 0x74 Src/led.o - .debug_frame 0x00000b04 0x80 Src/interrupts.o - .debug_frame 0x00000b84 0x74 Src/hal_msp.o - .debug_frame 0x00000bf8 0x10c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_frame 0x00000d04 0x210 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_frame 0x00000f14 0x324 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_frame 0x00001238 0x2e8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o - .debug_frame 0x00001520 0x1e8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o - .debug_frame 0x00001708 0x188 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o - .debug_frame 0x00001890 0x718 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_frame 0x00001fa8 0x604 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o - .debug_frame 0x000025ac 0x204 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_frame 0x000027b0 0x60 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_frame 0x00002810 0x508 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_frame 0x00002d18 0x14c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_frame 0x00002e64 0x42c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_frame 0x00003290 0x2c0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_frame 0x00003550 0x58 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o - .debug_frame 0x000035a8 0x30 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-malloc.o) - .debug_frame 0x000035d8 0x2c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-freer.o) - .debug_frame 0x00003604 0x2c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-mallocr.o) - .debug_frame 0x00003630 0x2c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-sbrkr.o) - .debug_frame 0x0000365c 0x5c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-reent.o) - .debug_frame 0x000036b8 0x20 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a(sbrk.o) + .debug_frame 0x0000065c 0x240 Src/upstream_spi.o + .debug_frame 0x0000089c 0x1c0 Src/upstream_msc.o + .debug_frame 0x00000a5c 0x74 Src/main.o + .debug_frame 0x00000ad0 0x74 Src/led.o + .debug_frame 0x00000b44 0x80 Src/interrupts.o + .debug_frame 0x00000bc4 0x74 Src/hal_msp.o + .debug_frame 0x00000c38 0x10c Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_frame 0x00000d44 0x210 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_frame 0x00000f54 0x324 Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_frame 0x00001278 0x2e8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.o + .debug_frame 0x00001560 0x1e8 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.o + .debug_frame 0x00001748 0x188 Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.o + .debug_frame 0x000018d0 0x718 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_frame 0x00001fe8 0x604 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o + .debug_frame 0x000025ec 0x204 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_frame 0x000027f0 0x60 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_frame 0x00002850 0x508 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_frame 0x00002d58 0x14c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_frame 0x00002ea4 0x42c Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_frame 0x000032d0 0x2c0 Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_frame 0x00003590 0x58 Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o + .debug_frame 0x000035e8 0x30 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-malloc.o) + .debug_frame 0x00003618 0x2c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-freer.o) + .debug_frame 0x00003644 0x2c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-nano-mallocr.o) + .debug_frame 0x00003670 0x2c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-sbrkr.o) + .debug_frame 0x0000369c 0x5c /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libg_nano.a(lib_a-reent.o) + .debug_frame 0x000036f8 0x20 /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libnosys.a(sbrk.o) diff --git a/Upstream/Inc/upstream_msc.h b/Upstream/Inc/upstream_msc.h index 3ebaa76..b21a1df 100644 --- a/Upstream/Inc/upstream_msc.h +++ b/Upstream/Inc/upstream_msc.h @@ -28,8 +28,8 @@ HAL_StatusTypeDef Upstream_MSC_BeginRead(UpstreamMSCCallbackTypeDef callback, uint32_t readByteCount); HAL_StatusTypeDef Upstream_MSC_GetStreamDataPacket(UpstreamMSCCallbackPacketTypeDef callback); HAL_StatusTypeDef Upstream_MSC_BeginWrite(UpstreamMSCCallbackTypeDef callback, - uint64_t readBlockStart, - uint32_t readBlockCount); + uint64_t writeBlockStart, + uint32_t writeBlockCount); HAL_StatusTypeDef Upstream_MSC_PutStreamDataPacket(UpstreamPacketTypeDef* packetToSend, uint32_t dataLength8); diff --git a/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.c b/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.c index f444170..959eb8f 100755 --- a/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.c +++ b/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.c @@ -353,6 +353,10 @@ void MSC_BOT_SendCSW (USBD_HandleTypeDef *pdev, hmsc->csw.bStatus = CSW_Status; hmsc->bot_state = USBD_BOT_IDLE; + //De-register UpstreamPacket* from USB interface, + //so we don't unintentionally free it on USB transaction completion. + hmsc->bot_packet = NULL; + USBD_LL_Transmit (pdev, MSC_EPIN_ADDR, (uint8_t *)&hmsc->csw, diff --git a/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c b/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c index d89b628..ace3f16 100755 --- a/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c +++ b/Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c @@ -668,7 +668,6 @@ void SCSI_Read10ReplyCallback(UpstreamPacketTypeDef* upstreamPacket, * @param params: Command parameters * @retval status */ - static void SCSI_Write10(void) { uint32_t dataLength; @@ -716,8 +715,8 @@ static void SCSI_Write10(void) } if (Upstream_MSC_BeginWrite(SCSI_Write10BeginCallback, - SCSI_ProcessCmd_hmsc->scsi_blk_addr, - SCSI_ProcessCmd_hmsc->scsi_blk_len) != HAL_OK) + SCSI_ProcessCmd_hmsc->scsi_blk_addr, + SCSI_ProcessCmd_hmsc->scsi_blk_len) != HAL_OK) { SCSI_Write10BeginCallback(HAL_ERROR); } diff --git a/Upstream/Src/upstream_msc.c b/Upstream/Src/upstream_msc.c index 1c7d414..6df23d4 100644 --- a/Upstream/Src/upstream_msc.c +++ b/Upstream/Src/upstream_msc.c @@ -17,46 +17,59 @@ UpstreamMSCCallbackTypeDef TestReadyCallback; UpstreamMSCCallbackUintPacketTypeDef GetCapacityCallback; UpstreamMSCCallbackPacketTypeDef GetStreamDataCallback; +uint64_t BlockStart; +uint32_t BlockCount; uint32_t ByteCount; + UpstreamPacketTypeDef* ReadStreamPacket; uint8_t ReadStreamBusy; +static void Upstream_MSC_TestReadyFreePacketCallback(UpstreamPacketTypeDef* freePacket); static void Upstream_MSC_TestReadyReplyCallback(UpstreamPacketTypeDef* replyPacket); static void Upstream_MSC_GetCapacityReplyCallback(UpstreamPacketTypeDef* replyPacket); static void Upstream_MSC_GetStreamDataPacketCallback(UpstreamPacketTypeDef* replyPacket); +static void Upstream_MSC_BeginWriteFreePacketCallback(UpstreamPacketTypeDef* freePacket); static void Upstream_MSC_BeginWriteReplyCallback(UpstreamPacketTypeDef* replyPacket); HAL_StatusTypeDef Upstream_MSC_TestReady(UpstreamMSCCallbackTypeDef callback) { - UpstreamPacketTypeDef* freePacket; - if (Upstream_StateMachine_CheckClassOperationOk() != HAL_OK) { return HAL_ERROR; } TestReadyCallback = callback; - freePacket = Upstream_GetFreePacketImmediately(); - if (freePacket == NULL) - { - return HAL_ERROR; - } + return Upstream_GetFreePacket(Upstream_MSC_TestReadyFreePacketCallback); +} + + +void Upstream_MSC_TestReadyFreePacketCallback(UpstreamPacketTypeDef* freePacket) +{ freePacket->Length16 = UPSTREAM_PACKET_HEADER_LEN_16; freePacket->CommandClass = COMMAND_CLASS_MASS_STORAGE; freePacket->Command = COMMAND_MSC_TEST_UNIT_READY; + if (Upstream_TransmitPacket(freePacket) == HAL_OK) { - return Upstream_ReceivePacket(Upstream_MSC_TestReadyReplyCallback); + Upstream_ReleasePacket(freePacket); + if (Upstream_ReceivePacket(Upstream_MSC_TestReadyReplyCallback) != HAL_OK) + { + TestReadyCallback(HAL_ERROR); + } + return; } + //else: - return HAL_ERROR; + Upstream_ReleasePacket(freePacket); + TestReadyCallback(HAL_ERROR); } + void Upstream_MSC_TestReadyReplyCallback(UpstreamPacketTypeDef* replyPacket) { if (Upstream_StateMachine_CheckClassOperationOk() != HAL_OK) @@ -248,38 +261,47 @@ void Upstream_MSC_GetStreamDataPacketCallback(UpstreamPacketTypeDef* replyPacket HAL_StatusTypeDef Upstream_MSC_BeginWrite(UpstreamMSCCallbackTypeDef callback, - uint64_t readBlockStart, - uint32_t readBlockCount) + uint64_t writeBlockStart, + uint32_t writeBlockCount) { - UpstreamPacketTypeDef* freePacket; - if (Upstream_StateMachine_CheckClassOperationOk() != HAL_OK) { return HAL_ERROR; } + BlockStart = writeBlockStart; + BlockCount = writeBlockCount; TestReadyCallback = callback; - freePacket = Upstream_GetFreePacketImmediately(); - if (freePacket == NULL) - { - return HAL_ERROR; - } + return Upstream_GetFreePacket(Upstream_MSC_BeginWriteFreePacketCallback); +} + + +void Upstream_MSC_BeginWriteFreePacketCallback(UpstreamPacketTypeDef* freePacket) +{ freePacket->Length16 = UPSTREAM_PACKET_HEADER_LEN_16 + ((4 * 3) / 2); freePacket->CommandClass = COMMAND_CLASS_MASS_STORAGE; freePacket->Command = COMMAND_MSC_BEGIN_WRITE; - *(uint64_t*)&(freePacket->Data[0]) = readBlockStart; - *(uint32_t*)&(freePacket->Data[8]) = readBlockCount; + *(uint64_t*)&(freePacket->Data[0]) = BlockStart; + *(uint32_t*)&(freePacket->Data[8]) = BlockCount; if (Upstream_TransmitPacket(freePacket) == HAL_OK) { - return Upstream_ReceivePacket(Upstream_MSC_BeginWriteReplyCallback); + Upstream_ReleasePacket(freePacket); + if (Upstream_ReceivePacket(Upstream_MSC_BeginWriteReplyCallback) != HAL_OK) + { + TestReadyCallback(HAL_ERROR); + } + return; } + //else: - return HAL_ERROR; + Upstream_ReleasePacket(freePacket); + TestReadyCallback(HAL_ERROR); } + void Upstream_MSC_BeginWriteReplyCallback(UpstreamPacketTypeDef* replyPacket) { uint8_t tempResult; diff --git a/Upstream/Src/upstream_spi.c b/Upstream/Src/upstream_spi.c index 30c4c36..39d1bd0 100644 --- a/Upstream/Src/upstream_spi.c +++ b/Upstream/Src/upstream_spi.c @@ -106,18 +106,11 @@ HAL_StatusTypeDef Upstream_GetFreePacket(FreePacketCallbackTypeDef callback) UpstreamPacketTypeDef* Upstream_GetFreePacketImmediately(void) { -uint8_t temp; - if (UpstreamInterfaceState >= UPSTREAM_INTERFACE_ERROR) { return NULL; } - if (NextTxPacket != NULL) - { - temp = 0; - } - //We are expecting a free buffer now if (UpstreamPacket0.Busy == NOT_BUSY) { @@ -260,11 +253,13 @@ void Upstream_SPIProcess_InterruptSafe(void) } + //Called from main(). //Must be protected against preemption by USB and EXT3 interrupts at priority 10! void Upstream_SPIProcess(void) { SpiPacketReceivedCallbackTypeDef tempPacketCallback; + UpstreamPacketTypeDef* tempPacketToFree; SPI1_NSS_DEASSERT; @@ -294,11 +289,8 @@ void Upstream_SPIProcess(void) return; } - Upstream_ReleasePacket(CurrentWorkingPacket); - if (UpstreamInterfaceState == UPSTREAM_INTERFACE_ERROR) - { - return; //Really shouldn't happen, but we are being paranoid... - } + tempPacketToFree = CurrentWorkingPacket; + if (NextTxPacket != NULL) { //NextTxPacket has already passed the checks in Upstream_TransmitPacket. @@ -306,19 +298,26 @@ void Upstream_SPIProcess(void) UpstreamInterfaceState = UPSTREAM_INTERFACE_TX_SIZE_WAIT; CurrentWorkingPacket = NextTxPacket; NextTxPacket = NULL; + SentCommandClass = CurrentWorkingPacket->CommandClass; + SentCommand = CurrentWorkingPacket->Command; if (TxOkInterruptReceived) { TxOkInterruptReceived = 0; Upstream_BeginTransmitPacketSize(); } - return; } - - UpstreamInterfaceState = UPSTREAM_INTERFACE_IDLE; - if (ReceivePacketCallback != NULL) + else { - Upstream_CheckBeginPacketReception(); + //No packet queued for transmission: + UpstreamInterfaceState = UPSTREAM_INTERFACE_IDLE; + if (ReceivePacketCallback != NULL) + { + Upstream_CheckBeginPacketReception(); + } } + + //Release old packet after moving Next to Current + Upstream_ReleasePacket(tempPacketToFree); return; }