添加定时器用于测量时间

master
18650180552 2019-12-01 21:45:09 +08:00
parent 72a0c0685b
commit 9e64588d10
5 changed files with 151045 additions and 9283 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,11 +18,25 @@ Section Cross References
fsmc_nand.o(i.FSMC_NAND_WriteSmallPage) refers to fsmc_nand.o(i.FSMC_NAND_AddressIncrement) for FSMC_NAND_AddressIncrement
fsmc_nand.o(i.FSMC_NAND_WriteSpareArea) refers to fsmc_nand.o(i.FSMC_NAND_GetStatus) for FSMC_NAND_GetStatus
fsmc_nand.o(i.FSMC_NAND_WriteSpareArea) refers to fsmc_nand.o(i.FSMC_NAND_AddressIncrement) for FSMC_NAND_AddressIncrement
main.o(i.NVIC_Configue) refers to misc.o(i.NVIC_Init) for NVIC_Init
main.o(i.RCC_Configuration) refers to system_stm32f10x_1.o(i.SystemInit) for SystemInit
main.o(i.RCC_Configuration) refers to stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd) for RCC_APB1PeriphClockCmd
main.o(i.TIM3_Configuration) refers to stm32f10x_tim.o(i.TIM_TimeBaseInit) for TIM_TimeBaseInit
main.o(i.TIM3_Configuration) refers to stm32f10x_tim.o(i.TIM_ITConfig) for TIM_ITConfig
main.o(i.TIM3_Configuration) refers to stm32f10x_tim.o(i.TIM_ARRPreloadConfig) for TIM_ARRPreloadConfig
main.o(i.TIM3_Configuration) refers to stm32f10x_tim.o(i.TIM_Cmd) for TIM_Cmd
main.o(i.TIM3_IRQHandler) refers to stm32f10x_tim.o(i.TIM_GetITStatus) for TIM_GetITStatus
main.o(i.TIM3_IRQHandler) refers to stm32f10x_gpio.o(i.GPIO_WriteBit) for GPIO_WriteBit
main.o(i.TIM3_IRQHandler) refers to stm32f10x_tim.o(i.TIM_ClearITPendingBit) for TIM_ClearITPendingBit
main.o(i.TIM3_IRQHandler) refers to main.o(.data) for x
main.o(i.main) refers to main.o(i.RCC_Configuration) for RCC_Configuration
main.o(i.main) refers to stm32f10x_rcc.o(i.RCC_AHBPeriphClockCmd) for RCC_AHBPeriphClockCmd
main.o(i.main) refers to fsmc_nand.o(i.FSMC_NAND_Init) for FSMC_NAND_Init
main.o(i.main) refers to fsmc_nand.o(i.FSMC_NAND_ReadID) for FSMC_NAND_ReadID
main.o(i.main) refers to stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd) for RCC_APB2PeriphClockCmd
main.o(i.main) refers to stm32f10x_gpio.o(i.GPIO_Init) for GPIO_Init
main.o(i.main) refers to main.o(i.TIM3_Configuration) for TIM3_Configuration
main.o(i.main) refers to main.o(i.NVIC_Configue) for NVIC_Configue
main.o(i.main) refers to fsmc_nand.o(i.FSMC_NAND_EraseBlock) for FSMC_NAND_EraseBlock
main.o(i.main) refers to main.o(i.Fill_Buffer) for Fill_Buffer
main.o(i.main) refers to fsmc_nand.o(i.FSMC_NAND_WriteSmallPage) for FSMC_NAND_WriteSmallPage
@ -97,6 +111,7 @@ Section Cross References
startup_stm32f10x_hd.o(RESET) refers to dma_stm32f10x.o(i.DMA1_Channel5_IRQHandler) for DMA1_Channel5_IRQHandler
startup_stm32f10x_hd.o(RESET) refers to dma_stm32f10x.o(i.DMA1_Channel6_IRQHandler) for DMA1_Channel6_IRQHandler
startup_stm32f10x_hd.o(RESET) refers to dma_stm32f10x.o(i.DMA1_Channel7_IRQHandler) for DMA1_Channel7_IRQHandler
startup_stm32f10x_hd.o(RESET) refers to main.o(i.TIM3_IRQHandler) for TIM3_IRQHandler
startup_stm32f10x_hd.o(RESET) refers to dma_stm32f10x.o(i.DMA2_Channel1_IRQHandler) for DMA2_Channel1_IRQHandler
startup_stm32f10x_hd.o(RESET) refers to dma_stm32f10x.o(i.DMA2_Channel2_IRQHandler) for DMA2_Channel2_IRQHandler
startup_stm32f10x_hd.o(RESET) refers to dma_stm32f10x.o(i.DMA2_Channel3_IRQHandler) for DMA2_Channel3_IRQHandler
@ -228,7 +243,6 @@ Removing Unused input sections from the image.
Removing misc.o(.rev16_text), (4 bytes).
Removing misc.o(.revsh_text), (4 bytes).
Removing misc.o(.rrx_text), (6 bytes).
Removing misc.o(i.NVIC_Init), (112 bytes).
Removing misc.o(i.NVIC_PriorityGroupConfig), (20 bytes).
Removing misc.o(i.NVIC_SetVectorTable), (20 bytes).
Removing misc.o(i.NVIC_SystemLPConfig), (32 bytes).
@ -303,12 +317,10 @@ Removing Unused input sections from the image.
Removing stm32f10x_gpio.o(i.GPIO_SetBits), (4 bytes).
Removing stm32f10x_gpio.o(i.GPIO_StructInit), (16 bytes).
Removing stm32f10x_gpio.o(i.GPIO_Write), (4 bytes).
Removing stm32f10x_gpio.o(i.GPIO_WriteBit), (10 bytes).
Removing stm32f10x_rcc.o(.rev16_text), (4 bytes).
Removing stm32f10x_rcc.o(.revsh_text), (4 bytes).
Removing stm32f10x_rcc.o(.rrx_text), (6 bytes).
Removing stm32f10x_rcc.o(i.RCC_ADCCLKConfig), (24 bytes).
Removing stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd), (32 bytes).
Removing stm32f10x_rcc.o(i.RCC_APB1PeriphResetCmd), (32 bytes).
Removing stm32f10x_rcc.o(i.RCC_APB2PeriphResetCmd), (32 bytes).
Removing stm32f10x_rcc.o(i.RCC_AdjustHSICalibrationValue), (24 bytes).
@ -345,19 +357,16 @@ Removing Unused input sections from the image.
Removing stm32f10x_tim.o(i.TI2_Config), (152 bytes).
Removing stm32f10x_tim.o(i.TI3_Config), (144 bytes).
Removing stm32f10x_tim.o(i.TI4_Config), (152 bytes).
Removing stm32f10x_tim.o(i.TIM_ARRPreloadConfig), (24 bytes).
Removing stm32f10x_tim.o(i.TIM_BDTRConfig), (32 bytes).
Removing stm32f10x_tim.o(i.TIM_BDTRStructInit), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_CCPreloadControl), (24 bytes).
Removing stm32f10x_tim.o(i.TIM_CCxCmd), (30 bytes).
Removing stm32f10x_tim.o(i.TIM_CCxNCmd), (30 bytes).
Removing stm32f10x_tim.o(i.TIM_ClearFlag), (6 bytes).
Removing stm32f10x_tim.o(i.TIM_ClearITPendingBit), (6 bytes).
Removing stm32f10x_tim.o(i.TIM_ClearOC1Ref), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_ClearOC2Ref), (24 bytes).
Removing stm32f10x_tim.o(i.TIM_ClearOC3Ref), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_ClearOC4Ref), (24 bytes).
Removing stm32f10x_tim.o(i.TIM_Cmd), (24 bytes).
Removing stm32f10x_tim.o(i.TIM_CounterModeConfig), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_CtrlPWMOutputs), (30 bytes).
Removing stm32f10x_tim.o(i.TIM_DMACmd), (18 bytes).
@ -378,11 +387,9 @@ Removing Unused input sections from the image.
Removing stm32f10x_tim.o(i.TIM_GetCapture4), (8 bytes).
Removing stm32f10x_tim.o(i.TIM_GetCounter), (6 bytes).
Removing stm32f10x_tim.o(i.TIM_GetFlagStatus), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_GetITStatus), (34 bytes).
Removing stm32f10x_tim.o(i.TIM_GetPrescaler), (6 bytes).
Removing stm32f10x_tim.o(i.TIM_ICInit), (172 bytes).
Removing stm32f10x_tim.o(i.TIM_ICStructInit), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_ITConfig), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_ITRxExternalClockConfig), (24 bytes).
Removing stm32f10x_tim.o(i.TIM_InternalClockConfig), (12 bytes).
Removing stm32f10x_tim.o(i.TIM_OC1FastConfig), (18 bytes).
@ -428,7 +435,6 @@ Removing Unused input sections from the image.
Removing stm32f10x_tim.o(i.TIM_SetIC3Prescaler), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_SetIC4Prescaler), (26 bytes).
Removing stm32f10x_tim.o(i.TIM_TIxExternalClockConfig), (62 bytes).
Removing stm32f10x_tim.o(i.TIM_TimeBaseInit), (164 bytes).
Removing stm32f10x_tim.o(i.TIM_TimeBaseStructInit), (18 bytes).
Removing stm32f10x_tim.o(i.TIM_UpdateDisableConfig), (24 bytes).
Removing stm32f10x_tim.o(i.TIM_UpdateRequestConfig), (24 bytes).
@ -487,7 +493,7 @@ Removing Unused input sections from the image.
Removing system_stm32f10x_1.o(i.SystemCoreClockUpdate), (164 bytes).
Removing system_stm32f10x_1.o(.data), (20 bytes).
273 unused section(s) (total 11528 bytes) removed from the image.
264 unused section(s) (total 11104 bytes) removed from the image.
==============================================================================
@ -497,51 +503,51 @@ Image Symbol Table
Symbol Name Value Ov Type Size Object(Section)
../clib/angel/boardlib.s 0x00000000 Number 0 boardshut.o ABSOLUTE
../clib/angel/boardlib.s 0x00000000 Number 0 boardinit1.o ABSOLUTE
../clib/angel/boardlib.s 0x00000000 Number 0 boardinit2.o ABSOLUTE
../clib/angel/boardlib.s 0x00000000 Number 0 boardinit3.o ABSOLUTE
../clib/angel/boardlib.s 0x00000000 Number 0 boardinit1.o ABSOLUTE
../clib/angel/boardlib.s 0x00000000 Number 0 boardshut.o ABSOLUTE
../clib/angel/handlers.s 0x00000000 Number 0 __scatter_copy.o ABSOLUTE
../clib/angel/handlers.s 0x00000000 Number 0 __scatter_zi.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 rtexit2.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 __rtentry2.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 __rtentry.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 rtexit.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 rtexit2.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 __rtentry4.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 __rtentry2.o ABSOLUTE
../clib/angel/rt.s 0x00000000 Number 0 rt_raise.o ABSOLUTE
../clib/angel/scatter.s 0x00000000 Number 0 __scatter.o ABSOLUTE
../clib/angel/startup.s 0x00000000 Number 0 __main.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 sys_stackheap_outer.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 indicate_semi.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 use_no_semi.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 libspace.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 sys_stackheap_outer.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 use_no_semi.o ABSOLUTE
../clib/angel/sysapp.c 0x00000000 Number 0 sys_wrch.o ABSOLUTE
../clib/angel/sysapp.c 0x00000000 Number 0 sys_command.o ABSOLUTE
../clib/angel/sysapp.c 0x00000000 Number 0 sys_exit.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 argv_veneer.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 no_argv.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 _get_argv_nomalloc.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 argv_veneer.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 argv_veneer.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 _get_argv_nomalloc.o ABSOLUTE
../clib/heapalloc.c 0x00000000 Number 0 hrguard.o ABSOLUTE
../clib/heapaux.c 0x00000000 Number 0 heapauxi.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libinit2.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libinit.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libshutdown.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libshutdown2.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libshutdown.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_general.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 __raise.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_exit.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_rtmem_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_other.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_segv_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_cppl_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_abrt_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_pvfn_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_stak_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_rtred_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_fpe_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_abrt_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_rtmem_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_cppl_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_rtmem_outer.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_rtmem_formal.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_rtred_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_exit.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 __raise.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_segv_inner.o ABSOLUTE
../clib/signal.s 0x00000000 Number 0 defsig.o ABSOLUTE
../clib/stdlib.c 0x00000000 Number 0 exit.o ABSOLUTE
../fplib/fpinit.s 0x00000000 Number 0 fpinit.o ABSOLUTE
@ -668,30 +674,43 @@ Image Symbol Table
i.FSMC_NAND_WriteSmallPage 0x08000780 Section 0 fsmc_nand.o(i.FSMC_NAND_WriteSmallPage)
i.Fill_Buffer 0x08000848 Section 0 main.o(i.Fill_Buffer)
i.GPIO_Init 0x08000860 Section 0 stm32f10x_gpio.o(i.GPIO_Init)
i.HardFault_Handler 0x08000976 Section 0 stm32f10x_it.o(i.HardFault_Handler)
i.MemManage_Handler 0x0800097a Section 0 stm32f10x_it.o(i.MemManage_Handler)
i.NMI_Handler 0x0800097e Section 0 stm32f10x_it.o(i.NMI_Handler)
i.PendSV_Handler 0x08000980 Section 0 stm32f10x_it.o(i.PendSV_Handler)
i.RCC_AHBPeriphClockCmd 0x08000984 Section 0 stm32f10x_rcc.o(i.RCC_AHBPeriphClockCmd)
i.RCC_APB2PeriphClockCmd 0x080009a4 Section 0 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd)
i.RCC_Configuration 0x080009c4 Section 0 main.o(i.RCC_Configuration)
i.SVC_Handler 0x080009cc Section 0 stm32f10x_it.o(i.SVC_Handler)
i.SetSysClock 0x080009ce Section 0 system_stm32f10x_1.o(i.SetSysClock)
SetSysClock 0x080009cf Thumb Code 8 system_stm32f10x_1.o(i.SetSysClock)
i.SetSysClockTo72 0x080009d8 Section 0 system_stm32f10x_1.o(i.SetSysClockTo72)
SetSysClockTo72 0x080009d9 Thumb Code 214 system_stm32f10x_1.o(i.SetSysClockTo72)
i.SysTick_Handler 0x08000ab8 Section 0 stm32f10x_it.o(i.SysTick_Handler)
i.SystemInit 0x08000abc Section 0 system_stm32f10x_1.o(i.SystemInit)
i.UsageFault_Handler 0x08000b1c Section 0 stm32f10x_it.o(i.UsageFault_Handler)
i.main 0x08000b20 Section 0 main.o(i.main)
.data 0x20000000 Section 32 main.o(.data)
.bss 0x20000020 Section 2048 main.o(.bss)
.bss 0x20000820 Section 96 libspace.o(.bss)
HEAP 0x20000880 Section 512 startup_stm32f10x_hd.o(HEAP)
Heap_Mem 0x20000880 Data 512 startup_stm32f10x_hd.o(HEAP)
STACK 0x20000a80 Section 1024 startup_stm32f10x_hd.o(STACK)
Stack_Mem 0x20000a80 Data 1024 startup_stm32f10x_hd.o(STACK)
__initial_sp 0x20000e80 Data 0 startup_stm32f10x_hd.o(STACK)
i.GPIO_WriteBit 0x08000976 Section 0 stm32f10x_gpio.o(i.GPIO_WriteBit)
i.HardFault_Handler 0x08000980 Section 0 stm32f10x_it.o(i.HardFault_Handler)
i.MemManage_Handler 0x08000984 Section 0 stm32f10x_it.o(i.MemManage_Handler)
i.NMI_Handler 0x08000988 Section 0 stm32f10x_it.o(i.NMI_Handler)
i.NVIC_Configue 0x0800098a Section 0 main.o(i.NVIC_Configue)
i.NVIC_Init 0x080009ac Section 0 misc.o(i.NVIC_Init)
i.PendSV_Handler 0x08000a1c Section 0 stm32f10x_it.o(i.PendSV_Handler)
i.RCC_AHBPeriphClockCmd 0x08000a20 Section 0 stm32f10x_rcc.o(i.RCC_AHBPeriphClockCmd)
i.RCC_APB1PeriphClockCmd 0x08000a40 Section 0 stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd)
i.RCC_APB2PeriphClockCmd 0x08000a60 Section 0 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd)
i.RCC_Configuration 0x08000a80 Section 0 main.o(i.RCC_Configuration)
i.SVC_Handler 0x08000a90 Section 0 stm32f10x_it.o(i.SVC_Handler)
i.SetSysClock 0x08000a92 Section 0 system_stm32f10x_1.o(i.SetSysClock)
SetSysClock 0x08000a93 Thumb Code 8 system_stm32f10x_1.o(i.SetSysClock)
i.SetSysClockTo72 0x08000a9c Section 0 system_stm32f10x_1.o(i.SetSysClockTo72)
SetSysClockTo72 0x08000a9d Thumb Code 214 system_stm32f10x_1.o(i.SetSysClockTo72)
i.SysTick_Handler 0x08000b7c Section 0 stm32f10x_it.o(i.SysTick_Handler)
i.SystemInit 0x08000b80 Section 0 system_stm32f10x_1.o(i.SystemInit)
i.TIM3_Configuration 0x08000be0 Section 0 main.o(i.TIM3_Configuration)
i.TIM3_IRQHandler 0x08000c34 Section 0 main.o(i.TIM3_IRQHandler)
i.TIM_ARRPreloadConfig 0x08000c6c Section 0 stm32f10x_tim.o(i.TIM_ARRPreloadConfig)
i.TIM_ClearITPendingBit 0x08000c84 Section 0 stm32f10x_tim.o(i.TIM_ClearITPendingBit)
i.TIM_Cmd 0x08000c8a Section 0 stm32f10x_tim.o(i.TIM_Cmd)
i.TIM_GetITStatus 0x08000ca2 Section 0 stm32f10x_tim.o(i.TIM_GetITStatus)
i.TIM_ITConfig 0x08000cc4 Section 0 stm32f10x_tim.o(i.TIM_ITConfig)
i.TIM_TimeBaseInit 0x08000cd8 Section 0 stm32f10x_tim.o(i.TIM_TimeBaseInit)
i.UsageFault_Handler 0x08000d7c Section 0 stm32f10x_it.o(i.UsageFault_Handler)
i.main 0x08000d80 Section 0 main.o(i.main)
.data 0x20000000 Section 36 main.o(.data)
x 0x20000020 Data 4 main.o(.data)
.bss 0x20000024 Section 2048 main.o(.bss)
.bss 0x20000824 Section 96 libspace.o(.bss)
HEAP 0x20000888 Section 512 startup_stm32f10x_hd.o(HEAP)
Heap_Mem 0x20000888 Data 512 startup_stm32f10x_hd.o(HEAP)
STACK 0x20000a88 Section 1024 startup_stm32f10x_hd.o(STACK)
Stack_Mem 0x20000a88 Data 1024 startup_stm32f10x_hd.o(STACK)
__initial_sp 0x20000e88 Data 0 startup_stm32f10x_hd.o(STACK)
Global Symbols
@ -810,7 +829,6 @@ Image Symbol Table
TIM1_TRG_COM_IRQHandler 0x080001e7 Thumb Code 0 startup_stm32f10x_hd.o(.text)
TIM1_UP_IRQHandler 0x080001e7 Thumb Code 0 startup_stm32f10x_hd.o(.text)
TIM2_IRQHandler 0x080001e7 Thumb Code 0 startup_stm32f10x_hd.o(.text)
TIM3_IRQHandler 0x080001e7 Thumb Code 0 startup_stm32f10x_hd.o(.text)
TIM4_IRQHandler 0x080001e7 Thumb Code 0 startup_stm32f10x_hd.o(.text)
TIM5_IRQHandler 0x080001e7 Thumb Code 0 startup_stm32f10x_hd.o(.text)
TIM6_IRQHandler 0x080001e7 Thumb Code 0 startup_stm32f10x_hd.o(.text)
@ -878,20 +896,32 @@ Image Symbol Table
FSMC_NAND_WriteSmallPage 0x08000781 Thumb Code 190 fsmc_nand.o(i.FSMC_NAND_WriteSmallPage)
Fill_Buffer 0x08000849 Thumb Code 24 main.o(i.Fill_Buffer)
GPIO_Init 0x08000861 Thumb Code 278 stm32f10x_gpio.o(i.GPIO_Init)
HardFault_Handler 0x08000977 Thumb Code 4 stm32f10x_it.o(i.HardFault_Handler)
MemManage_Handler 0x0800097b Thumb Code 4 stm32f10x_it.o(i.MemManage_Handler)
NMI_Handler 0x0800097f Thumb Code 2 stm32f10x_it.o(i.NMI_Handler)
PendSV_Handler 0x08000981 Thumb Code 2 stm32f10x_it.o(i.PendSV_Handler)
RCC_AHBPeriphClockCmd 0x08000985 Thumb Code 26 stm32f10x_rcc.o(i.RCC_AHBPeriphClockCmd)
RCC_APB2PeriphClockCmd 0x080009a5 Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd)
RCC_Configuration 0x080009c5 Thumb Code 8 main.o(i.RCC_Configuration)
SVC_Handler 0x080009cd Thumb Code 2 stm32f10x_it.o(i.SVC_Handler)
SysTick_Handler 0x08000ab9 Thumb Code 2 stm32f10x_it.o(i.SysTick_Handler)
SystemInit 0x08000abd Thumb Code 78 system_stm32f10x_1.o(i.SystemInit)
UsageFault_Handler 0x08000b1d Thumb Code 4 stm32f10x_it.o(i.UsageFault_Handler)
main 0x08000b21 Thumb Code 146 main.o(i.main)
Region$$Table$$Base 0x08000bcc Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08000bec Number 0 anon$$obj.o(Region$$Table)
GPIO_WriteBit 0x08000977 Thumb Code 10 stm32f10x_gpio.o(i.GPIO_WriteBit)
HardFault_Handler 0x08000981 Thumb Code 4 stm32f10x_it.o(i.HardFault_Handler)
MemManage_Handler 0x08000985 Thumb Code 4 stm32f10x_it.o(i.MemManage_Handler)
NMI_Handler 0x08000989 Thumb Code 2 stm32f10x_it.o(i.NMI_Handler)
NVIC_Configue 0x0800098b Thumb Code 34 main.o(i.NVIC_Configue)
NVIC_Init 0x080009ad Thumb Code 100 misc.o(i.NVIC_Init)
PendSV_Handler 0x08000a1d Thumb Code 2 stm32f10x_it.o(i.PendSV_Handler)
RCC_AHBPeriphClockCmd 0x08000a21 Thumb Code 26 stm32f10x_rcc.o(i.RCC_AHBPeriphClockCmd)
RCC_APB1PeriphClockCmd 0x08000a41 Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd)
RCC_APB2PeriphClockCmd 0x08000a61 Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd)
RCC_Configuration 0x08000a81 Thumb Code 16 main.o(i.RCC_Configuration)
SVC_Handler 0x08000a91 Thumb Code 2 stm32f10x_it.o(i.SVC_Handler)
SysTick_Handler 0x08000b7d Thumb Code 2 stm32f10x_it.o(i.SysTick_Handler)
SystemInit 0x08000b81 Thumb Code 78 system_stm32f10x_1.o(i.SystemInit)
TIM3_Configuration 0x08000be1 Thumb Code 76 main.o(i.TIM3_Configuration)
TIM3_IRQHandler 0x08000c35 Thumb Code 44 main.o(i.TIM3_IRQHandler)
TIM_ARRPreloadConfig 0x08000c6d Thumb Code 24 stm32f10x_tim.o(i.TIM_ARRPreloadConfig)
TIM_ClearITPendingBit 0x08000c85 Thumb Code 6 stm32f10x_tim.o(i.TIM_ClearITPendingBit)
TIM_Cmd 0x08000c8b Thumb Code 24 stm32f10x_tim.o(i.TIM_Cmd)
TIM_GetITStatus 0x08000ca3 Thumb Code 34 stm32f10x_tim.o(i.TIM_GetITStatus)
TIM_ITConfig 0x08000cc5 Thumb Code 18 stm32f10x_tim.o(i.TIM_ITConfig)
TIM_TimeBaseInit 0x08000cd9 Thumb Code 122 stm32f10x_tim.o(i.TIM_TimeBaseInit)
UsageFault_Handler 0x08000d7d Thumb Code 4 stm32f10x_it.o(i.UsageFault_Handler)
main 0x08000d81 Thumb Code 188 main.o(i.main)
Region$$Table$$Base 0x08000e58 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08000e78 Number 0 anon$$obj.o(Region$$Table)
NAND_ID 0x20000000 Data 4 main.o(.data)
GPIO_InitStructure 0x20000004 Data 4 main.o(.data)
WriteReadAddr 0x20000008 Data 6 main.o(.data)
@ -899,10 +929,10 @@ Image Symbol Table
WriteReadStatus 0x20000014 Data 4 main.o(.data)
status 0x20000018 Data 4 main.o(.data)
j 0x2000001c Data 4 main.o(.data)
TxBuffer 0x20000020 Data 1024 main.o(.bss)
RxBuffer 0x20000420 Data 1024 main.o(.bss)
__libspace_start 0x20000820 Data 96 libspace.o(.bss)
__temporary_stack_top$libspace 0x20000880 Data 0 libspace.o(.bss)
TxBuffer 0x20000024 Data 1024 main.o(.bss)
RxBuffer 0x20000424 Data 1024 main.o(.bss)
__libspace_start 0x20000824 Data 96 libspace.o(.bss)
__temporary_stack_top$libspace 0x20000884 Data 0 libspace.o(.bss)
@ -912,106 +942,106 @@ Memory Map of the image
Image Entry point : 0x08000131
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00000c0c, Max: 0x00080000, ABSOLUTE)
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00000e9c, Max: 0x00080000, ABSOLUTE)
Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000bec, Max: 0x00080000, ABSOLUTE)
Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000e78, Max: 0x00080000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x08000000 0x08000000 0x00000130 Data RO 1975 RESET startup_stm32f10x_hd.o
0x08000130 0x08000130 0x00000008 Code RO 2030 * !!!main c_w.l(__main.o)
0x08000138 0x08000138 0x00000034 Code RO 2187 !!!scatter c_w.l(__scatter.o)
0x0800016c 0x0800016c 0x0000001a Code RO 2189 !!handler_copy c_w.l(__scatter_copy.o)
0x08000000 0x08000000 0x00000130 Data RO 1993 RESET startup_stm32f10x_hd.o
0x08000130 0x08000130 0x00000008 Code RO 2048 * !!!main c_w.l(__main.o)
0x08000138 0x08000138 0x00000034 Code RO 2205 !!!scatter c_w.l(__scatter.o)
0x0800016c 0x0800016c 0x0000001a Code RO 2207 !!handler_copy c_w.l(__scatter_copy.o)
0x08000186 0x08000186 0x00000002 PAD
0x08000188 0x08000188 0x0000001c Code RO 2191 !!handler_zi c_w.l(__scatter_zi.o)
0x080001a4 0x080001a4 0x00000002 Code RO 2057 .ARM.Collect$$libinit$$00000000 c_w.l(libinit.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2064 .ARM.Collect$$libinit$$00000002 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2066 .ARM.Collect$$libinit$$00000004 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2069 .ARM.Collect$$libinit$$0000000A c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2071 .ARM.Collect$$libinit$$0000000C c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2073 .ARM.Collect$$libinit$$0000000E c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2076 .ARM.Collect$$libinit$$00000011 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2078 .ARM.Collect$$libinit$$00000013 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2080 .ARM.Collect$$libinit$$00000015 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2082 .ARM.Collect$$libinit$$00000017 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2084 .ARM.Collect$$libinit$$00000019 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2086 .ARM.Collect$$libinit$$0000001B c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2088 .ARM.Collect$$libinit$$0000001D c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2090 .ARM.Collect$$libinit$$0000001F c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2092 .ARM.Collect$$libinit$$00000021 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2094 .ARM.Collect$$libinit$$00000023 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2096 .ARM.Collect$$libinit$$00000025 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2100 .ARM.Collect$$libinit$$0000002C c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2102 .ARM.Collect$$libinit$$0000002E c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2104 .ARM.Collect$$libinit$$00000030 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2106 .ARM.Collect$$libinit$$00000032 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000002 Code RO 2107 .ARM.Collect$$libinit$$00000033 c_w.l(libinit2.o)
0x080001a8 0x080001a8 0x00000002 Code RO 2127 .ARM.Collect$$libshutdown$$00000000 c_w.l(libshutdown.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2140 .ARM.Collect$$libshutdown$$00000002 c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2142 .ARM.Collect$$libshutdown$$00000004 c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2145 .ARM.Collect$$libshutdown$$00000007 c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2148 .ARM.Collect$$libshutdown$$0000000A c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2150 .ARM.Collect$$libshutdown$$0000000C c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2153 .ARM.Collect$$libshutdown$$0000000F c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000002 Code RO 2154 .ARM.Collect$$libshutdown$$00000010 c_w.l(libshutdown2.o)
0x080001ac 0x080001ac 0x00000000 Code RO 2032 .ARM.Collect$$rtentry$$00000000 c_w.l(__rtentry.o)
0x080001ac 0x080001ac 0x00000000 Code RO 2034 .ARM.Collect$$rtentry$$00000002 c_w.l(__rtentry2.o)
0x080001ac 0x080001ac 0x00000006 Code RO 2046 .ARM.Collect$$rtentry$$00000004 c_w.l(__rtentry4.o)
0x080001b2 0x080001b2 0x00000000 Code RO 2036 .ARM.Collect$$rtentry$$00000009 c_w.l(__rtentry2.o)
0x080001b2 0x080001b2 0x00000004 Code RO 2037 .ARM.Collect$$rtentry$$0000000A c_w.l(__rtentry2.o)
0x080001b6 0x080001b6 0x00000000 Code RO 2039 .ARM.Collect$$rtentry$$0000000C c_w.l(__rtentry2.o)
0x080001b6 0x080001b6 0x00000008 Code RO 2040 .ARM.Collect$$rtentry$$0000000D c_w.l(__rtentry2.o)
0x080001be 0x080001be 0x00000002 Code RO 2061 .ARM.Collect$$rtexit$$00000000 c_w.l(rtexit.o)
0x080001c0 0x080001c0 0x00000000 Code RO 2109 .ARM.Collect$$rtexit$$00000002 c_w.l(rtexit2.o)
0x080001c0 0x080001c0 0x00000004 Code RO 2110 .ARM.Collect$$rtexit$$00000003 c_w.l(rtexit2.o)
0x080001c4 0x080001c4 0x00000006 Code RO 2111 .ARM.Collect$$rtexit$$00000004 c_w.l(rtexit2.o)
0x08000188 0x08000188 0x0000001c Code RO 2209 !!handler_zi c_w.l(__scatter_zi.o)
0x080001a4 0x080001a4 0x00000002 Code RO 2075 .ARM.Collect$$libinit$$00000000 c_w.l(libinit.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2082 .ARM.Collect$$libinit$$00000002 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2084 .ARM.Collect$$libinit$$00000004 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2087 .ARM.Collect$$libinit$$0000000A c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2089 .ARM.Collect$$libinit$$0000000C c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2091 .ARM.Collect$$libinit$$0000000E c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2094 .ARM.Collect$$libinit$$00000011 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2096 .ARM.Collect$$libinit$$00000013 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2098 .ARM.Collect$$libinit$$00000015 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2100 .ARM.Collect$$libinit$$00000017 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2102 .ARM.Collect$$libinit$$00000019 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2104 .ARM.Collect$$libinit$$0000001B c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2106 .ARM.Collect$$libinit$$0000001D c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2108 .ARM.Collect$$libinit$$0000001F c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2110 .ARM.Collect$$libinit$$00000021 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2112 .ARM.Collect$$libinit$$00000023 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2114 .ARM.Collect$$libinit$$00000025 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2118 .ARM.Collect$$libinit$$0000002C c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2120 .ARM.Collect$$libinit$$0000002E c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2122 .ARM.Collect$$libinit$$00000030 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000000 Code RO 2124 .ARM.Collect$$libinit$$00000032 c_w.l(libinit2.o)
0x080001a6 0x080001a6 0x00000002 Code RO 2125 .ARM.Collect$$libinit$$00000033 c_w.l(libinit2.o)
0x080001a8 0x080001a8 0x00000002 Code RO 2145 .ARM.Collect$$libshutdown$$00000000 c_w.l(libshutdown.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2158 .ARM.Collect$$libshutdown$$00000002 c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2160 .ARM.Collect$$libshutdown$$00000004 c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2163 .ARM.Collect$$libshutdown$$00000007 c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2166 .ARM.Collect$$libshutdown$$0000000A c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2168 .ARM.Collect$$libshutdown$$0000000C c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000000 Code RO 2171 .ARM.Collect$$libshutdown$$0000000F c_w.l(libshutdown2.o)
0x080001aa 0x080001aa 0x00000002 Code RO 2172 .ARM.Collect$$libshutdown$$00000010 c_w.l(libshutdown2.o)
0x080001ac 0x080001ac 0x00000000 Code RO 2050 .ARM.Collect$$rtentry$$00000000 c_w.l(__rtentry.o)
0x080001ac 0x080001ac 0x00000000 Code RO 2052 .ARM.Collect$$rtentry$$00000002 c_w.l(__rtentry2.o)
0x080001ac 0x080001ac 0x00000006 Code RO 2064 .ARM.Collect$$rtentry$$00000004 c_w.l(__rtentry4.o)
0x080001b2 0x080001b2 0x00000000 Code RO 2054 .ARM.Collect$$rtentry$$00000009 c_w.l(__rtentry2.o)
0x080001b2 0x080001b2 0x00000004 Code RO 2055 .ARM.Collect$$rtentry$$0000000A c_w.l(__rtentry2.o)
0x080001b6 0x080001b6 0x00000000 Code RO 2057 .ARM.Collect$$rtentry$$0000000C c_w.l(__rtentry2.o)
0x080001b6 0x080001b6 0x00000008 Code RO 2058 .ARM.Collect$$rtentry$$0000000D c_w.l(__rtentry2.o)
0x080001be 0x080001be 0x00000002 Code RO 2079 .ARM.Collect$$rtexit$$00000000 c_w.l(rtexit.o)
0x080001c0 0x080001c0 0x00000000 Code RO 2127 .ARM.Collect$$rtexit$$00000002 c_w.l(rtexit2.o)
0x080001c0 0x080001c0 0x00000004 Code RO 2128 .ARM.Collect$$rtexit$$00000003 c_w.l(rtexit2.o)
0x080001c4 0x080001c4 0x00000006 Code RO 2129 .ARM.Collect$$rtexit$$00000004 c_w.l(rtexit2.o)
0x080001ca 0x080001ca 0x00000002 PAD
0x080001cc 0x080001cc 0x00000040 Code RO 1976 .text startup_stm32f10x_hd.o
0x0800020c 0x0800020c 0x00000006 Code RO 2028 .text c_w.l(heapauxi.o)
0x08000212 0x08000212 0x0000004a Code RO 2048 .text c_w.l(sys_stackheap_outer.o)
0x0800025c 0x0800025c 0x00000012 Code RO 2050 .text c_w.l(exit.o)
0x080001cc 0x080001cc 0x00000040 Code RO 1994 .text startup_stm32f10x_hd.o
0x0800020c 0x0800020c 0x00000006 Code RO 2046 .text c_w.l(heapauxi.o)
0x08000212 0x08000212 0x0000004a Code RO 2066 .text c_w.l(sys_stackheap_outer.o)
0x0800025c 0x0800025c 0x00000012 Code RO 2068 .text c_w.l(exit.o)
0x0800026e 0x0800026e 0x00000002 PAD
0x08000270 0x08000270 0x00000008 Code RO 2058 .text c_w.l(libspace.o)
0x08000278 0x08000278 0x0000000c Code RO 2119 .text c_w.l(sys_exit.o)
0x08000284 0x08000284 0x00000002 Code RO 2130 .text c_w.l(use_no_semi.o)
0x08000286 0x08000286 0x00000000 Code RO 2132 .text c_w.l(indicate_semi.o)
0x08000270 0x08000270 0x00000008 Code RO 2076 .text c_w.l(libspace.o)
0x08000278 0x08000278 0x0000000c Code RO 2137 .text c_w.l(sys_exit.o)
0x08000284 0x08000284 0x00000002 Code RO 2148 .text c_w.l(use_no_semi.o)
0x08000286 0x08000286 0x00000000 Code RO 2150 .text c_w.l(indicate_semi.o)
0x08000286 0x08000286 0x00000004 Code RO 150 i.BusFault_Handler stm32f10x_it.o
0x0800028a 0x0800028a 0x00000002 Code RO 1721 i.DMA1_Channel1_Event dma_stm32f10x.o
0x0800028c 0x0800028c 0x0000001c Code RO 1722 i.DMA1_Channel1_IRQHandler dma_stm32f10x.o
0x080002a8 0x080002a8 0x00000002 Code RO 1723 i.DMA1_Channel2_Event dma_stm32f10x.o
0x0800028a 0x0800028a 0x00000002 Code RO 1739 i.DMA1_Channel1_Event dma_stm32f10x.o
0x0800028c 0x0800028c 0x0000001c Code RO 1740 i.DMA1_Channel1_IRQHandler dma_stm32f10x.o
0x080002a8 0x080002a8 0x00000002 Code RO 1741 i.DMA1_Channel2_Event dma_stm32f10x.o
0x080002aa 0x080002aa 0x00000002 PAD
0x080002ac 0x080002ac 0x0000001c Code RO 1724 i.DMA1_Channel2_IRQHandler dma_stm32f10x.o
0x080002c8 0x080002c8 0x00000002 Code RO 1725 i.DMA1_Channel3_Event dma_stm32f10x.o
0x080002ac 0x080002ac 0x0000001c Code RO 1742 i.DMA1_Channel2_IRQHandler dma_stm32f10x.o
0x080002c8 0x080002c8 0x00000002 Code RO 1743 i.DMA1_Channel3_Event dma_stm32f10x.o
0x080002ca 0x080002ca 0x00000002 PAD
0x080002cc 0x080002cc 0x0000001c Code RO 1726 i.DMA1_Channel3_IRQHandler dma_stm32f10x.o
0x080002e8 0x080002e8 0x00000002 Code RO 1727 i.DMA1_Channel4_Event dma_stm32f10x.o
0x080002cc 0x080002cc 0x0000001c Code RO 1744 i.DMA1_Channel3_IRQHandler dma_stm32f10x.o
0x080002e8 0x080002e8 0x00000002 Code RO 1745 i.DMA1_Channel4_Event dma_stm32f10x.o
0x080002ea 0x080002ea 0x00000002 PAD
0x080002ec 0x080002ec 0x0000001c Code RO 1728 i.DMA1_Channel4_IRQHandler dma_stm32f10x.o
0x08000308 0x08000308 0x00000002 Code RO 1729 i.DMA1_Channel5_Event dma_stm32f10x.o
0x080002ec 0x080002ec 0x0000001c Code RO 1746 i.DMA1_Channel4_IRQHandler dma_stm32f10x.o
0x08000308 0x08000308 0x00000002 Code RO 1747 i.DMA1_Channel5_Event dma_stm32f10x.o
0x0800030a 0x0800030a 0x00000002 PAD
0x0800030c 0x0800030c 0x0000001c Code RO 1730 i.DMA1_Channel5_IRQHandler dma_stm32f10x.o
0x08000328 0x08000328 0x00000002 Code RO 1731 i.DMA1_Channel6_Event dma_stm32f10x.o
0x0800030c 0x0800030c 0x0000001c Code RO 1748 i.DMA1_Channel5_IRQHandler dma_stm32f10x.o
0x08000328 0x08000328 0x00000002 Code RO 1749 i.DMA1_Channel6_Event dma_stm32f10x.o
0x0800032a 0x0800032a 0x00000002 PAD
0x0800032c 0x0800032c 0x0000001c Code RO 1732 i.DMA1_Channel6_IRQHandler dma_stm32f10x.o
0x08000348 0x08000348 0x00000002 Code RO 1733 i.DMA1_Channel7_Event dma_stm32f10x.o
0x0800032c 0x0800032c 0x0000001c Code RO 1750 i.DMA1_Channel6_IRQHandler dma_stm32f10x.o
0x08000348 0x08000348 0x00000002 Code RO 1751 i.DMA1_Channel7_Event dma_stm32f10x.o
0x0800034a 0x0800034a 0x00000002 PAD
0x0800034c 0x0800034c 0x0000001c Code RO 1734 i.DMA1_Channel7_IRQHandler dma_stm32f10x.o
0x08000368 0x08000368 0x00000002 Code RO 1735 i.DMA2_Channel1_Event dma_stm32f10x.o
0x0800034c 0x0800034c 0x0000001c Code RO 1752 i.DMA1_Channel7_IRQHandler dma_stm32f10x.o
0x08000368 0x08000368 0x00000002 Code RO 1753 i.DMA2_Channel1_Event dma_stm32f10x.o
0x0800036a 0x0800036a 0x00000002 PAD
0x0800036c 0x0800036c 0x0000001c Code RO 1736 i.DMA2_Channel1_IRQHandler dma_stm32f10x.o
0x08000388 0x08000388 0x00000002 Code RO 1737 i.DMA2_Channel2_Event dma_stm32f10x.o
0x0800036c 0x0800036c 0x0000001c Code RO 1754 i.DMA2_Channel1_IRQHandler dma_stm32f10x.o
0x08000388 0x08000388 0x00000002 Code RO 1755 i.DMA2_Channel2_Event dma_stm32f10x.o
0x0800038a 0x0800038a 0x00000002 PAD
0x0800038c 0x0800038c 0x00000020 Code RO 1738 i.DMA2_Channel2_IRQHandler dma_stm32f10x.o
0x080003ac 0x080003ac 0x00000002 Code RO 1739 i.DMA2_Channel3_Event dma_stm32f10x.o
0x0800038c 0x0800038c 0x00000020 Code RO 1756 i.DMA2_Channel2_IRQHandler dma_stm32f10x.o
0x080003ac 0x080003ac 0x00000002 Code RO 1757 i.DMA2_Channel3_Event dma_stm32f10x.o
0x080003ae 0x080003ae 0x00000002 PAD
0x080003b0 0x080003b0 0x00000020 Code RO 1740 i.DMA2_Channel3_IRQHandler dma_stm32f10x.o
0x080003d0 0x080003d0 0x00000038 Code RO 1741 i.DMA2_Channel4_5_IRQHandler dma_stm32f10x.o
0x08000408 0x08000408 0x00000002 Code RO 1742 i.DMA2_Channel4_Event dma_stm32f10x.o
0x0800040a 0x0800040a 0x00000002 Code RO 1744 i.DMA2_Channel5_Event dma_stm32f10x.o
0x080003b0 0x080003b0 0x00000020 Code RO 1758 i.DMA2_Channel3_IRQHandler dma_stm32f10x.o
0x080003d0 0x080003d0 0x00000038 Code RO 1759 i.DMA2_Channel4_5_IRQHandler dma_stm32f10x.o
0x08000408 0x08000408 0x00000002 Code RO 1760 i.DMA2_Channel4_Event dma_stm32f10x.o
0x0800040a 0x0800040a 0x00000002 Code RO 1762 i.DMA2_Channel5_Event dma_stm32f10x.o
0x0800040c 0x0800040c 0x00000002 Code RO 151 i.DebugMon_Handler stm32f10x_it.o
0x0800040e 0x0800040e 0x00000002 PAD
0x08000410 0x08000410 0x0000005c Code RO 505 i.FSMC_NANDCmd stm32f10x_fsmc.o
0x0800046c 0x0800046c 0x00000088 Code RO 508 i.FSMC_NANDInit stm32f10x_fsmc.o
0x08000410 0x08000410 0x0000005c Code RO 523 i.FSMC_NANDCmd stm32f10x_fsmc.o
0x0800046c 0x0800046c 0x00000088 Code RO 526 i.FSMC_NANDInit stm32f10x_fsmc.o
0x080004f4 0x080004f4 0x00000038 Code RO 4 i.FSMC_NAND_AddressIncrement fsmc_nand.o
0x0800052c 0x0800052c 0x00000068 Code RO 5 i.FSMC_NAND_EraseBlock fsmc_nand.o
0x08000594 0x08000594 0x0000002a Code RO 6 i.FSMC_NAND_GetStatus fsmc_nand.o
@ -1022,36 +1052,50 @@ Memory Map of the image
0x08000754 0x08000754 0x0000002c Code RO 11 i.FSMC_NAND_ReadStatus fsmc_nand.o
0x08000780 0x08000780 0x000000c8 Code RO 13 i.FSMC_NAND_WriteSmallPage fsmc_nand.o
0x08000848 0x08000848 0x00000018 Code RO 225 i.Fill_Buffer main.o
0x08000860 0x08000860 0x00000116 Code RO 637 i.GPIO_Init stm32f10x_gpio.o
0x08000976 0x08000976 0x00000004 Code RO 152 i.HardFault_Handler stm32f10x_it.o
0x0800097a 0x0800097a 0x00000004 Code RO 153 i.MemManage_Handler stm32f10x_it.o
0x0800097e 0x0800097e 0x00000002 Code RO 154 i.NMI_Handler stm32f10x_it.o
0x08000980 0x08000980 0x00000002 Code RO 155 i.PendSV_Handler stm32f10x_it.o
0x08000982 0x08000982 0x00000002 PAD
0x08000984 0x08000984 0x00000020 Code RO 758 i.RCC_AHBPeriphClockCmd stm32f10x_rcc.o
0x080009a4 0x080009a4 0x00000020 Code RO 761 i.RCC_APB2PeriphClockCmd stm32f10x_rcc.o
0x080009c4 0x080009c4 0x00000008 Code RO 226 i.RCC_Configuration main.o
0x080009cc 0x080009cc 0x00000002 Code RO 156 i.SVC_Handler stm32f10x_it.o
0x080009ce 0x080009ce 0x00000008 Code RO 1983 i.SetSysClock system_stm32f10x_1.o
0x080009d6 0x080009d6 0x00000002 PAD
0x080009d8 0x080009d8 0x000000e0 Code RO 1984 i.SetSysClockTo72 system_stm32f10x_1.o
0x08000ab8 0x08000ab8 0x00000002 Code RO 157 i.SysTick_Handler stm32f10x_it.o
0x08000aba 0x08000aba 0x00000002 PAD
0x08000abc 0x08000abc 0x00000060 Code RO 1986 i.SystemInit system_stm32f10x_1.o
0x08000b1c 0x08000b1c 0x00000004 Code RO 158 i.UsageFault_Handler stm32f10x_it.o
0x08000b20 0x08000b20 0x000000ac Code RO 227 i.main main.o
0x08000bcc 0x08000bcc 0x00000020 Data RO 2185 Region$$Table anon$$obj.o
0x08000860 0x08000860 0x00000116 Code RO 655 i.GPIO_Init stm32f10x_gpio.o
0x08000976 0x08000976 0x0000000a Code RO 666 i.GPIO_WriteBit stm32f10x_gpio.o
0x08000980 0x08000980 0x00000004 Code RO 152 i.HardFault_Handler stm32f10x_it.o
0x08000984 0x08000984 0x00000004 Code RO 153 i.MemManage_Handler stm32f10x_it.o
0x08000988 0x08000988 0x00000002 Code RO 154 i.NMI_Handler stm32f10x_it.o
0x0800098a 0x0800098a 0x00000022 Code RO 226 i.NVIC_Configue main.o
0x080009ac 0x080009ac 0x00000070 Code RO 283 i.NVIC_Init misc.o
0x08000a1c 0x08000a1c 0x00000002 Code RO 155 i.PendSV_Handler stm32f10x_it.o
0x08000a1e 0x08000a1e 0x00000002 PAD
0x08000a20 0x08000a20 0x00000020 Code RO 776 i.RCC_AHBPeriphClockCmd stm32f10x_rcc.o
0x08000a40 0x08000a40 0x00000020 Code RO 777 i.RCC_APB1PeriphClockCmd stm32f10x_rcc.o
0x08000a60 0x08000a60 0x00000020 Code RO 779 i.RCC_APB2PeriphClockCmd stm32f10x_rcc.o
0x08000a80 0x08000a80 0x00000010 Code RO 227 i.RCC_Configuration main.o
0x08000a90 0x08000a90 0x00000002 Code RO 156 i.SVC_Handler stm32f10x_it.o
0x08000a92 0x08000a92 0x00000008 Code RO 2001 i.SetSysClock system_stm32f10x_1.o
0x08000a9a 0x08000a9a 0x00000002 PAD
0x08000a9c 0x08000a9c 0x000000e0 Code RO 2002 i.SetSysClockTo72 system_stm32f10x_1.o
0x08000b7c 0x08000b7c 0x00000002 Code RO 157 i.SysTick_Handler stm32f10x_it.o
0x08000b7e 0x08000b7e 0x00000002 PAD
0x08000b80 0x08000b80 0x00000060 Code RO 2004 i.SystemInit system_stm32f10x_1.o
0x08000be0 0x08000be0 0x00000054 Code RO 228 i.TIM3_Configuration main.o
0x08000c34 0x08000c34 0x00000038 Code RO 229 i.TIM3_IRQHandler main.o
0x08000c6c 0x08000c6c 0x00000018 Code RO 991 i.TIM_ARRPreloadConfig stm32f10x_tim.o
0x08000c84 0x08000c84 0x00000006 Code RO 998 i.TIM_ClearITPendingBit stm32f10x_tim.o
0x08000c8a 0x08000c8a 0x00000018 Code RO 1003 i.TIM_Cmd stm32f10x_tim.o
0x08000ca2 0x08000ca2 0x00000022 Code RO 1024 i.TIM_GetITStatus stm32f10x_tim.o
0x08000cc4 0x08000cc4 0x00000012 Code RO 1028 i.TIM_ITConfig stm32f10x_tim.o
0x08000cd6 0x08000cd6 0x00000002 PAD
0x08000cd8 0x08000cd8 0x000000a4 Code RO 1074 i.TIM_TimeBaseInit stm32f10x_tim.o
0x08000d7c 0x08000d7c 0x00000004 Code RO 158 i.UsageFault_Handler stm32f10x_it.o
0x08000d80 0x08000d80 0x000000d8 Code RO 230 i.main main.o
0x08000e58 0x08000e58 0x00000020 Data RO 2203 Region$$Table anon$$obj.o
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08000bec, Size: 0x00000e80, Max: 0x00010000, ABSOLUTE)
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08000e78, Size: 0x00000e88, Max: 0x00010000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000000 0x08000bec 0x00000020 Data RW 229 .data main.o
0x20000020 - 0x00000800 Zero RW 228 .bss main.o
0x20000820 - 0x00000060 Zero RW 2059 .bss c_w.l(libspace.o)
0x20000880 - 0x00000200 Zero RW 1974 HEAP startup_stm32f10x_hd.o
0x20000a80 - 0x00000400 Zero RW 1973 STACK startup_stm32f10x_hd.o
0x20000000 0x08000e78 0x00000024 Data RW 232 .data main.o
0x20000024 - 0x00000800 Zero RW 231 .bss main.o
0x20000824 - 0x00000060 Zero RW 2077 .bss c_w.l(libspace.o)
0x20000884 0x08000e9c 0x00000004 PAD
0x20000888 - 0x00000200 Zero RW 1992 HEAP startup_stm32f10x_hd.o
0x20000a88 - 0x00000400 Zero RW 1991 STACK startup_stm32f10x_hd.o
==============================================================================
@ -1062,19 +1106,21 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
368 50 0 0 0 11867 dma_stm32f10x.o
850 52 0 0 0 231262 fsmc_nand.o
204 26 0 32 2048 2402 main.o
850 52 0 0 0 253462 fsmc_nand.o
430 48 0 36 2048 4021 main.o
112 12 0 0 0 1248 misc.o
64 26 304 0 1536 808 startup_stm32f10x_hd.o
228 14 0 0 0 2223 stm32f10x_fsmc.o
278 0 0 0 0 2184 stm32f10x_gpio.o
288 0 0 0 0 2792 stm32f10x_gpio.o
26 0 0 0 0 3578 stm32f10x_it.o
64 12 0 0 0 1197 stm32f10x_rcc.o
96 18 0 0 0 1798 stm32f10x_rcc.o
270 42 0 0 0 4481 stm32f10x_tim.o
328 28 0 0 0 2061 system_stm32f10x_1.o
----------------------------------------------------------------------
2438 208 336 32 3584 257582 Object Totals
3090 290 336 36 3584 288339 Object Totals
0 0 32 0 0 0 (incl. Generated)
28 0 0 0 0 0 (incl. Padding)
30 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
@ -1102,8 +1148,8 @@ Image component sizes
2 0 0 0 0 68 use_no_semi.o
----------------------------------------------------------------------
278 16 0 0 96 584 Library Totals
6 0 0 0 0 0 (incl. Padding)
278 16 0 0 100 584 Library Totals
6 0 0 0 4 0 (incl. Padding)
----------------------------------------------------------------------
@ -1112,7 +1158,7 @@ Image component sizes
272 16 0 0 96 584 c_w.l
----------------------------------------------------------------------
278 16 0 0 96 584 Library Totals
278 16 0 0 100 584 Library Totals
----------------------------------------------------------------------
@ -1121,15 +1167,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
2716 224 336 32 3680 255510 Grand Totals
2716 224 336 32 3680 255510 ELF Image Totals
2716 224 336 32 0 0 ROM Totals
3368 306 336 36 3684 285643 Grand Totals
3368 306 336 36 3684 285643 ELF Image Totals
3368 306 336 36 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 3052 ( 2.98kB)
Total RW Size (RW Data + ZI Data) 3712 ( 3.63kB)
Total ROM Size (Code + RO Data + RW Data) 3084 ( 3.01kB)
Total RO Size (Code + RO Data) 3704 ( 3.62kB)
Total RW Size (RW Data + ZI Data) 3720 ( 3.63kB)
Total ROM Size (Code + RO Data + RW Data) 3740 ( 3.65kB)
==============================================================================

Binary file not shown.

View File

@ -152,9 +152,9 @@
<Bp>
<Number>0</Number>
<Type>0</Type>
<LineNumber>73</LineNumber>
<LineNumber>119</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>134220600</Address>
<Address>134220846</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
@ -163,7 +163,7 @@
<BreakIfRCount>1</BreakIfRCount>
<Filename>.\std\main.c</Filename>
<ExecCommand></ExecCommand>
<Expression>\\st_nand\std/main.c\73</Expression>
<Expression>\\st_nand\std/main.c\119</Expression>
</Bp>
<Bp>
<Number>1</Number>
@ -181,7 +181,30 @@
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
<Bp>
<Number>2</Number>
<Type>0</Type>
<LineNumber>120</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>.\std\main.c</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
</Breakpoint>
<WatchWindow1>
<Ww>
<count>0</count>
<WinNumber>1</WinNumber>
<ItemText>RxBuffer</ItemText>
</Ww>
</WatchWindow1>
<Tracepoint>
<THDelay>0</THDelay>
</Tracepoint>
@ -224,6 +247,12 @@
<pszMrulep></pszMrulep>
<pSingCmdsp></pSingCmdsp>
<pMultCmdsp></pMultCmdsp>
<SystemViewers>
<Entry>
<Name>System Viewer\TIM3</Name>
<WinId>35905</WinId>
</Entry>
</SystemViewers>
<DebugDescription>
<Enable>1</Enable>
<EnableFlashSeq>1</EnableFlashSeq>

View File

@ -20,7 +20,8 @@
/* Includes ------------------------------------------------------------------*/
#include "fsmc_nand.h"
#include "stm32f10x.h"
#include "stm32f10x_tim.h"
/** @addtogroup STM32F10x_StdPeriph_Examples
* @{
*/
@ -48,6 +49,24 @@ uint32_t j = 0;
void RCC_Configuration(void);
void Fill_Buffer(uint8_t *pBuffer, uint16_t BufferLenght, uint32_t Offset);
void TIM3_Configuration(void)
{
RCC->CFGR |= (uint32_t)RCC_CFGR_PPRE1_DIV2;
/*
((1+TIM_Prescaler )/72M)*(1+TIM_Period )=((1+35999)/72M)*(1+2000)=1 second
*/
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
TIM_TimeBaseStructure.TIM_Period = 5000;
TIM_TimeBaseStructure.TIM_Prescaler = 2000;
TIM_TimeBaseStructure.TIM_ClockDivision = 0;
TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up;
TIM_TimeBaseInit(TIM3, &TIM_TimeBaseStructure);
TIM_ITConfig(TIM3, TIM_IT_Update, ENABLE);
TIM_ARRPreloadConfig(TIM3, DISABLE);
TIM_Cmd(TIM3, ENABLE);// open timer
}
/* Private functions ---------------------------------------------------------*/
/**
@ -59,45 +78,66 @@ int main(void)
{
/* System Clocks Configuration */
RCC_Configuration();
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_FSMC, ENABLE);
/* FSMC Initialization */
FSMC_NAND_Init();
/* NAND read ID command */
FSMC_NAND_ReadID(&NAND_ID);
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE);
GPIO_InitTypeDef GPIO_InitStructure;
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_7;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOC, &GPIO_InitStructure);
TIM3_Configuration();
NVIC_Configue();
/* Verify the NAND ID */
if((NAND_ID.Maker_ID == NAND_ST_MakerID) && (NAND_ID.Device_ID == NAND_ST_DeviceID))
{
/* NAND memory address to write to */
WriteReadAddr.Zone = 0x00;
WriteReadAddr.Block = 0x00;
WriteReadAddr.Page = 0x00;
/* Erase the NAND first Block */
status = FSMC_NAND_EraseBlock(WriteReadAddr);
/* Write data to FSMC NAND memory */
/* Fill the buffer to send */
Fill_Buffer(TxBuffer, BUFFER_SIZE , 0x66);
status = FSMC_NAND_WriteSmallPage(TxBuffer, WriteReadAddr, PageNumber);
/* Read back the written data */
status = FSMC_NAND_ReadSmallPage (RxBuffer, WriteReadAddr, PageNumber);
/* Verify the written data */
}
while(1)
{
}
}
void TIM3_IRQHandler(void)
{
static int x = 0;
if (TIM_GetITStatus(TIM3, TIM_IT_Update) != RESET) {
/* Clear TIM3 update interrupt */
GPIO_WriteBit(GPIOC, GPIO_Pin_7, x);
x = ~x;
}
TIM_ClearITPendingBit(TIM3, TIM_IT_Update);
}
void NVIC_Configue(void)
{
NVIC_InitTypeDef NVIC_InitStructure;
/* Enable the TIM3 gloabal Interrupt*/
NVIC_InitStructure.NVIC_IRQChannel = TIM3_IRQn;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3;
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure);
}
/**
* @brief Configures the different system clocks.
* @param None
@ -108,6 +148,8 @@ void RCC_Configuration(void)
/* Setup the microcontroller system. Initialize the Embedded Flash Interface,
initialize the PLL and update the SystemFrequency variable. */
SystemInit();
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3, ENABLE);
}
/**