Skip to content

Commit

Permalink
lesson 13-18 are about elf files,o files, build and exc transition, i…
Browse files Browse the repository at this point in the history
…nterrupts and stack mem
  • Loading branch information
Ori-Cohenn committed Aug 19, 2024
1 parent 1f08f47 commit 2681a5e
Show file tree
Hide file tree
Showing 98 changed files with 32,063 additions and 0 deletions.
Binary file added lesson13&14&15/Block_Diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions lesson13&14&15/DebugConfig/Target_1_STM32F407VGTx.dbgconf
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// File: STM32F405_415_407_417_427_437_429_439.dbgconf
// Version: 1.0.0
// Note: refer to STM32F405/415 STM32F407/417 STM32F427/437 STM32F429/439 reference manual (RM0090)
// refer to STM32F40x STM32F41x datasheets
// refer to STM32F42x STM32F43x datasheets

// <<< Use Configuration Wizard in Context Menu >>>

// <h> Debug MCU configuration register (DBGMCU_CR)
// <o.2> DBG_STANDBY <i> Debug Standby Mode
// <o.1> DBG_STOP <i> Debug Stop Mode
// <o.0> DBG_SLEEP <i> Debug Sleep Mode
// </h>
DbgMCU_CR = 0x00000007;

// <h> Debug MCU APB1 freeze register (DBGMCU_APB1_FZ)
// <i> Reserved bits must be kept at reset value
// <o.26> DBG_CAN2_STOP <i> CAN2 stopped when core is halted
// <o.25> DBG_CAN1_STOP <i> CAN2 stopped when core is halted
// <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> I2C3 SMBUS timeout mode stopped when core is halted
// <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2 SMBUS timeout mode stopped when core is halted
// <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1 SMBUS timeout mode stopped when core is halted
// <o.12> DBG_IWDG_STOP <i> Independent watchdog stopped when core is halted
// <o.11> DBG_WWDG_STOP <i> Window watchdog stopped when core is halted
// <o.10> DBG_RTC_STOP <i> RTC stopped when core is halted
// <o.8> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
// <o.7> DBG_TIM13_STOP <i> TIM13 counter stopped when core is halted
// <o.6> DBG_TIM12_STOP <i> TIM12 counter stopped when core is halted
// <o.5> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
// <o.4> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
// <o.3> DBG_TIM5_STOP <i> TIM5 counter stopped when core is halted
// <o.2> DBG_TIM4_STOP <i> TIM4 counter stopped when core is halted
// <o.1> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
// <o.0> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
// </h>
DbgMCU_APB1_Fz = 0x00000000;

// <h> Debug MCU APB2 freeze register (DBGMCU_APB2_FZ)
// <i> Reserved bits must be kept at reset value
// <o.18> DBG_TIM11_STOP <i> TIM11 counter stopped when core is halted
// <o.17> DBG_TIM10_STOP <i> TIM10 counter stopped when core is halted
// <o.16> DBG_TIM9_STOP <i> TIM9 counter stopped when core is halted
// <o.1> DBG_TIM8_STOP <i> TIM8 counter stopped when core is halted
// <o.0> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
// </h>
DbgMCU_APB2_Fz = 0x00000000;

// <<< end of configuration section >>>
1,113 changes: 1,113 additions & 0 deletions lesson13&14&15/Listings/lessonx.map

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions lesson13&14&15/Objects/functions.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
./objects/functions.o: functions.c RTE\_Target_1\Pre_Include_Global.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
C:\Users\orior\AppData\Local\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\core_cm4.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
RTE\Device\STM32F407VGTx\stm32f4xx_hal_conf.h \
RTE\_Target_1\RTE_Components.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
C:\Users\orior\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
header.h
Binary file added lesson13&14&15/Objects/functions.o
Binary file not shown.
Binary file added lesson13&14&15/Objects/lessonx.axf
Binary file not shown.
104 changes: 104 additions & 0 deletions lesson13&14&15/Objects/lessonx.build_log.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<html>
<body>
<pre>
<h1>µVision Build Log</h1>
<h2>Tool Versions:</h2>
IDE-Version: µVision V5.40.0.0
Copyright (C) 2024 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: Ori Cohen, Unemployed, LIC=----

