removed DP resistor, new pogo firmware

This commit is contained in:
dekunukem
2018-10-29 13:48:27 +00:00
parent 8ca9fc2cb8
commit ecc6b57d52
65 changed files with 1715 additions and 1265 deletions

View File

@@ -7,7 +7,7 @@
<setting keepoldvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
<grid distance="5" unitdist="mil" unit="mil" style="lines" multiple="1" display="no" altdistance="1" altunitdist="mil" altunit="mil"/>
<grid distance="2" unitdist="mil" unit="mil" style="lines" multiple="1" display="no" altdistance="1" altunitdist="mil" altunit="mil"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="2" name="Route2" color="1" fill="3" visible="yes" active="yes"/>
@@ -53,7 +53,7 @@
<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="yes" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/>
@@ -179,13 +179,13 @@
<polygon width="0.1524" layer="41">
<vertex x="3.5052" y="39.878"/>
<vertex x="7.9756" y="39.878"/>
<vertex x="8.4328" y="39.5732"/>
<vertex x="8.4328" y="35.9156"/>
<vertex x="8.7376" y="39.369996875"/>
<vertex x="8.7376" y="36.2966"/>
<vertex x="8.0264" y="35.4076"/>
<vertex x="7.366" y="35.4076"/>
<vertex x="7.0104" y="36.2204"/>
<vertex x="1.8288" y="36.2204"/>
<vertex x="0.6604" y="37.4904"/>
<vertex x="1.6804625" y="36.2204"/>
<vertex x="0.6604" y="37.329165625"/>
<vertex x="0.6604" y="39.0144"/>
<vertex x="1.524" y="39.878"/>
<vertex x="3.556" y="39.878"/>
@@ -825,9 +825,6 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
<attribute name="NAME" x="8.8519" y="38.1508" size="0.6096" layer="25" rot="R90"/>
</element>
<element name="JP3" library="SparkFun-Jumpers" package="SMT-JUMPER_2_NO_NO-SILK" value="JUMPER-SMT_2_NO_NO-SILK" x="4.445" y="38.862" smashed="yes" rot="R270"/>
<element name="R12" library="joyAnalog" package="0805" value="10K" x="8.7884" y="20.6756" smashed="yes" rot="MR0">
<attribute name="NAME" x="9.7028" y="21.5519" size="0.8128" layer="26" rot="MR0"/>
</element>
<element name="R17" library="joyAnalog" package="0805" value="10K" x="8.89" y="14.224" smashed="yes" rot="MR0">
<attribute name="NAME" x="7.112" y="13.843" size="0.8128" layer="26" rot="MR0"/>
</element>
@@ -1070,9 +1067,9 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
</signal>
<signal name="NIXIE_DOT_LEFT">
<contactref element="N1" pad="LHDP"/>
<contactref element="R12" pad="2"/>
<wire x1="7.8884" y1="20.6756" x2="7.8884" y2="19.6766" width="0.1524" layer="16"/>
<wire x1="7.8884" y1="19.6766" x2="10.0825" y2="17.4825" width="0.1524" layer="16"/>
<contactref element="Q11" pad="3"/>
<wire x1="11.049" y1="19.4708" x2="10.0825" y2="18.5043" width="0.1524" layer="1"/>
<wire x1="10.0825" y1="18.5043" x2="10.0825" y2="17.4825" width="0.1524" layer="1"/>
</signal>
<signal name="+3V3">
<contactref element="IC1" pad="1"/>
@@ -1442,14 +1439,6 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
<wire x1="12.689" y1="9.525" x2="12.446" y2="9.768" width="0.1524" layer="1"/>
<via x="12.446" y="9.768" extent="1-16" drill="0.45"/>
</signal>
<signal name="N$22">
<contactref element="Q11" pad="3"/>
<contactref element="R12" pad="1"/>
<via x="10.1854" y="19.4708" extent="1-16" drill="0.4"/>
<wire x1="11.049" y1="19.4708" x2="10.1854" y2="19.4708" width="0.1524" layer="1"/>
<wire x1="9.6884" y1="20.6756" x2="10.1854" y2="20.1786" width="0.1524" layer="16"/>
<wire x1="10.1854" y1="20.1786" x2="10.1854" y2="19.4708" width="0.1524" layer="16"/>
</signal>
<signal name="N$14">
<contactref element="IC1" pad="29"/>
<contactref element="R22" pad="2"/>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.3.2">
<eagle version="9.1.3">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting alwaysvectorfont="yes"/>
<setting keepoldvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
@@ -2080,7 +2080,6 @@ by exp-lbrs.ulp</description>
<part name="N1" library="exixe12" deviceset="IN-12B" device=""/>
<part name="R19" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="68K"/>
<part name="JP3" library="SparkFun-Jumpers" deviceset="JUMPER-SMT_2_NO" device="_NO-SILK"/>
<part name="R12" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="10K"/>
<part name="R17" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="10K"/>
<part name="GND12" library="joyAnalog" deviceset="GND" device=""/>
<part name="R20" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="10K"/>
@@ -2156,7 +2155,6 @@ by exp-lbrs.ulp</description>
<instance part="N1" gate="G$1" x="226.06" y="-33.02"/>
<instance part="R19" gate="G$1" x="401.32" y="-38.1"/>
<instance part="JP3" gate="G$1" x="414.02" y="-38.1"/>
<instance part="R12" gate="G$1" x="238.76" y="53.34"/>
<instance part="R17" gate="G$1" x="439.42" y="33.02" rot="R90"/>
<instance part="GND12" gate="1" x="439.42" y="25.4"/>
<instance part="R20" gate="G$1" x="452.12" y="99.06" rot="R180"/>
@@ -2458,9 +2456,9 @@ by exp-lbrs.ulp</description>
<wire x1="236.22" y1="-20.32" x2="248.92" y2="-20.32" width="0.1524" layer="91"/>
<label x="238.76" y="-20.32" size="1.778" layer="95"/>
<pinref part="N1" gate="G$1" pin="LHDP"/>
<pinref part="R12" gate="G$1" pin="2"/>
<wire x1="243.84" y1="53.34" x2="248.92" y2="53.34" width="0.1524" layer="91"/>
<wire x1="248.92" y1="53.34" x2="248.92" y2="-20.32" width="0.1524" layer="91"/>
<pinref part="Q11" gate="A" pin="C"/>
<wire x1="228.6" y1="53.34" x2="248.92" y2="53.34" width="0.1524" layer="91"/>
</segment>
</net>
<net name="+3V3" class="0">
@@ -2825,13 +2823,6 @@ by exp-lbrs.ulp</description>
<pinref part="R21" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$22" class="0">
<segment>
<pinref part="Q11" gate="A" pin="C"/>
<pinref part="R12" gate="G$1" pin="1"/>
<wire x1="228.6" y1="53.34" x2="233.68" y2="53.34" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$14" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="PB6"/>

View File

