Created
July 1, 2021 14:30
-
-
Save ht93/93f4ed26672716577eef238e053403e3 to your computer and use it in GitHub Desktop.
blackpill st7789 stm32duino core 2.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Breakpoint 4, setup () at C:\Users\E1200\Dropbox\Guitar\pedal\stm32\stm32duino\sketch_file\midi_controller_adafruit/midi_controller_adafruit.ino:30 | |
30 Adafruit_ST7789 tft = Adafruit_ST7789(&SPI_1, TFT_CS, TFT_DC, TFT_RST); | |
(gdb) list | |
25 | |
26 void setup(void) { | |
27 delay(10000); | |
28 // delay(1000); | |
29 // delay(5000); | |
30 Adafruit_ST7789 tft = Adafruit_ST7789(&SPI_1, TFT_CS, TFT_DC, TFT_RST); | |
31 tft.init(240, 320); // Init ST7789 320x240 | |
32 tft.fillScreen(ST77XX_BLACK); | |
33 tft.setRotation(1); | |
34 tft.setTextWrap(false); | |
(gdb) s | |
halted: PC: 0x08000258 | |
halted: PC: 0x0800025a | |
halted: PC: 0x0800025e | |
halted: PC: 0x08000262 | |
halted: PC: 0x08000264 | |
halted: PC: 0x08000266 | |
halted: PC: 0x08001e3c | |
Adafruit_ST7789::Adafruit_ST7789 (this=0x2001ff9c, spiClass=0x200000a8 <SPI_1>, cs=-60 '\304', dc=-55 '\311', rst=-56 '\310') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST7789.cpp:35 | |
35 Adafruit_ST7789::Adafruit_ST7789(SPIClass *spiClass, int8_t cs, int8_t dc, | |
(gdb) | |
halted: PC: 0x08001e3e | |
halted: PC: 0x08001e40 | |
halted: PC: 0x08001e42 | |
halted: PC: 0x08001e46 | |
halted: PC: 0x08001e48 | |
halted: PC: 0x08001e4a | |
halted: PC: 0x08001e4c | |
halted: PC: 0x08001e4e | |
halted: PC: 0x08001e52 | |
halted: PC: 0x08001e54 | |
halted: PC: 0x08002004 | |
Adafruit_ST77xx::Adafruit_ST77xx (this=0x2001ff9c, w=240, h=320, spiClass=0x200000a8 <SPI_1>, cs=-60 '\304', dc=-55 '\311', rst=-56 '\310') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST77xx.cpp:79 | |
79 Adafruit_ST77xx::Adafruit_ST77xx(uint16_t w, uint16_t h, SPIClass *spiClass, | |
(gdb) | |
halted: PC: 0x08002006 | |
halted: PC: 0x08002008 | |
halted: PC: 0x0800200a | |
halted: PC: 0x0800200e | |
halted: PC: 0x08002010 | |
halted: PC: 0x08002014 | |
halted: PC: 0x08002016 | |
halted: PC: 0x0800201a | |
halted: PC: 0x0800201c | |
halted: PC: 0x080013fc | |
Adafruit_SPITFT::Adafruit_SPITFT (this=0x2001ff9c, w=240, h=320, spiClass=0x200000a8 <SPI_1>, cs=-60 '\304', dc=-55 '\311', rst=-56 '\310') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:281 | |
281 Adafruit_SPITFT::Adafruit_SPITFT(uint16_t w, uint16_t h, SPIClass *spiClass, | |
(gdb) | |
halted: PC: 0x080013fe | |
halted: PC: 0x08001400 | |
halted: PC: 0x08001402 | |
halted: PC: 0x08001404 | |
halted: PC: 0x08001406 | |
halted: PC: 0x08000f6c | |
Adafruit_GFX::Adafruit_GFX (this=0x2001ff9c, w=240, h=320) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:110 | |
110 Adafruit_GFX::Adafruit_GFX(int16_t w, int16_t h) : WIDTH(w), HEIGHT(h) { | |
(gdb) | |
halted: PC: 0x08000f6e | |
Print::Print (this=0x2001ff9c) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/Print.h:46 | |
46 Print() : write_error(0) {} | |
(gdb) | |
halted: PC: 0x08000f70 | |
halted: PC: 0x08000f72 | |
halted: PC: 0x08000f74 | |
halted: PC: 0x08000f76 | |
halted: PC: 0x08000f78 | |
halted: PC: 0x08000f7a | |
111 _width = WIDTH; | |
(gdb) | |
halted: PC: 0x08000f7c | |
112 _height = HEIGHT; | |
(gdb) | |
halted: PC: 0x08000f7e | |
113 rotation = 0; | |
(gdb) | |
halted: PC: 0x08000f80 | |
114 cursor_y = cursor_x = 0; | |
(gdb) | |
halted: PC: 0x08000f82 | |
halted: PC: 0x08000f84 | |
115 textsize_x = textsize_y = 1; | |
(gdb) | |
halted: PC: 0x08000f86 | |
halted: PC: 0x08000f88 | |
halted: PC: 0x08000f8a | |
116 textcolor = textbgcolor = 0xFFFF; | |
(gdb) | |
halted: PC: 0x08000f8e | |
halted: PC: 0x08000f90 | |
halted: PC: 0x08000f92 | |
117 wrap = true; | |
(gdb) | |
halted: PC: 0x08000f94 | |
118 _cp437 = false; | |
(gdb) | |
halted: PC: 0x08000f96 | |
119 gfxFont = NULL; | |
(gdb) | |
halted: PC: 0x08000f98 | |
halted: PC: 0x08000f9a | |
halted: PC: 0x0800140a | |
halted: PC: 0x0800140c | |
halted: PC: 0x0800140e | |
halted: PC: 0x08001410 | |
halted: PC: 0x08001414 | |
halted: PC: 0x08001418 | |
halted: PC: 0x0800141c | |
halted: PC: 0x08001420 | |
halted: PC: 0x08001424 | |
halted: PC: 0x08001428 | |
halted: PC: 0x0800142c | |
halted: PC: 0x0800142e | |
halted: PC: 0x08001430 | |
halted: PC: 0x08001434 | |
halted: PC: 0x08001438 | |
halted: PC: 0x0800143a | |
Adafruit_SPITFT::Adafruit_SPITFT (this=0x2001ff9c, w=<optimized out>, h=<optimized out>, spiClass=0x200000a8 <SPI_1>, cs=-60 '\304', dc=-55 '\311', | |
rst=-56 '\310') at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:285 | |
285 hwspi._spi = spiClass; | |
(gdb) | |
halted: PC: 0x0800143c | |
halted: PC: 0x0800143e | |
halted: PC: 0x08002020 | |
halted: PC: 0x08002022 | |
halted: PC: 0x08002024 | |
halted: PC: 0x08002026 | |
halted: PC: 0x0800202a | |
halted: PC: 0x0800202e | |
halted: PC: 0x08002032 | |
halted: PC: 0x08002034 | |
halted: PC: 0x08002036 | |
halted: PC: 0x08001e58 | |
halted: PC: 0x08001e5a | |
halted: PC: 0x08001e5c | |
halted: PC: 0x08001e5e | |
halted: PC: 0x08001e62 | |
halted: PC: 0x08001e66 | |
halted: PC: 0x08001e68 | |
halted: PC: 0x08001e6a | |
halted: PC: 0x0800026a | |
setup () at C:\Users\E1200\Dropbox\Guitar\pedal\stm32\stm32duino\sketch_file\midi_controller_adafruit/midi_controller_adafruit.ino:31 | |
31 tft.init(240, 320); // Init ST7789 320x240 | |
(gdb) | |
halted: PC: 0x0800026c | |
halted: PC: 0x08000270 | |
halted: PC: 0x08000272 | |
halted: PC: 0x08000274 | |
halted: PC: 0x08001e70 | |
Adafruit_ST7789::init (this=this@entry=0x2001ff9c, width=width@entry=240, height=height@entry=320, mode=mode@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST7789.cpp:91 | |
91 void Adafruit_ST7789::init(uint16_t width, uint16_t height, uint8_t mode) { | |
(gdb) | |
halted: PC: 0x08001e72 | |
halted: PC: 0x08001e74 | |
halted: PC: 0x08001e76 | |
halted: PC: 0x08001e78 | |
100 spiMode = mode; | |
(gdb) | |
halted: PC: 0x08001e7c | |
104 commonInit(NULL); | |
(gdb) | |
halted: PC: 0x08001e7e | |
halted: PC: 0x0800208a | |
Adafruit_ST77xx::commonInit (this=this@entry=0x2001ff9c, cmdList=cmdList@entry=0x0) | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST77xx.cpp:139 | |
139 void Adafruit_ST77xx::commonInit(const uint8_t *cmdList) { | |
(gdb) | |
halted: PC: 0x0800208c | |
halted: PC: 0x0800208e | |
halted: PC: 0x08002090 | |
140 begin(); | |
(gdb) | |
halted: PC: 0x08002092 | |
halted: PC: 0x08002094 | |
halted: PC: 0x08002096 | |
halted: PC: 0x08001f18 | |
Adafruit_ST77xx::begin (this=0x2001ff9c, freq=0) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST77xx.cpp:121 | |
121 void Adafruit_ST77xx::begin(uint32_t freq) { | |
(gdb) | |
halted: PC: 0x08001f1a | |
122 if (!freq) { | |
(gdb) | |
halted: PC: 0x08001f1c | |
halted: PC: 0x08001f1e | |
halted: PC: 0x08001f20 | |
125 _freq = freq; | |
(gdb) | |
halted: PC: 0x08001f22 | |
127 invertOnCommand = ST77XX_INVON; | |
(gdb) | |
halted: PC: 0x08001f24 | |
halted: PC: 0x08001f28 | |
128 invertOffCommand = ST77XX_INVOFF; | |
(gdb) | |
halted: PC: 0x08001f2a | |
halted: PC: 0x08001f2e | |
130 initSPI(freq, spiMode); | |
(gdb) | |
halted: PC: 0x08001f32 | |
halted: PC: 0x08001f34 | |
halted: PC: 0x08001444 | |
Adafruit_SPITFT::initSPI (this=0x2001ff9c, freq=32000000, spiMode=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:527 | |
527 void Adafruit_SPITFT::initSPI(uint32_t freq, uint8_t spiMode) { | |
(gdb) | |
halted: PC: 0x08001446 | |
halted: PC: 0x08001448 | |
halted: PC: 0x0800144a | |
halted: PC: 0x0800144c | |
529 if (!freq) | |
(gdb) | |
halted: PC: 0x0800144e | |
halted: PC: 0x08001452 | |
533 if (_cs >= 0) { | |
(gdb) | |
halted: PC: 0x08001456 | |
halted: PC: 0x08001458 | |
halted: PC: 0x0800145a | |
537 pinMode(_dc, OUTPUT); | |
(gdb) | |
halted: PC: 0x0800145c | |
halted: PC: 0x08001460 | |
halted: PC: 0x08005268 | |
pinMode (ulPin=4294967241, ulMode=ulMode@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_digital.c:30 | |
30 { | |
(gdb) | |
halted: PC: 0x0800526a | |
halted: PC: 0x0800526c | |
31 PinName p = digitalPinToPinName(ulPin); | |
(gdb) | |
halted: PC: 0x0800526e | |
halted: PC: 0x08005270 | |
halted: PC: 0x080052a8 | |
halted: PC: 0x080052ac | |
halted: PC: 0x080052ae | |
halted: PC: 0x080052b2 | |
halted: PC: 0x080052b4 | |
halted: PC: 0x080052b6 | |
halted: PC: 0x080052ba | |
halted: PC: 0x080052bc | |
halted: PC: 0x080052c0 | |
halted: PC: 0x080052c2 | |
halted: PC: 0x080052c6 | |
halted: PC: 0x080052ca | |
halted: PC: 0x080052cc | |
halted: PC: 0x0800527e | |
33 if (p != NC) { | |
(gdb) | |
halted: PC: 0x08005282 | |
halted: PC: 0x08005284 | |
37 if (is_pin_configured(p, g_anOutputPinConfigured)) { | |
(gdb) | |
halted: PC: 0x08005288 | |
halted: PC: 0x0800528a | |
halted: PC: 0x0800528e | |
halted: PC: 0x08005292 | |
halted: PC: 0x08005294 | |
halted: PC: 0x08005298 | |
halted: PC: 0x0800529a | |
53 switch (ulMode) { | |
(gdb) | |
halted: PC: 0x0800529c | |
halted: PC: 0x0800529e | |
halted: PC: 0x0800531e | |
67 pin_function(p, STM_PIN_DATA(STM_MODE_OUTPUT_PP, GPIO_NOPULL, 0)); | |
(gdb) | |
halted: PC: 0x08005320 | |
halted: PC: 0x08005322 | |
halted: PC: 0x08004444 | |
pin_function (pin=pin@entry=1809, function=function@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:120 | |
120 { | |
(gdb) | |
halted: PC: 0x08004448 | |
halted: PC: 0x0800444a | |
halted: PC: 0x0800444c | |
122 uint32_t mode = STM_PIN_FUNCTION(function); | |
(gdb) | |
halted: PC: 0x08004450 | |
123 uint32_t afnum = STM_PIN_AFNUM(function); | |
(gdb) | |
halted: PC: 0x08004454 | |
124 uint32_t port = STM_PORT(pin); | |
(gdb) | |
halted: PC: 0x08004458 | |
125 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x0800445c | |
halted: PC: 0x0800445e | |
halted: PC: 0x08004462 | |
128 if (pin == (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004466 | |
halted: PC: 0x08004468 | |
172 GPIO_TypeDef *gpio = set_GPIO_Port_Clock(port); | |
(gdb) | |
halted: PC: 0x0800446a | |
halted: PC: 0x0800429c | |
set_GPIO_Port_Clock (port_idx=port_idx@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\PortNames.c:69 | |
69 { | |
(gdb) | |
halted: PC: 0x0800429e | |
71 switch (port_idx) { | |
(gdb) | |
halted: PC: 0x080042a0 | |
halted: PC: 0x080042a2 | |
halted: PC: 0x080042ca | |
78 __HAL_RCC_GPIOB_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x080042cc | |
halted: PC: 0x080042ce | |
halted: PC: 0x080042d0 | |
halted: PC: 0x080042d2 | |
halted: PC: 0x080042d6 | |
halted: PC: 0x080042d8 | |
halted: PC: 0x080042da | |
halted: PC: 0x080042de | |
halted: PC: 0x080042e0 | |
halted: PC: 0x080042e2 | |
79 break; | |
(gdb) | |
halted: PC: 0x080042e4 | |
halted: PC: 0x080042c6 | |
halted: PC: 0x080042c8 | |
halted: PC: 0x0800446e | |
halted: PC: 0x08004470 | |
pin_function (pin=pin@entry=1809, function=function@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:185 | |
185 LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH); | |
(gdb) | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
halted: PC: 0x08004472 | |
__RBIT (value=2) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004476 | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=1073741824) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004478 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800447c | |
halted: PC: 0x0800447e | |
halted: PC: 0x08004480 | |
halted: PC: 0x08004484 | |
halted: PC: 0x08004488 | |
__RBIT (value=2) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800448c | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=1073741824) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800448e | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004492 | |
halted: PC: 0x08004494 | |
halted: PC: 0x08004496 | |
halted: PC: 0x0800449a | |
halted: PC: 0x0800449c | |
halted: PC: 0x0800449e | |
pin_function (pin=pin@entry=1809, function=function@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:193 | |
193 switch (mode) { | |
(gdb) | |
halted: PC: 0x080044a0 | |
halted: PC: 0x080044a2 | |
halted: PC: 0x0800454c | |
halted: PC: 0x0800454e | |
216 LL_GPIO_SetPinMode(gpio, ll_pin, ll_mode); | |
(gdb) | |
LL_GPIO_SetPinMode (Mode=1, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08004550 | |
__RBIT (value=2) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004554 | |
LL_GPIO_SetPinMode (Mode=1, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=1073741824) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004556 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800455a | |
halted: PC: 0x0800455c | |
halted: PC: 0x0800455e | |
halted: PC: 0x08004562 | |
halted: PC: 0x08004566 | |
__RBIT (value=2) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800456a | |
LL_GPIO_SetPinMode (Mode=1, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=1073741824) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800456c | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004570 | |
halted: PC: 0x08004572 | |
halted: PC: 0x08004576 | |
halted: PC: 0x08004578 | |
halted: PC: 0x0800457a | |
pin_function (pin=pin@entry=1809, function=function@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:227 | |
227 if ((mode == STM_PIN_OUTPUT) || (mode == STM_PIN_ALTERNATE)) { | |
(gdb) | |
halted: PC: 0x0800457c | |
halted: PC: 0x0800457e | |
halted: PC: 0x080045b2 | |
228 if (STM_PIN_OD(function)) { | |
(gdb) | |
halted: PC: 0x080045b6 | |
halted: PC: 0x080045c0 | |
231 LL_GPIO_SetPinOutputType(gpio, ll_pin, LL_GPIO_OUTPUT_PUSHPULL); | |
(gdb) | |
LL_GPIO_SetPinOutputType (OutputType=0, PinMask=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:345 | |
345 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); | |
(gdb) | |
halted: PC: 0x080045c2 | |
halted: PC: 0x080045c6 | |
halted: PC: 0x080045c8 | |
halted: PC: 0x08004580 | |
pin_function (pin=pin@entry=1809, function=function@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
halted: PC: 0x08004584 | |
pin_PullConfig (pull_config=0, ll_pin=2, gpio=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x08004586 | |
halted: PC: 0x08004588 | |
halted: PC: 0x0800458a | |
halted: PC: 0x0800458c | |
61 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_NO); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=0, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x0800458e | |
__RBIT (value=2) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004592 | |
LL_GPIO_SetPinPull (Pull=0, Pin=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=1073741824) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004594 | |
halted: PC: 0x08004596 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800459a | |
halted: PC: 0x0800459c | |
halted: PC: 0x0800459e | |
halted: PC: 0x080045a2 | |
halted: PC: 0x080045a6 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045a8 | |
pin_function (pin=pin@entry=1809, function=function@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/lock_resource.h:192 | |
192 UNUSED(semID); | |
(gdb) | |
halted: PC: 0x080045f8 | |
halted: PC: 0x08005326 | |
pinMode (ulPin=<optimized out>, ulMode=ulMode@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_digital.c:68 | |
68 break; | |
(gdb) | |
halted: PC: 0x080052b0 | |
halted: PC: 0x08001464 | |
Adafruit_SPITFT::initSPI (this=0x2001ff9c, freq=32000000, spiMode=<optimized out>) | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:538 | |
538 digitalWrite(_dc, HIGH); // Data mode | |
(gdb) | |
halted: PC: 0x08001466 | |
halted: PC: 0x0800146a | |
halted: PC: 0x08005350 | |
digitalWrite (ulPin=4294967241, ulVal=ulVal@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_digital.c:81 | |
81 digitalWriteFast(digitalPinToPinName(ulPin), ulVal); | |
(gdb) | |
halted: PC: 0x08005352 | |
halted: PC: 0x08005354 | |
halted: PC: 0x08005380 | |
halted: PC: 0x08005384 | |
halted: PC: 0x08005386 | |
halted: PC: 0x0800538e | |
halted: PC: 0x08005390 | |
halted: PC: 0x08005392 | |
halted: PC: 0x08005396 | |
halted: PC: 0x08005398 | |
halted: PC: 0x0800539c | |
halted: PC: 0x0800539e | |
halted: PC: 0x080053a2 | |
halted: PC: 0x080053a6 | |
halted: PC: 0x080053a8 | |
halted: PC: 0x08005362 | |
digitalWriteFast (ulVal=1, pn=1809) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:96 | |
96 digital_io_write(get_GPIO_Port(STM_PORT(pn)), STM_LL_GPIO_PIN(pn), ulVal); | |
(gdb) | |
halted: PC: 0x08005366 | |
halted: PC: 0x08005368 | |
halted: PC: 0x0800536a | |
halted: PC: 0x0800536c | |
halted: PC: 0x08005370 | |
halted: PC: 0x08005374 | |
halted: PC: 0x08005376 | |
halted: PC: 0x0800537a | |
digital_io_write (val=1, pin=2, port=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:59 | |
59 if (val) { | |
(gdb) | |
halted: PC: 0x0800537c | |
60 LL_GPIO_SetOutputPin(port, pin); | |
(gdb) | |
LL_GPIO_SetOutputPin (PinMask=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:884 | |
884 WRITE_REG(GPIOx->BSRR, PinMask); | |
(gdb) | |
halted: PC: 0x0800537e | |
halted: PC: 0x0800146e | |
Adafruit_SPITFT::initSPI (this=0x2001ff9c, freq=32000000, spiMode=<optimized out>) | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:540 | |
540 if (connection == TFT_HARD_SPI) { | |
(gdb) | |
halted: PC: 0x08001472 | |
halted: PC: 0x08001474 | |
543 hwspi.settings = SPISettings(freq, MSBFIRST, spiMode); | |
(gdb) | |
SPISettings::SPISettings (noRecv=false, dataMode=0 '\000', bitOrder=MSBFIRST, clock=32000000, this=0x2001ff4c) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:79 | |
79 clk = clock; | |
(gdb) | |
halted: PC: 0x08001476 | |
80 bOrder = bitOrder; | |
(gdb) | |
halted: PC: 0x08001478 | |
halted: PC: 0x0800147c | |
81 noReceive = noRecv; | |
(gdb) | |
halted: PC: 0x0800147e | |
halted: PC: 0x08001482 | |
83 if (SPI_MODE0 == dataMode) { | |
(gdb) | |
halted: PC: 0x08001484 | |
84 dMode = SPI_MODE_0; | |
(gdb) | |
halted: PC: 0x08001488 | |
halted: PC: 0x0800148a | |
halted: PC: 0x0800148c | |
halted: PC: 0x0800148e | |
halted: PC: 0x08001490 | |
halted: PC: 0x08001492 | |
halted: PC: 0x08001494 | |
halted: PC: 0x08001496 | |
halted: PC: 0x0800149a | |
547 hwspi._mode = spiMode; // Save spiMode value for later | |
(gdb) | |
halted: PC: 0x0800149c | |
584 hwspi._spi->begin(); | |
(gdb) | |
halted: PC: 0x0800149e | |
halted: PC: 0x080014a0 | |
halted: PC: 0x080004b0 | |
SPIClass::begin (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$') | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:61 | |
61 { | |
(gdb) | |
halted: PC: 0x080004b2 | |
halted: PC: 0x080004b4 | |
halted: PC: 0x080004b6 | |
62 uint8_t idx = pinIdx(_pin, ADD_NEW_PIN); | |
(gdb) | |
SPIClass::pinIdx (option=SPIClass::ADD_NEW_PIN, _pin=36 '$', this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:251 | |
251 if ((_pin > NUM_DIGITAL_PINS) && (!digitalPinIsValid(_pin))) { | |
(gdb) | |
halted: PC: 0x080004b8 | |
halted: PC: 0x080004ec | |
halted: PC: 0x080004ee | |
255 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x080004f0 | |
halted: PC: 0x080004f2 | |
256 if (_pin == spiSettings[i].pinCS) { | |
(gdb) | |
halted: PC: 0x080004f6 | |
halted: PC: 0x080004fa | |
halted: PC: 0x080004fc | |
halted: PC: 0x080004fe | |
255 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x08000500 | |
halted: PC: 0x08000502 | |
halted: PC: 0x080004ee | |
halted: PC: 0x080004f0 | |
halted: PC: 0x080004f2 | |
256 if (_pin == spiSettings[i].pinCS) { | |
(gdb) | |
halted: PC: 0x080004f6 | |
halted: PC: 0x080004fa | |
halted: PC: 0x080004fc | |
halted: PC: 0x080004fe | |
255 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x08000500 | |
halted: PC: 0x08000502 | |
halted: PC: 0x080004ee | |
halted: PC: 0x080004f0 | |
halted: PC: 0x080004f2 | |
256 if (_pin == spiSettings[i].pinCS) { | |
(gdb) | |
halted: PC: 0x080004f6 | |
halted: PC: 0x080004fa | |
halted: PC: 0x080004fc | |
halted: PC: 0x080004fe | |
255 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x08000500 | |
halted: PC: 0x08000502 | |
halted: PC: 0x080004ee | |
halted: PC: 0x080004f0 | |
halted: PC: 0x080004f2 | |
256 if (_pin == spiSettings[i].pinCS) { | |
(gdb) | |
halted: PC: 0x080004f6 | |
halted: PC: 0x080004fa | |
halted: PC: 0x080004fc | |
halted: PC: 0x080004fe | |
255 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x08000500 | |
halted: PC: 0x08000502 | |
halted: PC: 0x080004ee | |
halted: PC: 0x080004f0 | |
halted: PC: 0x08000504 | |
halted: PC: 0x08000506 | |
262 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x08000508 | |
halted: PC: 0x0800050a | |
263 if (spiSettings[i].pinCS == -1) { | |
(gdb) | |
halted: PC: 0x0800050e | |
halted: PC: 0x08000512 | |
halted: PC: 0x08000516 | |
halted: PC: 0x0800051e | |
264 spiSettings[i].pinCS = _pin; | |
(gdb) | |
halted: PC: 0x08000522 | |
halted: PC: 0x08000526 | |
SPIClass::begin (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$') | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:63 | |
63 if (idx >= NB_SPI_SETTINGS) { | |
(gdb) | |
halted: PC: 0x08000528 | |
halted: PC: 0x0800052a | |
67 if ((_pin != CS_PIN_CONTROLLED_BY_USER) && (_spi.pin_ssel == NC)) { | |
(gdb) | |
halted: PC: 0x0800052c | |
halted: PC: 0x08000538 | |
72 _spi.handle.State = HAL_SPI_STATE_RESET; | |
(gdb) | |
halted: PC: 0x0800053a | |
halted: PC: 0x0800053e | |
73 spi_init(&_spi, spiSettings[idx].clk, | |
(gdb) | |
halted: PC: 0x08000542 | |
halted: PC: 0x08000546 | |
halted: PC: 0x08000548 | |
halted: PC: 0x0800054a | |
halted: PC: 0x0800054c | |
halted: PC: 0x0800054e | |
halted: PC: 0x08000552 | |
halted: PC: 0x08000880 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=SPI_MODE_0, msb=1 '\001') | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:159 | |
159 if (obj == NULL) { | |
(gdb) | |
halted: PC: 0x08000882 | |
halted: PC: 0x08000886 | |
halted: PC: 0x0800088a | |
halted: PC: 0x0800088c | |
halted: PC: 0x0800088e | |
halted: PC: 0x08000890 | |
halted: PC: 0x08000892 | |
halted: PC: 0x08000894 | |
168 SPI_TypeDef *spi_mosi = pinmap_peripheral(obj->pin_mosi, PinMap_SPI_MOSI); | |
(gdb) | |
halted: PC: 0x08000896 | |
halted: PC: 0x08000898 | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=PA_7, map=0x80069cc <PinMap_SPI_MOSI>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x0800469a | |
halted: PC: 0x0800469c | |
278 peripheral = pinmap_find_peripheral(pin, map); | |
(gdb) | |
halted: PC: 0x0800467c | |
pinmap_find_peripheral (pin=PA_7, map=0x80069cc <PinMap_SPI_MOSI>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:264 | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x08004688 | |
268 map++; | |
(gdb) | |
halted: PC: 0x0800468a | |
halted: PC: 0x0800467c | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x0800468c | |
266 return map->peripheral; | |
(gdb) | |
halted: PC: 0x0800468e | |
halted: PC: 0x080046a0 | |
halted: PC: 0x0800089c | |
halted: PC: 0x0800089e | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:169 | |
169 SPI_TypeDef *spi_miso = pinmap_peripheral(obj->pin_miso, PinMap_SPI_MISO); | |
(gdb) | |
halted: PC: 0x080008a0 | |
halted: PC: 0x080008a2 | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=PA_6, map=0x8006978 <PinMap_SPI_MISO>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x0800469a | |
halted: PC: 0x0800469c | |
278 peripheral = pinmap_find_peripheral(pin, map); | |
(gdb) | |
halted: PC: 0x0800467c | |
pinmap_find_peripheral (pin=PA_6, map=0x8006978 <PinMap_SPI_MISO>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:264 | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x0800468c | |
266 return map->peripheral; | |
(gdb) | |
halted: PC: 0x0800468e | |
halted: PC: 0x080046a0 | |
halted: PC: 0x080008a6 | |
halted: PC: 0x080008a8 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:170 | |
170 SPI_TypeDef *spi_sclk = pinmap_peripheral(obj->pin_sclk, PinMap_SPI_SCLK); | |
(gdb) | |
halted: PC: 0x080008aa | |
halted: PC: 0x080008ac | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=PA_5, map=0x8006a2c <PinMap_SPI_SCLK>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x0800469a | |
halted: PC: 0x0800469c | |
278 peripheral = pinmap_find_peripheral(pin, map); | |
(gdb) | |
halted: PC: 0x0800467c | |
pinmap_find_peripheral (pin=PA_5, map=0x8006a2c <PinMap_SPI_SCLK>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:264 | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x0800468c | |
266 return map->peripheral; | |
(gdb) | |
halted: PC: 0x0800468e | |
halted: PC: 0x080046a0 | |
halted: PC: 0x080008b0 | |
halted: PC: 0x080008b2 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:171 | |
171 SPI_TypeDef *spi_ssel = pinmap_peripheral(obj->pin_ssel, PinMap_SPI_SSEL); | |
(gdb) | |
halted: PC: 0x080008b4 | |
halted: PC: 0x080008b6 | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=NC, map=0x8006a98 <PinMap_SPI_SSEL>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x080046a2 | |
halted: PC: 0x080046a4 | |
280 return peripheral; | |
(gdb) | |
halted: PC: 0x080008ba | |
halted: PC: 0x080008bc | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:174 | |
174 if (spi_mosi == NP || spi_miso == NP || spi_sclk == NP) { | |
(gdb) | |
halted: PC: 0x080008c0 | |
halted: PC: 0x080008c4 | |
halted: PC: 0x080008c8 | |
halted: PC: 0x080008cc | |
halted: PC: 0x080008d0 | |
halted: PC: 0x080008d4 | |
179 SPI_TypeDef *spi_data = pinmap_merge_peripheral(spi_mosi, spi_miso); | |
(gdb) | |
halted: PC: 0x080008d6 | |
halted: PC: 0x080008d8 | |
halted: PC: 0x080046cc | |
pinmap_merge_peripheral (a=a@entry=0x40013000, b=b@entry=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:329 | |
329 if (a == b) { | |
(gdb) | |
halted: PC: 0x080046ce | |
halted: PC: 0x080046da | |
halted: PC: 0x080008dc | |
halted: PC: 0x080008de | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:180 | |
180 SPI_TypeDef *spi_cntl = pinmap_merge_peripheral(spi_sclk, spi_ssel); | |
(gdb) | |
halted: PC: 0x080008e0 | |
halted: PC: 0x080008e2 | |
halted: PC: 0x080046cc | |
pinmap_merge_peripheral (a=a@entry=0x40013000, b=b@entry=0x0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:329 | |
329 if (a == b) { | |
(gdb) | |
halted: PC: 0x080046ce | |
halted: PC: 0x080046d0 | |
334 if (a == NP) { | |
(gdb) | |
halted: PC: 0x080046d2 | |
337 if (b == NP) { | |
(gdb) | |
halted: PC: 0x080046da | |
halted: PC: 0x080008e6 | |
halted: PC: 0x080008e8 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:182 | |
182 obj->spi = pinmap_merge_peripheral(spi_data, spi_cntl); | |
(gdb) | |
halted: PC: 0x080008ea | |
halted: PC: 0x080008ec | |
halted: PC: 0x080046cc | |
pinmap_merge_peripheral (a=a@entry=0x40013000, b=b@entry=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:329 | |
329 if (a == b) { | |
(gdb) | |
halted: PC: 0x080046ce | |
halted: PC: 0x080046da | |
halted: PC: 0x080008f0 | |
halted: PC: 0x080008f2 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:185 | |
185 if (spi_data == NP || spi_cntl == NP || obj->spi == NP) { | |
(gdb) | |
halted: PC: 0x080008f6 | |
halted: PC: 0x080008fa | |
halted: PC: 0x080008fe | |
halted: PC: 0x08000902 | |
halted: PC: 0x08000904 | |
halted: PC: 0x08000908 | |
191 if (obj->pin_ssel != NC) { | |
(gdb) | |
halted: PC: 0x0800090a | |
halted: PC: 0x0800090e | |
halted: PC: 0x0800093c | |
194 handle->Init.NSS = SPI_NSS_SOFT; | |
(gdb) | |
halted: PC: 0x08000940 | |
halted: PC: 0x08000942 | |
halted: PC: 0x08000916 | |
198 handle->Instance = obj->spi; | |
(gdb) | |
halted: PC: 0x08000918 | |
199 handle->Init.Mode = SPI_MODE_MASTER; | |
(gdb) | |
halted: PC: 0x0800091c | |
halted: PC: 0x0800091e | |
201 spi_freq = spi_getClkFreqInst(obj->spi); | |
(gdb) | |
halted: PC: 0x08000834 | |
spi_getClkFreqInst (spi_inst=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:56 | |
56 { | |
(gdb) | |
halted: PC: 0x08000836 | |
halted: PC: 0x08000838 | |
57 uint32_t spi_freq = SystemCoreClock; | |
(gdb) | |
halted: PC: 0x0800083a | |
halted: PC: 0x0800083c | |
87 if (spi_inst != NP) { | |
(gdb) | |
halted: PC: 0x0800083e | |
halted: PC: 0x08000840 | |
89 switch ((uint32_t)spi_inst) { | |
(gdb) | |
halted: PC: 0x08000842 | |
halted: PC: 0x08000844 | |
halted: PC: 0x08000846 | |
halted: PC: 0x08000848 | |
halted: PC: 0x0800084a | |
halted: PC: 0x0800084c | |
halted: PC: 0x0800084e | |
halted: PC: 0x08000852 | |
halted: PC: 0x08000854 | |
halted: PC: 0x08000856 | |
halted: PC: 0x0800085a | |
halted: PC: 0x0800085c | |
halted: PC: 0x0800086e | |
105 spi_freq = HAL_RCC_GetPCLK2Freq(); | |
(gdb) | |
halted: PC: 0x08003a94 | |
HAL_RCC_GetPCLK2Freq () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:969 | |
969 return (HAL_RCC_GetHCLKFreq()>> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2)>> RCC_CFGR_PPRE2_Pos]); | |
(gdb) | |
halted: PC: 0x08003a68 | |
HAL_RCC_GetHCLKFreq () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:945 | |
945 return SystemCoreClock; | |
(gdb) | |
halted: PC: 0x08003a6a | |
halted: PC: 0x08003a6c | |
halted: PC: 0x08003a9a | |
halted: PC: 0x08003a9c | |
halted: PC: 0x08003a9e | |
halted: PC: 0x08003aa2 | |
halted: PC: 0x08003aa4 | |
halted: PC: 0x08003aa6 | |
halted: PC: 0x08003aa8 | |
halted: PC: 0x08000872 | |
spi_getClkFreqInst (spi_inst=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:106 | |
106 break; | |
(gdb) | |
halted: PC: 0x0800085e | |
halted: PC: 0x08000922 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:202 | |
202 if (speed >= (spi_freq / SPI_SPEED_CLOCK_DIV2_MHZ)) { | |
(gdb) | |
halted: PC: 0x08000926 | |
halted: PC: 0x08000944 | |
204 } else if (speed >= (spi_freq / SPI_SPEED_CLOCK_DIV4_MHZ)) { | |
(gdb) | |
halted: PC: 0x08000948 | |
halted: PC: 0x08000950 | |
206 } else if (speed >= (spi_freq / SPI_SPEED_CLOCK_DIV8_MHZ)) { | |
(gdb) | |
halted: PC: 0x08000954 | |
halted: PC: 0x0800095c | |
208 } else if (speed >= (spi_freq / SPI_SPEED_CLOCK_DIV16_MHZ)) { | |
(gdb) | |
halted: PC: 0x08000960 | |
halted: PC: 0x08000968 | |
210 } else if (speed >= (spi_freq / SPI_SPEED_CLOCK_DIV32_MHZ)) { | |
(gdb) | |
halted: PC: 0x0800096c | |
halted: PC: 0x0800096e | |
211 handle->Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_32; | |
(gdb) | |
halted: PC: 0x08000970 | |
halted: PC: 0x08000972 | |
halted: PC: 0x0800092c | |
224 handle->Init.Direction = SPI_DIRECTION_2LINES; | |
(gdb) | |
halted: PC: 0x0800092e | |
halted: PC: 0x08000930 | |
226 if ((mode == SPI_MODE_0) || (mode == SPI_MODE_2)) { | |
(gdb) | |
halted: PC: 0x08000992 | |
227 handle->Init.CLKPhase = SPI_PHASE_1EDGE; | |
(gdb) | |
halted: PC: 0x08000994 | |
halted: PC: 0x08000996 | |
232 if ((mode == SPI_MODE_0) || (mode == SPI_MODE_1)) { | |
(gdb) | |
halted: PC: 0x08000998 | |
halted: PC: 0x08000a12 | |
233 handle->Init.CLKPolarity = SPI_POLARITY_LOW; | |
(gdb) | |
halted: PC: 0x08000a14 | |
halted: PC: 0x08000a16 | |
halted: PC: 0x0800099e | |
238 handle->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; | |
(gdb) | |
halted: PC: 0x080009a0 | |
halted: PC: 0x080009a2 | |
239 handle->Init.CRCPolynomial = 7; | |
(gdb) | |
halted: PC: 0x080009a4 | |
halted: PC: 0x080009a6 | |
240 handle->Init.DataSize = SPI_DATASIZE_8BIT; | |
(gdb) | |
halted: PC: 0x080009a8 | |
242 if (msb == 0) { | |
(gdb) | |
halted: PC: 0x080009aa | |
halted: PC: 0x08000a18 | |
245 handle->Init.FirstBit = SPI_FIRSTBIT_MSB; | |
(gdb) | |
halted: PC: 0x08000a1a | |
halted: PC: 0x08000a1c | |
halted: PC: 0x080009b0 | |
248 handle->Init.TIMode = SPI_TIMODE_DISABLE; | |
(gdb) | |
halted: PC: 0x080009b2 | |
halted: PC: 0x080009b4 | |
256 pinmap_pinout(obj->pin_mosi, PinMap_SPI_MOSI); | |
(gdb) | |
halted: PC: 0x080009b6 | |
halted: PC: 0x080009b8 | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=PA_7, map=0x80069cc <PinMap_SPI_MOSI>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x0800464e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x0800465c | |
257 map++; | |
(gdb) | |
halted: PC: 0x0800465e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x08004662 | |
254 pin_function(pin, map->function); | |
(gdb) | |
halted: PC: 0x08004664 | |
halted: PC: 0x08004444 | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:120 | |
120 { | |
(gdb) | |
halted: PC: 0x08004448 | |
halted: PC: 0x0800444a | |
halted: PC: 0x0800444c | |
122 uint32_t mode = STM_PIN_FUNCTION(function); | |
(gdb) | |
halted: PC: 0x08004450 | |
123 uint32_t afnum = STM_PIN_AFNUM(function); | |
(gdb) | |
halted: PC: 0x08004454 | |
124 uint32_t port = STM_PORT(pin); | |
(gdb) | |
halted: PC: 0x08004458 | |
125 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x0800445c | |
halted: PC: 0x0800445e | |
halted: PC: 0x08004462 | |
128 if (pin == (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004466 | |
halted: PC: 0x08004468 | |
172 GPIO_TypeDef *gpio = set_GPIO_Port_Clock(port); | |
(gdb) | |
halted: PC: 0x0800446a | |
halted: PC: 0x0800429c | |
set_GPIO_Port_Clock (port_idx=port_idx@entry=0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\PortNames.c:69 | |
69 { | |
(gdb) | |
halted: PC: 0x0800429e | |
71 switch (port_idx) { | |
(gdb) | |
halted: PC: 0x080042a0 | |
halted: PC: 0x080042a2 | |
halted: PC: 0x080042ac | |
74 __HAL_RCC_GPIOA_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x080042ae | |
halted: PC: 0x080042b0 | |
halted: PC: 0x080042b2 | |
halted: PC: 0x080042b4 | |
halted: PC: 0x080042b8 | |
halted: PC: 0x080042ba | |
halted: PC: 0x080042bc | |
halted: PC: 0x080042c0 | |
halted: PC: 0x080042c2 | |
halted: PC: 0x080042c4 | |
75 break; | |
(gdb) | |
halted: PC: 0x080042c6 | |
halted: PC: 0x080042c8 | |
halted: PC: 0x0800446e | |
halted: PC: 0x08004470 | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:185 | |
185 LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH); | |
(gdb) | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
halted: PC: 0x08004472 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004476 | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004478 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800447c | |
halted: PC: 0x0800447e | |
halted: PC: 0x08004480 | |
halted: PC: 0x08004484 | |
halted: PC: 0x08004488 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800448c | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800448e | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004492 | |
halted: PC: 0x08004494 | |
halted: PC: 0x08004496 | |
halted: PC: 0x0800449a | |
halted: PC: 0x0800449c | |
halted: PC: 0x0800449e | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:193 | |
193 switch (mode) { | |
(gdb) | |
halted: PC: 0x080044a0 | |
halted: PC: 0x080044a2 | |
halted: PC: 0x080044bc | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
pin_SetAFPin (afnum=5, pin=PA_7, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:75 | |
75 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x080044c0 | |
halted: PC: 0x080044c2 | |
halted: PC: 0x080044c6 | |
78 if (STM_PIN(pin) > 7) { | |
(gdb) | |
halted: PC: 0x080044ca | |
halted: PC: 0x08004508 | |
81 LL_GPIO_SetAFPin_0_7(gpio, ll_pin, afnum); | |
(gdb) | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
halted: PC: 0x0800450a | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800450e | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004510 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004514 | |
halted: PC: 0x08004516 | |
halted: PC: 0x08004518 | |
halted: PC: 0x0800451c | |
halted: PC: 0x08004520 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004524 | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004526 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800452a | |
halted: PC: 0x0800452c | |
halted: PC: 0x08004530 | |
halted: PC: 0x08004534 | |
halted: PC: 0x08004536 | |
halted: PC: 0x080044fc | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/lock_resource.h:192 | |
192 UNUSED(semID); | |
(gdb) | |
halted: PC: 0x080044fe | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
0x080044fe in pin_SetAFPin (afnum=0, pin=PA_7, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:85 | |
85 } | |
(gdb) | |
halted: PC: 0x0800454e | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:216 | |
216 LL_GPIO_SetPinMode(gpio, ll_pin, ll_mode); | |
(gdb) | |
LL_GPIO_SetPinMode (Mode=2, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08004550 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004554 | |
LL_GPIO_SetPinMode (Mode=2, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004556 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800455a | |
halted: PC: 0x0800455c | |
halted: PC: 0x0800455e | |
halted: PC: 0x08004562 | |
halted: PC: 0x08004566 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800456a | |
LL_GPIO_SetPinMode (Mode=2, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800456c | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004570 | |
halted: PC: 0x08004572 | |
halted: PC: 0x08004576 | |
halted: PC: 0x08004578 | |
halted: PC: 0x0800457a | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:227 | |
227 if ((mode == STM_PIN_OUTPUT) || (mode == STM_PIN_ALTERNATE)) { | |
(gdb) | |
halted: PC: 0x0800457c | |
halted: PC: 0x0800457e | |
halted: PC: 0x080045b2 | |
228 if (STM_PIN_OD(function)) { | |
(gdb) | |
halted: PC: 0x080045b6 | |
halted: PC: 0x080045c0 | |
231 LL_GPIO_SetPinOutputType(gpio, ll_pin, LL_GPIO_OUTPUT_PUSHPULL); | |
(gdb) | |
LL_GPIO_SetPinOutputType (OutputType=0, PinMask=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:345 | |
345 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); | |
(gdb) | |
halted: PC: 0x080045c2 | |
halted: PC: 0x080045c6 | |
halted: PC: 0x080045c8 | |
halted: PC: 0x08004580 | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
halted: PC: 0x08004584 | |
pin_PullConfig (pull_config=1, ll_pin=128, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x08004586 | |
halted: PC: 0x080045ca | |
pin_function (pin=PA_7, function=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
pin_PullConfig (pull_config=1, ll_pin=128, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:44 | |
44 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_UP); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=1, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x080045cc | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045d0 | |
LL_GPIO_SetPinPull (Pull=1, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045d2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045d6 | |
halted: PC: 0x080045d8 | |
halted: PC: 0x080045da | |
halted: PC: 0x080045de | |
halted: PC: 0x080045e2 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045e6 | |
LL_GPIO_SetPinPull (Pull=1, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045e8 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045ec | |
halted: PC: 0x080045ee | |
halted: PC: 0x080045f0 | |
halted: PC: 0x080045f4 | |
halted: PC: 0x080045f6 | |
halted: PC: 0x080045f8 | |
halted: PC: 0x08004668 | |
pinmap_pinout (pin=<optimized out>, map=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:255 | |
255 return; | |
(gdb) | |
halted: PC: 0x08004674 | |
halted: PC: 0x080009bc | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:257 | |
257 pinmap_pinout(obj->pin_miso, PinMap_SPI_MISO); | |
(gdb) | |
halted: PC: 0x080009be | |
halted: PC: 0x080009c0 | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=PA_6, map=0x8006978 <PinMap_SPI_MISO>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x0800464e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x08004662 | |
254 pin_function(pin, map->function); | |
(gdb) | |
halted: PC: 0x08004664 | |
halted: PC: 0x08004444 | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:120 | |
120 { | |
(gdb) | |
halted: PC: 0x08004448 | |
halted: PC: 0x0800444a | |
halted: PC: 0x0800444c | |
122 uint32_t mode = STM_PIN_FUNCTION(function); | |
(gdb) | |
halted: PC: 0x08004450 | |
123 uint32_t afnum = STM_PIN_AFNUM(function); | |
(gdb) | |
halted: PC: 0x08004454 | |
124 uint32_t port = STM_PORT(pin); | |
(gdb) | |
halted: PC: 0x08004458 | |
125 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x0800445c | |
halted: PC: 0x0800445e | |
halted: PC: 0x08004462 | |
128 if (pin == (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004466 | |
halted: PC: 0x08004468 | |
172 GPIO_TypeDef *gpio = set_GPIO_Port_Clock(port); | |
(gdb) | |
halted: PC: 0x0800446a | |
halted: PC: 0x0800429c | |
set_GPIO_Port_Clock (port_idx=port_idx@entry=0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\PortNames.c:69 | |
69 { | |
(gdb) | |
halted: PC: 0x0800429e | |
71 switch (port_idx) { | |
(gdb) | |
halted: PC: 0x080042a0 | |
halted: PC: 0x080042a2 | |
halted: PC: 0x080042ac | |
74 __HAL_RCC_GPIOA_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x080042ae | |
halted: PC: 0x080042b0 | |
halted: PC: 0x080042b2 | |
halted: PC: 0x080042b4 | |
halted: PC: 0x080042b8 | |
halted: PC: 0x080042ba | |
halted: PC: 0x080042bc | |
halted: PC: 0x080042c0 | |
halted: PC: 0x080042c2 | |
halted: PC: 0x080042c4 | |
75 break; | |
(gdb) | |
halted: PC: 0x080042c6 | |
halted: PC: 0x080042c8 | |
halted: PC: 0x0800446e | |
halted: PC: 0x08004470 | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:185 | |
185 LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH); | |
(gdb) | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
halted: PC: 0x08004472 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004476 | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004478 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800447c | |
halted: PC: 0x0800447e | |
halted: PC: 0x08004480 | |
halted: PC: 0x08004484 | |
halted: PC: 0x08004488 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800448c | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800448e | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004492 | |
halted: PC: 0x08004494 | |
halted: PC: 0x08004496 | |
halted: PC: 0x0800449a | |
halted: PC: 0x0800449c | |
halted: PC: 0x0800449e | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:193 | |
193 switch (mode) { | |
(gdb) | |
halted: PC: 0x080044a0 | |
halted: PC: 0x080044a2 | |
halted: PC: 0x080044bc | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
pin_SetAFPin (afnum=5, pin=PA_6, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:75 | |
75 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x080044c0 | |
halted: PC: 0x080044c2 | |
halted: PC: 0x080044c6 | |
78 if (STM_PIN(pin) > 7) { | |
(gdb) | |
halted: PC: 0x080044ca | |
halted: PC: 0x08004508 | |
81 LL_GPIO_SetAFPin_0_7(gpio, ll_pin, afnum); | |
(gdb) | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
halted: PC: 0x0800450a | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800450e | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004510 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004514 | |
halted: PC: 0x08004516 | |
halted: PC: 0x08004518 | |
halted: PC: 0x0800451c | |
halted: PC: 0x08004520 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004524 | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004526 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800452a | |
halted: PC: 0x0800452c | |
halted: PC: 0x08004530 | |
halted: PC: 0x08004534 | |
halted: PC: 0x08004536 | |
halted: PC: 0x080044fc | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/lock_resource.h:192 | |
192 UNUSED(semID); | |
(gdb) | |
halted: PC: 0x080044fe | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
0x080044fe in pin_SetAFPin (afnum=0, pin=PA_6, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:85 | |
85 } | |
(gdb) | |
halted: PC: 0x0800454e | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:216 | |
216 LL_GPIO_SetPinMode(gpio, ll_pin, ll_mode); | |
(gdb) | |
LL_GPIO_SetPinMode (Mode=2, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08004550 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004554 | |
LL_GPIO_SetPinMode (Mode=2, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004556 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800455a | |
halted: PC: 0x0800455c | |
halted: PC: 0x0800455e | |
halted: PC: 0x08004562 | |
halted: PC: 0x08004566 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800456a | |
LL_GPIO_SetPinMode (Mode=2, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800456c | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004570 | |
halted: PC: 0x08004572 | |
halted: PC: 0x08004576 | |
halted: PC: 0x08004578 | |
halted: PC: 0x0800457a | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:227 | |
227 if ((mode == STM_PIN_OUTPUT) || (mode == STM_PIN_ALTERNATE)) { | |
(gdb) | |
halted: PC: 0x0800457c | |
halted: PC: 0x0800457e | |
halted: PC: 0x080045b2 | |
228 if (STM_PIN_OD(function)) { | |
(gdb) | |
halted: PC: 0x080045b6 | |
halted: PC: 0x080045c0 | |
231 LL_GPIO_SetPinOutputType(gpio, ll_pin, LL_GPIO_OUTPUT_PUSHPULL); | |
(gdb) | |
LL_GPIO_SetPinOutputType (OutputType=0, PinMask=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:345 | |
345 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); | |
(gdb) | |
halted: PC: 0x080045c2 | |
halted: PC: 0x080045c6 | |
halted: PC: 0x080045c8 | |
halted: PC: 0x08004580 | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
halted: PC: 0x08004584 | |
pin_PullConfig (pull_config=1, ll_pin=64, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x08004586 | |
halted: PC: 0x080045ca | |
pin_function (pin=PA_6, function=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
pin_PullConfig (pull_config=1, ll_pin=64, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:44 | |
44 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_UP); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=1, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x080045cc | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045d0 | |
LL_GPIO_SetPinPull (Pull=1, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045d2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045d6 | |
halted: PC: 0x080045d8 | |
halted: PC: 0x080045da | |
halted: PC: 0x080045de | |
halted: PC: 0x080045e2 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045e6 | |
LL_GPIO_SetPinPull (Pull=1, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045e8 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045ec | |
halted: PC: 0x080045ee | |
halted: PC: 0x080045f0 | |
halted: PC: 0x080045f4 | |
halted: PC: 0x080045f6 | |
halted: PC: 0x080045f8 | |
halted: PC: 0x08004668 | |
pinmap_pinout (pin=<optimized out>, map=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:255 | |
255 return; | |
(gdb) | |
halted: PC: 0x08004674 | |
halted: PC: 0x080009c4 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:258 | |
258 pinmap_pinout(obj->pin_sclk, PinMap_SPI_SCLK); | |
(gdb) | |
halted: PC: 0x080009c6 | |
halted: PC: 0x080009c8 | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=PA_5, map=0x8006a2c <PinMap_SPI_SCLK>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x0800464e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x08004662 | |
254 pin_function(pin, map->function); | |
(gdb) | |
halted: PC: 0x08004664 | |
halted: PC: 0x08004444 | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:120 | |
120 { | |
(gdb) | |
halted: PC: 0x08004448 | |
halted: PC: 0x0800444a | |
halted: PC: 0x0800444c | |
122 uint32_t mode = STM_PIN_FUNCTION(function); | |
(gdb) | |
halted: PC: 0x08004450 | |
123 uint32_t afnum = STM_PIN_AFNUM(function); | |
(gdb) | |
halted: PC: 0x08004454 | |
124 uint32_t port = STM_PORT(pin); | |
(gdb) | |
halted: PC: 0x08004458 | |
125 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x0800445c | |
halted: PC: 0x0800445e | |
halted: PC: 0x08004462 | |
128 if (pin == (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004466 | |
halted: PC: 0x08004468 | |
172 GPIO_TypeDef *gpio = set_GPIO_Port_Clock(port); | |
(gdb) | |
halted: PC: 0x0800446a | |
halted: PC: 0x0800429c | |
set_GPIO_Port_Clock (port_idx=port_idx@entry=0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\PortNames.c:69 | |
69 { | |
(gdb) | |
halted: PC: 0x0800429e | |
71 switch (port_idx) { | |
(gdb) | |
halted: PC: 0x080042a0 | |
halted: PC: 0x080042a2 | |
halted: PC: 0x080042ac | |
74 __HAL_RCC_GPIOA_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x080042ae | |
halted: PC: 0x080042b0 | |
halted: PC: 0x080042b2 | |
halted: PC: 0x080042b4 | |
halted: PC: 0x080042b8 | |
halted: PC: 0x080042ba | |
halted: PC: 0x080042bc | |
halted: PC: 0x080042c0 | |
halted: PC: 0x080042c2 | |
halted: PC: 0x080042c4 | |
75 break; | |
(gdb) | |
halted: PC: 0x080042c6 | |
halted: PC: 0x080042c8 | |
halted: PC: 0x0800446e | |
halted: PC: 0x08004470 | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:185 | |
185 LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH); | |
(gdb) | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
halted: PC: 0x08004472 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004476 | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004478 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800447c | |
halted: PC: 0x0800447e | |
halted: PC: 0x08004480 | |
halted: PC: 0x08004484 | |
halted: PC: 0x08004488 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800448c | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800448e | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004492 | |
halted: PC: 0x08004494 | |
halted: PC: 0x08004496 | |
halted: PC: 0x0800449a | |
halted: PC: 0x0800449c | |
halted: PC: 0x0800449e | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:193 | |
193 switch (mode) { | |
(gdb) | |
halted: PC: 0x080044a0 | |
halted: PC: 0x080044a2 | |
halted: PC: 0x080044bc | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
pin_SetAFPin (afnum=5, pin=PA_5, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:75 | |
75 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x080044c0 | |
halted: PC: 0x080044c2 | |
halted: PC: 0x080044c6 | |
78 if (STM_PIN(pin) > 7) { | |
(gdb) | |
halted: PC: 0x080044ca | |
halted: PC: 0x08004508 | |
81 LL_GPIO_SetAFPin_0_7(gpio, ll_pin, afnum); | |
(gdb) | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
halted: PC: 0x0800450a | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800450e | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004510 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004514 | |
halted: PC: 0x08004516 | |
halted: PC: 0x08004518 | |
halted: PC: 0x0800451c | |
halted: PC: 0x08004520 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004524 | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004526 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800452a | |
halted: PC: 0x0800452c | |
halted: PC: 0x08004530 | |
halted: PC: 0x08004534 | |
halted: PC: 0x08004536 | |
halted: PC: 0x080044fc | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/lock_resource.h:192 | |
192 UNUSED(semID); | |
(gdb) | |
halted: PC: 0x080044fe | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
0x080044fe in pin_SetAFPin (afnum=0, pin=PA_5, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:85 | |
85 } | |
(gdb) | |
halted: PC: 0x0800454e | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:216 | |
216 LL_GPIO_SetPinMode(gpio, ll_pin, ll_mode); | |
(gdb) | |
LL_GPIO_SetPinMode (Mode=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08004550 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004554 | |
LL_GPIO_SetPinMode (Mode=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004556 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800455a | |
halted: PC: 0x0800455c | |
halted: PC: 0x0800455e | |
halted: PC: 0x08004562 | |
halted: PC: 0x08004566 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800456a | |
LL_GPIO_SetPinMode (Mode=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800456c | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004570 | |
halted: PC: 0x08004572 | |
halted: PC: 0x08004576 | |
halted: PC: 0x08004578 | |
halted: PC: 0x0800457a | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:227 | |
227 if ((mode == STM_PIN_OUTPUT) || (mode == STM_PIN_ALTERNATE)) { | |
(gdb) | |
halted: PC: 0x0800457c | |
halted: PC: 0x0800457e | |
halted: PC: 0x080045b2 | |
228 if (STM_PIN_OD(function)) { | |
(gdb) | |
halted: PC: 0x080045b6 | |
halted: PC: 0x080045c0 | |
231 LL_GPIO_SetPinOutputType(gpio, ll_pin, LL_GPIO_OUTPUT_PUSHPULL); | |
(gdb) | |
LL_GPIO_SetPinOutputType (OutputType=0, PinMask=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:345 | |
345 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); | |
(gdb) | |
halted: PC: 0x080045c2 | |
halted: PC: 0x080045c6 | |
halted: PC: 0x080045c8 | |
halted: PC: 0x08004580 | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
halted: PC: 0x08004584 | |
pin_PullConfig (pull_config=1, ll_pin=32, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x08004586 | |
halted: PC: 0x080045ca | |
pin_function (pin=PA_5, function=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
pin_PullConfig (pull_config=1, ll_pin=32, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:44 | |
44 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_UP); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=1, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x080045cc | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045d0 | |
LL_GPIO_SetPinPull (Pull=1, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045d2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045d6 | |
halted: PC: 0x080045d8 | |
halted: PC: 0x080045da | |
halted: PC: 0x080045de | |
halted: PC: 0x080045e2 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045e6 | |
LL_GPIO_SetPinPull (Pull=1, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045e8 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045ec | |
halted: PC: 0x080045ee | |
halted: PC: 0x080045f0 | |
halted: PC: 0x080045f4 | |
halted: PC: 0x080045f6 | |
halted: PC: 0x080045f8 | |
halted: PC: 0x08004668 | |
pinmap_pinout (pin=<optimized out>, map=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:255 | |
255 return; | |
(gdb) | |
halted: PC: 0x08004674 | |
halted: PC: 0x080009cc | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:263 | |
263 pull = (handle->Init.CLKPolarity == SPI_POLARITY_LOW) ? GPIO_PULLDOWN : GPIO_PULLUP; | |
(gdb) | |
halted: PC: 0x080009ce | |
halted: PC: 0x080009d0 | |
halted: PC: 0x080009d2 | |
264 pin_PullConfig(get_GPIO_Port(STM_PORT(obj->pin_sclk)), STM_LL_GPIO_PIN(obj->pin_sclk), pull); | |
(gdb) | |
halted: PC: 0x080009d4 | |
halted: PC: 0x080009d8 | |
halted: PC: 0x080009da | |
halted: PC: 0x080009dc | |
halted: PC: 0x080009de | |
halted: PC: 0x080009e2 | |
halted: PC: 0x080009e6 | |
halted: PC: 0x080009e8 | |
halted: PC: 0x080009ec | |
pin_PullConfig (pull_config=2, ll_pin=32, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x080009ee | |
halted: PC: 0x080009f0 | |
halted: PC: 0x080009f2 | |
halted: PC: 0x08000aa4 | |
52 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_DOWN); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08000aa6 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08000aaa | |
LL_GPIO_SetPinPull (Pull=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08000aac | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08000ab0 | |
halted: PC: 0x08000ab2 | |
halted: PC: 0x08000ab4 | |
halted: PC: 0x08000ab8 | |
halted: PC: 0x08000abc | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08000ac0 | |
LL_GPIO_SetPinPull (Pull=2, Pin=<optimized out>, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08000ac2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08000ac6 | |
halted: PC: 0x08000ac8 | |
halted: PC: 0x08000aca | |
halted: PC: 0x08000ace | |
halted: PC: 0x08000ad0 | |
halted: PC: 0x08000ad2 | |
halted: PC: 0x08000a56 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:265 | |
265 pinmap_pinout(obj->pin_ssel, PinMap_SPI_SSEL); | |
(gdb) | |
halted: PC: 0x08000a58 | |
halted: PC: 0x08000a5a | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=NC, map=0x8006a98 <PinMap_SPI_SSEL>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x08004660 | |
halted: PC: 0x08000a5e | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:269 | |
269 if (handle->Instance == SPI1) { | |
(gdb) | |
halted: PC: 0x08000a60 | |
halted: PC: 0x08000a62 | |
halted: PC: 0x08000a64 | |
halted: PC: 0x08000ae0 | |
270 __HAL_RCC_SPI1_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x08000ae2 | |
halted: PC: 0x08000ae4 | |
halted: PC: 0x08000ae6 | |
halted: PC: 0x08000ae8 | |
halted: PC: 0x08000aec | |
halted: PC: 0x08000aee | |
halted: PC: 0x08000af0 | |
halted: PC: 0x08000af4 | |
halted: PC: 0x08000af6 | |
halted: PC: 0x08000af8 | |
halted: PC: 0x08000a66 | |
275 if (handle->Instance == SPI2) { | |
(gdb) | |
halted: PC: 0x08000a68 | |
halted: PC: 0x08000a6a | |
halted: PC: 0x08000a6c | |
halted: PC: 0x08000a6e | |
281 if (handle->Instance == SPI3) { | |
(gdb) | |
halted: PC: 0x08000a70 | |
halted: PC: 0x08000a72 | |
halted: PC: 0x08000a74 | |
halted: PC: 0x08000a76 | |
287 if (handle->Instance == SPI4) { | |
(gdb) | |
halted: PC: 0x08000a78 | |
halted: PC: 0x08000a7a | |
halted: PC: 0x08000a7c | |
halted: PC: 0x08000a7e | |
293 if (handle->Instance == SPI5) { | |
(gdb) | |
halted: PC: 0x08000a80 | |
halted: PC: 0x08000a82 | |
halted: PC: 0x08000a84 | |
halted: PC: 0x08000a86 | |
304 HAL_SPI_Init(handle); | |
(gdb) | |
halted: PC: 0x08000a88 | |
halted: PC: 0x08003ab6 | |
HAL_SPI_Init (hspi=hspi@entry=0x200000dc <SPI_1+52>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c:316 | |
316 if (hspi == NULL) | |
(gdb) | |
halted: PC: 0x08003ab8 | |
halted: PC: 0x08003aba | |
halted: PC: 0x08003abc | |
halted: PC: 0x08003abe | |
330 if (hspi->Init.TIMode == SPI_TIMODE_DISABLE) | |
(gdb) | |
halted: PC: 0x08003ac0 | |
halted: PC: 0x08003ac2 | |
335 if (hspi->Init.Mode == SPI_MODE_MASTER) | |
(gdb) | |
halted: PC: 0x08003ac4 | |
halted: PC: 0x08003ac8 | |
halted: PC: 0x08003ad6 | |
360 hspi->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; | |
(gdb) | |
halted: PC: 0x08003ad8 | |
halted: PC: 0x08003ada | |
363 if (hspi->State == HAL_SPI_STATE_RESET) | |
(gdb) | |
halted: PC: 0x08003ade | |
halted: PC: 0x08003ae0 | |
halted: PC: 0x08003b64 | |
366 hspi->Lock = HAL_UNLOCKED; | |
(gdb) | |
halted: PC: 0x08003b68 | |
388 HAL_SPI_MspInit(hspi); | |
(gdb) | |
halted: PC: 0x08003b6a | |
halted: PC: 0x08003ab4 | |
HAL_SPI_MspInit (hspi=hspi@entry=0x200000dc <SPI_1+52>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c:486 | |
486 UNUSED(hspi); | |
(gdb) | |
halted: PC: 0x08003b6e | |
halted: PC: 0x08003ae2 | |
HAL_SPI_Init (hspi=hspi@entry=0x200000dc <SPI_1+52>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c:392 | |
392 hspi->State = HAL_SPI_STATE_BUSY; | |
(gdb) | |
halted: PC: 0x08003ae4 | |
halted: PC: 0x08003ae8 | |
395 __HAL_SPI_DISABLE(hspi); | |
(gdb) | |
halted: PC: 0x08003aea | |
halted: PC: 0x08003aec | |
halted: PC: 0x08003af0 | |
halted: PC: 0x08003af2 | |
400 WRITE_REG(hspi->Instance->CR1, ((hspi->Init.Mode & (SPI_CR1_MSTR | SPI_CR1_SSI)) | | |
(gdb) | |
halted: PC: 0x08003af4 | |
halted: PC: 0x08003af8 | |
halted: PC: 0x08003afa | |
halted: PC: 0x08003afe | |
halted: PC: 0x08003b00 | |
halted: PC: 0x08003b02 | |
halted: PC: 0x08003b06 | |
halted: PC: 0x08003b08 | |
halted: PC: 0x08003b0a | |
halted: PC: 0x08003b0e | |
halted: PC: 0x08003b10 | |
halted: PC: 0x08003b12 | |
halted: PC: 0x08003b16 | |
halted: PC: 0x08003b18 | |
halted: PC: 0x08003b1a | |
halted: PC: 0x08003b1e | |
halted: PC: 0x08003b20 | |
halted: PC: 0x08003b22 | |
halted: PC: 0x08003b26 | |
halted: PC: 0x08003b28 | |
halted: PC: 0x08003b2a | |
halted: PC: 0x08003b2e | |
halted: PC: 0x08003b30 | |
halted: PC: 0x08003b32 | |
halted: PC: 0x08003b36 | |
halted: PC: 0x08003b38 | |
halted: PC: 0x08003b3a | |
halted: PC: 0x08003b3c | |
411 WRITE_REG(hspi->Instance->CR2, (((hspi->Init.NSS >> 16U) & SPI_CR2_SSOE) | (hspi->Init.TIMode & SPI_CR2_FRF))); | |
(gdb) | |
halted: PC: 0x08003b3e | |
halted: PC: 0x08003b42 | |
halted: PC: 0x08003b44 | |
halted: PC: 0x08003b48 | |
halted: PC: 0x08003b4a | |
halted: PC: 0x08003b4c | |
halted: PC: 0x08003b4e | |
424 CLEAR_BIT(hspi->Instance->I2SCFGR, SPI_I2SCFGR_I2SMOD); | |
(gdb) | |
halted: PC: 0x08003b50 | |
halted: PC: 0x08003b52 | |
halted: PC: 0x08003b56 | |
halted: PC: 0x08003b58 | |
427 hspi->ErrorCode = HAL_SPI_ERROR_NONE; | |
(gdb) | |
halted: PC: 0x08003b5a | |
halted: PC: 0x08003b5c | |
428 hspi->State = HAL_SPI_STATE_READY; | |
(gdb) | |
halted: PC: 0x08003b5e | |
halted: PC: 0x08003b62 | |
430 return HAL_OK; | |
(gdb) | |
halted: PC: 0x08000a8c | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=4000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:307 | |
307 __HAL_SPI_ENABLE(handle); | |
(gdb) | |
halted: PC: 0x08000a8e | |
halted: PC: 0x08000a90 | |
halted: PC: 0x08000a94 | |
halted: PC: 0x08000a96 | |
halted: PC: 0x08000a98 | |
halted: PC: 0x08000556 | |
SPIClass::begin (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$') | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:76 | |
76 _CSPinConfig = _pin; | |
(gdb) | |
halted: PC: 0x08000558 | |
halted: PC: 0x080014a4 | |
Adafruit_SPITFT::initSPI (this=0x2001ff9c, freq=32000000, spiMode=<optimized out>) | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:641 | |
641 if (_rst >= 0) { | |
(gdb) | |
halted: PC: 0x080014a8 | |
halted: PC: 0x080014aa | |
halted: PC: 0x080014ac | |
halted: PC: 0x080014ae | |
halted: PC: 0x08001f38 | |
halted: PC: 0x08002098 | |
Adafruit_ST77xx::commonInit (this=this@entry=0x2001ff9c, cmdList=cmdList@entry=0x0) | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST77xx.cpp:142 | |
142 if (cmdList) { | |
(gdb) | |
halted: PC: 0x080020a2 | |
halted: PC: 0x08001e82 | |
Adafruit_ST7789::init (this=this@entry=0x2001ff9c, width=width@entry=240, height=height@entry=320, mode=mode@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST7789.cpp:106 | |
106 if (width < 240) { | |
(gdb) | |
halted: PC: 0x08001e84 | |
halted: PC: 0x08001ed4 | |
111 } else if (width == 240 && height == 280) { | |
(gdb) | |
halted: PC: 0x08001ed6 | |
halted: PC: 0x08001ef6 | |
halted: PC: 0x08001efa | |
halted: PC: 0x08001ed8 | |
118 _rowstart = (320 - height); | |
(gdb) | |
halted: PC: 0x08001edc | |
halted: PC: 0x08001ee0 | |
119 _rowstart2 = 0; | |
(gdb) | |
halted: PC: 0x08001ee2 | |
halted: PC: 0x08001ee6 | |
120 _colstart = _colstart2 = (240 - width); | |
(gdb) | |
halted: PC: 0x08001eea | |
halted: PC: 0x08001eec | |
halted: PC: 0x08001ef0 | |
halted: PC: 0x08001ef4 | |
halted: PC: 0x08001eb8 | |
123 windowWidth = width; | |
(gdb) | |
halted: PC: 0x08001ebc | |
124 windowHeight = height; | |
(gdb) | |
halted: PC: 0x08001ec0 | |
126 displayInit(generic_st7789); | |
(gdb) | |
halted: PC: 0x08001ec2 | |
halted: PC: 0x08001ec4 | |
halted: PC: 0x0800203c | |
Adafruit_ST77xx::displayInit (this=this@entry=0x2001ff9c, addr=addr@entry=0x8006760 <generic_st7789> "\t\001\200\226\021\200\n:?U\n6\001\b*\004") | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST77xx.cpp:91 | |
91 void Adafruit_ST77xx::displayInit(const uint8_t *addr) { | |
(gdb) | |
halted: PC: 0x08002040 | |
halted: PC: 0x08002042 | |
96 numCommands = pgm_read_byte(addr++); // Number of commands to follow | |
(gdb) | |
halted: PC: 0x08002044 | |
halted: PC: 0x08002048 | |
halted: PC: 0x08002052 | |
97 while (numCommands--) { // For each command... | |
(gdb) | |
halted: PC: 0x08002054 | |
halted: PC: 0x08002058 | |
halted: PC: 0x0800205a | |
98 cmd = pgm_read_byte(addr++); // Read command | |
(gdb) | |
halted: PC: 0x0800205c | |
halted: PC: 0x08002060 | |
99 numArgs = pgm_read_byte(addr++); // Number of args to follow | |
(gdb) | |
halted: PC: 0x08002062 | |
101 numArgs &= ~ST_CMD_DELAY; // Mask out delay bit | |
(gdb) | |
halted: PC: 0x08002066 | |
102 sendCommand(cmd, addr, numArgs); | |
(gdb) | |
halted: PC: 0x08002068 | |
halted: PC: 0x0800206a | |
halted: PC: 0x0800206c | |
halted: PC: 0x08001c50 | |
Adafruit_SPITFT::sendCommand (this=this@entry=0x2001ff9c, commandByte=1 '\001', | |
dataBytes=dataBytes@entry=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", numDataBytes=numDataBytes@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:1900 | |
1900 uint8_t numDataBytes) { | |
(gdb) | |
halted: PC: 0x08001c52 | |
halted: PC: 0x08001c54 | |
halted: PC: 0x08001c56 | |
halted: PC: 0x08001c58 | |
halted: PC: 0x08001c5a | |
halted: PC: 0x08001c5c | |
1901 SPI_BEGIN_TRANSACTION(); | |
(gdb) | |
Adafruit_SPITFT::SPI_BEGIN_TRANSACTION (this=0x2001ff9c) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:2032 | |
2032 if (connection == TFT_HARD_SPI) { | |
(gdb) | |
halted: PC: 0x08001c60 | |
halted: PC: 0x08001c8a | |
Adafruit_SPITFT::sendCommand (this=this@entry=0x2001ff9c, commandByte=1 '\001', | |
dataBytes=dataBytes@entry=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", numDataBytes=numDataBytes@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:1901 | |
1901 SPI_BEGIN_TRANSACTION(); | |
(gdb) | |
Adafruit_SPITFT::SPI_BEGIN_TRANSACTION (this=0x2001ff9c) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:2034 | |
2034 hwspi._spi->beginTransaction(hwspi.settings); | |
(gdb) | |
halted: PC: 0x08001c8c | |
halted: PC: 0x08001c90 | |
halted: PC: 0x08001c92 | |
halted: PC: 0x08001c96 | |
SPIClass::beginTransaction (settings=..., this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:165 | |
165 beginTransaction(CS_PIN_CONTROLLED_BY_USER, settings); | |
(gdb) | |
halted: PC: 0x08001c98 | |
halted: PC: 0x08001c9a | |
halted: PC: 0x08001c9c | |
halted: PC: 0x08001c9e | |
halted: PC: 0x08001ca0 | |
halted: PC: 0x08000580 | |
SPIClass::beginTransaction (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$', settings=...) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:97 | |
97 { | |
(gdb) | |
halted: PC: 0x08000582 | |
halted: PC: 0x08000584 | |
halted: PC: 0x08000586 | |
halted: PC: 0x08000588 | |
halted: PC: 0x0800058a | |
halted: PC: 0x0800058e | |
98 uint8_t idx = pinIdx(_pin, ADD_NEW_PIN); | |
(gdb) | |
SPIClass::pinIdx (option=SPIClass::ADD_NEW_PIN, _pin=36 '$', this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:251 | |
251 if ((_pin > NUM_DIGITAL_PINS) && (!digitalPinIsValid(_pin))) { | |
(gdb) | |
halted: PC: 0x08000590 | |
halted: PC: 0x080005c4 | |
halted: PC: 0x080005c6 | |
255 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x080005c8 | |
halted: PC: 0x080005ca | |
256 if (_pin == spiSettings[i].pinCS) { | |
(gdb) | |
halted: PC: 0x080005ce | |
halted: PC: 0x080005d2 | |
halted: PC: 0x080005d4 | |
halted: PC: 0x080005fe | |
SPIClass::beginTransaction (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$', settings=...) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:99 | |
99 if (idx >= NB_SPI_SETTINGS) { | |
(gdb) | |
halted: PC: 0x08000600 | |
halted: PC: 0x08000602 | |
103 spiSettings[idx].clk = settings.clk; | |
(gdb) | |
halted: PC: 0x08000604 | |
halted: PC: 0x08000608 | |
halted: PC: 0x0800060c | |
halted: PC: 0x0800060e | |
halted: PC: 0x08000610 | |
104 spiSettings[idx].dMode = settings.dMode; | |
(gdb) | |
halted: PC: 0x08000614 | |
halted: PC: 0x08000616 | |
105 spiSettings[idx].bOrder = settings.bOrder; | |
(gdb) | |
halted: PC: 0x0800061a | |
halted: PC: 0x0800061c | |
106 spiSettings[idx].noReceive = settings.noReceive; | |
(gdb) | |
halted: PC: 0x08000620 | |
halted: PC: 0x08000622 | |
108 if ((_pin != CS_PIN_CONTROLLED_BY_USER) && (_spi.pin_ssel == NC)) { | |
(gdb) | |
halted: PC: 0x08000624 | |
halted: PC: 0x08000630 | |
113 spi_init(&_spi, spiSettings[idx].clk, | |
(gdb) | |
halted: PC: 0x08000634 | |
halted: PC: 0x08000638 | |
halted: PC: 0x0800063a | |
halted: PC: 0x0800063c | |
halted: PC: 0x0800063e | |
halted: PC: 0x08000640 | |
halted: PC: 0x08000644 | |
halted: PC: 0x08000880 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=SPI_MODE_0, msb=1 '\001') | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:159 | |
159 if (obj == NULL) { | |
(gdb) | |
halted: PC: 0x08000882 | |
halted: PC: 0x08000886 | |
halted: PC: 0x0800088a | |
halted: PC: 0x0800088c | |
halted: PC: 0x0800088e | |
halted: PC: 0x08000890 | |
halted: PC: 0x08000892 | |
halted: PC: 0x08000894 | |
168 SPI_TypeDef *spi_mosi = pinmap_peripheral(obj->pin_mosi, PinMap_SPI_MOSI); | |
(gdb) | |
halted: PC: 0x08000896 | |
halted: PC: 0x08000898 | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=PA_7, map=0x80069cc <PinMap_SPI_MOSI>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x0800469a | |
halted: PC: 0x0800469c | |
278 peripheral = pinmap_find_peripheral(pin, map); | |
(gdb) | |
halted: PC: 0x0800467c | |
pinmap_find_peripheral (pin=PA_7, map=0x80069cc <PinMap_SPI_MOSI>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:264 | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x08004688 | |
268 map++; | |
(gdb) | |
halted: PC: 0x0800468a | |
halted: PC: 0x0800467c | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x0800468c | |
266 return map->peripheral; | |
(gdb) | |
halted: PC: 0x0800468e | |
halted: PC: 0x080046a0 | |
halted: PC: 0x0800089c | |
halted: PC: 0x0800089e | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:169 | |
169 SPI_TypeDef *spi_miso = pinmap_peripheral(obj->pin_miso, PinMap_SPI_MISO); | |
(gdb) | |
halted: PC: 0x080008a0 | |
halted: PC: 0x080008a2 | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=PA_6, map=0x8006978 <PinMap_SPI_MISO>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x0800469a | |
halted: PC: 0x0800469c | |
278 peripheral = pinmap_find_peripheral(pin, map); | |
(gdb) | |
halted: PC: 0x0800467c | |
pinmap_find_peripheral (pin=PA_6, map=0x8006978 <PinMap_SPI_MISO>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:264 | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x0800468c | |
266 return map->peripheral; | |
(gdb) | |
halted: PC: 0x0800468e | |
halted: PC: 0x080046a0 | |
halted: PC: 0x080008a6 | |
halted: PC: 0x080008a8 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:170 | |
170 SPI_TypeDef *spi_sclk = pinmap_peripheral(obj->pin_sclk, PinMap_SPI_SCLK); | |
(gdb) | |
halted: PC: 0x080008aa | |
halted: PC: 0x080008ac | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=PA_5, map=0x8006a2c <PinMap_SPI_SCLK>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x0800469a | |
halted: PC: 0x0800469c | |
278 peripheral = pinmap_find_peripheral(pin, map); | |
(gdb) | |
halted: PC: 0x0800467c | |
pinmap_find_peripheral (pin=PA_5, map=0x8006a2c <PinMap_SPI_SCLK>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:264 | |
264 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x0800467e | |
halted: PC: 0x08004682 | |
halted: PC: 0x08004684 | |
265 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x08004686 | |
halted: PC: 0x0800468c | |
266 return map->peripheral; | |
(gdb) | |
halted: PC: 0x0800468e | |
halted: PC: 0x080046a0 | |
halted: PC: 0x080008b0 | |
halted: PC: 0x080008b2 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:171 | |
171 SPI_TypeDef *spi_ssel = pinmap_peripheral(obj->pin_ssel, PinMap_SPI_SSEL); | |
(gdb) | |
halted: PC: 0x080008b4 | |
halted: PC: 0x080008b6 | |
halted: PC: 0x08004694 | |
pinmap_peripheral (pin=NC, map=0x8006a98 <PinMap_SPI_SSEL>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:277 | |
277 if (pin != (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004698 | |
halted: PC: 0x080046a2 | |
halted: PC: 0x080046a4 | |
280 return peripheral; | |
(gdb) | |
halted: PC: 0x080008ba | |
halted: PC: 0x080008bc | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:174 | |
174 if (spi_mosi == NP || spi_miso == NP || spi_sclk == NP) { | |
(gdb) | |
halted: PC: 0x080008c0 | |
halted: PC: 0x080008c4 | |
halted: PC: 0x080008c8 | |
halted: PC: 0x080008cc | |
halted: PC: 0x080008d0 | |
halted: PC: 0x080008d4 | |
179 SPI_TypeDef *spi_data = pinmap_merge_peripheral(spi_mosi, spi_miso); | |
(gdb) | |
halted: PC: 0x080008d6 | |
halted: PC: 0x080008d8 | |
halted: PC: 0x080046cc | |
pinmap_merge_peripheral (a=a@entry=0x40013000, b=b@entry=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:329 | |
329 if (a == b) { | |
(gdb) | |
halted: PC: 0x080046ce | |
halted: PC: 0x080046da | |
halted: PC: 0x080008dc | |
halted: PC: 0x080008de | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:180 | |
180 SPI_TypeDef *spi_cntl = pinmap_merge_peripheral(spi_sclk, spi_ssel); | |
(gdb) | |
halted: PC: 0x080008e0 | |
halted: PC: 0x080008e2 | |
halted: PC: 0x080046cc | |
pinmap_merge_peripheral (a=a@entry=0x40013000, b=b@entry=0x0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:329 | |
329 if (a == b) { | |
(gdb) | |
halted: PC: 0x080046ce | |
halted: PC: 0x080046d0 | |
334 if (a == NP) { | |
(gdb) | |
halted: PC: 0x080046d2 | |
337 if (b == NP) { | |
(gdb) | |
halted: PC: 0x080046da | |
halted: PC: 0x080008e6 | |
halted: PC: 0x080008e8 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:182 | |
182 obj->spi = pinmap_merge_peripheral(spi_data, spi_cntl); | |
(gdb) | |
halted: PC: 0x080008ea | |
halted: PC: 0x080008ec | |
halted: PC: 0x080046cc | |
pinmap_merge_peripheral (a=a@entry=0x40013000, b=b@entry=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:329 | |
329 if (a == b) { | |
(gdb) | |
halted: PC: 0x080046ce | |
halted: PC: 0x080046da | |
halted: PC: 0x080008f0 | |
halted: PC: 0x080008f2 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:185 | |
185 if (spi_data == NP || spi_cntl == NP || obj->spi == NP) { | |
(gdb) | |
halted: PC: 0x080008f6 | |
halted: PC: 0x080008fa | |
halted: PC: 0x080008fe | |
halted: PC: 0x08000902 | |
halted: PC: 0x08000904 | |
halted: PC: 0x08000908 | |
191 if (obj->pin_ssel != NC) { | |
(gdb) | |
halted: PC: 0x0800090a | |
halted: PC: 0x0800090e | |
halted: PC: 0x0800093c | |
194 handle->Init.NSS = SPI_NSS_SOFT; | |
(gdb) | |
halted: PC: 0x08000940 | |
halted: PC: 0x08000942 | |
halted: PC: 0x08000916 | |
198 handle->Instance = obj->spi; | |
(gdb) | |
halted: PC: 0x08000918 | |
199 handle->Init.Mode = SPI_MODE_MASTER; | |
(gdb) | |
halted: PC: 0x0800091c | |
halted: PC: 0x0800091e | |
201 spi_freq = spi_getClkFreqInst(obj->spi); | |
(gdb) | |
halted: PC: 0x08000834 | |
spi_getClkFreqInst (spi_inst=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:56 | |
56 { | |
(gdb) | |
halted: PC: 0x08000836 | |
halted: PC: 0x08000838 | |
57 uint32_t spi_freq = SystemCoreClock; | |
(gdb) | |
halted: PC: 0x0800083a | |
halted: PC: 0x0800083c | |
87 if (spi_inst != NP) { | |
(gdb) | |
halted: PC: 0x0800083e | |
halted: PC: 0x08000840 | |
89 switch ((uint32_t)spi_inst) { | |
(gdb) | |
halted: PC: 0x08000842 | |
halted: PC: 0x08000844 | |
halted: PC: 0x08000846 | |
halted: PC: 0x08000848 | |
halted: PC: 0x0800084a | |
halted: PC: 0x0800084c | |
halted: PC: 0x0800084e | |
halted: PC: 0x08000852 | |
halted: PC: 0x08000854 | |
halted: PC: 0x08000856 | |
halted: PC: 0x0800085a | |
halted: PC: 0x0800085c | |
halted: PC: 0x0800086e | |
105 spi_freq = HAL_RCC_GetPCLK2Freq(); | |
(gdb) | |
halted: PC: 0x08003a94 | |
HAL_RCC_GetPCLK2Freq () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:969 | |
969 return (HAL_RCC_GetHCLKFreq()>> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2)>> RCC_CFGR_PPRE2_Pos]); | |
(gdb) | |
halted: PC: 0x08003a68 | |
HAL_RCC_GetHCLKFreq () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:945 | |
945 return SystemCoreClock; | |
(gdb) | |
halted: PC: 0x08003a6a | |
halted: PC: 0x08003a6c | |
halted: PC: 0x08003a9a | |
halted: PC: 0x08003a9c | |
halted: PC: 0x08003a9e | |
halted: PC: 0x08003aa2 | |
halted: PC: 0x08003aa4 | |
halted: PC: 0x08003aa6 | |
halted: PC: 0x08003aa8 | |
halted: PC: 0x08000872 | |
spi_getClkFreqInst (spi_inst=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:106 | |
106 break; | |
(gdb) | |
halted: PC: 0x0800085e | |
halted: PC: 0x08000922 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:202 | |
202 if (speed >= (spi_freq / SPI_SPEED_CLOCK_DIV2_MHZ)) { | |
(gdb) | |
halted: PC: 0x08000926 | |
halted: PC: 0x08000944 | |
204 } else if (speed >= (spi_freq / SPI_SPEED_CLOCK_DIV4_MHZ)) { | |
(gdb) | |
halted: PC: 0x08000948 | |
halted: PC: 0x0800094a | |
205 handle->Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_4; | |
(gdb) | |
halted: PC: 0x0800094c | |
halted: PC: 0x0800094e | |
halted: PC: 0x0800092c | |
224 handle->Init.Direction = SPI_DIRECTION_2LINES; | |
(gdb) | |
halted: PC: 0x0800092e | |
halted: PC: 0x08000930 | |
226 if ((mode == SPI_MODE_0) || (mode == SPI_MODE_2)) { | |
(gdb) | |
halted: PC: 0x08000992 | |
227 handle->Init.CLKPhase = SPI_PHASE_1EDGE; | |
(gdb) | |
halted: PC: 0x08000994 | |
halted: PC: 0x08000996 | |
232 if ((mode == SPI_MODE_0) || (mode == SPI_MODE_1)) { | |
(gdb) | |
halted: PC: 0x08000998 | |
halted: PC: 0x08000a12 | |
233 handle->Init.CLKPolarity = SPI_POLARITY_LOW; | |
(gdb) | |
halted: PC: 0x08000a14 | |
halted: PC: 0x08000a16 | |
halted: PC: 0x0800099e | |
238 handle->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; | |
(gdb) | |
halted: PC: 0x080009a0 | |
halted: PC: 0x080009a2 | |
239 handle->Init.CRCPolynomial = 7; | |
(gdb) | |
halted: PC: 0x080009a4 | |
halted: PC: 0x080009a6 | |
240 handle->Init.DataSize = SPI_DATASIZE_8BIT; | |
(gdb) | |
halted: PC: 0x080009a8 | |
242 if (msb == 0) { | |
(gdb) | |
halted: PC: 0x080009aa | |
halted: PC: 0x08000a18 | |
245 handle->Init.FirstBit = SPI_FIRSTBIT_MSB; | |
(gdb) | |
halted: PC: 0x08000a1a | |
halted: PC: 0x08000a1c | |
halted: PC: 0x080009b0 | |
248 handle->Init.TIMode = SPI_TIMODE_DISABLE; | |
(gdb) | |
halted: PC: 0x080009b2 | |
halted: PC: 0x080009b4 | |
256 pinmap_pinout(obj->pin_mosi, PinMap_SPI_MOSI); | |
(gdb) | |
halted: PC: 0x080009b6 | |
halted: PC: 0x080009b8 | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=PA_7, map=0x80069cc <PinMap_SPI_MOSI>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x0800464e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x0800465c | |
257 map++; | |
(gdb) | |
halted: PC: 0x0800465e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x08004662 | |
254 pin_function(pin, map->function); | |
(gdb) | |
halted: PC: 0x08004664 | |
halted: PC: 0x08004444 | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:120 | |
120 { | |
(gdb) | |
halted: PC: 0x08004448 | |
halted: PC: 0x0800444a | |
halted: PC: 0x0800444c | |
122 uint32_t mode = STM_PIN_FUNCTION(function); | |
(gdb) | |
halted: PC: 0x08004450 | |
123 uint32_t afnum = STM_PIN_AFNUM(function); | |
(gdb) | |
halted: PC: 0x08004454 | |
124 uint32_t port = STM_PORT(pin); | |
(gdb) | |
halted: PC: 0x08004458 | |
125 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x0800445c | |
halted: PC: 0x0800445e | |
halted: PC: 0x08004462 | |
128 if (pin == (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004466 | |
halted: PC: 0x08004468 | |
172 GPIO_TypeDef *gpio = set_GPIO_Port_Clock(port); | |
(gdb) | |
halted: PC: 0x0800446a | |
halted: PC: 0x0800429c | |
set_GPIO_Port_Clock (port_idx=port_idx@entry=0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\PortNames.c:69 | |
69 { | |
(gdb) | |
halted: PC: 0x0800429e | |
71 switch (port_idx) { | |
(gdb) | |
halted: PC: 0x080042a0 | |
halted: PC: 0x080042a2 | |
halted: PC: 0x080042ac | |
74 __HAL_RCC_GPIOA_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x080042ae | |
halted: PC: 0x080042b0 | |
halted: PC: 0x080042b2 | |
halted: PC: 0x080042b4 | |
halted: PC: 0x080042b8 | |
halted: PC: 0x080042ba | |
halted: PC: 0x080042bc | |
halted: PC: 0x080042c0 | |
halted: PC: 0x080042c2 | |
halted: PC: 0x080042c4 | |
75 break; | |
(gdb) | |
halted: PC: 0x080042c6 | |
halted: PC: 0x080042c8 | |
halted: PC: 0x0800446e | |
halted: PC: 0x08004470 | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:185 | |
185 LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH); | |
(gdb) | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
halted: PC: 0x08004472 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004476 | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004478 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800447c | |
halted: PC: 0x0800447e | |
halted: PC: 0x08004480 | |
halted: PC: 0x08004484 | |
halted: PC: 0x08004488 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800448c | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800448e | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004492 | |
halted: PC: 0x08004494 | |
halted: PC: 0x08004496 | |
halted: PC: 0x0800449a | |
halted: PC: 0x0800449c | |
halted: PC: 0x0800449e | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:193 | |
193 switch (mode) { | |
(gdb) | |
halted: PC: 0x080044a0 | |
halted: PC: 0x080044a2 | |
halted: PC: 0x080044bc | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
pin_SetAFPin (afnum=5, pin=PA_7, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:75 | |
75 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x080044c0 | |
halted: PC: 0x080044c2 | |
halted: PC: 0x080044c6 | |
78 if (STM_PIN(pin) > 7) { | |
(gdb) | |
halted: PC: 0x080044ca | |
halted: PC: 0x08004508 | |
81 LL_GPIO_SetAFPin_0_7(gpio, ll_pin, afnum); | |
(gdb) | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
halted: PC: 0x0800450a | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800450e | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004510 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004514 | |
halted: PC: 0x08004516 | |
halted: PC: 0x08004518 | |
halted: PC: 0x0800451c | |
halted: PC: 0x08004520 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004524 | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004526 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800452a | |
halted: PC: 0x0800452c | |
halted: PC: 0x08004530 | |
halted: PC: 0x08004534 | |
halted: PC: 0x08004536 | |
halted: PC: 0x080044fc | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/lock_resource.h:192 | |
192 UNUSED(semID); | |
(gdb) | |
halted: PC: 0x080044fe | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
0x080044fe in pin_SetAFPin (afnum=0, pin=PA_7, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:85 | |
85 } | |
(gdb) | |
halted: PC: 0x0800454e | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:216 | |
216 LL_GPIO_SetPinMode(gpio, ll_pin, ll_mode); | |
(gdb) | |
LL_GPIO_SetPinMode (Mode=2, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08004550 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004554 | |
LL_GPIO_SetPinMode (Mode=2, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004556 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800455a | |
halted: PC: 0x0800455c | |
halted: PC: 0x0800455e | |
halted: PC: 0x08004562 | |
halted: PC: 0x08004566 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800456a | |
LL_GPIO_SetPinMode (Mode=2, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800456c | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004570 | |
halted: PC: 0x08004572 | |
halted: PC: 0x08004576 | |
halted: PC: 0x08004578 | |
halted: PC: 0x0800457a | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:227 | |
227 if ((mode == STM_PIN_OUTPUT) || (mode == STM_PIN_ALTERNATE)) { | |
(gdb) | |
halted: PC: 0x0800457c | |
halted: PC: 0x0800457e | |
halted: PC: 0x080045b2 | |
228 if (STM_PIN_OD(function)) { | |
(gdb) | |
halted: PC: 0x080045b6 | |
halted: PC: 0x080045c0 | |
231 LL_GPIO_SetPinOutputType(gpio, ll_pin, LL_GPIO_OUTPUT_PUSHPULL); | |
(gdb) | |
LL_GPIO_SetPinOutputType (OutputType=0, PinMask=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:345 | |
345 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); | |
(gdb) | |
halted: PC: 0x080045c2 | |
halted: PC: 0x080045c6 | |
halted: PC: 0x080045c8 | |
halted: PC: 0x08004580 | |
pin_function (pin=PA_7, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
halted: PC: 0x08004584 | |
pin_PullConfig (pull_config=1, ll_pin=128, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x08004586 | |
halted: PC: 0x080045ca | |
pin_function (pin=PA_7, function=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
pin_PullConfig (pull_config=1, ll_pin=128, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:44 | |
44 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_UP); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=1, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x080045cc | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045d0 | |
LL_GPIO_SetPinPull (Pull=1, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045d2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045d6 | |
halted: PC: 0x080045d8 | |
halted: PC: 0x080045da | |
halted: PC: 0x080045de | |
halted: PC: 0x080045e2 | |
__RBIT (value=128) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045e6 | |
LL_GPIO_SetPinPull (Pull=1, Pin=128, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=16777216) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045e8 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045ec | |
halted: PC: 0x080045ee | |
halted: PC: 0x080045f0 | |
halted: PC: 0x080045f4 | |
halted: PC: 0x080045f6 | |
halted: PC: 0x080045f8 | |
halted: PC: 0x08004668 | |
pinmap_pinout (pin=<optimized out>, map=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:255 | |
255 return; | |
(gdb) | |
halted: PC: 0x08004674 | |
halted: PC: 0x080009bc | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:257 | |
257 pinmap_pinout(obj->pin_miso, PinMap_SPI_MISO); | |
(gdb) | |
halted: PC: 0x080009be | |
halted: PC: 0x080009c0 | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=PA_6, map=0x8006978 <PinMap_SPI_MISO>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x0800464e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x08004662 | |
254 pin_function(pin, map->function); | |
(gdb) | |
halted: PC: 0x08004664 | |
halted: PC: 0x08004444 | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:120 | |
120 { | |
(gdb) | |
halted: PC: 0x08004448 | |
halted: PC: 0x0800444a | |
halted: PC: 0x0800444c | |
122 uint32_t mode = STM_PIN_FUNCTION(function); | |
(gdb) | |
halted: PC: 0x08004450 | |
123 uint32_t afnum = STM_PIN_AFNUM(function); | |
(gdb) | |
halted: PC: 0x08004454 | |
124 uint32_t port = STM_PORT(pin); | |
(gdb) | |
halted: PC: 0x08004458 | |
125 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x0800445c | |
halted: PC: 0x0800445e | |
halted: PC: 0x08004462 | |
128 if (pin == (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004466 | |
halted: PC: 0x08004468 | |
172 GPIO_TypeDef *gpio = set_GPIO_Port_Clock(port); | |
(gdb) | |
halted: PC: 0x0800446a | |
halted: PC: 0x0800429c | |
set_GPIO_Port_Clock (port_idx=port_idx@entry=0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\PortNames.c:69 | |
69 { | |
(gdb) | |
halted: PC: 0x0800429e | |
71 switch (port_idx) { | |
(gdb) | |
halted: PC: 0x080042a0 | |
halted: PC: 0x080042a2 | |
halted: PC: 0x080042ac | |
74 __HAL_RCC_GPIOA_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x080042ae | |
halted: PC: 0x080042b0 | |
halted: PC: 0x080042b2 | |
halted: PC: 0x080042b4 | |
halted: PC: 0x080042b8 | |
halted: PC: 0x080042ba | |
halted: PC: 0x080042bc | |
halted: PC: 0x080042c0 | |
halted: PC: 0x080042c2 | |
halted: PC: 0x080042c4 | |
75 break; | |
(gdb) | |
halted: PC: 0x080042c6 | |
halted: PC: 0x080042c8 | |
halted: PC: 0x0800446e | |
halted: PC: 0x08004470 | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:185 | |
185 LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH); | |
(gdb) | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
halted: PC: 0x08004472 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004476 | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004478 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800447c | |
halted: PC: 0x0800447e | |
halted: PC: 0x08004480 | |
halted: PC: 0x08004484 | |
halted: PC: 0x08004488 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800448c | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800448e | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004492 | |
halted: PC: 0x08004494 | |
halted: PC: 0x08004496 | |
halted: PC: 0x0800449a | |
halted: PC: 0x0800449c | |
halted: PC: 0x0800449e | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:193 | |
193 switch (mode) { | |
(gdb) | |
halted: PC: 0x080044a0 | |
halted: PC: 0x080044a2 | |
halted: PC: 0x080044bc | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
pin_SetAFPin (afnum=5, pin=PA_6, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:75 | |
75 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x080044c0 | |
halted: PC: 0x080044c2 | |
halted: PC: 0x080044c6 | |
78 if (STM_PIN(pin) > 7) { | |
(gdb) | |
halted: PC: 0x080044ca | |
halted: PC: 0x08004508 | |
81 LL_GPIO_SetAFPin_0_7(gpio, ll_pin, afnum); | |
(gdb) | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
halted: PC: 0x0800450a | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800450e | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004510 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004514 | |
halted: PC: 0x08004516 | |
halted: PC: 0x08004518 | |
halted: PC: 0x0800451c | |
halted: PC: 0x08004520 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004524 | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004526 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800452a | |
halted: PC: 0x0800452c | |
halted: PC: 0x08004530 | |
halted: PC: 0x08004534 | |
halted: PC: 0x08004536 | |
halted: PC: 0x080044fc | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/lock_resource.h:192 | |
192 UNUSED(semID); | |
(gdb) | |
halted: PC: 0x080044fe | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
0x080044fe in pin_SetAFPin (afnum=0, pin=PA_6, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:85 | |
85 } | |
(gdb) | |
halted: PC: 0x0800454e | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:216 | |
216 LL_GPIO_SetPinMode(gpio, ll_pin, ll_mode); | |
(gdb) | |
LL_GPIO_SetPinMode (Mode=2, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08004550 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004554 | |
LL_GPIO_SetPinMode (Mode=2, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004556 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800455a | |
halted: PC: 0x0800455c | |
halted: PC: 0x0800455e | |
halted: PC: 0x08004562 | |
halted: PC: 0x08004566 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800456a | |
LL_GPIO_SetPinMode (Mode=2, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800456c | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004570 | |
halted: PC: 0x08004572 | |
halted: PC: 0x08004576 | |
halted: PC: 0x08004578 | |
halted: PC: 0x0800457a | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:227 | |
227 if ((mode == STM_PIN_OUTPUT) || (mode == STM_PIN_ALTERNATE)) { | |
(gdb) | |
halted: PC: 0x0800457c | |
halted: PC: 0x0800457e | |
halted: PC: 0x080045b2 | |
228 if (STM_PIN_OD(function)) { | |
(gdb) | |
halted: PC: 0x080045b6 | |
halted: PC: 0x080045c0 | |
231 LL_GPIO_SetPinOutputType(gpio, ll_pin, LL_GPIO_OUTPUT_PUSHPULL); | |
(gdb) | |
LL_GPIO_SetPinOutputType (OutputType=0, PinMask=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:345 | |
345 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); | |
(gdb) | |
halted: PC: 0x080045c2 | |
halted: PC: 0x080045c6 | |
halted: PC: 0x080045c8 | |
halted: PC: 0x08004580 | |
pin_function (pin=PA_6, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
halted: PC: 0x08004584 | |
pin_PullConfig (pull_config=1, ll_pin=64, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x08004586 | |
halted: PC: 0x080045ca | |
pin_function (pin=PA_6, function=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
pin_PullConfig (pull_config=1, ll_pin=64, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:44 | |
44 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_UP); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=1, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x080045cc | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045d0 | |
LL_GPIO_SetPinPull (Pull=1, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045d2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045d6 | |
halted: PC: 0x080045d8 | |
halted: PC: 0x080045da | |
halted: PC: 0x080045de | |
halted: PC: 0x080045e2 | |
__RBIT (value=64) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045e6 | |
LL_GPIO_SetPinPull (Pull=1, Pin=64, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=33554432) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045e8 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045ec | |
halted: PC: 0x080045ee | |
halted: PC: 0x080045f0 | |
halted: PC: 0x080045f4 | |
halted: PC: 0x080045f6 | |
halted: PC: 0x080045f8 | |
halted: PC: 0x08004668 | |
pinmap_pinout (pin=<optimized out>, map=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:255 | |
255 return; | |
(gdb) | |
halted: PC: 0x08004674 | |
halted: PC: 0x080009c4 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:258 | |
258 pinmap_pinout(obj->pin_sclk, PinMap_SPI_SCLK); | |
(gdb) | |
halted: PC: 0x080009c6 | |
halted: PC: 0x080009c8 | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=PA_5, map=0x8006a2c <PinMap_SPI_SCLK>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x0800464e | |
halted: PC: 0x08004650 | |
252 while (map->pin != NC) { | |
(gdb) | |
halted: PC: 0x08004652 | |
halted: PC: 0x08004656 | |
halted: PC: 0x08004658 | |
253 if (map->pin == pin) { | |
(gdb) | |
halted: PC: 0x0800465a | |
halted: PC: 0x08004662 | |
254 pin_function(pin, map->function); | |
(gdb) | |
halted: PC: 0x08004664 | |
halted: PC: 0x08004444 | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:120 | |
120 { | |
(gdb) | |
halted: PC: 0x08004448 | |
halted: PC: 0x0800444a | |
halted: PC: 0x0800444c | |
122 uint32_t mode = STM_PIN_FUNCTION(function); | |
(gdb) | |
halted: PC: 0x08004450 | |
123 uint32_t afnum = STM_PIN_AFNUM(function); | |
(gdb) | |
halted: PC: 0x08004454 | |
124 uint32_t port = STM_PORT(pin); | |
(gdb) | |
halted: PC: 0x08004458 | |
125 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x0800445c | |
halted: PC: 0x0800445e | |
halted: PC: 0x08004462 | |
128 if (pin == (PinName)NC) { | |
(gdb) | |
halted: PC: 0x08004466 | |
halted: PC: 0x08004468 | |
172 GPIO_TypeDef *gpio = set_GPIO_Port_Clock(port); | |
(gdb) | |
halted: PC: 0x0800446a | |
halted: PC: 0x0800429c | |
set_GPIO_Port_Clock (port_idx=port_idx@entry=0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\PortNames.c:69 | |
69 { | |
(gdb) | |
halted: PC: 0x0800429e | |
71 switch (port_idx) { | |
(gdb) | |
halted: PC: 0x080042a0 | |
halted: PC: 0x080042a2 | |
halted: PC: 0x080042ac | |
74 __HAL_RCC_GPIOA_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x080042ae | |
halted: PC: 0x080042b0 | |
halted: PC: 0x080042b2 | |
halted: PC: 0x080042b4 | |
halted: PC: 0x080042b8 | |
halted: PC: 0x080042ba | |
halted: PC: 0x080042bc | |
halted: PC: 0x080042c0 | |
halted: PC: 0x080042c2 | |
halted: PC: 0x080042c4 | |
75 break; | |
(gdb) | |
halted: PC: 0x080042c6 | |
halted: PC: 0x080042c8 | |
halted: PC: 0x0800446e | |
halted: PC: 0x08004470 | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:185 | |
185 LL_GPIO_SetPinSpeed(gpio, ll_pin, LL_GPIO_SPEED_FREQ_VERY_HIGH); | |
(gdb) | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
halted: PC: 0x08004472 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004476 | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004478 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800447c | |
halted: PC: 0x0800447e | |
halted: PC: 0x08004480 | |
halted: PC: 0x08004484 | |
halted: PC: 0x08004488 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800448c | |
LL_GPIO_SetPinSpeed (Speed=3, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:416 | |
416 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800448e | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004492 | |
halted: PC: 0x08004494 | |
halted: PC: 0x08004496 | |
halted: PC: 0x0800449a | |
halted: PC: 0x0800449c | |
halted: PC: 0x0800449e | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:193 | |
193 switch (mode) { | |
(gdb) | |
halted: PC: 0x080044a0 | |
halted: PC: 0x080044a2 | |
halted: PC: 0x080044bc | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
pin_SetAFPin (afnum=5, pin=PA_5, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:75 | |
75 uint32_t ll_pin = STM_LL_GPIO_PIN(pin); | |
(gdb) | |
halted: PC: 0x080044c0 | |
halted: PC: 0x080044c2 | |
halted: PC: 0x080044c6 | |
78 if (STM_PIN(pin) > 7) { | |
(gdb) | |
halted: PC: 0x080044ca | |
halted: PC: 0x08004508 | |
81 LL_GPIO_SetAFPin_0_7(gpio, ll_pin, afnum); | |
(gdb) | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
halted: PC: 0x0800450a | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800450e | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004510 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004514 | |
halted: PC: 0x08004516 | |
halted: PC: 0x08004518 | |
halted: PC: 0x0800451c | |
halted: PC: 0x08004520 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004524 | |
LL_GPIO_SetAFPin_0_7 (Alternate=5, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:559 | |
559 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004526 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800452a | |
halted: PC: 0x0800452c | |
halted: PC: 0x08004530 | |
halted: PC: 0x08004534 | |
halted: PC: 0x08004536 | |
halted: PC: 0x080044fc | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/lock_resource.h:192 | |
192 UNUSED(semID); | |
(gdb) | |
halted: PC: 0x080044fe | |
207 pin_SetAFPin(gpio, pin, afnum); | |
(gdb) | |
0x080044fe in pin_SetAFPin (afnum=0, pin=PA_5, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:85 | |
85 } | |
(gdb) | |
halted: PC: 0x0800454e | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:216 | |
216 LL_GPIO_SetPinMode(gpio, ll_pin, ll_mode); | |
(gdb) | |
LL_GPIO_SetPinMode (Mode=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08004550 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08004554 | |
LL_GPIO_SetPinMode (Mode=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08004556 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x0800455a | |
halted: PC: 0x0800455c | |
halted: PC: 0x0800455e | |
halted: PC: 0x08004562 | |
halted: PC: 0x08004566 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x0800456a | |
LL_GPIO_SetPinMode (Mode=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:276 | |
276 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x0800456c | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08004570 | |
halted: PC: 0x08004572 | |
halted: PC: 0x08004576 | |
halted: PC: 0x08004578 | |
halted: PC: 0x0800457a | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:227 | |
227 if ((mode == STM_PIN_OUTPUT) || (mode == STM_PIN_ALTERNATE)) { | |
(gdb) | |
halted: PC: 0x0800457c | |
halted: PC: 0x0800457e | |
halted: PC: 0x080045b2 | |
228 if (STM_PIN_OD(function)) { | |
(gdb) | |
halted: PC: 0x080045b6 | |
halted: PC: 0x080045c0 | |
231 LL_GPIO_SetPinOutputType(gpio, ll_pin, LL_GPIO_OUTPUT_PUSHPULL); | |
(gdb) | |
LL_GPIO_SetPinOutputType (OutputType=0, PinMask=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:345 | |
345 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); | |
(gdb) | |
halted: PC: 0x080045c2 | |
halted: PC: 0x080045c6 | |
halted: PC: 0x080045c8 | |
halted: PC: 0x08004580 | |
pin_function (pin=PA_5, function=1298) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
halted: PC: 0x08004584 | |
pin_PullConfig (pull_config=1, ll_pin=32, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x08004586 | |
halted: PC: 0x080045ca | |
pin_function (pin=PA_5, function=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:235 | |
235 pin_PullConfig(gpio, ll_pin, STM_PIN_PUPD(function)); | |
(gdb) | |
pin_PullConfig (pull_config=1, ll_pin=32, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:44 | |
44 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_UP); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=1, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x080045cc | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045d0 | |
LL_GPIO_SetPinPull (Pull=1, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045d2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045d6 | |
halted: PC: 0x080045d8 | |
halted: PC: 0x080045da | |
halted: PC: 0x080045de | |
halted: PC: 0x080045e2 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x080045e6 | |
LL_GPIO_SetPinPull (Pull=1, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x080045e8 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x080045ec | |
halted: PC: 0x080045ee | |
halted: PC: 0x080045f0 | |
halted: PC: 0x080045f4 | |
halted: PC: 0x080045f6 | |
halted: PC: 0x080045f8 | |
halted: PC: 0x08004668 | |
pinmap_pinout (pin=<optimized out>, map=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:255 | |
255 return; | |
(gdb) | |
halted: PC: 0x08004674 | |
halted: PC: 0x080009cc | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:263 | |
263 pull = (handle->Init.CLKPolarity == SPI_POLARITY_LOW) ? GPIO_PULLDOWN : GPIO_PULLUP; | |
(gdb) | |
halted: PC: 0x080009ce | |
halted: PC: 0x080009d0 | |
halted: PC: 0x080009d2 | |
264 pin_PullConfig(get_GPIO_Port(STM_PORT(obj->pin_sclk)), STM_LL_GPIO_PIN(obj->pin_sclk), pull); | |
(gdb) | |
halted: PC: 0x080009d4 | |
halted: PC: 0x080009d8 | |
halted: PC: 0x080009da | |
halted: PC: 0x080009dc | |
halted: PC: 0x080009de | |
halted: PC: 0x080009e2 | |
halted: PC: 0x080009e6 | |
halted: PC: 0x080009e8 | |
halted: PC: 0x080009ec | |
pin_PullConfig (pull_config=2, ll_pin=32, gpio=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/pinconfig.h:37 | |
37 switch (pull_config) { | |
(gdb) | |
halted: PC: 0x080009ee | |
halted: PC: 0x080009f0 | |
halted: PC: 0x080009f2 | |
halted: PC: 0x08000aa4 | |
52 LL_GPIO_SetPinPull(gpio, ll_pin, LL_GPIO_PULL_DOWN); | |
(gdb) | |
LL_GPIO_SetPinPull (Pull=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
halted: PC: 0x08000aa6 | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08000aaa | |
LL_GPIO_SetPinPull (Pull=2, Pin=32, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08000aac | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08000ab0 | |
halted: PC: 0x08000ab2 | |
halted: PC: 0x08000ab4 | |
halted: PC: 0x08000ab8 | |
halted: PC: 0x08000abc | |
__RBIT (value=32) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1055 | |
1055 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); | |
(gdb) | |
halted: PC: 0x08000ac0 | |
LL_GPIO_SetPinPull (Pull=2, Pin=<optimized out>, GPIOx=0x40020000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:487 | |
487 MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pin) * 2U))); | |
(gdb) | |
__CLZ (value=67108864) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0/CMSIS/Core/Include/cmsis_gcc.h:1089 | |
1089 if (value == 0U) | |
(gdb) | |
halted: PC: 0x08000ac2 | |
1093 return __builtin_clz(value); | |
(gdb) | |
halted: PC: 0x08000ac6 | |
halted: PC: 0x08000ac8 | |
halted: PC: 0x08000aca | |
halted: PC: 0x08000ace | |
halted: PC: 0x08000ad0 | |
halted: PC: 0x08000ad2 | |
halted: PC: 0x08000a56 | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:265 | |
265 pinmap_pinout(obj->pin_ssel, PinMap_SPI_SSEL); | |
(gdb) | |
halted: PC: 0x08000a58 | |
halted: PC: 0x08000a5a | |
halted: PC: 0x08004648 | |
pinmap_pinout (pin=NC, map=0x8006a98 <PinMap_SPI_SSEL>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\pinmap.c:248 | |
248 if (pin == NC) { | |
(gdb) | |
halted: PC: 0x0800464c | |
halted: PC: 0x08004660 | |
halted: PC: 0x08000a5e | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:269 | |
269 if (handle->Instance == SPI1) { | |
(gdb) | |
halted: PC: 0x08000a60 | |
halted: PC: 0x08000a62 | |
halted: PC: 0x08000a64 | |
halted: PC: 0x08000ae0 | |
270 __HAL_RCC_SPI1_CLK_ENABLE(); | |
(gdb) | |
halted: PC: 0x08000ae2 | |
halted: PC: 0x08000ae4 | |
halted: PC: 0x08000ae6 | |
halted: PC: 0x08000ae8 | |
halted: PC: 0x08000aec | |
halted: PC: 0x08000aee | |
halted: PC: 0x08000af0 | |
halted: PC: 0x08000af4 | |
halted: PC: 0x08000af6 | |
halted: PC: 0x08000af8 | |
halted: PC: 0x08000a66 | |
275 if (handle->Instance == SPI2) { | |
(gdb) | |
halted: PC: 0x08000a68 | |
halted: PC: 0x08000a6a | |
halted: PC: 0x08000a6c | |
halted: PC: 0x08000a6e | |
281 if (handle->Instance == SPI3) { | |
(gdb) | |
halted: PC: 0x08000a70 | |
halted: PC: 0x08000a72 | |
halted: PC: 0x08000a74 | |
halted: PC: 0x08000a76 | |
287 if (handle->Instance == SPI4) { | |
(gdb) | |
halted: PC: 0x08000a78 | |
halted: PC: 0x08000a7a | |
halted: PC: 0x08000a7c | |
halted: PC: 0x08000a7e | |
293 if (handle->Instance == SPI5) { | |
(gdb) | |
halted: PC: 0x08000a80 | |
halted: PC: 0x08000a82 | |
halted: PC: 0x08000a84 | |
halted: PC: 0x08000a86 | |
304 HAL_SPI_Init(handle); | |
(gdb) | |
halted: PC: 0x08000a88 | |
halted: PC: 0x08003ab6 | |
HAL_SPI_Init (hspi=hspi@entry=0x200000dc <SPI_1+52>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c:316 | |
316 if (hspi == NULL) | |
(gdb) | |
halted: PC: 0x08003ab8 | |
halted: PC: 0x08003aba | |
halted: PC: 0x08003abc | |
halted: PC: 0x08003abe | |
330 if (hspi->Init.TIMode == SPI_TIMODE_DISABLE) | |
(gdb) | |
halted: PC: 0x08003ac0 | |
halted: PC: 0x08003ac2 | |
335 if (hspi->Init.Mode == SPI_MODE_MASTER) | |
(gdb) | |
halted: PC: 0x08003ac4 | |
halted: PC: 0x08003ac8 | |
halted: PC: 0x08003ad6 | |
360 hspi->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; | |
(gdb) | |
halted: PC: 0x08003ad8 | |
halted: PC: 0x08003ada | |
363 if (hspi->State == HAL_SPI_STATE_RESET) | |
(gdb) | |
halted: PC: 0x08003ade | |
halted: PC: 0x08003ae0 | |
halted: PC: 0x08003ae2 | |
392 hspi->State = HAL_SPI_STATE_BUSY; | |
(gdb) | |
halted: PC: 0x08003ae4 | |
halted: PC: 0x08003ae8 | |
395 __HAL_SPI_DISABLE(hspi); | |
(gdb) | |
halted: PC: 0x08003aea | |
halted: PC: 0x08003aec | |
halted: PC: 0x08003af0 | |
halted: PC: 0x08003af2 | |
400 WRITE_REG(hspi->Instance->CR1, ((hspi->Init.Mode & (SPI_CR1_MSTR | SPI_CR1_SSI)) | | |
(gdb) | |
halted: PC: 0x08003af4 | |
halted: PC: 0x08003af8 | |
halted: PC: 0x08003afa | |
halted: PC: 0x08003afe | |
halted: PC: 0x08003b00 | |
halted: PC: 0x08003b02 | |
halted: PC: 0x08003b06 | |
halted: PC: 0x08003b08 | |
halted: PC: 0x08003b0a | |
halted: PC: 0x08003b0e | |
halted: PC: 0x08003b10 | |
halted: PC: 0x08003b12 | |
halted: PC: 0x08003b16 | |
halted: PC: 0x08003b18 | |
halted: PC: 0x08003b1a | |
halted: PC: 0x08003b1e | |
halted: PC: 0x08003b20 | |
halted: PC: 0x08003b22 | |
halted: PC: 0x08003b26 | |
halted: PC: 0x08003b28 | |
halted: PC: 0x08003b2a | |
halted: PC: 0x08003b2e | |
halted: PC: 0x08003b30 | |
halted: PC: 0x08003b32 | |
halted: PC: 0x08003b36 | |
halted: PC: 0x08003b38 | |
halted: PC: 0x08003b3a | |
halted: PC: 0x08003b3c | |
411 WRITE_REG(hspi->Instance->CR2, (((hspi->Init.NSS >> 16U) & SPI_CR2_SSOE) | (hspi->Init.TIMode & SPI_CR2_FRF))); | |
(gdb) | |
halted: PC: 0x08003b3e | |
halted: PC: 0x08003b42 | |
halted: PC: 0x08003b44 | |
halted: PC: 0x08003b48 | |
halted: PC: 0x08003b4a | |
halted: PC: 0x08003b4c | |
halted: PC: 0x08003b4e | |
424 CLEAR_BIT(hspi->Instance->I2SCFGR, SPI_I2SCFGR_I2SMOD); | |
(gdb) | |
halted: PC: 0x08003b50 | |
halted: PC: 0x08003b52 | |
halted: PC: 0x08003b56 | |
halted: PC: 0x08003b58 | |
427 hspi->ErrorCode = HAL_SPI_ERROR_NONE; | |
(gdb) | |
halted: PC: 0x08003b5a | |
halted: PC: 0x08003b5c | |
428 hspi->State = HAL_SPI_STATE_READY; | |
(gdb) | |
halted: PC: 0x08003b5e | |
halted: PC: 0x08003b62 | |
430 return HAL_OK; | |
(gdb) | |
halted: PC: 0x08000a8c | |
spi_init (obj=obj@entry=0x200000dc <SPI_1+52>, speed=32000000, mode=<optimized out>, msb=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:307 | |
307 __HAL_SPI_ENABLE(handle); | |
(gdb) | |
halted: PC: 0x08000a8e | |
halted: PC: 0x08000a90 | |
halted: PC: 0x08000a94 | |
halted: PC: 0x08000a96 | |
halted: PC: 0x08000a98 | |
halted: PC: 0x08000648 | |
SPIClass::beginTransaction (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$', settings=...) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:116 | |
116 _CSPinConfig = _pin; | |
(gdb) | |
halted: PC: 0x0800064a | |
halted: PC: 0x0800064e | |
halted: PC: 0x08000650 | |
halted: PC: 0x08001ca4 | |
halted: PC: 0x08001c62 | |
Adafruit_SPITFT::sendCommand (this=this@entry=0x2001ff9c, commandByte=<optimized out>, | |
dataBytes=dataBytes@entry=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", numDataBytes=numDataBytes@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:1902 | |
1902 if (_cs >= 0) | |
(gdb) | |
halted: PC: 0x08001c66 | |
halted: PC: 0x08001c68 | |
halted: PC: 0x08001c6a | |
1905 SPI_DC_LOW(); // Command mode | |
(gdb) | |
Adafruit_SPITFT::SPI_DC_LOW (this=0x2001ff9c) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_SPITFT.h:362 | |
362 digitalWrite(_dc, LOW); | |
(gdb) | |
halted: PC: 0x08001c6c | |
halted: PC: 0x08001c70 | |
halted: PC: 0x08005350 | |
digitalWrite (ulPin=4294967241, ulVal=ulVal@entry=0) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_digital.c:81 | |
81 digitalWriteFast(digitalPinToPinName(ulPin), ulVal); | |
(gdb) | |
halted: PC: 0x08005352 | |
halted: PC: 0x08005354 | |
halted: PC: 0x08005380 | |
halted: PC: 0x08005384 | |
halted: PC: 0x08005386 | |
halted: PC: 0x0800538e | |
halted: PC: 0x08005390 | |
halted: PC: 0x08005392 | |
halted: PC: 0x08005396 | |
halted: PC: 0x08005398 | |
halted: PC: 0x0800539c | |
halted: PC: 0x0800539e | |
halted: PC: 0x080053a2 | |
halted: PC: 0x080053a6 | |
halted: PC: 0x080053a8 | |
halted: PC: 0x08005362 | |
digitalWriteFast (ulVal=0, pn=1809) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:96 | |
96 digital_io_write(get_GPIO_Port(STM_PORT(pn)), STM_LL_GPIO_PIN(pn), ulVal); | |
(gdb) | |
halted: PC: 0x08005366 | |
halted: PC: 0x08005368 | |
halted: PC: 0x0800536a | |
halted: PC: 0x0800536c | |
halted: PC: 0x08005370 | |
halted: PC: 0x08005374 | |
halted: PC: 0x08005376 | |
halted: PC: 0x0800537a | |
digital_io_write (val=0, pin=2, port=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:59 | |
59 if (val) { | |
(gdb) | |
halted: PC: 0x080053b4 | |
digitalWriteFast (ulVal=0, pn=<optimized out>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:96 | |
96 digital_io_write(get_GPIO_Port(STM_PORT(pn)), STM_LL_GPIO_PIN(pn), ulVal); | |
(gdb) | |
digital_io_write (val=0, pin=2, port=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:62 | |
62 LL_GPIO_ResetOutputPin(port, pin); | |
(gdb) | |
LL_GPIO_ResetOutputPin (PinMask=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:913 | |
913 WRITE_REG(GPIOx->BSRR, (PinMask << 16)); | |
(gdb) | |
halted: PC: 0x080053b6 | |
halted: PC: 0x080053b8 | |
halted: PC: 0x08001c74 | |
Adafruit_SPITFT::sendCommand (this=this@entry=0x2001ff9c, commandByte=<optimized out>, | |
dataBytes=dataBytes@entry=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", numDataBytes=numDataBytes@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:1906 | |
1906 spiWrite(commandByte); // Send the command byte | |
(gdb) | |
halted: PC: 0x08001c76 | |
halted: PC: 0x08001c78 | |
halted: PC: 0x080019d4 | |
Adafruit_SPITFT::spiWrite (this=this@entry=0x2001ff9c, b=b@entry=1 '\001') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:2076 | |
2076 void Adafruit_SPITFT::spiWrite(uint8_t b) { | |
(gdb) | |
halted: PC: 0x080019d6 | |
halted: PC: 0x080019d8 | |
halted: PC: 0x080019da | |
2077 if (connection == TFT_HARD_SPI) { | |
(gdb) | |
halted: PC: 0x080019de | |
halted: PC: 0x080019e8 | |
2083 hwspi._spi->transfer(b); | |
(gdb) | |
SPIClass::transfer (_mode=SPI_LAST, _data=1 '\001', this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:186 | |
186 return transfer(CS_PIN_CONTROLLED_BY_USER, _data, _mode); | |
(gdb) | |
halted: PC: 0x080019ea | |
halted: PC: 0x080019ec | |
halted: PC: 0x080019ee | |
halted: PC: 0x080019f0 | |
halted: PC: 0x08000720 | |
SPIClass::transfer (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$', data=data@entry=1 '\001', _mode=_mode@entry=SPI_LAST) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:232 | |
232 { | |
(gdb) | |
halted: PC: 0x08000722 | |
halted: PC: 0x08000724 | |
halted: PC: 0x08000726 | |
halted: PC: 0x08000728 | |
halted: PC: 0x0800072a | |
halted: PC: 0x0800072e | |
233 uint8_t rx_buffer = 0; | |
(gdb) | |
halted: PC: 0x08000730 | |
halted: PC: 0x08000734 | |
235 uint8_t idx = pinIdx(_pin, GET_IDX); | |
(gdb) | |
SPIClass::pinIdx (option=SPIClass::GET_IDX, _pin=36 '$', this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:251 | |
251 if ((_pin > NUM_DIGITAL_PINS) && (!digitalPinIsValid(_pin))) { | |
(gdb) | |
halted: PC: 0x08000736 | |
halted: PC: 0x0800076a | |
halted: PC: 0x0800076c | |
255 for (i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x0800076e | |
halted: PC: 0x08000770 | |
256 if (_pin == spiSettings[i].pinCS) { | |
(gdb) | |
halted: PC: 0x08000774 | |
halted: PC: 0x08000778 | |
halted: PC: 0x0800077a | |
halted: PC: 0x08000784 | |
SPIClass::transfer (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$', data=data@entry=1 '\001', _mode=_mode@entry=SPI_LAST) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:236 | |
236 if (idx >= NB_SPI_SETTINGS) { | |
(gdb) | |
halted: PC: 0x08000786 | |
halted: PC: 0x08000788 | |
240 if (_pin != _CSPinConfig) { | |
(gdb) | |
halted: PC: 0x0800078c | |
halted: PC: 0x0800078e | |
halted: PC: 0x08000790 | |
247 if ((_pin != CS_PIN_CONTROLLED_BY_USER) && (_spi.pin_ssel == NC)) { | |
(gdb) | |
halted: PC: 0x08000792 | |
halted: PC: 0x0800079e | |
251 spi_transfer(&_spi, &data, &rx_buffer, sizeof(uint8_t), SPI_TRANSFER_TIMEOUT, spiSettings[idx].noReceive); | |
(gdb) | |
halted: PC: 0x080007a2 | |
halted: PC: 0x080007a6 | |
halted: PC: 0x080007a8 | |
halted: PC: 0x080007aa | |
halted: PC: 0x080007ae | |
halted: PC: 0x080007b0 | |
halted: PC: 0x080007b2 | |
halted: PC: 0x080007b6 | |
halted: PC: 0x080007ba | |
halted: PC: 0x080007be | |
halted: PC: 0x08000b98 | |
spi_transfer (obj=obj@entry=0x200000dc <SPI_1+52>, tx_buffer=tx_buffer@entry=0x2001ff07 "\001", rx_buffer=rx_buffer@entry=0x2001ff0f "", len=len@entry=1, | |
Timeout=Timeout@entry=1000, skipReceive=false) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:401 | |
401 { | |
(gdb) | |
halted: PC: 0x08000b9c | |
halted: PC: 0x08000b9e | |
halted: PC: 0x08000ba2 | |
404 SPI_TypeDef *_SPI = obj->handle.Instance; | |
(gdb) | |
halted: PC: 0x08000ba4 | |
406 if ((obj == NULL) || (len == 0) || (Timeout == 0U)) { | |
(gdb) | |
halted: PC: 0x08000ba6 | |
halted: PC: 0x08000ba8 | |
halted: PC: 0x08000baa | |
halted: PC: 0x08000bac | |
halted: PC: 0x08000bae | |
halted: PC: 0x08000bbc | |
409 tickstart = HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x08000bc0 | |
halted: PC: 0x08000bc2 | |
spi_transfer (obj=obj@entry=0x200000dc <SPI_1+52>, tx_buffer=tx_buffer@entry=0x2001ff07 "\001", rx_buffer=rx_buffer@entry=0x2001ff0f "", len=len@entry=1, | |
Timeout=Timeout@entry=1000, skipReceive=false) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:418 | |
418 while (size--) { | |
(gdb) | |
halted: PC: 0x08000bda | |
halted: PC: 0x08000bde | |
halted: PC: 0x08000be0 | |
422 while (!LL_SPI_IsActiveFlag_TXE(_SPI)); | |
(gdb) | |
LL_SPI_IsActiveFlag_TXE (SPIx=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_spi.h:745 | |
745 return ((READ_BIT(SPIx->SR, SPI_SR_TXE) == (SPI_SR_TXE)) ? 1UL : 0UL); | |
(gdb) | |
halted: PC: 0x08000be2 | |
halted: PC: 0x08000be6 | |
halted: PC: 0x08000be8 | |
spi_transfer (obj=obj@entry=0x200000dc <SPI_1+52>, tx_buffer=0x2001ff08 "", tx_buffer@entry=0x2001ff07 "\001", rx_buffer=rx_buffer@entry=0x2001ff0f "", | |
len=len@entry=1, Timeout=Timeout@entry=1000, skipReceive=false) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:424 | |
424 LL_SPI_TransmitData8(_SPI, *tx_buffer++); | |
(gdb) | |
halted: PC: 0x08000bec | |
LL_SPI_TransmitData8 (TxData=1 '\001', SPIx=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_spi.h:1103 | |
1103 *spidr = TxData; | |
(gdb) | |
halted: PC: 0x08000bee | |
spi_transfer (obj=obj@entry=0x200000dc <SPI_1+52>, tx_buffer=0x2001ff08 "", tx_buffer@entry=0x2001ff07 "\001", rx_buffer=rx_buffer@entry=0x2001ff0f "", | |
len=len@entry=1, Timeout=Timeout@entry=1000, skipReceive=false) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:426 | |
426 if (!skipReceive) { | |
(gdb) | |
halted: PC: 0x08000bf2 | |
halted: PC: 0x08000bc4 | |
430 while (!LL_SPI_IsActiveFlag_RXNE(_SPI)); | |
(gdb) | |
LL_SPI_IsActiveFlag_RXNE (SPIx=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_spi.h:734 | |
734 return ((READ_BIT(SPIx->SR, SPI_SR_RXNE) == (SPI_SR_RXNE)) ? 1UL : 0UL); | |
(gdb) | |
halted: PC: 0x08000bc6 | |
halted: PC: 0x08000bca | |
halted: PC: 0x08000bcc | |
spi_transfer (obj=obj@entry=0x200000dc <SPI_1+52>, tx_buffer=0x2001ff08 "", tx_buffer@entry=0x2001ff07 "\001", rx_buffer=rx_buffer@entry=0x2001ff0f "", | |
len=len@entry=1, Timeout=Timeout@entry=1000, skipReceive=false) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:432 | |
432 *rx_buffer++ = LL_SPI_ReceiveData8(_SPI); | |
(gdb) | |
halted: PC: 0x08000bce | |
LL_SPI_ReceiveData8 (SPIx=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_spi.h:1078 | |
1078 return (uint8_t)(READ_REG(SPIx->DR)); | |
(gdb) | |
halted: PC: 0x08000bd0 | |
halted: PC: 0x08000bd4 | |
halted: PC: 0x08000bd6 | |
halted: PC: 0x08000bf4 | |
434 if ((Timeout != HAL_MAX_DELAY) && (HAL_GetTick() - tickstart >= Timeout)) { | |
(gdb) | |
halted: PC: 0x08000bf8 | |
halted: PC: 0x08000bfa | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x08000bfe | |
halted: PC: 0x08000c02 | |
halted: PC: 0x08000c04 | |
halted: PC: 0x08000bd8 | |
halted: PC: 0x08000bda | |
spi_transfer (obj=obj@entry=0x200000dc <SPI_1+52>, tx_buffer=0x2001ff08 "", tx_buffer@entry=0x2001ff07 "\001", rx_buffer=0x2001ff10 "", | |
rx_buffer@entry=0x2001ff0f "\377", len=len@entry=1, Timeout=Timeout@entry=1000, skipReceive=false) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\utility\spi_com.c:418 | |
418 while (size--) { | |
(gdb) | |
halted: PC: 0x08000bde | |
halted: PC: 0x08000c0a | |
halted: PC: 0x08000c0c | |
449 while (LL_SPI_IsActiveFlag_BSY(_SPI)); | |
(gdb) | |
LL_SPI_IsActiveFlag_BSY (SPIx=0x40013000) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_spi.h:796 | |
796 return ((READ_BIT(SPIx->SR, SPI_SR_BSY) == (SPI_SR_BSY)) ? 1UL : 0UL); | |
(gdb) | |
halted: PC: 0x08000c0e | |
halted: PC: 0x08000c12 | |
halted: PC: 0x08000c14 | |
halted: PC: 0x08000bb4 | |
halted: PC: 0x080007c2 | |
SPIClass::transfer (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$', data=<optimized out>, data@entry=1 '\001', _mode=_mode@entry=SPI_LAST) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:253 | |
253 if ((_pin != CS_PIN_CONTROLLED_BY_USER) && (_mode == SPI_LAST) && (_spi.pin_ssel == NC)) { | |
(gdb) | |
halted: PC: 0x080007c4 | |
halted: PC: 0x080007ca | |
257 return rx_buffer; | |
(gdb) | |
halted: PC: 0x080007ce | |
halted: PC: 0x080007d0 | |
halted: PC: 0x080019f4 | |
halted: PC: 0x08001c7c | |
Adafruit_SPITFT::sendCommand (this=this@entry=0x2001ff9c, commandByte=<optimized out>, | |
dataBytes=dataBytes@entry=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", numDataBytes=numDataBytes@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:1908 | |
1908 SPI_DC_HIGH(); | |
(gdb) | |
Adafruit_SPITFT::SPI_DC_HIGH (this=0x2001ff9c) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_SPITFT.h:343 | |
343 digitalWrite(_dc, HIGH); | |
(gdb) | |
halted: PC: 0x08001c7e | |
halted: PC: 0x08001c82 | |
halted: PC: 0x08005350 | |
digitalWrite (ulPin=4294967241, ulVal=ulVal@entry=1) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_digital.c:81 | |
81 digitalWriteFast(digitalPinToPinName(ulPin), ulVal); | |
(gdb) | |
halted: PC: 0x08005352 | |
halted: PC: 0x08005354 | |
halted: PC: 0x08005380 | |
halted: PC: 0x08005384 | |
halted: PC: 0x08005386 | |
halted: PC: 0x0800538e | |
halted: PC: 0x08005390 | |
halted: PC: 0x08005392 | |
halted: PC: 0x08005396 | |
halted: PC: 0x08005398 | |
halted: PC: 0x0800539c | |
halted: PC: 0x0800539e | |
halted: PC: 0x080053a2 | |
halted: PC: 0x080053a6 | |
halted: PC: 0x080053a8 | |
halted: PC: 0x08005362 | |
digitalWriteFast (ulVal=1, pn=1809) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:96 | |
96 digital_io_write(get_GPIO_Port(STM_PORT(pn)), STM_LL_GPIO_PIN(pn), ulVal); | |
(gdb) | |
halted: PC: 0x08005366 | |
halted: PC: 0x08005368 | |
halted: PC: 0x0800536a | |
halted: PC: 0x0800536c | |
halted: PC: 0x08005370 | |
halted: PC: 0x08005374 | |
halted: PC: 0x08005376 | |
halted: PC: 0x0800537a | |
digital_io_write (val=1, pin=2, port=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/digital_io.h:59 | |
59 if (val) { | |
(gdb) | |
halted: PC: 0x0800537c | |
60 LL_GPIO_SetOutputPin(port, pin); | |
(gdb) | |
LL_GPIO_SetOutputPin (PinMask=2, GPIOx=0x40020400) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h:884 | |
884 WRITE_REG(GPIOx->BSRR, PinMask); | |
(gdb) | |
halted: PC: 0x0800537e | |
halted: PC: 0x08001c86 | |
Adafruit_SPITFT::sendCommand (this=this@entry=0x2001ff9c, commandByte=<optimized out>, | |
dataBytes=dataBytes@entry=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", numDataBytes=numDataBytes@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:1909 | |
1909 for (int i = 0; i < numDataBytes; i++) { | |
(gdb) | |
halted: PC: 0x08001c88 | |
halted: PC: 0x08001cba | |
halted: PC: 0x08001cbc | |
halted: PC: 0x08001cda | |
1918 if (_cs >= 0) | |
(gdb) | |
halted: PC: 0x08001cde | |
halted: PC: 0x08001ce0 | |
halted: PC: 0x08001ce2 | |
1920 SPI_END_TRANSACTION(); | |
(gdb) | |
Adafruit_SPITFT::SPI_END_TRANSACTION (this=0x2001ff9c) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:2061 | |
2061 if (connection == TFT_HARD_SPI) { | |
(gdb) | |
halted: PC: 0x08001ce6 | |
halted: PC: 0x08001cf4 | |
Adafruit_SPITFT::sendCommand (this=this@entry=0x2001ff9c, commandByte=<optimized out>, | |
dataBytes=dataBytes@entry=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", numDataBytes=numDataBytes@entry=0 '\000') | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:1920 | |
1920 SPI_END_TRANSACTION(); | |
(gdb) | |
Adafruit_SPITFT::SPI_END_TRANSACTION (this=0x2001ff9c) at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:2062 | |
2062 hwspi._spi->endTransaction(); | |
(gdb) | |
SPIClass::endTransaction (this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:171 | |
171 endTransaction(CS_PIN_CONTROLLED_BY_USER); | |
(gdb) | |
halted: PC: 0x08001cf6 | |
halted: PC: 0x08001cf8 | |
halted: PC: 0x08000678 | |
SPIClass::endTransaction (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$') | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:125 | |
125 RemovePin(_pin); | |
(gdb) | |
SPIClass::RemovePin (_pin=_pin@entry=36 '$', this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:274 | |
274 if ((_pin > NUM_DIGITAL_PINS) && (!digitalPinIsValid(_pin))) { | |
(gdb) | |
halted: PC: 0x0800067a | |
halted: PC: 0x080006ae | |
halted: PC: 0x080006b0 | |
halted: PC: 0x080006c0 | |
278 for (uint8_t i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x080006c2 | |
halted: PC: 0x080006c4 | |
279 if (spiSettings[i].pinCS == _pin) { | |
(gdb) | |
halted: PC: 0x080006c8 | |
halted: PC: 0x080006cc | |
halted: PC: 0x080006ce | |
halted: PC: 0x080006d0 | |
halted: PC: 0x080006d2 | |
125 RemovePin(_pin); | |
(gdb) | |
SPIClass::RemovePin (_pin=_pin@entry=36 '$', this=0x200000a8 <SPI_1>) | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src/SPI.h:280 | |
280 spiSettings[i].pinCS = -1; | |
(gdb) | |
halted: PC: 0x080006d6 | |
halted: PC: 0x080006da | |
halted: PC: 0x080006de | |
halted: PC: 0x080006e2 | |
281 spiSettings[i].clk = SPI_SPEED_CLOCK_DEFAULT; | |
(gdb) | |
halted: PC: 0x080006e4 | |
halted: PC: 0x080006e6 | |
282 spiSettings[i].bOrder = MSBFIRST; | |
(gdb) | |
halted: PC: 0x080006e8 | |
halted: PC: 0x080006ea | |
283 spiSettings[i].dMode = SPI_MODE_0; | |
(gdb) | |
halted: PC: 0x080006ee | |
halted: PC: 0x080006f2 | |
halted: PC: 0x080006f4 | |
halted: PC: 0x080006f6 | |
278 for (uint8_t i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x080006f8 | |
halted: PC: 0x080006fa | |
halted: PC: 0x080006fc | |
halted: PC: 0x080006fe | |
279 if (spiSettings[i].pinCS == _pin) { | |
(gdb) | |
halted: PC: 0x08000702 | |
halted: PC: 0x08000706 | |
halted: PC: 0x08000708 | |
halted: PC: 0x080006f6 | |
278 for (uint8_t i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x080006f8 | |
halted: PC: 0x080006fa | |
halted: PC: 0x080006fc | |
halted: PC: 0x080006fe | |
279 if (spiSettings[i].pinCS == _pin) { | |
(gdb) | |
halted: PC: 0x08000702 | |
halted: PC: 0x08000706 | |
halted: PC: 0x08000708 | |
halted: PC: 0x080006f6 | |
278 for (uint8_t i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x080006f8 | |
halted: PC: 0x080006fa | |
halted: PC: 0x080006fc | |
halted: PC: 0x080006fe | |
279 if (spiSettings[i].pinCS == _pin) { | |
(gdb) | |
halted: PC: 0x08000702 | |
halted: PC: 0x08000706 | |
halted: PC: 0x08000708 | |
halted: PC: 0x080006f6 | |
278 for (uint8_t i = 0; i < NB_SPI_SETTINGS; i++) { | |
(gdb) | |
halted: PC: 0x080006f8 | |
halted: PC: 0x080006fa | |
halted: PC: 0x080006fc | |
halted: PC: 0x080006b2 | |
SPIClass::endTransaction (this=0x200000a8 <SPI_1>, _pin=_pin@entry=36 '$') | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SPI\src\SPI.cpp:126 | |
126 _CSPinConfig = NO_CONFIG; | |
(gdb) | |
halted: PC: 0x080006b6 | |
halted: PC: 0x080006b8 | |
halted: PC: 0x080006ba | |
halted: PC: 0x08001cfc | |
halted: PC: 0x08001ce8 | |
halted: PC: 0x08001cea | |
halted: PC: 0x08002070 | |
Adafruit_ST77xx::displayInit (this=this@entry=0x2001ff9c, addr=0x8006763 <generic_st7789+3> "\226\021\200\n:?U\n6\001\b*\004", | |
addr@entry=0x8006760 <generic_st7789> "\t\001\200\226\021\200\n:?U\n6\001\b*\004") | |
at C:\Users\E1200\Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST77xx.cpp:103 | |
103 addr += numArgs; | |
(gdb) | |
halted: PC: 0x08002072 | |
105 if (ms) { | |
(gdb) | |
halted: PC: 0x08002076 | |
halted: PC: 0x08002078 | |
106 ms = pgm_read_byte(addr++); // Read post-command delay time (ms) | |
(gdb) | |
halted: PC: 0x0800207a | |
halted: PC: 0x0800207c | |
107 if (ms == 255) | |
(gdb) | |
halted: PC: 0x0800207e | |
halted: PC: 0x0800204a | |
109 delay(ms); | |
(gdb) | |
halted: PC: 0x080053d4 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:39 | |
39 if (ms != 0) { | |
(gdb) | |
halted: PC: 0x080053d8 | |
halted: PC: 0x080053da | |
halted: PC: 0x080053dc | |
40 uint32_t start = getCurrentMillis(); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053e0 | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) | |
halted: PC: 0x080021a2 | |
halted: PC: 0x080021a4 | |
halted: PC: 0x0800437e | |
halted: PC: 0x080053ea | |
halted: PC: 0x080053ec | |
halted: PC: 0x080053ee | |
halted: PC: 0x080053e2 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:42 | |
42 yield(); | |
(gdb) | |
halted: PC: 0x080057f6 | |
__empty () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\hooks.c:33 | |
33 } | |
(gdb) | |
halted: PC: 0x080053e6 | |
delay (ms=150) at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino\wiring_time.c:43 | |
43 } while (getCurrentMillis() - start < ms); | |
(gdb) | |
halted: PC: 0x08004378 | |
getCurrentMillis () at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper\src\stm32\clock.c:50 | |
50 return HAL_GetTick(); | |
(gdb) | |
halted: PC: 0x080021a0 | |
HAL_GetTick () | |
at C:\Users\E1200\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:325 | |
325 return uwTick; | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment