--- a/settings/oggs_stm8_firmware_001.dbgdt
+++ b/settings/oggs_stm8_firmware_001.dbgdt
@@ -46,27 +46,27 @@
         
         
       <PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>Statics</Factory></Window><Window><Factory>Locals</Factory></Window><Window><Factory>Auto</Factory></Window></Windows></PreferedWindows><Column0>156</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></StaticWatch>
-    <Register><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows></Register><ForcedInterrupt><Column0>150</Column0><Column1>648</Column1></ForcedInterrupt><Locals><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>StaticWatch</Factory></Window><Window><Factory>Statics</Factory></Window><Window><Factory>Auto</Factory></Window></Windows></PreferedWindows><Column0>100</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Locals><Statics><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>StaticWatch</Factory></Window><Window><Factory>Locals</Factory></Window><Window><Factory>Auto</Factory></Window></Windows></PreferedWindows><Column0>138</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Statics><Memory><FindDirection>1</FindDirection><FindAsHex>0</FindAsHex></Memory><SourceBrowser><PreferedWindows><Position>1</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>Workspace</Factory></Window></Windows></PreferedWindows></SourceBrowser><Breakpoints><PreferedWindows><Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>Debug-Log</Factory></Window><Window><Factory>Build</Factory></Window></Windows></PreferedWindows></Breakpoints><Auto><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>StaticWatch</Factory></Window><Window><Factory>Statics</Factory></Window><Window><Factory>Locals</Factory></Window></Windows></PreferedWindows><Column0>100</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Auto></Static>
+    <Register><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows></Register><ForcedInterrupt><Column0>150</Column0><Column1>648</Column1></ForcedInterrupt><Locals><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>StaticWatch</Factory></Window><Window><Factory>Statics</Factory></Window><Window><Factory>Auto</Factory></Window></Windows></PreferedWindows><Column0>100</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Locals><Statics><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>StaticWatch</Factory></Window><Window><Factory>Locals</Factory></Window><Window><Factory>Auto</Factory></Window></Windows></PreferedWindows><Column0>138</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Statics><Memory><PreferedWindows><Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows><FindDirection>1</FindDirection><FindAsHex>0</FindAsHex></Memory><SourceBrowser><PreferedWindows><Position>1</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>Workspace</Factory></Window></Windows></PreferedWindows></SourceBrowser><Breakpoints><PreferedWindows><Position>3</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>Debug-Log</Factory></Window><Window><Factory>Build</Factory></Window></Windows></PreferedWindows></Breakpoints><Auto><PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows><Window><Factory>StaticWatch</Factory></Window><Window><Factory>Statics</Factory></Window><Window><Factory>Locals</Factory></Window></Windows></PreferedWindows><Column0>100</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Auto></Static>
     <Windows>
       
       
       
       
       
-    <Wnd0><Tabs><Tab><Identity>TabID-23390-10155</Identity><TabName>Disassembly</TabName><Factory>Disassembly</Factory><Session/></Tab><Tab><Identity>TabID-13631-2408</Identity><TabName>Locals</TabName><Factory>Locals</Factory><Session><Column0>100</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Session></Tab></Tabs><SelectedTab>1</SelectedTab></Wnd0><Wnd1><Tabs><Tab><Identity>TabID-13251-12258</Identity><TabName>Memory</TabName><Factory>Memory</Factory><Session><ZoneNumber>0</ZoneNumber><SelectionAnchor>0</SelectionAnchor><SelectionEnd>0</SelectionEnd><UnitsPerGroup>1</UnitsPerGroup><EndianMode>1</EndianMode><DataCovEnabled>0</DataCovEnabled><DataCovShown>0</DataCovShown><AutoRefresh>0</AutoRefresh><HScroll>0</HScroll><VScroll>0</VScroll></Session></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd1><Wnd4><Tabs><Tab><Identity>TabID-14841-14071</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab><Tab><Identity>TabID-21627-8733</Identity><TabName>Breakpoints</TabName><Factory>Breakpoints</Factory></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd4><Wnd5><Tabs><Tab><Identity>TabID-21994-19668</Identity><TabName>Statics</TabName><Factory>Statics</Factory><Session><SelectedVars/><Column0>138</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3><ShowAllVars>1</ShowAllVars></Session></Tab><Tab><Identity>TabID-19446-7826</Identity><TabName>Live Watch</TabName><Factory>StaticWatch</Factory><Session><Expressions><Expression><Expression>initcounter</Expression></Expression><Expression><Expression>wramdelay</Expression></Expression><Expression><Expression>patchpos</Expression></Expression><Expression><Expression>dreq_timeout</Expression></Expression><Expression><Expression>eepromstate</Expression></Expression></Expressions><TabId>0</TabId><Column0>156</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Session></Tab></Tabs><SelectedTab>1</SelectedTab></Wnd5></Windows>
+    <Wnd0><Tabs><Tab><Identity>TabID-23390-10155</Identity><TabName>Disassembly</TabName><Factory>Disassembly</Factory><Session/></Tab><Tab><Identity>TabID-13631-2408</Identity><TabName>Locals</TabName><Factory>Locals</Factory><Session><Column0>100</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Session></Tab></Tabs><SelectedTab>1</SelectedTab></Wnd0><Wnd2><Tabs><Tab><Identity>TabID-14841-14071</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab><Tab><Identity>TabID-21627-8733</Identity><TabName>Breakpoints</TabName><Factory>Breakpoints</Factory></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd2><Wnd4><Tabs><Tab><Identity>TabID-21994-19668</Identity><TabName>Statics</TabName><Factory>Statics</Factory><Session><SelectedVars/><Column0>138</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3><ShowAllVars>1</ShowAllVars></Session></Tab><Tab><Identity>TabID-19446-7826</Identity><TabName>Live Watch</TabName><Factory>StaticWatch</Factory><Session><Expressions><Expression><Expression>initcounter</Expression></Expression><Expression><Expression>wramdelay</Expression></Expression><Expression><Expression>patchpos</Expression></Expression><Expression><Expression>dreq_timeout</Expression></Expression><Expression><Expression>eepromstate</Expression></Expression></Expressions><TabId>0</TabId><Column0>156</Column0><Column1>100</Column1><Column2>100</Column2><Column3>100</Column3></Session></Tab></Tabs><SelectedTab>1</SelectedTab></Wnd4><Wnd5><Tabs><Tab><Identity>TabID-26383-8596</Identity><TabName>Memory</TabName><Factory>Memory</Factory><Session><ZoneNumber>6</ZoneNumber><SelectionAnchor>16401</SelectionAnchor><SelectionEnd>16401</SelectionEnd><UnitsPerGroup>1</UnitsPerGroup><EndianMode>0</EndianMode><DataCovEnabled>0</DataCovEnabled><DataCovShown>0</DataCovShown><AutoRefresh>0</AutoRefresh><HScroll>0</HScroll><VScroll>1024</VScroll></Session></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd5></Windows>
     <Editor>
       
       
       
       
