diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.elf b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.elf index a270963d..39fe9da6 100644 Binary files a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.elf and b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.elf differ diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.map b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.map index 361adffd..37bc0ae4 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.map +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.map @@ -20,25 +20,25 @@ Idx Name Size VMA LMA File off Algn CONTENTS, ALLOC, LOAD, DATA 2 .bss 00000154 20000014 080068c0 00008014 2**2 ALLOC - 3 .debug_info 00002edc 00000000 00000000 00008014 2**0 + 3 .debug_info 00002eb9 00000000 00000000 00008014 2**0 CONTENTS, READONLY, DEBUGGING - 4 .debug_abbrev 00000d73 00000000 00000000 0000aef0 2**0 + 4 .debug_abbrev 00000d36 00000000 00000000 0000aecd 2**0 CONTENTS, READONLY, DEBUGGING - 5 .debug_loc 00001297 00000000 00000000 0000bc63 2**0 + 5 .debug_loc 00001297 00000000 00000000 0000bc03 2**0 CONTENTS, READONLY, DEBUGGING - 6 .debug_aranges 000003c8 00000000 00000000 0000cefa 2**0 + 6 .debug_aranges 000003c0 00000000 00000000 0000ce9a 2**0 CONTENTS, READONLY, DEBUGGING - 7 .debug_ranges 00000338 00000000 00000000 0000d2c2 2**0 + 7 .debug_ranges 00000330 00000000 00000000 0000d25a 2**0 CONTENTS, READONLY, DEBUGGING - 8 .debug_line 0000125b 00000000 00000000 0000d5fa 2**0 + 8 .debug_line 0000126e 00000000 00000000 0000d58a 2**0 CONTENTS, READONLY, DEBUGGING - 9 .debug_str 0000136f 00000000 00000000 0000e855 2**0 + 9 .debug_str 00001362 00000000 00000000 0000e7f8 2**0 CONTENTS, READONLY, DEBUGGING - 10 .comment 00000030 00000000 00000000 0000fbc4 2**0 + 10 .comment 00000030 00000000 00000000 0000fb5a 2**0 CONTENTS, READONLY - 11 .ARM.attributes 00000033 00000000 00000000 0000fbf4 2**0 + 11 .ARM.attributes 00000033 00000000 00000000 0000fb8a 2**0 CONTENTS, READONLY - 12 .debug_frame 00000730 00000000 00000000 0000fc28 2**2 + 12 .debug_frame 00000718 00000000 00000000 0000fbc0 2**2 CONTENTS, READONLY, DEBUGGING SYMBOL TABLE: 08006000 l d .text 00000000 .text @@ -56,8 +56,7 @@ SYMBOL TABLE: 00000000 l d .debug_frame 00000000 .debug_frame 00000000 l df *ABS* 00000000 vectors.c 00000000 l df *ABS* 00000000 boot.c -08006154 l F .text 0000001e NVIC_SystemReset -08006174 l F .text 00000038 UartReceiveByte +08006154 l F .text 00000038 UartReceiveByte 20000014 l O .bss 00000041 xcpCtoReqPacket.6443 20000058 l O .bss 00000001 xcpCtoRxLength.6444 20000059 l O .bss 00000001 xcpCtoRxInProgress.6445 @@ -85,6 +84,7 @@ SYMBOL TABLE: 080065c4 g F .text 000000a4 GPIO_Init 0800687c g F .text 0000001c USART_Cmd 08006780 g F .text 00000024 RCC_APB1PeriphClockCmd +08006230 g F .text 0000001e BootActivate 20000068 g .bss 00000000 _ebss 080065c0 g F .text 00000002 UnusedISR 0800636c g F .text 0000003e LedInit @@ -94,7 +94,7 @@ SYMBOL TABLE: 20000014 g .bss 00000000 _bss 0800666c g F .text 00000004 GPIO_ResetBits 08006428 g F .text 00000148 main -080061ac g F .text 000000a4 BootComInit +0800618c g F .text 000000a4 BootComInit 20000000 g .data 00000000 _data 080063ac g F .text 0000007a LedToggle 20000168 g .bss 00000000 _estack diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.srec b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.srec index 0353d422..2ebb613b 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.srec +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/bin/demoprog_nucleo_stm32f103rb.srec @@ -20,33 +20,33 @@ S31508006110C1650008C1650008C1650008C1650008B9 S31508006120C1650008C1650008C1650008C1650008A9 S31508006130C1650008C1650008C1650008C165000899 S31508006140C1650008C1650008C1650008C165000889 -S31508006150EE11AA554FF46D42CEF20002D16801F451 -S31508006160E0610423C0F2FA530B43D360BFF34F8FA9 -S31508006170FEE700BF10B504464FF48840C4F200009D -S31508006180202146F6A103C0F60003984701280BD143 -S315080061904FF48840C4F2000046F69903C0F600039F -S315080061A098472070012010BD002010BD70B586B03C -S315080061B04FF40030012146F28173C0F60003984778 -S315080061C00520012146F25D73C0F60003984718239F -S315080061D08DF807300426ADF8046003238DF80630E1 -S315080061E04FF40065C4F2010528460DEB060146F298 -S315080061F0C554C0F60004A0478DF807600823ADF81B -S31508006200043028460DEB0601A0474FF4614302937C -S315080062100023ADF80C30ADF80E30ADF81030ADF8FF -S3150800622014300C23ADF812304FF48844C4F200043D -S31508006230204602A946F2A573C0F6000398472046F1 -S31508006240012146F67D03C0F60003984706B070BDE7 +S31508006150EE11AA5510B504464FF48840C4F2000063 +S31508006160202146F6A103C0F60003984701280BD163 +S315080061704FF48840C4F2000046F69903C0F60003BF +S3150800618098472070012010BD002010BD70B586B05C +S315080061904FF40030012146F28173C0F60003984798 +S315080061A00520012146F25D73C0F6000398471823BF +S315080061B08DF807300426ADF8046003238DF8063001 +S315080061C04FF40065C4F2010528460DEB060146F2B8 +S315080061D0C554C0F60004A0478DF807600823ADF83B +S315080061E0043028460DEB0601A0474FF4614302939D +S315080061F00023ADF80C30ADF80E30ADF81030ADF820 +S3150800620014300C23ADF812304FF48844C4F200045D +S31508006210204602A946F2A573C0F600039847204611 +S31508006220012146F67D03C0F60003984706B070BD07 +S315080062304FF46D42CEF20002D16801F4E061042306 +S31508006240C0F2FA530B43D360BFF34F8FFEE700BF8C S3150800625008B540F25903C2F200031B78BBB940F2F5 -S315080062601400C2F2000046F27513C0F60003984700 +S315080062601400C2F2000046F25513C0F60003984720 S31508006270012841D140F25903C2F2000301221A70E3 S3150800628040F25803C2F2000300221A7008BD40F219 -S315080062905803C2F200031878184B184446F27513CF +S315080062905803C2F200031878184B184446F25513EF S315080062A0C0F600039847012826D140F25803C2F2E7 S315080062B000031A780132D2B21A7040F21403C2F2FD S315080062C000031B78934217D140F25903C2F2000328 S315080062D000221A7040F21403C2F200035B78FF2B07 S315080062E00AD140F21403C2F200039B7823B946F29E -S315080062F05513C0F60003984708BD00BF15000020D7 +S315080062F03123C0F60003984708BD00BF15000020EB S3150800630010B517498D4640F20002C2F2000240F26B S315080063101403C2F200039A4210D2131D0F4CE41A5A S3150800632024F0030404340023104646F6AC01C0F6F4 @@ -54,7 +54,7 @@ S3150800633000015A581A500433A342FAD109480A49A7 S315080063404FF000028842B8BF40F8042BFADB46F249 S315080063502943C0F60003984710BD00BF1700002068 S3150800636068010020140000206800002000B583B0F2 -S315080063701020012146F25D73C0F6000398472023DA +S315080063700420012146F25D73C0F6000398472023E6 S31508006380ADF8043003238DF8063010238DF8073056 S315080063904FF40060C4F2010001A946F2C553C0F6E5 S315080063A00003984703B05DF804FB00BF10B546F23A @@ -84,7 +84,7 @@ S31508006510FBD04FF48053C4F202035A6822F00302F8 S315080065205A605A6842F002025A604FF48053C4F225 S3150800653002035A6802F00C02082AFAD146F26D33B1 S31508006540C0F60003984746F27153C0F60003984711 -S3150800655046F2AD13C0F60003984746F2AD35C0F6CD +S3150800655046F28D13C0F60003984746F2AD35C0F6ED S31508006560000546F25124C0F60004A847A047FCE7F8 S315080065704EF21003CEF2000341F63F12C0F20102BA S315080065805A604FF46D42CEF20002F02182F82310D1 diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/led.c b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/led.c index 3538c1ac..b1ebd965 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/led.c +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/led.c @@ -49,7 +49,7 @@ void LedInit(void) { GPIO_InitTypeDef gpio_init; - RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); + RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); gpio_init.GPIO_Pin = GPIO_Pin_5; gpio_init.GPIO_Speed = GPIO_Speed_50MHz; gpio_init.GPIO_Mode = GPIO_Mode_Out_PP;