@@ -7,7 +7,7 @@
<setting keepoldvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
<grid distance="2" unitdist="mil" unit="mil" style="lines" multiple="1" display="no" altdistance="1" altunitdist="mil" altunit="mil"/>
<grid distance="1" unitdist="mil" unit="mil" style="lines" multiple="1" display="no" altdistance="1" altunitdist="mil" altunit="mil"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="2" name="Route2" color="1" fill="3" visible="no" active="yes"/>
@@ -847,12 +847,6 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
<element name="R19" library="joyAnalog" package="0805" value="1M" x="10.033" y="36.703" smashed="yes" rot="R90">
<attribute name="NAME" x="10.9474" y="35.2425" size="0.6096" layer="25" rot="R180"/>
</element>
<element name="R20" library="joyAnalog" package="0805" value="10K" x="13.97" y="18.288" smashed="yes" rot="MR180">
<attribute name="NAME" x="15.494" y="18.6309" size="0.8128" layer="26" rot="MR180"/>
</element>
<element name="R21" library="joyAnalog" package="0805" value="10K" x="6.223" y="18.034" smashed="yes" rot="MR180">
<attribute name="NAME" x="5.1054" y="17.0053" size="0.8128" layer="26" rot="MR180"/>
</element>
<element name="R25" library="joyAnalog" package="0805" value="10K" x="10.287" y="13.843" smashed="yes" rot="MR90">
<attribute name="NAME" x="11.4173" y="13.9954" size="0.8128" layer="26" rot="MR90"/>
</element>
@@ -955,9 +949,8 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
<wire x1="12.842" y1="37.454" x2="14.334" y2="37.454" width="0.2032" layer="1"/>
<wire x1="14.334" y1="37.454" x2="15.08" y2="38.2" width="0.2032" layer="1"/>
<contactref element="R25" pad="1"/>
<via x="10.795" y="11.938" extent="1-16" drill="0.5"/>
<wire x1="10.287" y1="12.943" x2="10.287" y2="12.446" width="0.2032" layer="16"/>
<wire x1="10.287" y1="12.446" x2="10.795" y2="11.938" width="0.2032" layer="16"/>
<via x="10.287" y="11.7856" extent="1-16" drill="0.5"/>
<wire x1="10.287" y1="12.943" x2="10.287" y2="11.7856" width="0.2032" layer="16"/>
<wire x1="15.875" y1="15.494" x2="15.113" y2="15.494" width="0.2032" layer="1"/>
<wire x1="15.113" y1="15.494" x2="12.954" y2="13.335" width="0.2032" layer="1"/>
</signal>
@@ -1097,17 +1090,15 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
</signal>
<signal name="NIXIE_DOT_LEFT">
<contactref element="N1" pad="LHDP"/>
<contactref element="R20" pad="2"/>
<wire x1="12.8766" y1="19.9001" x2="14.2629" y2="19.9001" width="0.2032" layer="16"/>
<wire x1="14.2629" y1="19.9001" x2="14.859" y2="19.304" width="0.2032" layer="16"/>
<wire x1="14.859" y1="19.304" x2="14.859" y2="18.299" width="0.2032" layer="16"/>
<wire x1="14.859" y1="18.299" x2="14.87" y2="18.288" width="0.2032" layer="16"/>
<contactref element="Q11" pad="3"/>
<wire x1="11.303" y1="20.817" x2="12.2199" y2="19.9001" width="0.2032" layer="1"/>
<wire x1="12.2199" y1="19.9001" x2="12.8766" y2="19.9001" width="0.2032" layer="1"/>
</signal>
<signal name="NIXIE_DOT_RIGHT">
<contactref element="N1" pad="RHDP"/>
<contactref element="R21" pad="2"/>
<wire x1="7.123" y1="18.034" x2="7.123" y2="19.8997" width="0.2032" layer="16"/>
<wire x1="7.123" y1="19.8997" x2="7.1234" y2="19.9001" width="0.2032" layer="16"/>
<contactref element="Q12" pad="3"/>
<wire x1="6.858" y1="21.452" x2="6.858" y2="20.1655" width="0.2032" layer="1"/>
<wire x1="6.858" y1="20.1655" x2="7.1234" y2="19.9001" width="0.2032" layer="1"/>
</signal>
<signal name="+3V3">
<contactref element="IC1" pad="1"/>
@@ -1330,19 +1321,19 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
<signal name="STM_5">
<contactref element="R5" pad="1"/>
<contactref element="IC1" pad="6"/>
<wire x1="6.096" y1="21.971" x2="6.858" y2="22.733" width="0.2032" layer="1"/>
<wire x1="6.096" y1="21.8948" x2="6.858" y2="22.6568" width="0.2032" layer="1"/>
<wire x1="2.54" y1="15.24" x2="3.048" y2="15.748" width="0.2032" layer="1"/>
<wire x1="2.54" y1="15.24" x2="2.54" y2="10.287" width="0.2032" layer="1"/>
<wire x1="2.54" y1="10.287" x2="3.556" y2="9.271" width="0.2032" layer="1"/>
<wire x1="3.556" y1="9.271" x2="5.6174" y2="9.271" width="0.2032" layer="1"/>
<wire x1="5.6174" y1="9.271" x2="5.7074" y2="9.181" width="0.2032" layer="1"/>
<wire x1="6" y1="24.13" x2="6.858" y2="24.13" width="0.2032" layer="1"/>
<wire x1="6.858" y1="24.13" x2="6.858" y2="22.733" width="0.2032" layer="1"/>
<wire x1="5.873" y1="26.808" x2="5.873" y2="24.257" width="0.2032" layer="1"/>
<wire x1="5.873" y1="24.257" x2="6" y2="24.13" width="0.2032" layer="1"/>
<wire x1="6.0762" y1="24.1808" x2="6.858" y2="24.1808" width="0.2032" layer="1"/>
<wire x1="6.858" y1="24.1808" x2="6.858" y2="22.6568" width="0.2032" layer="1"/>
<wire x1="5.873" y1="26.808" x2="5.873" y2="24.384" width="0.2032" layer="1"/>
<wire x1="5.873" y1="24.384" x2="6.0762" y2="24.1808" width="0.2032" layer="1"/>
<wire x1="3.048" y1="15.748" x2="5.715" y2="15.748" width="0.2032" layer="1"/>
<wire x1="5.715" y1="15.748" x2="6.096" y2="16.129" width="0.2032" layer="1"/>
<wire x1="6.096" y1="16.129" x2="6.096" y2="21.971" width="0.2032" layer="1"/>
<wire x1="6.096" y1="16.129" x2="6.096" y2="21.8948" width="0.2032" layer="1"/>
</signal>
<signal name="STM_4">
<contactref element="R4" pad="1"/>
@@ -1524,23 +1515,6 @@ These rules have been curated by SparkFuns DFM commitee. After doing much resear
<wire x1="13.219" y1="35.814" x2="13.219" y2="35.571" width="0.2032" layer="1"/>
<wire x1="13.219" y1="35.571" x2="12.192" y2="34.544" width="0.2032" layer="1"/>
</signal>
<signal name="N$17">
<contactref element="Q12" pad="3"/>
<contactref element="R21" pad="1"/>
<via x="6.985" y="21.452" extent="1-16" drill="0.4"/>
<wire x1="5.323" y1="18.034" x2="5.323" y2="19.917" width="0.2032" layer="16"/>
<wire x1="6.858" y1="21.452" x2="6.985" y2="21.452" width="0.2032" layer="1"/>
<wire x1="5.323" y1="19.917" x2="6.858" y2="21.452" width="0.2032" layer="16"/>
<wire x1="6.858" y1="21.452" x2="6.985" y2="21.452" width="0.2032" layer="16"/>
</signal>
<signal name="N$18">
<contactref element="Q11" pad="3"/>
<contactref element="R20" pad="1"/>
<via x="13.07" y="18.288" extent="1-16" drill="0.4"/>
<wire x1="11.303" y1="20.817" x2="11.303" y2="19.558" width="0.2032" layer="1"/>
<wire x1="12.573" y1="18.288" x2="13.07" y2="18.288" width="0.2032" layer="1"/>
<wire x1="11.303" y1="19.558" x2="12.573" y2="18.288" width="0.2032" layer="1"/>
</signal>
<signal name="N$25">
<contactref element="IC1" pad="26"/>
<contactref element="R27" pad="2"/>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.3.2">
<eagle version="9.1.3">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting alwaysvectorfont="yes"/>
<setting keepoldvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
@@ -2012,8 +2012,6 @@ http://www.zetex.com&lt;p&gt;
<part name="R24" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="10K"/>
<part name="GND18" library="joyAnalog" deviceset="GND" device=""/>
<part name="R19" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="1M"/>
<part name="R20" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="10K"/>
<part name="R21" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="10K"/>
<part name="R25" library="joyAnalog" deviceset="RESISTOR" device="0805-RES" value="10K"/>
<part name="GND16" library="joyAnalog" deviceset="GND" device=""/>
<part name="+3V5" library="joyAnalog" deviceset="+3V3" device=""/>
@@ -2095,8 +2093,6 @@ http://www.zetex.com&lt;p&gt;
<instance part="R24" gate="G$1" x="368.3" y="-68.58" rot="R180"/>
<instance part="GND18" gate="1" x="378.46" y="-76.2"/>
<instance part="R19" gate="G$1" x="378.46" y="-58.42" rot="R270"/>
<instance part="R20" gate="G$1" x="238.76" y="53.34"/>
<instance part="R21" gate="G$1" x="238.76" y="27.94"/>
<instance part="R25" gate="G$1" x="429.26" y="33.02" rot="R90"/>
<instance part="GND16" gate="1" x="429.26" y="25.4"/>
<instance part="+3V5" gate="G$1" x="363.22" y="58.42"/>
@@ -2416,9 +2412,9 @@ http://www.zetex.com&lt;p&gt;
<label x="233.68" y="-20.32" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="R20" gate="G$1" pin="2"/>
<wire x1="261.62" y1="53.34" x2="243.84" y2="53.34" width="0.1524" layer="91"/>
<wire x1="261.62" y1="53.34" x2="228.6" y2="53.34" width="0.1524" layer="91"/>
<label x="248.92" y="53.34" size="1.778" layer="95"/>
<pinref part="Q11" gate="A" pin="C"/>
</segment>
</net>
<net name="NIXIE_DOT_RIGHT" class="0">
@@ -2428,9 +2424,9 @@ http://www.zetex.com&lt;p&gt;
<label x="233.68" y="-43.18" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="R21" gate="G$1" pin="2"/>
<wire x1="261.62" y1="27.94" x2="243.84" y2="27.94" width="0.1524" layer="91"/>
<wire x1="261.62" y1="27.94" x2="228.6" y2="27.94" width="0.1524" layer="91"/>
<label x="248.92" y="27.94" size="1.778" layer="95"/>
<pinref part="Q12" gate="A" pin="C"/>
</segment>
</net>
<net name="+3V3" class="0">
@@ -2841,20 +2837,6 @@ http://www.zetex.com&lt;p&gt;
<label x="347.98" y="-68.58" size="1.778" layer="95"/>
</segment>
</net>
<net name="N$17" class="0">
<segment>
<pinref part="Q12" gate="A" pin="C"/>
<pinref part="R21" gate="G$1" pin="1"/>
<wire x1="228.6" y1="27.94" x2="233.68" y2="27.94" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$18" class="0">
<segment>
<pinref part="Q11" gate="A" pin="C"/>
<pinref part="R20" gate="G$1" pin="1"/>
<wire x1="228.6" y1="53.34" x2="233.68" y2="53.34" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$25" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="PB3"/>

