added getting started section

This commit is contained in:
dekunukem
2017-12-18 16:09:12 +00:00
parent 1032e2bff8
commit 975bc44aa6
58 changed files with 1085 additions and 3121 deletions

View File

@@ -115,12 +115,26 @@ Detailed timing for the first byte:
![Alt text](resources/pinout_table.png)
* Officially, exixe modules are NOT 5V compatible.
* However it shouldn't cause damage if you put a 2.2K resistor in series of the 5V signal.
* Still, the module must be powered at 3.3V.
* Officially, exixe modules are NOT 5V compatible, all signals are 3.3V level.
* However it shouldn't cause damage if you put a 4.7K resistor in series with 5V signals.
* Still, the module itself must be powered at 3.3V.
* When assembling insert the Nixie tube so its anode lead is in the anode hole, and TEST THE TUBE BEFORE SOLDERING it in place.
* Pinout and dimension are the same for exixe-12 and exixe-14.
## Getting started
Since I have already sold a few exixe modules, here is a short introduction on how to get started with exixe modules:
### Wiring it up
You should first wire it up and test to see if the board is working before soldering on the nixie tubes.
First take a look at the pinout above, connect the GND to GND, and 3.3V power to 3V. If you turn it on at this stage the LED should be faintly on, and nothing else should happen.
Then let's connect the SPI lines. Connect MO to MOSI line, SCK to SCK line, and CS to CS line. MISO is not used so you can leave it off. Leave HV pin unconnected for now as well. If you are unfamiliar with SPI, or need a refresher, [sparkfun's introduction](https://learn.sparkfun.com/tutorials/serial-peripheral-interface-spi) is really helpful, and [the wikipedia page has more details](https://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus).
## Buying some
I can custom make some exixe modules for you in small quantities. However, soldering them together and testing them takes a long time, so it's going to be more expensive than just the cost of materials.
@@ -133,7 +147,7 @@ Also, I do have some extra empty PCBs in panels of 8, so if you want I can sell
Email me at `dekunukem gmail com` for inquires.
## Making one
## Making Some
Full BOM here: [exixe12](resources/exixe12_bom.xlsx), [exixe14](resources/exixe14_bom.xlsx)

View File

@@ -0,0 +1,14 @@
/*
* Auto generated Run-Time-Environment Component Configuration File
* *** Do not modify ! ***
*
* Project: 'exixe'
* Target: 'exixe'
*/
#ifndef RTE_COMPONENTS_H
#define RTE_COMPONENTS_H
#endif /* RTE_COMPONENTS_H */

View File

File diff suppressed because one or more lines are too long

View File

@@ -100,8 +100,7 @@
<tRSysVw>1</tRSysVw>
<sRunDeb>0</sRunDeb>
<sLrtime>0</sLrtime>
<bEvRecOn>1</bEvRecOn>
<nTsel>5</nTsel>
<nTsel>11</nTsel>
<sDll></sDll>
<sDllPa></sDllPa>
<sDlgDll></sDlgDll>
@@ -179,12 +178,6 @@
<LintExecutable></LintExecutable>
<LintConfigFile></LintConfigFile>
<bLintAuto>0</bLintAuto>
<bAutoGenD>0</bAutoGenD>
<LntExFlags>0</LntExFlags>
<pMisraName></pMisraName>
<pszMrule></pszMrule>
<pSingCmds></pSingCmds>
<pMultCmds></pMultCmds>
</TargetOption>
</Target>

View File

@@ -10,7 +10,7 @@
<TargetName>exixe</TargetName>
<ToolsetNumber>0x4</ToolsetNumber>
<ToolsetName>ARM-ADS</ToolsetName>
<pCCUsed>5060422::V5.06 update 4 (build 422)::ARMCC</pCCUsed>
<pCCUsed>5060061::V5.06 update 1 (build 61)::ARMCC</pCCUsed>
<TargetOption>
<TargetCommonOption>
<Device>STM32F042K6</Device>
@@ -125,6 +125,47 @@
<HexOffset>0</HexOffset>
<Oh166RecLen>16</Oh166RecLen>
</OPTHX>
<Simulator>
<UseSimulator>0</UseSimulator>
<LoadApplicationAtStartup>1</LoadApplicationAtStartup>
<RunToMain>1</RunToMain>
<RestoreBreakpoints>1</RestoreBreakpoints>
<RestoreWatchpoints>1</RestoreWatchpoints>
<RestoreMemoryDisplay>1</RestoreMemoryDisplay>
<RestoreFunctions>1</RestoreFunctions>
<RestoreToolbox>1</RestoreToolbox>
<LimitSpeedToRealTime>0</LimitSpeedToRealTime>
<RestoreSysVw>1</RestoreSysVw>
</Simulator>
<Target>
<UseTarget>1</UseTarget>
<LoadApplicationAtStartup>1</LoadApplicationAtStartup>
<RunToMain>1</RunToMain>
<RestoreBreakpoints>1</RestoreBreakpoints>
<RestoreWatchpoints>1</RestoreWatchpoints>
<RestoreMemoryDisplay>1</RestoreMemoryDisplay>
<RestoreFunctions>1</RestoreFunctions>
<RestoreToolbox>1</RestoreToolbox>
<RestoreTracepoints>1</RestoreTracepoints>
<RestoreSysVw>1</RestoreSysVw>
</Target>
<RunDebugAfterBuild>0</RunDebugAfterBuild>
<TargetSelection>11</TargetSelection>
<SimDlls>
<CpuDll></CpuDll>
<CpuDllArguments></CpuDllArguments>
<PeripheralDll></PeripheralDll>
<PeripheralDllArguments></PeripheralDllArguments>
<InitializationFile></InitializationFile>
</SimDlls>
<TargetDlls>
<CpuDll></CpuDll>
<CpuDllArguments></CpuDllArguments>
<PeripheralDll></PeripheralDll>
<PeripheralDllArguments></PeripheralDllArguments>
<InitializationFile></InitializationFile>
<Driver>STLink\ST-LINKIII-KEIL_SWO.dll</Driver>
</TargetDlls>
</DebugOption>
<Utilities>
<Flash1>
@@ -328,9 +369,6 @@
<v6LangP>1</v6LangP>
<vShortEn>1</vShortEn>
<vShortWch>1</vShortWch>
<v6Lto>0</v6Lto>
<v6WtE>0</v6WtE>
<v6Rtti>0</v6Rtti>
<VariousControls>
<MiscControls>--C99</MiscControls>
<Define>USE_HAL_DRIVER,STM32F042x6</Define>
@@ -348,7 +386,6 @@
<NoWarn>0</NoWarn>
<uSurpInc>0</uSurpInc>
<useXO>0</useXO>
<uClangAs>0</uClangAs>
<VariousControls>
<MiscControls></MiscControls>
<Define></Define>

View File

Binary file not shown.

View File

@@ -3,49 +3,52 @@
<pre>
<h1><EFBFBD>Vision Build Log</h1>
<h2>Tool Versions:</h2>
IDE-Version: <20>Vision V5.23.0.0
Copyright (C) 2017 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: deku nukem, dekunukem, LIC=2TT9U-SLY4Q-PEKH1-C1UZZ-YMS37-GJ9R5
IDE-Version: <20>Vision V5.17.0.0
Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: Allen Wang, myself, LIC=21EUH-WSQEI-XUN41-CJ6KT-AFN84-V4IS7
Tool Versions:
Toolchain: MDK-ARM Professional Version: 5.23
Toolchain: MDK-ARM Standard Version: 5.17
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 4 (build 422)
Assembler: Armasm.exe V5.06 update 4 (build 422)
Linker/Locator: ArmLink.exe V5.06 update 4 (build 422)
Library Manager: ArmAr.exe V5.06 update 4 (build 422)
Hex Converter: FromElf.exe V5.06 update 4 (build 422)
CPU DLL: SARMCM3.DLL V5.23
Dialog DLL: DARMCM1.DLL V1.17.0.0
C Compiler: Armcc.exe V5.06 update 1 (build 61)
Assembler: Armasm.exe V5.06 update 1 (build 61)
Linker/Locator: ArmLink.exe V5.06 update 1 (build 61)
Library Manager: ArmAr.exe V5.06 update 1 (build 61)
Hex Converter: FromElf.exe V5.06 update 1 (build 61)
CPU DLL: SARMCM3.DLL V5.17
Dialog DLL: DARMCM1.DLL V1.12.0.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V2.0.18.0
Dialog DLL: TARMCM1.DLL V1.12.0.0
Dialog DLL: TARMCM1.DLL V1.9.0.0
<h2>Project:</h2>
C:\Users\Allen\Desktop\repos\exixe\firmware\exixe12_firmware\MDK-ARM\exixe.uvprojx
Project File Date: 09/03/2017
C:\Users\Allen\Desktop\repos\exixe\firmware\exixe12\MDK-ARM\exixe.uvprojx
Project File Date: 12/15/2017
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'exixe'
compiling helpers.c...
linking...
Program Size: Code=8636 RO-data=240 RW-data=8 ZI-data=1608
"exixe\exixe.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
Package Vendor: ARM
http://www.keil.com/pack/ARM.CMSIS.5.0.1.pack
ARM::CMSIS:CORE:5.0.1
http://www.keil.com/pack/ARM.CMSIS.4.5.0.pack
ARM::CMSIS:CORE:4.3.0
CMSIS (Cortex Microcontroller Software Interface Standard)
* Component: CORE Version: 5.0.1
* Component: CORE Version: 4.3.0
<h2>Collection of Component include folders:</h2>
.\RTE\_exixe
C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include
C:\Users\Allen\Desktop\repos\exixe\firmware\exixe12\MDK-ARM\RTE
C:\Keil_v5\ARM\PACK\ARM\CMSIS\4.5.0\CMSIS\Include
C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Device\Include
<h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE:5.0.1
Build Time Elapsed: 00:00:01
* Component: ARM::CMSIS:CORE:4.3.0
Build Time Elapsed: 00:00:04
</pre>
</body>
</html>

View File

@@ -3,7 +3,7 @@
<title>Static Call Graph - [exixe\exixe.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image exixe\exixe.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060422: Last Updated: Sun Sep 03 20:07:02 2017
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060061: Last Updated: Fri Dec 15 17:34:03 2017
<BR><P>
<H3>Maximum Stack Usage = 172 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@@ -71,7 +71,7 @@ Global Symbols
<P><STRONG><a name="[23]"></a>__main</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f042x6.o(.text)
</UL>
<P><STRONG><a name="[7b]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[7a]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[29]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[2a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
@@ -81,15 +81,15 @@ Global Symbols
<BR><BR>[Called By]<UL><LI><a href="#[2a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL>
<P><STRONG><a name="[7c]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[7b]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[7d]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[7c]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[7e]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[7d]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[7f]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D))
<P><STRONG><a name="[7e]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D))
<P><STRONG><a name="[80]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[7f]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[0]"></a>Reset_Handler</STRONG> (Thumb, 38 bytes, Stack size 0 bytes, startup_stm32f042x6.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f042x6.o(RESET)
@@ -176,7 +176,7 @@ Global Symbols
<P><STRONG><a name="[6]"></a>WWDG_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f042x6.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f042x6.o(RESET)
</UL>
<P><STRONG><a name="[81]"></a>__aeabi_uidiv</STRONG> (Thumb, 0 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)
<P><STRONG><a name="[80]"></a>__aeabi_uidiv</STRONG> (Thumb, 0 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)
<P><STRONG><a name="[31]"></a>__aeabi_uidivmod</STRONG> (Thumb, 44 bytes, Stack size 12 bytes, uidiv.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = __aeabi_uidivmod
@@ -190,20 +190,20 @@ Global Symbols
<P><STRONG><a name="[2c]"></a>__aeabi_memset</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, memseta.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[2d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_memset$wrapper
<LI><a href="#[2b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memclr
<LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
</UL>
<P><STRONG><a name="[82]"></a>__aeabi_memset4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[81]"></a>__aeabi_memset4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[83]"></a>__aeabi_memset8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[82]"></a>__aeabi_memset8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[2b]"></a>__aeabi_memclr</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[2c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memset
</UL>
<P><STRONG><a name="[84]"></a>__aeabi_memclr4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[83]"></a>__aeabi_memclr4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[85]"></a>__aeabi_memclr8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[84]"></a>__aeabi_memclr8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[2d]"></a>_memset$wrapper</STRONG> (Thumb, 18 bytes, Stack size 8 bytes, memseta.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[2c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memset
@@ -215,7 +215,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[29]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
</UL>
<P><STRONG><a name="[86]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[85]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[10]"></a>DMA1_Channel2_3_IRQHandler</STRONG> (Thumb, 10 bytes, Stack size 8 bytes, stm32f0xx_it.o(i.DMA1_Channel2_3_IRQHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = DMA1_Channel2_3_IRQHandler &rArr; HAL_DMA_IRQHandler
@@ -262,7 +262,7 @@ Global Symbols
<LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_SPI_MspInit
</UL>
<P><STRONG><a name="[79]"></a>HAL_GPIO_ReadPin</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, stm32f0xx_hal_gpio.o(i.HAL_GPIO_ReadPin))
<P><STRONG><a name="[78]"></a>HAL_GPIO_ReadPin</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, stm32f0xx_hal_gpio.o(i.HAL_GPIO_ReadPin))
<BR><BR>[Called By]<UL><LI><a href="#[21]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
@@ -274,7 +274,6 @@ Global Symbols
<LI><a href="#[28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_DMATransmitReceiveCplt
<LI><a href="#[25]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_DMAReceiveCplt
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_Delay
<LI><a href="#[75]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;kick_dog
<LI><a href="#[37]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_IWDG_Init
</UL>
@@ -286,8 +285,8 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[21]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[76]"></a>HAL_IWDG_Refresh</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, stm32f0xx_hal_iwdg.o(i.HAL_IWDG_Refresh))
<BR><BR>[Called By]<UL><LI><a href="#[75]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;kick_dog
<P><STRONG><a name="[77]"></a>HAL_IWDG_Refresh</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, stm32f0xx_hal_iwdg.o(i.HAL_IWDG_Refresh))
<BR><BR>[Called By]<UL><LI><a href="#[21]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[72]"></a>HAL_IncTick</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, stm32f0xx_hal.o(i.HAL_IncTick))
@@ -323,7 +322,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_Init
</UL>
<P><STRONG><a name="[77]"></a>HAL_NVIC_EnableIRQ</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, stm32f0xx_hal_cortex.o(i.HAL_NVIC_EnableIRQ))
<P><STRONG><a name="[75]"></a>HAL_NVIC_EnableIRQ</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, stm32f0xx_hal_cortex.o(i.HAL_NVIC_EnableIRQ))
<BR><BR>[Called By]<UL><LI><a href="#[21]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
@@ -483,7 +482,7 @@ Global Symbols
</UL>
<BR>[Calls]<UL><LI><a href="#[4e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;TIM_CCxNChannelCmd
</UL>
<BR>[Called By]<UL><LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<BR>[Called By]<UL><LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
</UL>
<P><STRONG><a name="[4f]"></a>HAL_TIM_Base_Init</STRONG> (Thumb, 52 bytes, Stack size 16 bytes, stm32f0xx_hal_tim.o(i.HAL_TIM_Base_Init))
@@ -506,8 +505,8 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[4f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_TIM_Base_Init
</UL>
<P><STRONG><a name="[7a]"></a>HAL_TIM_Base_Start</STRONG> (Thumb, 24 bytes, Stack size 0 bytes, stm32f0xx_hal_tim.o(i.HAL_TIM_Base_Start))
<BR><BR>[Called By]<UL><LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<P><STRONG><a name="[79]"></a>HAL_TIM_Base_Start</STRONG> (Thumb, 24 bytes, Stack size 0 bytes, stm32f0xx_hal_tim.o(i.HAL_TIM_Base_Start))
<BR><BR>[Called By]<UL><LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
</UL>
<P><STRONG><a name="[52]"></a>HAL_TIM_ConfigClockSource</STRONG> (Thumb, 238 bytes, Stack size 24 bytes, stm32f0xx_hal_tim.o(i.HAL_TIM_ConfigClockSource))
@@ -558,7 +557,7 @@ Global Symbols
<BR>[Calls]<UL><LI><a href="#[5e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_TIM_PWM_MspInit
<LI><a href="#[51]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;TIM_Base_SetConfig
</UL>
<BR>[Called By]<UL><LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<BR>[Called By]<UL><LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<LI><a href="#[69]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_TIM3_Init
<LI><a href="#[68]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_TIM2_Init
<LI><a href="#[66]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_TIM1_Init
@@ -576,7 +575,7 @@ Global Symbols
</UL>
<BR>[Calls]<UL><LI><a href="#[60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;TIM_CCxChannelCmd
</UL>
<BR>[Called By]<UL><LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<BR>[Called By]<UL><LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
</UL>
<P><STRONG><a name="[2]"></a>HardFault_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, stm32f0xx_it.o(i.HardFault_Handler))
@@ -652,31 +651,21 @@ Global Symbols
<LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_SPI_MspInit
</UL>
<P><STRONG><a name="[87]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[86]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[88]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[87]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[89]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[88]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[75]"></a>kick_dog</STRONG> (Thumb, 30 bytes, Stack size 8 bytes, main.o(i.kick_dog))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = kick_dog
</UL>
<BR>[Calls]<UL><LI><a href="#[36]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GetTick
<LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_IWDG_Refresh
</UL>
<BR>[Called By]<UL><LI><a href="#[21]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[21]"></a>main</STRONG> (Thumb, 174 bytes, Stack size 8 bytes, main.o(i.main))
<P><STRONG><a name="[21]"></a>main</STRONG> (Thumb, 176 bytes, Stack size 8 bytes, main.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 172<LI>Call Chain = main &rArr; SystemClock_Config &rArr; HAL_RCC_ClockConfig &rArr; HAL_RCC_GetSysClockFreq &rArr; __aeabi_uidivmod
</UL>
<BR>[Calls]<UL><LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_NVIC_SetPriority
<LI><a href="#[77]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_NVIC_EnableIRQ
<LI><a href="#[75]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_NVIC_EnableIRQ
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_Delay
<LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_Init
<LI><a href="#[79]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GPIO_ReadPin
<LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<LI><a href="#[75]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;kick_dog
<LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GPIO_ReadPin
<LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<LI><a href="#[73]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SystemClock_Config
<LI><a href="#[69]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_TIM3_Init
<LI><a href="#[68]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_TIM2_Init
@@ -685,24 +674,25 @@ Global Symbols
<LI><a href="#[63]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_TIM16_Init
<LI><a href="#[62]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_TIM14_Init
<LI><a href="#[61]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MX_SPI1_Init
<LI><a href="#[77]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_IWDG_Refresh
<LI><a href="#[37]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_IWDG_Init
<LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_SPI_Receive_DMA
</UL>
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
</UL>
<P><STRONG><a name="[4a]"></a>set_pwm</STRONG> (Thumb, 220 bytes, Stack size 12 bytes, helpers.o(i.set_pwm))
<P><STRONG><a name="[4a]"></a>set_pwm</STRONG> (Thumb, 234 bytes, Stack size 12 bytes, helpers.o(i.set_pwm))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = set_pwm
</UL>
<BR>[Called By]<UL><LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<BR>[Called By]<UL><LI><a href="#[76]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;timer_init
<LI><a href="#[48]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_SPI_RxCpltCallback
</UL>
<P><STRONG><a name="[78]"></a>timer_init</STRONG> (Thumb, 212 bytes, Stack size 24 bytes, helpers.o(i.timer_init))
<P><STRONG><a name="[76]"></a>timer_init</STRONG> (Thumb, 212 bytes, Stack size 24 bytes, helpers.o(i.timer_init))
<BR><BR>[Stack]<UL><LI>Max Depth = 60<LI>Call Chain = timer_init &rArr; HAL_TIM_PWM_Init &rArr; TIM_Base_SetConfig
</UL>
<BR>[Calls]<UL><LI><a href="#[5f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_TIM_PWM_Start
<LI><a href="#[5d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_TIM_PWM_Init
<LI><a href="#[7a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_TIM_Base_Start
<LI><a href="#[79]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_TIM_Base_Start
<LI><a href="#[4d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_TIMEx_PWMN_Start
<LI><a href="#[2c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memset
<LI><a href="#[4a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_pwm

View File

@@ -1,4 +1,4 @@
Component: ARM Compiler 5.06 update 4 (build 422) Tool: armlink [4d35d2]
Component: ARM Compiler 5.06 update 1 (build 61) Tool: armlink [4d35a8]
==============================================================================
@@ -618,10 +618,6 @@ Section Cross References
main.o(i.SystemClock_Config) refers to stm32f0xx_hal_cortex.o(i.HAL_SYSTICK_Config) for HAL_SYSTICK_Config
main.o(i.SystemClock_Config) refers to stm32f0xx_hal_cortex.o(i.HAL_SYSTICK_CLKSourceConfig) for HAL_SYSTICK_CLKSourceConfig
main.o(i.SystemClock_Config) refers to stm32f0xx_hal_cortex.o(i.HAL_NVIC_SetPriority) for HAL_NVIC_SetPriority
main.o(i.kick_dog) refers to stm32f0xx_hal.o(i.HAL_GetTick) for HAL_GetTick
main.o(i.kick_dog) refers to stm32f0xx_hal_iwdg.o(i.HAL_IWDG_Refresh) for HAL_IWDG_Refresh
main.o(i.kick_dog) refers to main.o(.data) for .data
main.o(i.kick_dog) refers to main.o(.bss) for .bss
main.o(i.main) refers to stm32f0xx_hal.o(i.HAL_Init) for HAL_Init
main.o(i.main) refers to main.o(i.SystemClock_Config) for SystemClock_Config
main.o(i.main) refers to stm32f0xx_hal_cortex.o(i.HAL_NVIC_SetPriority) for HAL_NVIC_SetPriority
@@ -636,7 +632,7 @@ Section Cross References
main.o(i.main) refers to stm32f0xx_hal_iwdg.o(i.HAL_IWDG_Init) for HAL_IWDG_Init
main.o(i.main) refers to helpers.o(i.timer_init) for timer_init
main.o(i.main) refers to stm32f0xx_hal.o(i.HAL_Delay) for HAL_Delay
main.o(i.main) refers to main.o(i.kick_dog) for kick_dog
main.o(i.main) refers to stm32f0xx_hal_iwdg.o(i.HAL_IWDG_Refresh) for HAL_IWDG_Refresh
main.o(i.main) refers to stm32f0xx_hal_gpio.o(i.HAL_GPIO_ReadPin) for HAL_GPIO_ReadPin
main.o(i.main) refers to stm32f0xx_hal_spi.o(i.HAL_SPI_Receive_DMA) for HAL_SPI_Receive_DMA
main.o(i.main) refers to main.o(.bss) for .bss
@@ -1098,18 +1094,18 @@ Image Symbol Table
../Src/system_stm32f0xx.c 0x00000000 Number 0 system_stm32f0xx.o ABSOLUTE
../clib/microlib/division.c 0x00000000 Number 0 uidiv.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llushr.o ABSOLUTE
../clib/microlib/string/memset.c 0x00000000 Number 0 memseta.o ABSOLUTE
..\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c 0x00000000 Number 0 stm32f0xx_hal.o ABSOLUTE
@@ -1267,19 +1263,16 @@ Image Symbol Table
i.__scatterload_copy 0x08001faa Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x08001fb8 Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x08001fba Section 14 handlers.o(i.__scatterload_zeroinit)
i.kick_dog 0x08001fc8 Section 0 main.o(i.kick_dog)
i.main 0x08001ff0 Section 0 main.o(i.main)
i.set_pwm 0x080020b4 Section 0 helpers.o(i.set_pwm)
i.timer_init 0x080021a8 Section 0 helpers.o(i.timer_init)
.constdata 0x08002294 Section 16 system_stm32f0xx.o(.constdata)
i.main 0x08001fc8 Section 0 main.o(i.main)
i.set_pwm 0x0800208c Section 0 helpers.o(i.set_pwm)
i.timer_init 0x08002190 Section 0 helpers.o(i.timer_init)
.constdata 0x0800227c Section 16 system_stm32f0xx.o(.constdata)
.data 0x20000000 Section 4 stm32f0xx_hal.o(.data)
.data 0x20000004 Section 4 system_stm32f0xx.o(.data)
.data 0x20000008 Section 4 main.o(.data)
next_kick 0x20000008 Data 4 main.o(.data)
.bss 0x2000000c Section 500 main.o(.bss)
.bss 0x20000200 Section 68 main.o(.bss)
.bss 0x20000244 Section 16 helpers.o(.bss)
STACK 0x20000258 Section 1024 startup_stm32f042x6.o(STACK)
.bss 0x20000008 Section 500 main.o(.bss)
.bss 0x200001fc Section 68 main.o(.bss)
.bss 0x20000240 Section 16 helpers.o(.bss)
STACK 0x20000250 Section 1024 startup_stm32f042x6.o(STACK)
Global Symbols
@@ -1403,26 +1396,25 @@ Image Symbol Table
__scatterload_copy 0x08001fab Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x08001fb9 Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x08001fbb Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
kick_dog 0x08001fc9 Thumb Code 30 main.o(i.kick_dog)
main 0x08001ff1 Thumb Code 174 main.o(i.main)
set_pwm 0x080020b5 Thumb Code 220 helpers.o(i.set_pwm)
timer_init 0x080021a9 Thumb Code 212 helpers.o(i.timer_init)
AHBPrescTable 0x08002294 Data 16 system_stm32f0xx.o(.constdata)
Region$$Table$$Base 0x080022a4 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x080022c4 Number 0 anon$$obj.o(Region$$Table)
main 0x08001fc9 Thumb Code 176 main.o(i.main)
set_pwm 0x0800208d Thumb Code 234 helpers.o(i.set_pwm)
timer_init 0x08002191 Thumb Code 212 helpers.o(i.timer_init)
AHBPrescTable 0x0800227c Data 16 system_stm32f0xx.o(.constdata)
Region$$Table$$Base 0x0800228c Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x080022ac Number 0 anon$$obj.o(Region$$Table)
uwTick 0x20000000 Data 4 stm32f0xx_hal.o(.data)
SystemCoreClock 0x20000004 Data 4 system_stm32f0xx.o(.data)
hiwdg 0x2000000c Data 16 main.o(.bss)
hspi1 0x2000001c Data 100 main.o(.bss)
htim1 0x20000080 Data 64 main.o(.bss)
htim2 0x200000c0 Data 64 main.o(.bss)
htim3 0x20000100 Data 64 main.o(.bss)
htim14 0x20000140 Data 64 main.o(.bss)
htim16 0x20000180 Data 64 main.o(.bss)
htim17 0x200001c0 Data 64 main.o(.bss)
hdma_spi1_rx 0x20000200 Data 68 main.o(.bss)
spi_recv_buf 0x20000244 Data 16 helpers.o(.bss)
__initial_sp 0x20000658 Data 0 startup_stm32f042x6.o(STACK)
hiwdg 0x20000008 Data 16 main.o(.bss)
hspi1 0x20000018 Data 100 main.o(.bss)
htim1 0x2000007c Data 64 main.o(.bss)
htim2 0x200000bc Data 64 main.o(.bss)
htim3 0x200000fc Data 64 main.o(.bss)
htim14 0x2000013c Data 64 main.o(.bss)
htim16 0x2000017c Data 64 main.o(.bss)
htim17 0x200001bc Data 64 main.o(.bss)
hdma_spi1_rx 0x200001fc Data 68 main.o(.bss)
spi_recv_buf 0x20000240 Data 16 helpers.o(.bss)
__initial_sp 0x20000650 Data 0 startup_stm32f042x6.o(STACK)
@@ -1432,26 +1424,26 @@ Memory Map of the image
Image Entry point : 0x080000c1
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x000022d0, Max: 0x00008000, ABSOLUTE)
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x000022b4, Max: 0x00008000, ABSOLUTE)
Execution Region ER_IROM1 (Base: 0x08000000, Size: 0x000022c4, Max: 0x00008000, ABSOLUTE)
Execution Region ER_IROM1 (Base: 0x08000000, Size: 0x000022ac, Max: 0x00008000, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x08000000 0x000000c0 Data RO 3 RESET startup_stm32f042x6.o
0x080000c0 0x00000000 Code RO 2987 * .ARM.Collect$$$$00000000 mc_p.l(entry.o)
0x080000c0 0x00000004 Code RO 2996 .ARM.Collect$$$$00000001 mc_p.l(entry2.o)
0x080000c4 0x00000004 Code RO 2999 .ARM.Collect$$$$00000004 mc_p.l(entry5.o)
0x080000c8 0x00000000 Code RO 3001 .ARM.Collect$$$$00000008 mc_p.l(entry7b.o)
0x080000c8 0x00000000 Code RO 3003 .ARM.Collect$$$$0000000A mc_p.l(entry8b.o)
0x080000c8 0x00000008 Code RO 3004 .ARM.Collect$$$$0000000B mc_p.l(entry9a.o)
0x080000d0 0x00000000 Code RO 3006 .ARM.Collect$$$$0000000D mc_p.l(entry10a.o)
0x080000d0 0x00000000 Code RO 3008 .ARM.Collect$$$$0000000F mc_p.l(entry11a.o)
0x080000d0 0x00000004 Code RO 2997 .ARM.Collect$$$$00002712 mc_p.l(entry2.o)
0x080000c0 0x00000000 Code RO 2981 * .ARM.Collect$$$$00000000 mc_p.l(entry.o)
0x080000c0 0x00000004 Code RO 2990 .ARM.Collect$$$$00000001 mc_p.l(entry2.o)
0x080000c4 0x00000004 Code RO 2993 .ARM.Collect$$$$00000004 mc_p.l(entry5.o)
0x080000c8 0x00000000 Code RO 2995 .ARM.Collect$$$$00000008 mc_p.l(entry7b.o)
0x080000c8 0x00000000 Code RO 2997 .ARM.Collect$$$$0000000A mc_p.l(entry8b.o)
0x080000c8 0x00000008 Code RO 2998 .ARM.Collect$$$$0000000B mc_p.l(entry9a.o)
0x080000d0 0x00000000 Code RO 3000 .ARM.Collect$$$$0000000D mc_p.l(entry10a.o)
0x080000d0 0x00000000 Code RO 3002 .ARM.Collect$$$$0000000F mc_p.l(entry11a.o)
0x080000d0 0x00000004 Code RO 2991 .ARM.Collect$$$$00002712 mc_p.l(entry2.o)
0x080000d4 0x00000058 Code RO 4 .text startup_stm32f042x6.o
0x0800012c 0x0000002c Code RO 2990 .text mc_p.l(uidiv.o)
0x08000158 0x00000024 Code RO 2994 .text mc_p.l(memseta.o)
0x0800017c 0x00000024 Code RO 3010 .text mc_p.l(init.o)
0x0800012c 0x0000002c Code RO 2984 .text mc_p.l(uidiv.o)
0x08000158 0x00000024 Code RO 2988 .text mc_p.l(memseta.o)
0x0800017c 0x00000024 Code RO 3004 .text mc_p.l(init.o)
0x080001a0 0x00000010 Code RO 2752 i.DMA1_Channel2_3_IRQHandler stm32f0xx_it.o
0x080001b0 0x00000024 Code RO 1066 i.DMA_CalcBaseAndBitshift stm32f0xx_hal_dma.o
0x080001d4 0x00000028 Code RO 1067 i.DMA_SetConfig stm32f0xx_hal_dma.o
@@ -1549,29 +1541,26 @@ Memory Map of the image
0x08001f60 0x00000022 Code RO 367 i.TIM_TI1_ConfigInputStage stm32f0xx_hal_tim.o
0x08001f82 0x00000026 Code RO 369 i.TIM_TI2_ConfigInputStage stm32f0xx_hal_tim.o
0x08001fa8 0x00000002 Code RO 2866 i._Error_Handler main.o
0x08001faa 0x0000000e Code RO 3014 i.__scatterload_copy mc_p.l(handlers.o)
0x08001fb8 0x00000002 Code RO 3015 i.__scatterload_null mc_p.l(handlers.o)
0x08001fba 0x0000000e Code RO 3016 i.__scatterload_zeroinit mc_p.l(handlers.o)
0x08001fc8 0x00000028 Code RO 2867 i.kick_dog main.o
0x08001ff0 0x000000c4 Code RO 2868 i.main main.o
0x080020b4 0x000000f4 Code RO 2947 i.set_pwm helpers.o
0x080021a8 0x000000ec Code RO 2948 i.timer_init helpers.o
0x08002294 0x00000010 Data RO 2720 .constdata system_stm32f0xx.o
0x080022a4 0x00000020 Data RO 3012 Region$$Table anon$$obj.o
0x08001faa 0x0000000e Code RO 3008 i.__scatterload_copy mc_p.l(handlers.o)
0x08001fb8 0x00000002 Code RO 3009 i.__scatterload_null mc_p.l(handlers.o)
0x08001fba 0x0000000e Code RO 3010 i.__scatterload_zeroinit mc_p.l(handlers.o)
0x08001fc8 0x000000c4 Code RO 2867 i.main main.o
0x0800208c 0x00000104 Code RO 2941 i.set_pwm helpers.o
0x08002190 0x000000ec Code RO 2942 i.timer_init helpers.o
0x0800227c 0x00000010 Data RO 2720 .constdata system_stm32f0xx.o
0x0800228c 0x00000020 Data RO 3006 Region$$Table anon$$obj.o
Execution Region RW_IRAM1 (Base: 0x20000000, Size: 0x00000658, Max: 0x00001800, ABSOLUTE)
Execution Region RW_IRAM1 (Base: 0x20000000, Size: 0x00000650, Max: 0x00001800, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x20000000 0x00000004 Data RW 2232 .data stm32f0xx_hal.o
0x20000004 0x00000004 Data RW 2722 .data system_stm32f0xx.o
0x20000008 0x00000004 Data RW 2871 .data main.o
0x2000000c 0x000001f4 Zero RW 2869 .bss main.o
0x20000200 0x00000044 Zero RW 2870 .bss main.o
0x20000244 0x00000010 Zero RW 2949 .bss helpers.o
0x20000254 0x00000004 PAD
0x20000258 0x00000400 Zero RW 1 STACK startup_stm32f042x6.o
0x20000008 0x000001f4 Zero RW 2868 .bss main.o
0x200001fc 0x00000044 Zero RW 2869 .bss main.o
0x20000240 0x00000010 Zero RW 2943 .bss helpers.o
0x20000250 0x00000400 Zero RW 1 STACK startup_stm32f042x6.o
==============================================================================
@@ -1581,27 +1570,27 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
480 48 0 0 16 1842 helpers.o
1366 102 0 4 568 9069 main.o
88 38 192 0 1024 652 startup_stm32f042x6.o
122 18 0 4 0 3671 stm32f0xx_hal.o
206 38 0 0 0 11154 stm32f0xx_hal_cortex.o
426 14 0 0 0 4183 stm32f0xx_hal_dma.o
326 22 0 0 0 2255 stm32f0xx_hal_gpio.o
116 20 0 0 0 1731 stm32f0xx_hal_iwdg.o
524 102 0 0 0 3132 stm32f0xx_hal_msp.o
1472 90 0 0 0 4646 stm32f0xx_hal_rcc.o
0 0 0 0 0 435752 stm32f0xx_hal_rcc_ex.o
1626 44 0 0 0 12242 stm32f0xx_hal_spi.o
1360 82 0 0 0 12649 stm32f0xx_hal_tim.o
228 0 0 0 0 3311 stm32f0xx_hal_tim_ex.o
36 6 0 0 0 2596 stm32f0xx_it.o
92 14 16 4 0 1159 system_stm32f0xx.o
496 50 0 0 16 1822 helpers.o
1326 90 0 0 568 8492 main.o
88 38 192 0 1024 644 startup_stm32f042x6.o
122 18 0 4 0 3595 stm32f0xx_hal.o
206 38 0 0 0 11070 stm32f0xx_hal_cortex.o
426 14 0 0 0 4115 stm32f0xx_hal_dma.o
326 22 0 0 0 2227 stm32f0xx_hal_gpio.o
116 20 0 0 0 1703 stm32f0xx_hal_iwdg.o
524 102 0 0 0 3084 stm32f0xx_hal_msp.o
1472 90 0 0 0 4590 stm32f0xx_hal_rcc.o
0 0 0 0 0 435644 stm32f0xx_hal_rcc_ex.o
1626 44 0 0 0 12070 stm32f0xx_hal_spi.o
1360 82 0 0 0 12481 stm32f0xx_hal_tim.o
228 0 0 0 0 3263 stm32f0xx_hal_tim_ex.o
36 6 0 0 0 2528 stm32f0xx_it.o
92 14 16 4 0 1123 system_stm32f0xx.o
----------------------------------------------------------------------
8494 638 240 12 1612 510044 Object Totals
8470 628 240 8 1608 508451 Object Totals
0 0 32 0 0 0 (incl. Generated)
26 0 0 0 4 0 (incl. Padding)
26 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
@@ -1640,15 +1629,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
8660 654 240 12 1612 506740 Grand Totals
8660 654 240 12 1612 506740 ELF Image Totals
8660 654 240 12 0 0 ROM Totals
8636 644 240 8 1608 505191 Grand Totals
8636 644 240 8 1608 505191 ELF Image Totals
8636 644 240 8 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 8900 ( 8.69kB)
Total RW Size (RW Data + ZI Data) 1624 ( 1.59kB)
Total ROM Size (Code + RO Data + RW Data) 8912 ( 8.70kB)
Total RO Size (Code + RO Data) 8876 ( 8.67kB)
Total RW Size (RW Data + ZI Data) 1616 ( 1.58kB)
Total ROM Size (Code + RO Data + RW Data) 8884 ( 8.68kB)
==============================================================================

View File

File diff suppressed because it is too large Load Diff

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -431,11 +431,12 @@ ARM Macro Assembler Page 7
00000000
00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
ork --depend=exixe\startup_stm32f042x6.d -oexixe\startup_stm32f042x6.o -I.\RTE\
_exixe -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include -IC:\Keil_v5\ARM\PAC
K\Keil\STM32F0xx_DFP\1.5.0\Device\Include --predefine="__MICROLIB SETA 1" --pre
define="__UVISION_VERSION SETA 523" --predefine="_RTE_ SETA 1" --predefine="STM
32F042x6 SETA 1" --list=startup_stm32f042x6.lst startup_stm32f042x6.s
ork --depend=exixe\startup_stm32f042x6.d -oexixe\startup_stm32f042x6.o -IC:\Use
rs\Allen\Desktop\repos\exixe\firmware\exixe12\MDK-ARM\RTE -IC:\Keil_v5\ARM\PACK
\ARM\CMSIS\4.5.0\CMSIS\Include -IC:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\D
evice\Include --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SE
TA 517" --predefine="_RTE_ SETA 1" --predefine="STM32F042x6 SETA 1" --list=star
tup_stm32f042x6.lst startup_stm32f042x6.s

View File

@@ -15,6 +15,8 @@ void set_pwm(uint8_t pwm_arr[SPI_BUF_SIZE])
htim2.Instance->CCR4 = 127 - (pwm_arr[14] & 0x7f); // G
if(pwm_arr[13] & 0x80)
htim2.Instance->CCR3 = 127 - (pwm_arr[13] & 0x7f); // R
if(pwm_arr[12] & 0x80)
htim17.Instance->CCR1 = pwm_arr[12] & 0x7f; // right dot
if(pwm_arr[11] & 0x80)
htim17.Instance->CCR1 = pwm_arr[11] & 0x7f; // left dot
if(pwm_arr[10] & 0x80)

View File

@@ -63,12 +63,12 @@ Mcu.UserConstants=
Mcu.UserName=STM32F042K6Tx
MxCube.Version=4.22.0
MxDb.Version=DB.4.0.220
NVIC.DMA1_Channel2_3_IRQn=true\:0\:0\:false\:false\:true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true
NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true
NVIC.DMA1_Channel2_3_IRQn=true\:0\:0\:false\:false\:true\:true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:true
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:true
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:true
NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:true
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:true
PA0.Signal=S_TIM2_CH1_ETR
PA10.Locked=true
PA10.Signal=S_TIM1_CH3
@@ -111,7 +111,7 @@ PCC.Series=STM32F0
PCC.Temperature=25
PCC.Vdd=3.6
PinOutPanel.RotationAngle=0
ProjectManager.AskForMigrate=true
ProjectManager.AskForMigrate=false
ProjectManager.BackupPrevious=false
ProjectManager.CompilerOptimize=2
ProjectManager.ComputerToolchain=false