-    <Pane/><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
+    <Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\src\stm8s_clk.c</Filename><XPos>0</XPos><YPos>12</YPos><SelStart>999</SelStart><SelEnd>999</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\src\stm8s_gpio.c</Filename><XPos>0</XPos><YPos>117</YPos><SelStart>4997</SelStart><SelEnd>4997</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\inc\stm8s_gpio.h</Filename><XPos>0</XPos><YPos>108</YPos><SelStart>4765</SelStart><SelEnd>4812</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\inc\stm8s_itc.h</Filename><XPos>0</XPos><YPos>66</YPos><SelStart>3606</SelStart><SelEnd>3623</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\inc\stm8s_uart2.h</Filename><XPos>0</XPos><YPos>394</YPos><SelStart>18364</SelStart><SelEnd>18364</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\src\stm8s_uart2.c</Filename><XPos>0</XPos><YPos>186</YPos><SelStart>8050</SelStart><SelEnd>8066</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\src\stm8s_itc.c</Filename><XPos>0</XPos><YPos>189</YPos><SelStart>6661</SelStart><SelEnd>6684</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\statistics.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>1040</SelStart><SelEnd>1040</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\rx_ringbuffer.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>933</SelStart><SelEnd>948</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\lnkstm8s105c6.icf</Filename><XPos>0</XPos><YPos>81</YPos><SelStart>4107</SelStart><SelEnd>4107</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\vs1053.h</Filename><XPos>0</XPos><YPos>85</YPos><SelStart>3391</SelStart><SelEnd>3391</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\helper.h</Filename><XPos>0</XPos><YPos>9</YPos><SelStart>933</SelStart><SelEnd>933</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\inc\stm8s_spi.h</Filename><XPos>0</XPos><YPos>120</YPos><SelStart>4938</SelStart><SelEnd>4950</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\inc\stm8s.h</Filename><XPos>0</XPos><YPos>1699</YPos><SelStart>73953</SelStart><SelEnd>73965</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\init.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>1181</SelStart><SelEnd>1181</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\init.h</Filename><XPos>0</XPos><YPos>15</YPos><SelStart>791</SelStart><SelEnd>791</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\statistics.c</Filename><XPos>0</XPos><YPos>9</YPos><SelStart>881</SelStart><SelEnd>881</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\leds.c</Filename><XPos>0</XPos><YPos>102</YPos><SelStart>854</SelStart><SelEnd>877</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\Debug\Exe\oggs_stm8_firmware_001.out</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\Debug\List\oggs_stm8_firmware_001.map</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\cmd.h</Filename><XPos>0</XPos><YPos>27</YPos><SelStart>1440</SelStart><SelEnd>1507</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\STM8S_StdPeriph_Driver\src\stm8s_flash.c</Filename><XPos>0</XPos><YPos>75</YPos><SelStart>3670</SelStart><SelEnd>3682</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\..\..\Programme\IAR Systems\Embedded Workbench 6.0 Kickstart\stm8\inc\c\intrinsics.h</Filename><XPos>0</XPos><YPos>36</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\leds.h</Filename><XPos>0</XPos><YPos>30</YPos><SelStart>1244</SelStart><SelEnd>1244</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\..\..\Programme\IAR Systems\Embedded Workbench 6.0 Kickstart\stm8\lib\dlstm8smn.h</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\uid.h</Filename><XPos>0</XPos><YPos>3</YPos><SelStart>1073</SelStart><SelEnd>1073</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\uid.c</Filename><XPos>0</XPos><YPos>18</YPos><SelStart>1087</SelStart><SelEnd>1087</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\includes.h</Filename><XPos>0</XPos><YPos>15</YPos><SelStart>1111</SelStart><SelEnd>1111</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\main.c</Filename><XPos>0</XPos><YPos>62</YPos><SelStart>2206</SelStart><SelEnd>2206</SelEnd></Tab><ActiveTab>28</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\cmd.c</Filename><XPos>0</XPos><YPos>47</YPos><SelStart>1563</SelStart><SelEnd>1587</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\rx_ringbuffer.c</Filename><XPos>0</XPos><YPos>43</YPos><SelStart>1224</SelStart><SelEnd>1224</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\vs1053.c</Filename><XPos>0</XPos><YPos>291</YPos><SelStart>7026</SelStart><SelEnd>7026</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\eeprom.c</Filename><XPos>0</XPos><YPos>44</YPos><SelStart>1612</SelStart><SelEnd>1612</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\eeprom.h</Filename><XPos>0</XPos><YPos>22</YPos><SelStart>1040</SelStart><SelEnd>1040</SelEnd></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>
     <Positions>
       
       
       
       
       