View File

@@ -15,7 +15,7 @@ void hv_off(void);
void dut_reset(void);
void test(void);
void set_led(uint8_t red, uint8_t green, uint8_t blue);
void display_digit(uint8_t digit, uint8_t brightness);
void display_digit(uint8_t digit, uint8_t brightness, uint8_t overdrive);
void display_dot(uint8_t dot, uint8_t brightness);
#ifdef __cplusplus

View File

@@ -0,0 +1,37 @@
// File: STM32F030_070.dbgconf
// Version: 1.0.0
// Note: refer to STM32F030x4/x6/x8/xC, STM32F070x6/xB Reference manual (RM0360)
// refer to STM32F030x4 STM32F030x6, STM32F030x8 STM32F030xC datasheet
// STM32F070CB STM32F070RB, STM32F070C6 STM32F070F6 datasheet
// <<< 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
// </h>
DbgMCU_CR = 0x00000006;
// <h> Debug MCU APB1 freeze register (DBGMCU_APB1_FZ)
// <i> Reserved bits must be kept at reset value
// <o.21> DBG_I2C1_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.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.1> DBG_TIM3_STOP <i> TIM3 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_TIM17_STOP <i> TIM17 counter stopped when core is halted
// <o.17> DBG_TIM16_STOP <i> TIM16 counter stopped when core is halted
// <o.16> DBG_TIM15_STOP <i> TIM15 counter stopped when core is halted
// <o.11> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
// </h>
DbgMCU_APB2_Fz = 0x00000000;
// <<< end of configuration section >>>

View File

@@ -11,4 +11,10 @@
#define RTE_COMPONENTS_H
/*
* Define the Device Header File:
*/
#define CMSIS_device_header "stm32f0xx.h"
#endif /* RTE_COMPONENTS_H */

View File

File diff suppressed because one or more lines are too long

View File