Tool Versions:
Toolchain: MDK-Lite Version: 5.40.0.3
Toolchain Path: C:\Users\orior\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin
C Compiler: ArmClang.exe V6.22
Assembler: Armasm.exe V6.22
Linker/Locator: ArmLink.exe V6.22
Library Manager: ArmAr.exe V6.22
Hex Converter: FromElf.exe V6.22
CPU DLL: SARMCM3.DLL V5.40.0.3
Dialog DLL: DCM.DLL V1.17.5.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.3.0.0
Dialog DLL: TCM.DLL V1.56.4.0

<h2>Project:</h2>
C:\Users\orior\OneDrive\Desktop\C_Projects\Modern_Embedded_Systems_Programming_Course_by_Quantum_Leaps,LLC\lesson13&14\lessonx.uvprojx
Project File Date: 07/29/2024

<h2>Output:</h2>
*** Using Compiler 'V6.22', folder: 'C:\Users\orior\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'Target 1'
".\Objects\lessonx.out" - 0 Error(s), 0 Warning(s).

<h2>Software Packages used:</h2>

Package Vendor: ARM
https://www.keil.com/pack/ARM.CMSIS.6.1.0.pack
ARM::[email protected]
CMSIS (Common Microcontroller Software Interface Standard)
* Component: CORE Version: 6.1.0

Package Vendor: Keil
https://www.keil.com/pack/Keil.STM32F4xx_DFP.2.17.1.pack
Keil::[email protected]
STMicroelectronics STM32F4 Series Device Support, Drivers and Examples
* Component: STM32Cube Framework Version: 1.0.0
* Component: Classic Version: 1.8.1
* Component: Common Version: 1.8.1
* Component: Cortex Version: 1.8.1
* Component: GPIO Version: 1.8.1
* Component: PWR Version: 1.8.1
* Component: RCC Version: 1.8.1
* Component: Startup Version: 2.6.3

<h2>Collection of Component include folders:</h2>
./RTE/Device/STM32F407VGTx
./RTE/_Target_1
C:/Users/orior/AppData/Local/Arm/Packs/ARM/CMSIS/6.1.0/CMSIS/Core/Include
C:/Users/orior/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.17.1/Drivers/CMSIS/Device/ST/STM32F4xx/Include
C:/Users/orior/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.17.1/Drivers/STM32F4xx_HAL_Driver/Inc

<h2>Collection of Component Files used:</h2>

* Component: ::Device:STM32Cube Framework(API)@1.0.0

* Component: ARM::CMSIS:[email protected]

* Component: Keil::Device:STM32Cube Framework:[email protected]
Include file: MDK/Templates/Inc/stm32f4xx_it.h
Include file: MDK/Templates_LL/Inc/main.h
Include file: CMSIS/Driver/Config/RTE_Device.h
Include file: MDK/Templates/Inc/stm32f4xx_hal_conf.h
Source file: MDK/Templates/Src/stm32f4xx_it.c
Source file: MDK/Templates/Src/main.c
Include file: MDK/Templates/Inc/main.h
Source file: MDK/Templates/Src/stm32f4xx_hal_msp.c
Source file: MDK/Templates_LL/Src/main.c

* Component: Keil::Device:STM32Cube HAL:[email protected]
Include file: Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
Source file: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c

* Component: Keil::Device:STM32Cube HAL:[email protected]
Source file: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c

* Component: Keil::Device:STM32Cube HAL:[email protected]
Source file: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c

* Component: Keil::Device:STM32Cube HAL:[email protected]
Source file: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c
Source file: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c

* Component: Keil::Device:STM32Cube HAL:[email protected]
Source file: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c
Source file: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c

* Component: Keil::Device:[email protected]
Source file: MDK/Device/Source/ARM/STM32F40xxx_41xxx_OPT.s
Source file: MDK/Device/Source/ARM/STM32F4xx_OTP.s
Source file: Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f407xx.s
Include file: Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
Source file: Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c
Build Time Elapsed: 00:00:02
</pre>
</body>
</html>
Loading

0 comments on commit 2681a5e

Please sign in to comment.