-    <Top><Row0><Sizes><Toolbar-012ab328><key>iaridepm.enu1</key></Toolbar-012ab328></Sizes></Row0><Row1><Sizes><Toolbar-0131aca0><key>debuggergui.enu1</key></Toolbar-0131aca0></Sizes></Row1></Top><Left><Row0><Sizes/></Row0></Left><Right><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>277</Bottom><Right>436</Right><x>-2</x><y>-2</y><xscreen>453</xscreen><yscreen>367</yscreen><sizeHorzCX>317672</sizeHorzCX><sizeHorzCY>507607</sizeHorzCY><sizeVertCX>307153</sizeVertCX><sizeVertCY>385892</sizeVertCY></Rect></Wnd0></Sizes></Row0><Row1><Sizes><Wnd5><Rect><Top>-2</Top><Left>434</Left><Bottom>277</Bottom><Right>826</Right><x>434</x><y>-2</y><xscreen>223</xscreen><yscreen>170</yscreen><sizeHorzCX>156381</sizeHorzCX><sizeHorzCY>235131</sizeHorzCY><sizeVertCX>274895</sizeVertCX><sizeVertCY>385892</sizeVertCY></Rect></Wnd5></Sizes></Row1></Right><Bottom><Row0><Sizes><Wnd1><Rect><Top>-2</Top><Left>-2</Left><Bottom>210</Bottom><Right>1428</Right><x>-2</x><y>-2</y><xscreen>1430</xscreen><yscreen>212</yscreen><sizeHorzCX>1002805</sizeHorzCX><sizeHorzCY>293223</sizeHorzCY><sizeVertCX>317672</sizeVertCX><sizeVertCY>507607</sizeVertCY></Rect></Wnd1></Sizes></Row0><Row1><Sizes><Wnd4><Rect><Top>208</Top><Left>-2</Left><Bottom>378</Bottom><Right>1428</Right><x>-2</x><y>208</y><xscreen>1430</xscreen><yscreen>170</yscreen><sizeHorzCX>1002805</sizeHorzCX><sizeHorzCY>235131</sizeHorzCY><sizeVertCX>156381</sizeVertCX><sizeVertCY>235131</sizeVertCY></Rect></Wnd4></Sizes></Row1></Bottom><Float><Sizes/></Float></Positions>
+    <Top><Row0><Sizes><Toolbar-012ab368><key>iaridepm.enu1</key></Toolbar-012ab368></Sizes></Row0><Row1><Sizes><Toolbar-06f97008><key>debuggergui.enu1</key></Toolbar-06f97008></Sizes></Row1></Top><Left><Row0><Sizes/></Row0></Left><Right><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>289</Bottom><Right>436</Right><x>-2</x><y>-2</y><xscreen>453</xscreen><yscreen>367</yscreen><sizeHorzCX>317672</sizeHorzCX><sizeHorzCY>507607</sizeHorzCY><sizeVertCX>307153</sizeVertCX><sizeVertCY>402490</sizeVertCY></Rect></Wnd0></Sizes></Row0><Row1><Sizes><Wnd4><Rect><Top>-2</Top><Left>434</Left><Bottom>289</Bottom><Right>826</Right><x>434</x><y>-2</y><xscreen>223</xscreen><yscreen>170</yscreen><sizeHorzCX>156381</sizeHorzCX><sizeHorzCY>235131</sizeHorzCY><sizeVertCX>274895</sizeVertCX><sizeVertCY>402490</sizeVertCY></Rect></Wnd4></Sizes></Row1></Right><Bottom><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>168</Bottom><Right>1428</Right><x>-2</x><y>-2</y><xscreen>1430</xscreen><yscreen>170</yscreen><sizeHorzCX>1002805</sizeHorzCX><sizeHorzCY>235131</sizeHorzCY><sizeVertCX>156381</sizeVertCX><sizeVertCY>235131</sizeVertCY></Rect></Wnd2></Sizes></Row0><Row1><Sizes><Wnd5><Rect><Top>166</Top><Left>-2</Left><Bottom>366</Bottom><Right>1428</Right><x>-2</x><y>166</y><xscreen>1430</xscreen><yscreen>200</yscreen><sizeHorzCX>1002805</sizeHorzCX><sizeHorzCY>276625</sizeHorzCY><sizeVertCX>140252</sizeVertCX><sizeVertCY>276625</sizeVertCY></Rect></Wnd5></Sizes></Row1></Bottom><Float><Sizes/></Float></Positions>
   </Desktop>
 </Project>