@@ -78,28 +78,6 @@
<IsCurrentTarget>1</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<Books>
<Book>
<Number>0</Number>
<Title>Quick Start Guide (STM32F030-Discovery)</Title>
<Path>C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Boards\ST\STM32F030-Discovery\Documents\32F030DISCOVERY_QSG.pdf</Path>
</Book>
<Book>
<Number>1</Number>
<Title>Data Brief (STM32F030-Discovery)</Title>
<Path>C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Boards\ST\STM32F030-Discovery\Documents\DM00092305.pdf</Path>
</Book>
<Book>
<Number>2</Number>
<Title>Schematics (STM32F030-Discovery)</Title>
<Path>C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Boards\ST\STM32F030-Discovery\Documents\MB1134.pdf</Path>
</Book>
<Book>
<Number>3</Number>
<Title>STM32F030-Discovery Web Page (STM32F030-Discovery)</Title>
<Path>http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF259100</Path>
</Book>
</Books>
<DebugOpt>
<uSim>0</uSim>
<uTrg>1</uTrg>
@@ -122,7 +100,10 @@
<tRSysVw>1</tRSysVw>
<sRunDeb>0</sRunDeb>
<sLrtime>0</sLrtime>
<nTsel>11</nTsel>
<bEvRecOn>1</bEvRecOn>
<bSchkAxf>0</bSchkAxf>
<bTchkAxf>0</bTchkAxf>
<nTsel>6</nTsel>
<sDll></sDll>
<sDllPa></sDllPa>
<sDlgDll></sDlgDll>
@@ -139,12 +120,12 @@
<SetRegEntry>
<Number>0</Number>
<Key>UL2CM3</Key>
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F0xx_16 -FS08000000 -FL04000 -FP0($$Device:STM32F030F4$Flash\STM32F0xx_16.FLM))</Name>
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F0xx_16 -FS08000000 -FL04000 -FP0($$Device:STM32F030F4$CMSIS\Flash\STM32F0xx_16.FLM))</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
<Key>ST-LINKIII-KEIL_SWO</Key>
<Name>-U55FF74065083495753450887 -O2254 -S1 -C-1 -A0 -N00("ARM CoreSight SW-DP") -D00(0BB11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO11 -FD20000000 -FC800 -FN1 -FF0STM32F0xx_32.FLM -FS08000000 -FL04000 -FP0($$Device:STM32F030F4$Flash\STM32F0xx_32.FLM)</Name>
<Name>-U55FF74065083495753450887 -O2254 -SF1800 -C-1 -A0 -I0 -HNlocalhost -HP7184 -P2 -N00("ARM CoreSight SW-DP") -D00(0BB11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO11 -FD20000000 -FC800 -FN1 -FF0STM32F0xx_16 -FS08000000 -FL04000 -FP0($$Device:STM32F030F4$CMSIS\Flash\STM32F0xx_16.FLM)</Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint/>
@@ -180,6 +161,22 @@
<LintExecutable></LintExecutable>
<LintConfigFile></LintConfigFile>
<bLintAuto>0</bLintAuto>
<bAutoGenD>0</bAutoGenD>
<LntExFlags>0</LntExFlags>
<pMisraName></pMisraName>
<pszMrule></pszMrule>
<pSingCmds></pSingCmds>
<pMultCmds></pMultCmds>
<pMisraNamep></pMisraNamep>
<pszMrulep></pszMrulep>
<pSingCmdsp></pSingCmdsp>
<pMultCmdsp></pMultCmdsp>
<DebugDescription>
<Enable>1</Enable>
<EnableLog>0</EnableLog>
<Protocol>2</Protocol>
<DbgClock>10000000</DbgClock>
</DebugDescription>
</TargetOption>
</Target>

View File

@@ -10,12 +10,13 @@
<TargetName>pogo</TargetName>
<ToolsetNumber>0x4</ToolsetNumber>
<ToolsetName>ARM-ADS</ToolsetName>
<pCCUsed>5060061::V5.06 update 1 (build 61)::ARMCC</pCCUsed>
<pCCUsed>5060750::V5.06 update 6 (build 750)::ARMCC</pCCUsed>
<uAC6>0</uAC6>
<TargetOption>
<TargetCommonOption>
<Device>STM32F030F4</Device>
<Vendor>STMicroelectronics</Vendor>
<PackID>Keil.STM32F0xx_DFP.1.5.0</PackID>
<PackID>Keil.STM32F0xx_DFP.2.0.0</PackID>
<PackURL>http://www.keil.com/pack/</PackURL>
<Cpu>IRAM(0x20000000-0x20000FFF) IROM(0x8000000-0x8003FFF) CLOCK(8000000) CPUTYPE("Cortex-M0")</Cpu>
<FlashUtilSpec></FlashUtilSpec>
@@ -125,47 +126,6 @@
<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>
@@ -364,11 +324,15 @@
<uThumb>0</uThumb>
<uSurpInc>0</uSurpInc>
<uC99>0</uC99>
<uGnu>0</uGnu>
<useXO>0</useXO>
<v6Lang>0</v6Lang>
<v6LangP>0</v6LangP>
<vShortEn>0</vShortEn>
<vShortWch>0</vShortWch>
<v6Lto>0</v6Lto>
<v6WtE>0</v6WtE>
<v6Rtti>0</v6Rtti>
<VariousControls>
<MiscControls>--C99</MiscControls>
<Define>USE_HAL_DRIVER,STM32F030x6</Define>
@@ -386,6 +350,7 @@
<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

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -3,74 +3,57 @@
<pre>
<h1><EFBFBD>Vision Build Log</h1>
<h2>Tool Versions:</h2>
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
IDE-Version: <20>Vision V5.25.2.0
Copyright (C) 2018 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: deku nukem, dekunukem, LIC=RUUKP-MW2GS-2CZ1I-6TVFJ-CZLPV-2AW1Z
Tool Versions:
Toolchain: MDK-ARM Standard Version: 5.17
Toolchain: MDK-ARM Cortex-M0/M0+ 256K for ST Version: 5.25.2.0
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
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.9.0.0
C Compiler: Armcc.exe V5.06 update 6 (build 750)
Assembler: Armasm.exe V5.06 update 6 (build 750)
Linker/Locator: ArmLink.exe V5.06 update 6 (build 750)
Library Manager: ArmAr.exe V5.06 update 6 (build 750)
Hex Converter: FromElf.exe V5.06 update 6 (build 750)
CPU DLL: SARMCM3.DLL V5.25.2.0
Dialog DLL: DARMCM1.DLL V1.19.1.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.1.0
Dialog DLL: TARMCM1.DLL V1.14.0.0
<h2>Project:</h2>
C:\Users\Allen\Desktop\repos\exixe\pogo_rig\firmware\pogo\MDK-ARM\pogo.uvprojx
Project File Date: 02/06/2018
C:\Users\allen\Desktop\pogo\MDK-ARM\pogo.uvprojx
Project File Date: 10/29/2018
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'pogo'
compiling stm32f0xx_it.c...
compiling stm32f0xx_hal_msp.c...
compiling main.c...
compiling stm32f0xx_hal_spi_ex.c...
compiling stm32f0xx_hal_gpio.c...
compiling helpers.c...
compiling stm32f0xx_hal_uart_ex.c...
compiling stm32f0xx_hal.c...
compiling stm32f0xx_hal_pwr_ex.c...
compiling stm32f0xx_hal_flash.c...
compiling stm32f0xx_hal_cortex.c...
compiling stm32f0xx_hal_i2c.c...
compiling stm32f0xx_hal_uart.c...
compiling stm32f0xx_hal_spi.c...
compiling stm32f0xx_hal_rcc_ex.c...
compiling stm32f0xx_hal_tim.c...
compiling stm32f0xx_hal_i2c_ex.c...
compiling stm32f0xx_hal_dma.c...
compiling stm32f0xx_hal_rcc.c...
compiling stm32f0xx_hal_pwr.c...
compiling stm32f0xx_hal_tim_ex.c...
compiling system_stm32f0xx.c...
compiling stm32f0xx_hal_flash_ex.c...
linking...
Program Size: Code=4976 RO-data=232 RW-data=12 ZI-data=1236
Program Size: Code=5060 RO-data=232 RW-data=12 ZI-data=1236
"pogo\pogo.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
Package Vendor: ARM
http://www.keil.com/pack/ARM.CMSIS.4.5.0.pack
ARM::CMSIS:CORE:4.3.0
http://www.keil.com/pack/ARM.CMSIS.5.3.0.pack
ARM.CMSIS.5.3.0
CMSIS (Cortex Microcontroller Software Interface Standard)
* Component: CORE Version: 4.3.0
* Component: CORE Version: 5.1.1
Package Vendor: Keil
http://www.keil.com/pack/Keil.STM32F0xx_DFP.2.0.0.pack
Keil.STM32F0xx_DFP.2.0.0
STMicroelectronics STM32F0 Series Device Support, Drivers and Examples
<h2>Collection of Component include folders:</h2>
C:\Users\Allen\Desktop\repos\exixe\pogo_rig\firmware\pogo\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
.\RTE\_pogo
C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.3.0\CMSIS\Include
C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\2.0.0\Drivers\CMSIS\Device\ST\STM32F0xx\Include
<h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE:4.3.0
Build Time Elapsed: 00:00:15
* Component: ARM::CMSIS:CORE:5.1.1
Build Time Elapsed: 00:00:01
</pre>
</body>
</html>

View File

@@ -3,7 +3,7 @@
<title>Static Call Graph - [pogo\pogo.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image pogo\pogo.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060061: Last Updated: Tue Feb 06 13:03:54 2018
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060750: Last Updated: Mon Oct 29 13:35:32 2018
<BR><P>
<H3>Maximum Stack Usage = 172 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@@ -55,7 +55,7 @@ Global Symbols
<P><STRONG><a name="[1c]"></a>__main</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f030x6.o(.text)
</UL>
<P><STRONG><a name="[4c]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[4d]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[1d]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[1e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
@@ -65,15 +65,15 @@ Global Symbols
<BR><BR>[Called By]<UL><LI><a href="#[1e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL>
<P><STRONG><a name="[4d]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[4e]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[4e]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[4f]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[4f]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[50]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[50]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D))
<P><STRONG><a name="[51]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D))
<P><STRONG><a name="[51]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[52]"></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, 8 bytes, Stack size 0 bytes, startup_stm32f030x6.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f030x6.o(RESET)
@@ -142,7 +142,7 @@ Global Symbols
<P><STRONG><a name="[6]"></a>WWDG_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f030x6.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f030x6.o(RESET)
</UL>
<P><STRONG><a name="[52]"></a>__aeabi_uidiv</STRONG> (Thumb, 0 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)
<P><STRONG><a name="[53]"></a>__aeabi_uidiv</STRONG> (Thumb, 0 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)
<P><STRONG><a name="[29]"></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
@@ -161,17 +161,17 @@ Global Symbols
<LI><a href="#[1f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memclr
</UL>
<P><STRONG><a name="[53]"></a>__aeabi_memset4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[54]"></a>__aeabi_memset4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[54]"></a>__aeabi_memset8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[55]"></a>__aeabi_memset8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[1f]"></a>__aeabi_memclr</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[20]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memset
</UL>
<P><STRONG><a name="[55]"></a>__aeabi_memclr4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[56]"></a>__aeabi_memclr4</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[56]"></a>__aeabi_memclr8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[57]"></a>__aeabi_memclr8</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
<P><STRONG><a name="[21]"></a>_memset$wrapper</STRONG> (Thumb, 18 bytes, Stack size 8 bytes, memseta.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[20]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memset
@@ -183,7 +183,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[1d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
</UL>
<P><STRONG><a name="[57]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[58]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[23]"></a>HAL_Delay</STRONG> (Thumb, 28 bytes, Stack size 16 bytes, stm32f0xx_hal.o(i.HAL_Delay))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = HAL_Delay
@@ -203,7 +203,8 @@ Global Symbols
</UL>
<P><STRONG><a name="[3e]"></a>HAL_GPIO_WritePin</STRONG> (Thumb, 12 bytes, Stack size 0 bytes, stm32f0xx_hal_gpio.o(i.HAL_GPIO_WritePin))
<BR><BR>[Called By]<UL><LI><a href="#[4b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_led
<BR><BR>[Called By]<UL><LI><a href="#[4c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_led
<LI><a href="#[4b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_dot
<LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;display_digit
<LI><a href="#[49]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;hv_on
<LI><a href="#[48]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;dut_reset
@@ -329,7 +330,8 @@ Global Symbols
<BR>[Calls]<UL><LI><a href="#[24]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GetTick
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_EndRxTxTransaction
</UL>
<BR>[Called By]<UL><LI><a href="#[4b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_led
<BR>[Called By]<UL><LI><a href="#[4c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_led
<LI><a href="#[4b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_dot
<LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;display_digit
</UL>
@@ -439,13 +441,13 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_UART_Init
</UL>
<P><STRONG><a name="[58]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[59]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[59]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[5a]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[5a]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[5b]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[47]"></a>display_digit</STRONG> (Thumb, 118 bytes, Stack size 32 bytes, helpers.o(i.display_digit))
<P><STRONG><a name="[47]"></a>display_digit</STRONG> (Thumb, 98 bytes, Stack size 32 bytes, helpers.o(i.display_digit))
<BR><BR>[Stack]<UL><LI>Max Depth = 120<LI>Call Chain = display_digit &rArr; HAL_SPI_Transmit &rArr; SPI_EndRxTxTransaction &rArr; SPI_WaitFlagStateUntilTimeout
</UL>
<BR>[Calls]<UL><LI><a href="#[34]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_SPI_Transmit
@@ -487,7 +489,16 @@ Global Symbols
</UL>
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
</UL>
<P><STRONG><a name="[4b]"></a>set_led</STRONG> (Thumb, 70 bytes, Stack size 24 bytes, helpers.o(i.set_led))
<P><STRONG><a name="[4b]"></a>set_dot</STRONG> (Thumb, 66 bytes, Stack size 24 bytes, helpers.o(i.set_dot))
<BR><BR>[Stack]<UL><LI>Max Depth = 112<LI>Call Chain = set_dot &rArr; HAL_SPI_Transmit &rArr; SPI_EndRxTxTransaction &rArr; SPI_WaitFlagStateUntilTimeout
</UL>
<BR>[Calls]<UL><LI><a href="#[34]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_SPI_Transmit
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GPIO_WritePin
</UL>
<BR>[Called By]<UL><LI><a href="#[4a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;test
</UL>
<P><STRONG><a name="[4c]"></a>set_led</STRONG> (Thumb, 70 bytes, Stack size 24 bytes, helpers.o(i.set_led))
<BR><BR>[Stack]<UL><LI>Max Depth = 112<LI>Call Chain = set_led &rArr; HAL_SPI_Transmit &rArr; SPI_EndRxTxTransaction &rArr; SPI_WaitFlagStateUntilTimeout
</UL>
<BR>[Calls]<UL><LI><a href="#[34]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_SPI_Transmit
@@ -496,11 +507,12 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[4a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;test
</UL>
<P><STRONG><a name="[4a]"></a>test</STRONG> (Thumb, 74 bytes, Stack size 8 bytes, helpers.o(i.test))
<P><STRONG><a name="[4a]"></a>test</STRONG> (Thumb, 106 bytes, Stack size 8 bytes, helpers.o(i.test))
<BR><BR>[Stack]<UL><LI>Max Depth = 128<LI>Call Chain = test &rArr; display_digit &rArr; HAL_SPI_Transmit &rArr; SPI_EndRxTxTransaction &rArr; SPI_WaitFlagStateUntilTimeout
</UL>
<BR>[Calls]<UL><LI><a href="#[23]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_Delay
<LI><a href="#[4b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_led
<LI><a href="#[4c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_led
<LI><a href="#[4b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;set_dot
<LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;display_digit
<LI><a href="#[29]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidivmod
</UL>

View File

@@ -24,6 +24,6 @@
"pogo\startup_stm32f030x6.o"
"pogo\system_stm32f0xx.o"
--library_type=microlib --strict --scatter "pogo\pogo.sct"
--diag_suppress=L6329 --summary_stderr --info summarysizes --map --xref --callgraph --symbols
--diag_suppress=L6329 --summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list "pogo.map" -o pogo\pogo.axf

View File

@@ -1,4 +1,4 @@
Component: ARM Compiler 5.06 update 1 (build 61) Tool: armlink [4d35a8]
Component: ARM Compiler 5.06 update 6 (build 750) Tool: armlink [4d35ed]
==============================================================================
@@ -42,12 +42,16 @@ Section Cross References
helpers.o(i.dut_reset) refers to stm32f0xx_hal_gpio.o(i.HAL_GPIO_WritePin) for HAL_GPIO_WritePin
helpers.o(i.hv_off) refers to stm32f0xx_hal_gpio.o(i.HAL_GPIO_WritePin) for HAL_GPIO_WritePin
helpers.o(i.hv_on) refers to stm32f0xx_hal_gpio.o(i.HAL_GPIO_WritePin) for HAL_GPIO_WritePin
helpers.o(i.set_dot) refers to stm32f0xx_hal_gpio.o(i.HAL_GPIO_WritePin) for HAL_GPIO_WritePin
helpers.o(i.set_dot) refers to stm32f0xx_hal_spi.o(i.HAL_SPI_Transmit) for HAL_SPI_Transmit
helpers.o(i.set_dot) refers to main.o(.bss) for hspi1
helpers.o(i.set_led) refers to stm32f0xx_hal_gpio.o(i.HAL_GPIO_WritePin) for HAL_GPIO_WritePin
helpers.o(i.set_led) refers to stm32f0xx_hal_spi.o(i.HAL_SPI_Transmit) for HAL_SPI_Transmit
helpers.o(i.set_led) refers to main.o(.bss) for hspi1
helpers.o(i.test) refers to uidiv.o(.text) for __aeabi_uidivmod
helpers.o(i.test) refers to helpers.o(i.set_led) for set_led
helpers.o(i.test) refers to helpers.o(i.display_digit) for display_digit
helpers.o(i.test) refers to helpers.o(i.set_dot) for set_dot
helpers.o(i.test) refers to stm32f0xx_hal.o(i.HAL_Delay) for HAL_Delay
helpers.o(i.test) refers to helpers.o(.data) for .data
stm32f0xx_hal_gpio.o(i.HAL_GPIO_EXTI_IRQHandler) refers to stm32f0xx_hal_gpio.o(i.HAL_GPIO_EXTI_Callback) for HAL_GPIO_EXTI_Callback
@@ -888,19 +892,19 @@ Image Symbol Table
../Src/stm32f0xx_it.c 0x00000000 Number 0 stm32f0xx_it.o ABSOLUTE
../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 entry10b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.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 entry8b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.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 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9b.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/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
@@ -998,13 +1002,14 @@ Image Symbol Table
i.__scatterload_null 0x0800128a Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x0800128c Section 14 handlers.o(i.__scatterload_zeroinit)
i.display_digit 0x0800129c Section 0 helpers.o(i.display_digit)
i.dut_reset 0x08001318 Section 0 helpers.o(i.dut_reset)
i.hv_on 0x08001346 Section 0 helpers.o(i.hv_on)
i.main 0x08001362 Section 0 main.o(i.main)
i.set_led 0x08001384 Section 0 helpers.o(i.set_led)
i.test 0x080013d0 Section 0 helpers.o(i.test)
.constdata 0x08001420 Section 16 system_stm32f0xx.o(.constdata)
.constdata 0x08001430 Section 8 system_stm32f0xx.o(.constdata)
i.dut_reset 0x08001304 Section 0 helpers.o(i.dut_reset)
i.hv_on 0x08001332 Section 0 helpers.o(i.hv_on)
i.main 0x0800134e Section 0 main.o(i.main)
i.set_dot 0x08001370 Section 0 helpers.o(i.set_dot)
i.set_led 0x080013b8 Section 0 helpers.o(i.set_led)
i.test 0x08001404 Section 0 helpers.o(i.test)
.constdata 0x08001474 Section 16 system_stm32f0xx.o(.constdata)
.constdata 0x08001484 Section 8 system_stm32f0xx.o(.constdata)
.data 0x20000000 Section 1 helpers.o(.data)
.data 0x20000004 Section 4 stm32f0xx_hal.o(.data)
.data 0x20000008 Section 4 system_stm32f0xx.o(.data)
@@ -1103,16 +1108,17 @@ Image Symbol Table
__scatterload_copy 0x0800127d Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x0800128b Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x0800128d Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
display_digit 0x0800129d Thumb Code 118 helpers.o(i.display_digit)
dut_reset 0x08001319 Thumb Code 46 helpers.o(i.dut_reset)
hv_on 0x08001347 Thumb Code 28 helpers.o(i.hv_on)
main 0x08001363 Thumb Code 34 main.o(i.main)
set_led 0x08001385 Thumb Code 70 helpers.o(i.set_led)
test 0x080013d1 Thumb Code 74 helpers.o(i.test)
AHBPrescTable 0x08001420 Data 16 system_stm32f0xx.o(.constdata)
APBPrescTable 0x08001430 Data 8 system_stm32f0xx.o(.constdata)
Region$$Table$$Base 0x08001438 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08001458 Number 0 anon$$obj.o(Region$$Table)
display_digit 0x0800129d Thumb Code 98 helpers.o(i.display_digit)
dut_reset 0x08001305 Thumb Code 46 helpers.o(i.dut_reset)
hv_on 0x08001333 Thumb Code 28 helpers.o(i.hv_on)
main 0x0800134f Thumb Code 34 main.o(i.main)
set_dot 0x08001371 Thumb Code 66 helpers.o(i.set_dot)
set_led 0x080013b9 Thumb Code 70 helpers.o(i.set_led)
test 0x08001405 Thumb Code 106 helpers.o(i.test)
AHBPrescTable 0x08001474 Data 16 system_stm32f0xx.o(.constdata)
APBPrescTable 0x08001484 Data 8 system_stm32f0xx.o(.constdata)
Region$$Table$$Base 0x0800148c Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x080014ac Number 0 anon$$obj.o(Region$$Table)
count 0x20000000 Data 1 helpers.o(.data)
uwTick 0x20000004 Data 4 stm32f0xx_hal.o(.data)
SystemCoreClock 0x20000008 Data 4 system_stm32f0xx.o(.data)
@@ -1128,97 +1134,98 @@ Memory Map of the image
Image Entry point : 0x080000b1
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00001464, Max: 0x00004000, ABSOLUTE)
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x000014b8, Max: 0x00004000, ABSOLUTE)
Execution Region ER_IROM1 (Base: 0x08000000, Size: 0x00001458, Max: 0x00004000, ABSOLUTE)
Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x000014ac, Max: 0x00004000, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x08000000 0x000000b0 Data RO 2289 RESET startup_stm32f030x6.o
0x080000b0 0x00000000 Code RO 2328 * .ARM.Collect$$$$00000000 mc_p.l(entry.o)
0x080000b0 0x00000004 Code RO 2337 .ARM.Collect$$$$00000001 mc_p.l(entry2.o)
0x080000b4 0x00000004 Code RO 2340 .ARM.Collect$$$$00000004 mc_p.l(entry5.o)
0x080000b8 0x00000000 Code RO 2342 .ARM.Collect$$$$00000008 mc_p.l(entry7b.o)
0x080000b8 0x00000000 Code RO 2344 .ARM.Collect$$$$0000000A mc_p.l(entry8b.o)
0x080000b8 0x00000008 Code RO 2345 .ARM.Collect$$$$0000000B mc_p.l(entry9a.o)
0x080000c0 0x00000000 Code RO 2347 .ARM.Collect$$$$0000000D mc_p.l(entry10a.o)
0x080000c0 0x00000000 Code RO 2349 .ARM.Collect$$$$0000000F mc_p.l(entry11a.o)
0x080000c0 0x00000004 Code RO 2338 .ARM.Collect$$$$00002712 mc_p.l(entry2.o)
0x080000c4 0x0000001c Code RO 2290 .text startup_stm32f030x6.o
0x080000e0 0x0000002c Code RO 2331 .text mc_p.l(uidiv.o)
0x0800010c 0x00000024 Code RO 2335 .text mc_p.l(memseta.o)
0x08000130 0x00000024 Code RO 2351 .text mc_p.l(init.o)
0x08000154 0x0000001c Code RO 421 i.HAL_Delay stm32f0xx_hal.o
0x08000170 0x00000148 Code RO 311 i.HAL_GPIO_Init stm32f0xx_hal_gpio.o
0x080002b8 0x0000000c Code RO 315 i.HAL_GPIO_WritePin stm32f0xx_hal_gpio.o
0x080002c4 0x0000000c Code RO 425 i.HAL_GetTick stm32f0xx_hal.o
0x080002d0 0x00000010 Code RO 429 i.HAL_IncTick stm32f0xx_hal.o
0x080002e0 0x00000020 Code RO 430 i.HAL_Init stm32f0xx_hal.o
0x08000300 0x00000022 Code RO 431 i.HAL_InitTick stm32f0xx_hal.o
0x08000322 0x00000002 PAD
0x08000324 0x00000038 Code RO 145 i.HAL_MspInit stm32f0xx_hal_msp.o
0x0800035c 0x00000008 Code RO 1096 i.HAL_NVIC_SetPriority stm32f0xx_hal_cortex.o
0x08000364 0x000000e8 Code RO 1846 i.HAL_RCCEx_PeriphCLKConfig stm32f0xx_hal_rcc_ex.o
0x0800044c 0x0000012c Code RO 2027 i.HAL_RCC_ClockConfig stm32f0xx_hal_rcc.o
0x08000578 0x0000000c Code RO 2032 i.HAL_RCC_GetHCLKFreq stm32f0xx_hal_rcc.o
0x08000584 0x00000020 Code RO 2034 i.HAL_RCC_GetPCLK1Freq stm32f0xx_hal_rcc.o
0x080005a4 0x00000078 Code RO 2035 i.HAL_RCC_GetSysClockFreq stm32f0xx_hal_rcc.o
0x0800061c 0x00000354 Code RO 2038 i.HAL_RCC_OscConfig stm32f0xx_hal_rcc.o
0x08000970 0x000000b8 Code RO 1532 i.HAL_SPI_Init stm32f0xx_hal_spi.o
0x08000a28 0x00000044 Code RO 147 i.HAL_SPI_MspInit stm32f0xx_hal_msp.o
0x08000a6c 0x00000170 Code RO 1540 i.HAL_SPI_Transmit stm32f0xx_hal_spi.o
0x08000bdc 0x00000018 Code RO 1098 i.HAL_SYSTICK_CLKSourceConfig stm32f0xx_hal_cortex.o
0x08000bf4 0x00000002 Code RO 1099 i.HAL_SYSTICK_Callback stm32f0xx_hal_cortex.o
0x08000bf6 0x00000002 PAD
0x08000bf8 0x00000030 Code RO 1100 i.HAL_SYSTICK_Config stm32f0xx_hal_cortex.o
0x08000c28 0x00000008 Code RO 1101 i.HAL_SYSTICK_IRQHandler stm32f0xx_hal_cortex.o
0x08000c30 0x0000006c Code RO 1208 i.HAL_UART_Init stm32f0xx_hal_uart.o
0x08000c9c 0x00000048 Code RO 149 i.HAL_UART_MspInit stm32f0xx_hal_msp.o
0x08000ce4 0x00000002 Code RO 3 i.HardFault_Handler stm32f0xx_it.o
0x08000ce6 0x00000002 PAD
0x08000ce8 0x00000088 Code RO 189 i.MX_GPIO_Init main.o
0x08000d70 0x0000004c Code RO 190 i.MX_SPI1_Init main.o
0x08000dbc 0x00000038 Code RO 191 i.MX_USART1_UART_Init main.o
0x08000df4 0x00000002 Code RO 4 i.NMI_Handler stm32f0xx_it.o
0x08000df6 0x00000002 PAD
0x08000df8 0x00000044 Code RO 1102 i.NVIC_SetPriority stm32f0xx_hal_cortex.o
0x08000e3c 0x00000002 Code RO 5 i.PendSV_Handler stm32f0xx_it.o
0x08000e3e 0x0000004c Code RO 1570 i.SPI_EndRxTxTransaction stm32f0xx_hal_spi.o
0x08000e8a 0x00000096 Code RO 1575 i.SPI_WaitFifoStateUntilTimeout stm32f0xx_hal_spi.o
0x08000f20 0x0000008c Code RO 1576 i.SPI_WaitFlagStateUntilTimeout stm32f0xx_hal_spi.o
0x08000fac 0x00000002 Code RO 6 i.SVC_Handler stm32f0xx_it.o
0x08000fae 0x0000000c Code RO 7 i.SysTick_Handler stm32f0xx_it.o
0x08000fba 0x00000074 Code RO 192 i.SystemClock_Config main.o
0x0800102e 0x00000002 PAD
0x08001030 0x0000005c Code RO 2297 i.SystemInit system_stm32f0xx.o
0x0800108c 0x000000ca Code RO 1221 i.UART_AdvFeatureConfig stm32f0xx_hal_uart.o
0x08001156 0x00000012 Code RO 1222 i.UART_CheckIdleState stm32f0xx_hal_uart.o
0x08001168 0x00000114 Code RO 1237 i.UART_SetConfig stm32f0xx_hal_uart.o
0x0800127c 0x0000000e Code RO 2355 i.__scatterload_copy mc_p.l(handlers.o)
0x0800128a 0x00000002 Code RO 2356 i.__scatterload_null mc_p.l(handlers.o)
0x0800128c 0x0000000e Code RO 2357 i.__scatterload_zeroinit mc_p.l(handlers.o)
0x0800129a 0x00000002 PAD
0x0800129c 0x0000007c Code RO 245 i.display_digit helpers.o
0x08001318 0x0000002e Code RO 246 i.dut_reset helpers.o
0x08001346 0x0000001c Code RO 248 i.hv_on helpers.o
0x08001362 0x00000022 Code RO 194 i.main main.o
0x08001384 0x0000004c Code RO 249 i.set_led helpers.o
0x080013d0 0x00000050 Code RO 250 i.test helpers.o
0x08001420 0x00000010 Data RO 2298 .constdata system_stm32f0xx.o
0x08001430 0x00000008 Data RO 2299 .constdata system_stm32f0xx.o
0x08001438 0x00000020 Data RO 2353 Region$$Table anon$$obj.o
0x08000000 0x08000000 0x000000b0 Data RO 2295 RESET startup_stm32f030x6.o
0x080000b0 0x080000b0 0x00000000 Code RO 2334 * .ARM.Collect$$$$00000000 mc_p.l(entry.o)
0x080000b0 0x080000b0 0x00000004 Code RO 2343 .ARM.Collect$$$$00000001 mc_p.l(entry2.o)
0x080000b4 0x080000b4 0x00000004 Code RO 2346 .ARM.Collect$$$$00000004 mc_p.l(entry5.o)
0x080000b8 0x080000b8 0x00000000 Code RO 2348 .ARM.Collect$$$$00000008 mc_p.l(entry7b.o)
0x080000b8 0x080000b8 0x00000000 Code RO 2350 .ARM.Collect$$$$0000000A mc_p.l(entry8b.o)
0x080000b8 0x080000b8 0x00000008 Code RO 2351 .ARM.Collect$$$$0000000B mc_p.l(entry9a.o)
0x080000c0 0x080000c0 0x00000000 Code RO 2353 .ARM.Collect$$$$0000000D mc_p.l(entry10a.o)
0x080000c0 0x080000c0 0x00000000 Code RO 2355 .ARM.Collect$$$$0000000F mc_p.l(entry11a.o)
0x080000c0 0x080000c0 0x00000004 Code RO 2344 .ARM.Collect$$$$00002712 mc_p.l(entry2.o)
0x080000c4 0x080000c4 0x0000001c Code RO 2296 .text startup_stm32f030x6.o
0x080000e0 0x080000e0 0x0000002c Code RO 2337 .text mc_p.l(uidiv.o)
0x0800010c 0x0800010c 0x00000024 Code RO 2341 .text mc_p.l(memseta.o)
0x08000130 0x08000130 0x00000024 Code RO 2357 .text mc_p.l(init.o)
0x08000154 0x08000154 0x0000001c Code RO 427 i.HAL_Delay stm32f0xx_hal.o
0x08000170 0x08000170 0x00000148 Code RO 317 i.HAL_GPIO_Init stm32f0xx_hal_gpio.o
0x080002b8 0x080002b8 0x0000000c Code RO 321 i.HAL_GPIO_WritePin stm32f0xx_hal_gpio.o
0x080002c4 0x080002c4 0x0000000c Code RO 431 i.HAL_GetTick stm32f0xx_hal.o
0x080002d0 0x080002d0 0x00000010 Code RO 435 i.HAL_IncTick stm32f0xx_hal.o
0x080002e0 0x080002e0 0x00000020 Code RO 436 i.HAL_Init stm32f0xx_hal.o
0x08000300 0x08000300 0x00000022 Code RO 437 i.HAL_InitTick stm32f0xx_hal.o
0x08000322 0x08000322 0x00000002 PAD
0x08000324 0x08000324 0x00000038 Code RO 145 i.HAL_MspInit stm32f0xx_hal_msp.o
0x0800035c 0x0800035c 0x00000008 Code RO 1102 i.HAL_NVIC_SetPriority stm32f0xx_hal_cortex.o
0x08000364 0x08000364 0x000000e8 Code RO 1852 i.HAL_RCCEx_PeriphCLKConfig stm32f0xx_hal_rcc_ex.o
0x0800044c 0x0800044c 0x0000012c Code RO 2033 i.HAL_RCC_ClockConfig stm32f0xx_hal_rcc.o
0x08000578 0x08000578 0x0000000c Code RO 2038 i.HAL_RCC_GetHCLKFreq stm32f0xx_hal_rcc.o
0x08000584 0x08000584 0x00000020 Code RO 2040 i.HAL_RCC_GetPCLK1Freq stm32f0xx_hal_rcc.o
0x080005a4 0x080005a4 0x00000078 Code RO 2041 i.HAL_RCC_GetSysClockFreq stm32f0xx_hal_rcc.o
0x0800061c 0x0800061c 0x00000354 Code RO 2044 i.HAL_RCC_OscConfig stm32f0xx_hal_rcc.o
0x08000970 0x08000970 0x000000b8 Code RO 1538 i.HAL_SPI_Init stm32f0xx_hal_spi.o
0x08000a28 0x08000a28 0x00000044 Code RO 147 i.HAL_SPI_MspInit stm32f0xx_hal_msp.o
0x08000a6c 0x08000a6c 0x00000170 Code RO 1546 i.HAL_SPI_Transmit stm32f0xx_hal_spi.o
0x08000bdc 0x08000bdc 0x00000018 Code RO 1104 i.HAL_SYSTICK_CLKSourceConfig stm32f0xx_hal_cortex.o
0x08000bf4 0x08000bf4 0x00000002 Code RO 1105 i.HAL_SYSTICK_Callback stm32f0xx_hal_cortex.o
0x08000bf6 0x08000bf6 0x00000002 PAD
0x08000bf8 0x08000bf8 0x00000030 Code RO 1106 i.HAL_SYSTICK_Config stm32f0xx_hal_cortex.o
0x08000c28 0x08000c28 0x00000008 Code RO 1107 i.HAL_SYSTICK_IRQHandler stm32f0xx_hal_cortex.o
0x08000c30 0x08000c30 0x0000006c Code RO 1214 i.HAL_UART_Init stm32f0xx_hal_uart.o
0x08000c9c 0x08000c9c 0x00000048 Code RO 149 i.HAL_UART_MspInit stm32f0xx_hal_msp.o
0x08000ce4 0x08000ce4 0x00000002 Code RO 3 i.HardFault_Handler stm32f0xx_it.o
0x08000ce6 0x08000ce6 0x00000002 PAD
0x08000ce8 0x08000ce8 0x00000088 Code RO 189 i.MX_GPIO_Init main.o
0x08000d70 0x08000d70 0x0000004c Code RO 190 i.MX_SPI1_Init main.o
0x08000dbc 0x08000dbc 0x00000038 Code RO 191 i.MX_USART1_UART_Init main.o
0x08000df4 0x08000df4 0x00000002 Code RO 4 i.NMI_Handler stm32f0xx_it.o
0x08000df6 0x08000df6 0x00000002 PAD
0x08000df8 0x08000df8 0x00000044 Code RO 1108 i.NVIC_SetPriority stm32f0xx_hal_cortex.o
0x08000e3c 0x08000e3c 0x00000002 Code RO 5 i.PendSV_Handler stm32f0xx_it.o
0x08000e3e 0x08000e3e 0x0000004c Code RO 1576 i.SPI_EndRxTxTransaction stm32f0xx_hal_spi.o
0x08000e8a 0x08000e8a 0x00000096 Code RO 1581 i.SPI_WaitFifoStateUntilTimeout stm32f0xx_hal_spi.o
0x08000f20 0x08000f20 0x0000008c Code RO 1582 i.SPI_WaitFlagStateUntilTimeout stm32f0xx_hal_spi.o
0x08000fac 0x08000fac 0x00000002 Code RO 6 i.SVC_Handler stm32f0xx_it.o
0x08000fae 0x08000fae 0x0000000c Code RO 7 i.SysTick_Handler stm32f0xx_it.o
0x08000fba 0x08000fba 0x00000074 Code RO 192 i.SystemClock_Config main.o
0x0800102e 0x0800102e 0x00000002 PAD
0x08001030 0x08001030 0x0000005c Code RO 2303 i.SystemInit system_stm32f0xx.o
0x0800108c 0x0800108c 0x000000ca Code RO 1227 i.UART_AdvFeatureConfig stm32f0xx_hal_uart.o
0x08001156 0x08001156 0x00000012 Code RO 1228 i.UART_CheckIdleState stm32f0xx_hal_uart.o
0x08001168 0x08001168 0x00000114 Code RO 1243 i.UART_SetConfig stm32f0xx_hal_uart.o
0x0800127c 0x0800127c 0x0000000e Code RO 2361 i.__scatterload_copy mc_p.l(handlers.o)
0x0800128a 0x0800128a 0x00000002 Code RO 2362 i.__scatterload_null mc_p.l(handlers.o)
0x0800128c 0x0800128c 0x0000000e Code RO 2363 i.__scatterload_zeroinit mc_p.l(handlers.o)
0x0800129a 0x0800129a 0x00000002 PAD
0x0800129c 0x0800129c 0x00000068 Code RO 245 i.display_digit helpers.o
0x08001304 0x08001304 0x0000002e Code RO 246 i.dut_reset helpers.o
0x08001332 0x08001332 0x0000001c Code RO 248 i.hv_on helpers.o
0x0800134e 0x0800134e 0x00000022 Code RO 194 i.main main.o
0x08001370 0x08001370 0x00000048 Code RO 249 i.set_dot helpers.o
0x080013b8 0x080013b8 0x0000004c Code RO 250 i.set_led helpers.o
0x08001404 0x08001404 0x00000070 Code RO 251 i.test helpers.o
0x08001474 0x08001474 0x00000010 Data RO 2304 .constdata system_stm32f0xx.o
0x08001484 0x08001484 0x00000008 Data RO 2305 .constdata system_stm32f0xx.o
0x0800148c 0x0800148c 0x00000020 Data RO 2359 Region$$Table anon$$obj.o
Execution Region RW_IRAM1 (Base: 0x20000000, Size: 0x000004e0, Max: 0x00001000, ABSOLUTE)
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x080014ac, Size: 0x000004e0, Max: 0x00001000, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000000 0x00000001 Data RW 251 .data helpers.o
0x20000001 0x00000003 PAD
0x20000004 0x00000004 Data RW 436 .data stm32f0xx_hal.o
0x20000008 0x00000004 Data RW 2300 .data system_stm32f0xx.o
0x2000000c 0x000000d4 Zero RW 195 .bss main.o
0x200000e0 0x00000400 Zero RW 2287 STACK startup_stm32f030x6.o
0x20000000 0x080014ac 0x00000001 Data RW 252 .data helpers.o
0x20000001 0x080014ad 0x00000003 PAD
0x20000004 0x080014b0 0x00000004 Data RW 442 .data stm32f0xx_hal.o
0x20000008 0x080014b4 0x00000004 Data RW 2306 .data system_stm32f0xx.o
0x2000000c - 0x000000d4 Zero RW 195 .bss main.o
0x200000e0 - 0x00000400 Zero RW 2293 STACK startup_stm32f030x6.o
==============================================================================
@@ -1228,22 +1235,22 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
354 18 0 1 0 2717 helpers.o
418 36 0 0 212 3440 main.o
28 8 176 0 1024 600 startup_stm32f030x6.o
122 18 0 4 0 3643 stm32f0xx_hal.o
158 22 0 0 0 9926 stm32f0xx_hal_cortex.o
340 26 0 0 0 2252 stm32f0xx_hal_gpio.o
196 24 0 0 0 2087 stm32f0xx_hal_msp.o
1316 94 0 0 0 5017 stm32f0xx_hal_rcc.o
232 14 0 0 0 1368 stm32f0xx_hal_rcc_ex.o
918 0 0 0 0 5242 stm32f0xx_hal_spi.o
604 18 0 0 0 3611 stm32f0xx_hal_uart.o
20 0 0 0 0 239559 stm32f0xx_it.o
92 14 24 4 0 1147 system_stm32f0xx.o
438 24 0 1 0 3147 helpers.o
418 36 0 0 212 3228 main.o
28 8 176 0 1024 572 startup_stm32f030x6.o
122 18 0 4 0 3435 stm32f0xx_hal.o
158 22 0 0 0 9726 stm32f0xx_hal_cortex.o
340 26 0 0 0 2168 stm32f0xx_hal_gpio.o
196 24 0 0 0 1967 stm32f0xx_hal_msp.o
1316 94 0 0 0 4841 stm32f0xx_hal_rcc.o
232 14 0 0 0 1308 stm32f0xx_hal_rcc_ex.o
918 0 0 0 0 5070 stm32f0xx_hal_spi.o
604 18 0 0 0 3463 stm32f0xx_hal_uart.o
20 0 0 0 0 239163 stm32f0xx_it.o
92 14 24 4 0 1059 system_stm32f0xx.o
----------------------------------------------------------------------
4808 292 232 12 1236 280609 Object Totals
4892 298 232 12 1236 279147 Object Totals
0 0 32 0 0 0 (incl. Generated)
10 0 0 3 0 0 (incl. Padding)
@@ -1284,15 +1291,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
4976 308 232 12 1236 279065 Grand Totals
4976 308 232 12 1236 279065 ELF Image Totals
4976 308 232 12 0 0 ROM Totals
5060 314 232 12 1236 277559 Grand Totals
5060 314 232 12 1236 277559 ELF Image Totals
5060 314 232 12 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 5208 ( 5.09kB)
Total RO Size (Code + RO Data) 5292 ( 5.17kB)
Total RW Size (RW Data + ZI Data) 1248 ( 1.22kB)
Total ROM Size (Code + RO Data + RW Data) 5220 ( 5.10kB)
Total ROM Size (Code + RO Data + RW Data) 5304 ( 5.18kB)
==============================================================================

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

@@ -358,12 +358,12 @@ ARM Macro Assembler Page 6
00000000
00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
ork --depend=pogo\startup_stm32f030x6.d -opogo\startup_stm32f030x6.o -IC:\Users
\Allen\Desktop\repos\exixe\pogo_rig\firmware\pogo\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\Device\Include --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSIO
N SETA 517" --predefine="_RTE_ SETA 1" --predefine="STM32F030x6 SETA 1" --list=
startup_stm32f030x6.lst startup_stm32f030x6.s
ork --depend=pogo\startup_stm32f030x6.d -opogo\startup_stm32f030x6.o -I.\RTE\_p
ogo -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.3.0\CMSIS\Include -IC:\Keil_v5\ARM\PACK\K
eil\STM32F0xx_DFP\2.0.0\Drivers\CMSIS\Device\ST\STM32F0xx\Include --predefine="
__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 525" --predefine="_RTE_
SETA 1" --predefine="STM32F030x6 SETA 1" --list=startup_stm32f030x6.lst startup
_stm32f030x6.s

View File

@@ -41,7 +41,7 @@ void set_led(uint8_t red, uint8_t green, uint8_t blue)
HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_SET);
}
void display_digit(uint8_t digit, uint8_t brightness)
void display_digit(uint8_t digit, uint8_t brightness, uint8_t overdrive)
{
uint8_t spi_buf[SPI_BUF_SIZE];
memset(spi_buf, 0x80, SPI_BUF_SIZE); // set the EN bit of each byte to 1
@@ -52,19 +52,25 @@ void display_digit(uint8_t digit, uint8_t brightness)
digit = digit % 10; // digit is now between 0 and 9
digit++; // digit is now between 1 and 10, we can use it as the index for the SPI buffer now
spi_buf[digit] |= brightness; // set that digit to brightness
if(digit % 2)
spi_buf[11] = 0x80 | brightness;
else
spi_buf[12] = 0x80 | brightness;
if(digit == 2 || digit == 3)
if(overdrive)
spi_buf[0] = 0xab;
HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_RESET);
HAL_SPI_Transmit(&hspi1, spi_buf, SPI_BUF_SIZE, 100);
HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_SET);
}
void set_dot(uint8_t left, uint8_t right)
{
uint8_t spi_buf[SPI_BUF_SIZE];
memset(spi_buf, 0x0, SPI_BUF_SIZE); // set the EN bit of each byte to 1
spi_buf[0] = SPI_CMD_HEADER; // first byte, header
spi_buf[11] = 0x80 | left;
spi_buf[12] = 0x80 | right;
HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_RESET);
HAL_SPI_Transmit(&hspi1, spi_buf, SPI_BUF_SIZE, 100);
HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_SET);
}
void test(void)
{
count++;
@@ -74,6 +80,17 @@ void test(void)
set_led(0, 127, 0);
else if (count % 3 == 2)
set_led(0, 0, 127);
display_digit(count, 127);
HAL_Delay(500);
uint8_t overdrive = 0;
if(count == 2 || count == 3)
overdrive = 1;
display_digit(count, 120, overdrive);
if(count % 2)
set_dot(127, 0);
else
set_dot(0, 127);
HAL_Delay(300);
}