avant vacance

This commit is contained in:
Apollinaire Criquet 2023-04-18 18:21:59 +02:00
parent 05884b74ea
commit 4da5fc13a9
24 changed files with 1534 additions and 1179 deletions

188
.gitignore vendored
View file

@ -1,111 +1,111 @@
# ---> Matlab # ---> Matlab
##--------------------------------------------------- ##---------------------------------------------------
## Remove autosaves generated by the Matlab editor ## Remove autosaves generated by the Matlab editor
## We have git for backups! ## We have git for backups!
##--------------------------------------------------- ##---------------------------------------------------
# Windows default autosave extension # Windows default autosave extension
*.asv *.asv
# OSX / *nix default autosave extension # OSX / *nix default autosave extension
*.m~ *.m~
# Compiled MEX binaries (all platforms) # Compiled MEX binaries (all platforms)
*.mex* *.mex*
# Simulink Code Generation # Simulink Code Generation
slprj/ slprj/
# Session info # Session info
octave-workspace octave-workspace
# Simulink autosave extension # Simulink autosave extension
*.autosave *.autosave
*.slxc *.slxc
#spice #spice
*.raw *.raw
*.log *.log
# A .gitignore for Keil projects. # A .gitignore for Keil projects.
# Taken mostly from http://www.keil.com/support/man/docs/uv4/uv4_b_filetypes.htm # Taken mostly from http://www.keil.com/support/man/docs/uv4/uv4_b_filetypes.htm
# User-specific uVision files # User-specific uVision files
*.opt *.opt
*.uvopt *.uvopt
*.uvoptx *.uvoptx
*.uvgui *.uvgui
*.uvgui.* *.uvgui.*
*.uvguix.* *.uvguix.*
# Listing files # Listing files
*.cod *.cod
*.htm *.htm
*.i *.i
*.lst *.lst
*.map *.map
*.m51 *.m51
*.m66 *.m66
# define exception below if needed # define exception below if needed
*.scr *.scr
# Object and HEX files # Object and HEX files
*.axf *.axf
*.b[0-3][0-9] *.b[0-3][0-9]
*.hex *.hex
*.d *.d
*.crf *.crf
*.elf *.elf
*.hex *.hex
*.h86 *.h86
*.lib *.lib
*.obj *.obj
*.o *.o
*.sbr *.sbr
# Build files # Build files
# define exception below if needed # define exception below if needed
*.bat *.bat
*._ia *._ia
*.__i *.__i
*._ii *._ii
*.scvd *.scvd
# Generated output files # Generated output files
/Listings/* /Listings/*
/Objects/* /Objects/*
DebugConfig DebugConfig
RTE RTE
# Debugger files # Debugger files
# define exception below if needed # define exception below if needed
*.ini *.ini
# Other files # Other files
*.build_log.htm *.build_log.htm
*.cdb *.cdb
*.dep *.dep
*.ic *.ic
*.lin *.lin
*.lnp *.lnp
*.orc *.orc
# define exception below if needed # define exception below if needed
*.pack *.pack
# define exception below if needed # define exception below if needed
*.pdsc *.pdsc
*.plg *.plg
# define exception below if needed # define exception below if needed
*.sct *.sct
*.sfd *.sfd
*.sfr *.sfr
# Miscellaneous # Miscellaneous
*.tra *.tra
*.bin *.bin
*.fed *.fed
*.l1p *.l1p
*.l2p *.l2p
*.iex *.iex
# To explicitly override the above, define any exceptions here; e.g.: # To explicitly override the above, define any exceptions here; e.g.:
# !my_customized_scatter_file.sct # !my_customized_scatter_file.sct

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -22,7 +22,7 @@ Dialog DLL: TCM.DLL V1.48.0.0
<h2>Project:</h2> <h2>Project:</h2>
U:\3MIC\BE_CHTI\Assembleur\PjtKEIL_StepSon\StepSon.uvprojx U:\3MIC\BE_CHTI\Assembleur\PjtKEIL_StepSon\StepSon.uvprojx
Project File Date: 04/07/2023 Project File Date: 04/11/2023
<h2>Output:</h2> <h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
@ -30,12 +30,11 @@ Rebuild target 'Simu'
assembling startup-rvds.s... assembling startup-rvds.s...
assembling bruitverre.asm... assembling bruitverre.asm...
assembling GestionSon.s... assembling GestionSon.s...
Src\GestionSon.s(74): warning: A1581W: Added 2 bytes of padding at address 0x36
compiling principal.c... compiling principal.c...
linking... linking...
Program Size: Code=2068 RO-data=11300 RW-data=164 ZI-data=1028 Program Size: Code=2644 RO-data=11300 RW-data=164 ZI-data=1028
FromELF: creating hex file... FromELF: creating hex file...
".\Obj\StepSon.axf" - 0 Error(s), 1 Warning(s). ".\Obj\StepSon.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2> <h2>Software Packages used:</h2>

File diff suppressed because it is too large Load diff

View file

@ -3,11 +3,11 @@
<title>Static Call Graph - [.\Obj\StepSon.axf]</title></head> <title>Static Call Graph - [.\Obj\StepSon.axf]</title></head>
<body><HR> <body><HR>
<H1>Static Call Graph for image .\Obj\StepSon.axf</H1><HR> <H1>Static Call Graph for image .\Obj\StepSon.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Fri Apr 07 18:08:20 2023 <BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Tue Apr 11 16:09:00 2023
<BR><P> <BR><P>
<H3>Maximum Stack Usage = 24 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> <H3>Maximum Stack Usage = 40 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3> Call chain for Maximum Stack Depth:</H3>
main &rArr; Active_IT_Debordement_Timer main &rArr; PWM_Init_ff &rArr; Timer_1234_Init_ff
<P> <P>
<H3> <H3>
Mutually Recursive functions Mutually Recursive functions
@ -91,7 +91,7 @@ Global Symbols
<P><STRONG><a name="[37]"></a>__main</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000)) <P><STRONG><a name="[37]"></a>__main</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
<BR>[Address Reference Count : 1]<UL><LI> startup-rvds.o(.text) <BR>[Address Reference Count : 1]<UL><LI> startup-rvds.o(.text)
</UL> </UL>
<P><STRONG><a name="[42]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001)) <P><STRONG><a name="[45]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[39]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004)) <P><STRONG><a name="[39]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload <BR><BR>[Calls]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
@ -101,17 +101,17 @@ Global Symbols
<BR><BR>[Called By]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload <BR><BR>[Called By]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL> </UL>
<P><STRONG><a name="[43]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008)) <P><STRONG><a name="[46]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[44]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A)) <P><STRONG><a name="[47]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[45]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B)) <P><STRONG><a name="[48]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[46]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E)) <P><STRONG><a name="[49]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
<P><STRONG><a name="[47]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F)) <P><STRONG><a name="[4a]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[48]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011)) <P><STRONG><a name="[4b]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
<P><STRONG><a name="[0]"></a>Reset_Handler</STRONG> (Thumb, 34 bytes, Stack size 0 bytes, startup-rvds.o(.text)) <P><STRONG><a name="[0]"></a>Reset_Handler</STRONG> (Thumb, 34 bytes, Stack size 0 bytes, startup-rvds.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup-rvds.o(RESET) <BR>[Address Reference Count : 1]<UL><LI> startup-rvds.o(RESET)
@ -306,9 +306,9 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload <BR>[Called By]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
</UL> </UL>
<P><STRONG><a name="[49]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED) <P><STRONG><a name="[4c]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[41]"></a>Active_IT_Debordement_Timer</STRONG> (Thumb, 204 bytes, Stack size 24 bytes, timer_1234.o(i.Active_IT_Debordement_Timer)) <P><STRONG><a name="[43]"></a>Active_IT_Debordement_Timer</STRONG> (Thumb, 204 bytes, Stack size 24 bytes, timer_1234.o(i.Active_IT_Debordement_Timer))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = Active_IT_Debordement_Timer <BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = Active_IT_Debordement_Timer
</UL> </UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main <BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
@ -322,12 +322,42 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main <BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL> </UL>
<P><STRONG><a name="[3f]"></a>CLOCK_GetHCLK</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, clock.o(i.CLOCK_GetHCLK)) <P><STRONG><a name="[40]"></a>CLOCK_GetHCLK</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, clock.o(i.CLOCK_GetHCLK))
<BR><BR>[Called By]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Timer_1234_Init_ff <BR><BR>[Called By]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Timer_1234_Init_ff
</UL> </UL>
<P><STRONG><a name="[40]"></a>CLOCK_GetTIMCLK</STRONG> (Thumb, 22 bytes, Stack size 0 bytes, clock.o(i.CLOCK_GetTIMCLK)) <P><STRONG><a name="[41]"></a>CLOCK_GetTIMCLK</STRONG> (Thumb, 22 bytes, Stack size 0 bytes, clock.o(i.CLOCK_GetTIMCLK))
<BR><BR>[Called By]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Timer_1234_Init_ff <BR><BR>[Called By]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Timer_1234_Init_ff
</UL>
<P><STRONG><a name="[4d]"></a>GPIOA_Clear</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, gpio.o(i.GPIOA_Clear), UNUSED)
<P><STRONG><a name="[4e]"></a>GPIOA_Set</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, gpio.o(i.GPIOA_Set), UNUSED)
<P><STRONG><a name="[4f]"></a>GPIOB_Clear</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, gpio.o(i.GPIOB_Clear), UNUSED)
<P><STRONG><a name="[50]"></a>GPIOB_Set</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, gpio.o(i.GPIOB_Set), UNUSED)
<P><STRONG><a name="[51]"></a>GPIOC_Clear</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, gpio.o(i.GPIOC_Clear), UNUSED)
<P><STRONG><a name="[52]"></a>GPIOC_Set</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, gpio.o(i.GPIOC_Set), UNUSED)
<P><STRONG><a name="[42]"></a>GPIO_Configure</STRONG> (Thumb, 240 bytes, Stack size 20 bytes, gpio.o(i.GPIO_Configure))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = GPIO_Configure
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3e]"></a>PWM_Init_ff</STRONG> (Thumb, 168 bytes, Stack size 24 bytes, timer_1234.o(i.PWM_Init_ff))
<BR><BR>[Stack]<UL><LI>Max Depth = 40<LI>Call Chain = PWM_Init_ff &rArr; Timer_1234_Init_ff
</UL>
<BR>[Calls]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Timer_1234_Init_ff
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[44]"></a>PWM_Set_Value_TIM3_Ch3</STRONG> (Thumb, 6 bytes, Stack size 0 bytes, timer_1234.o(i.PWM_Set_Value_TIM3_Ch3))
<BR><BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CallbackSon
</UL> </UL>
<P><STRONG><a name="[25]"></a>TIM1_CC_IRQHandler</STRONG> (Thumb, 240 bytes, Stack size 16 bytes, timer_1234.o(i.TIM1_CC_IRQHandler)) <P><STRONG><a name="[25]"></a>TIM1_CC_IRQHandler</STRONG> (Thumb, 240 bytes, Stack size 16 bytes, timer_1234.o(i.TIM1_CC_IRQHandler))
@ -353,31 +383,36 @@ Global Symbols
</UL> </UL>
<BR>[Address Reference Count : 1]<UL><LI> startup-rvds.o(RESET) <BR>[Address Reference Count : 1]<UL><LI> startup-rvds.o(RESET)
</UL> </UL>
<P><STRONG><a name="[3e]"></a>Timer_1234_Init_ff</STRONG> (Thumb, 106 bytes, Stack size 16 bytes, timer_1234.o(i.Timer_1234_Init_ff)) <P><STRONG><a name="[3f]"></a>Timer_1234_Init_ff</STRONG> (Thumb, 106 bytes, Stack size 16 bytes, timer_1234.o(i.Timer_1234_Init_ff))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = Timer_1234_Init_ff <BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = Timer_1234_Init_ff
</UL> </UL>
<BR>[Calls]<UL><LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CLOCK_GetTIMCLK <BR>[Calls]<UL><LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CLOCK_GetTIMCLK
<LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CLOCK_GetHCLK <LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CLOCK_GetHCLK
</UL> </UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main <BR>[Called By]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PWM_Init_ff
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL> </UL>
<P><STRONG><a name="[4a]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED) <P><STRONG><a name="[53]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[4b]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED) <P><STRONG><a name="[54]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[4c]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED) <P><STRONG><a name="[55]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, principal.o(i.main)) <P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 52 bytes, Stack size 0 bytes, principal.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = main &rArr; Active_IT_Debordement_Timer <BR><BR>[Stack]<UL><LI>Max Depth = 40<LI>Call Chain = main &rArr; PWM_Init_ff &rArr; Timer_1234_Init_ff
</UL> </UL>
<BR>[Calls]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Timer_1234_Init_ff <BR>[Calls]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Timer_1234_Init_ff
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PWM_Init_ff
<LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;GPIO_Configure
<LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CLOCK_Configure <LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;CLOCK_Configure
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Active_IT_Debordement_Timer <LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Active_IT_Debordement_Timer
</UL> </UL>
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B) <BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
</UL> </UL>
<P><STRONG><a name="[38]"></a>CallbackSon</STRONG> (Thumb, 54 bytes, Stack size 0 bytes, gestionson.o(moncode)) <P><STRONG><a name="[38]"></a>CallbackSon</STRONG> (Thumb, 60 bytes, Stack size 0 bytes, gestionson.o(moncode))
<BR><BR>[Calls]<UL><LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PWM_Set_Value_TIM3_Ch3
</UL>
<BR>[Address Reference Count : 1]<UL><LI> principal.o(i.main) <BR>[Address Reference Count : 1]<UL><LI> principal.o(i.main)
</UL><P> </UL><P>
<H3> <H3>

View file

@ -5,7 +5,9 @@ Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601]
Section Cross References Section Cross References
principal.o(i.main) refers to clock.o(i.CLOCK_Configure) for CLOCK_Configure principal.o(i.main) refers to clock.o(i.CLOCK_Configure) for CLOCK_Configure
principal.o(i.main) refers to gpio.o(i.GPIO_Configure) for GPIO_Configure
principal.o(i.main) refers to timer_1234.o(i.Timer_1234_Init_ff) for Timer_1234_Init_ff principal.o(i.main) refers to timer_1234.o(i.Timer_1234_Init_ff) for Timer_1234_Init_ff
principal.o(i.main) refers to timer_1234.o(i.PWM_Init_ff) for PWM_Init_ff
principal.o(i.main) refers to timer_1234.o(i.Active_IT_Debordement_Timer) for Active_IT_Debordement_Timer principal.o(i.main) refers to timer_1234.o(i.Active_IT_Debordement_Timer) for Active_IT_Debordement_Timer
principal.o(i.main) refers to gestionson.o(moncode) for CallbackSon principal.o(i.main) refers to gestionson.o(moncode) for CallbackSon
startup-rvds.o(RESET) refers to startup-rvds.o(STACK) for __initial_sp startup-rvds.o(RESET) refers to startup-rvds.o(STACK) for __initial_sp
@ -16,6 +18,25 @@ Section Cross References
startup-rvds.o(RESET) refers to timer_1234.o(i.TIM3_IRQHandler) for TIM3_IRQHandler startup-rvds.o(RESET) refers to timer_1234.o(i.TIM3_IRQHandler) for TIM3_IRQHandler
startup-rvds.o(RESET) refers to timer_1234.o(i.TIM4_IRQHandler) for TIM4_IRQHandler startup-rvds.o(RESET) refers to timer_1234.o(i.TIM4_IRQHandler) for TIM4_IRQHandler
startup-rvds.o(.text) refers to entry.o(.ARM.Collect$$$$00000000) for __main startup-rvds.o(.text) refers to entry.o(.ARM.Collect$$$$00000000) for __main
gestionson.o(mesdata) refers (Special) to gpio.o(i.GPIOA_Clear) for GPIOA_Clear
gestionson.o(mesdata) refers (Special) to gpio.o(i.GPIOA_Set) for GPIOA_Set
gestionson.o(mesdata) refers (Special) to gpio.o(i.GPIOB_Clear) for GPIOB_Clear
gestionson.o(mesdata) refers (Special) to gpio.o(i.GPIOB_Set) for GPIOB_Set
gestionson.o(mesdata) refers (Special) to gpio.o(i.GPIOC_Clear) for GPIOC_Clear
gestionson.o(mesdata) refers (Special) to gpio.o(i.GPIOC_Set) for GPIOC_Set
gestionson.o(maram) refers (Special) to gpio.o(i.GPIOA_Clear) for GPIOA_Clear
gestionson.o(maram) refers (Special) to gpio.o(i.GPIOA_Set) for GPIOA_Set
gestionson.o(maram) refers (Special) to gpio.o(i.GPIOB_Clear) for GPIOB_Clear
gestionson.o(maram) refers (Special) to gpio.o(i.GPIOB_Set) for GPIOB_Set
gestionson.o(maram) refers (Special) to gpio.o(i.GPIOC_Clear) for GPIOC_Clear
gestionson.o(maram) refers (Special) to gpio.o(i.GPIOC_Set) for GPIOC_Set
gestionson.o(moncode) refers (Special) to gpio.o(i.GPIOA_Clear) for GPIOA_Clear
gestionson.o(moncode) refers (Special) to gpio.o(i.GPIOA_Set) for GPIOA_Set
gestionson.o(moncode) refers (Special) to gpio.o(i.GPIOB_Clear) for GPIOB_Clear
gestionson.o(moncode) refers (Special) to gpio.o(i.GPIOB_Set) for GPIOB_Set
gestionson.o(moncode) refers (Special) to gpio.o(i.GPIOC_Clear) for GPIOC_Clear
gestionson.o(moncode) refers (Special) to gpio.o(i.GPIOC_Set) for GPIOC_Set
gestionson.o(moncode) refers to timer_1234.o(i.PWM_Set_Value_TIM3_Ch3) for PWM_Set_Value_TIM3_Ch3
gestionson.o(moncode) refers to gestionson.o(maram) for Index gestionson.o(moncode) refers to gestionson.o(maram) for Index
gestionson.o(moncode) refers to bruitverre.o(SecSon) for LongueurSon gestionson.o(moncode) refers to bruitverre.o(SecSon) for LongueurSon
clock.o(i.CLOCK_Configure) refers to clock.o(i.CLOCK_HPRECompute) for CLOCK_HPRECompute clock.o(i.CLOCK_Configure) refers to clock.o(i.CLOCK_HPRECompute) for CLOCK_HPRECompute
@ -112,6 +133,9 @@ Removing Unused input sections from the image.
Removing clock.o(i.CLOCK_GetADCCLK), (8 bytes). Removing clock.o(i.CLOCK_GetADCCLK), (8 bytes).
Removing clock.o(i.CLOCK_GetPCLK1), (8 bytes). Removing clock.o(i.CLOCK_GetPCLK1), (8 bytes).
Removing clock.o(i.CLOCK_GetPCLK2), (8 bytes). Removing clock.o(i.CLOCK_GetPCLK2), (8 bytes).
Removing gpio.o(.rev16_text), (4 bytes).
Removing gpio.o(.revsh_text), (4 bytes).
Removing gpio.o(.rrx_text), (6 bytes).
Removing timer_1234.o(.rev16_text), (4 bytes). Removing timer_1234.o(.rev16_text), (4 bytes).
Removing timer_1234.o(.revsh_text), (4 bytes). Removing timer_1234.o(.revsh_text), (4 bytes).
Removing timer_1234.o(.rrx_text), (6 bytes). Removing timer_1234.o(.rrx_text), (6 bytes).
@ -120,8 +144,6 @@ Removing Unused input sections from the image.
Removing timer_1234.o(i.Lire_Duree_Pulse), (96 bytes). Removing timer_1234.o(i.Lire_Duree_Pulse), (96 bytes).
Removing timer_1234.o(i.PWM_Complementaire_Timer1), (60 bytes). Removing timer_1234.o(i.PWM_Complementaire_Timer1), (60 bytes).
Removing timer_1234.o(i.PWM_Init), (200 bytes). Removing timer_1234.o(i.PWM_Init), (200 bytes).
Removing timer_1234.o(i.PWM_Init_ff), (172 bytes).
Removing timer_1234.o(i.PWM_Set_Value_TIM3_Ch3), (12 bytes).
Removing timer_1234.o(i.Timer_1234_Init), (268 bytes). Removing timer_1234.o(i.Timer_1234_Init), (268 bytes).
Removing timer_1234.o(i.Timer_Inc_Init), (180 bytes). Removing timer_1234.o(i.Timer_Inc_Init), (180 bytes).
Removing fmul.o(.text), (100 bytes). Removing fmul.o(.text), (100 bytes).
@ -139,7 +161,7 @@ Removing Unused input sections from the image.
Removing fepilogue.o(.text), (110 bytes). Removing fepilogue.o(.text), (110 bytes).
Removing depilogue.o(.text), (186 bytes). Removing depilogue.o(.text), (186 bytes).
37 unused section(s) (total 4090 bytes) removed from the image. 38 unused section(s) (total 3920 bytes) removed from the image.
============================================================================== ==============================================================================
@ -149,40 +171,42 @@ Image Symbol Table
Symbol Name Value Ov Type Size Object(Section) Symbol Name Value Ov Type Size Object(Section)
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.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 entry2.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 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.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 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10b.o ABSOLUTE ../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12b.o ABSOLUTE ../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.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/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 entry10a.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llushr.o ABSOLUTE ../clib/microlib/init/entry.s 0x00000000 Number 0 entry10b.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llsshr.o ABSOLUTE ../clib/microlib/init/entry.s 0x00000000 Number 0 entry11a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12a.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llshl.o ABSOLUTE ../clib/microlib/longlong.c 0x00000000 Number 0 llshl.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llsshr.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llushr.o ABSOLUTE
../clib/microlib/stubs.s 0x00000000 Number 0 iusefp.o ABSOLUTE ../clib/microlib/stubs.s 0x00000000 Number 0 iusefp.o ABSOLUTE
../fplib/microlib/d2f.c 0x00000000 Number 0 d2f.o ABSOLUTE ../fplib/microlib/d2f.c 0x00000000 Number 0 d2f.o ABSOLUTE
../fplib/microlib/f2d.c 0x00000000 Number 0 f2d.o ABSOLUTE ../fplib/microlib/f2d.c 0x00000000 Number 0 f2d.o ABSOLUTE
../fplib/microlib/fpadd.c 0x00000000 Number 0 dadd.o ABSOLUTE ../fplib/microlib/fpadd.c 0x00000000 Number 0 dadd.o ABSOLUTE
../fplib/microlib/fpdiv.c 0x00000000 Number 0 ddiv.o ABSOLUTE ../fplib/microlib/fpdiv.c 0x00000000 Number 0 ddiv.o ABSOLUTE
../fplib/microlib/fpdiv.c 0x00000000 Number 0 fdiv.o ABSOLUTE ../fplib/microlib/fpdiv.c 0x00000000 Number 0 fdiv.o ABSOLUTE
../fplib/microlib/fpepilogue.c 0x00000000 Number 0 depilogue.o ABSOLUTE
../fplib/microlib/fpepilogue.c 0x00000000 Number 0 fepilogue.o ABSOLUTE ../fplib/microlib/fpepilogue.c 0x00000000 Number 0 fepilogue.o ABSOLUTE
../fplib/microlib/fpfix.c 0x00000000 Number 0 ffixui.o ABSOLUTE ../fplib/microlib/fpepilogue.c 0x00000000 Number 0 depilogue.o ABSOLUTE
../fplib/microlib/fpfix.c 0x00000000 Number 0 ffixi.o ABSOLUTE ../fplib/microlib/fpfix.c 0x00000000 Number 0 ffixi.o ABSOLUTE
../fplib/microlib/fpfix.c 0x00000000 Number 0 ffixui.o ABSOLUTE
../fplib/microlib/fpflt.c 0x00000000 Number 0 ffltui.o ABSOLUTE ../fplib/microlib/fpflt.c 0x00000000 Number 0 ffltui.o ABSOLUTE
../fplib/microlib/fpflt.c 0x00000000 Number 0 dfltui.o ABSOLUTE ../fplib/microlib/fpflt.c 0x00000000 Number 0 dfltui.o ABSOLUTE
../fplib/microlib/fpmul.c 0x00000000 Number 0 dmul.o ABSOLUTE ../fplib/microlib/fpmul.c 0x00000000 Number 0 dmul.o ABSOLUTE
../fplib/microlib/fpmul.c 0x00000000 Number 0 fmul.o ABSOLUTE ../fplib/microlib/fpmul.c 0x00000000 Number 0 fmul.o ABSOLUTE
../fplib/microlib/fpscalb.c 0x00000000 Number 0 fscalb.o ABSOLUTE ../fplib/microlib/fpscalb.c 0x00000000 Number 0 fscalb.o ABSOLUTE
Lib\GPIO.c 0x00000000 Number 0 gpio.o ABSOLUTE
Lib\Timer_1234.c 0x00000000 Number 0 timer_1234.o ABSOLUTE Lib\Timer_1234.c 0x00000000 Number 0 timer_1234.o ABSOLUTE
Lib\\GPIO.c 0x00000000 Number 0 gpio.o ABSOLUTE
Lib\\Timer_1234.c 0x00000000 Number 0 timer_1234.o ABSOLUTE Lib\\Timer_1234.c 0x00000000 Number 0 timer_1234.o ABSOLUTE
Lib\\clock.c 0x00000000 Number 0 clock.o ABSOLUTE Lib\\clock.c 0x00000000 Number 0 clock.o ABSOLUTE
Lib\clock.c 0x00000000 Number 0 clock.o ABSOLUTE Lib\clock.c 0x00000000 Number 0 clock.o ABSOLUTE
@ -214,18 +238,27 @@ Image Symbol Table
i.CLOCK_GetTIMCLK 0x080002d4 Section 0 clock.o(i.CLOCK_GetTIMCLK) i.CLOCK_GetTIMCLK 0x080002d4 Section 0 clock.o(i.CLOCK_GetTIMCLK)
i.CLOCK_HPRECompute 0x080002f8 Section 0 clock.o(i.CLOCK_HPRECompute) i.CLOCK_HPRECompute 0x080002f8 Section 0 clock.o(i.CLOCK_HPRECompute)
CLOCK_HPRECompute 0x080002f9 Thumb Code 116 clock.o(i.CLOCK_HPRECompute) CLOCK_HPRECompute 0x080002f9 Thumb Code 116 clock.o(i.CLOCK_HPRECompute)
i.TIM1_CC_IRQHandler 0x0800036c Section 0 timer_1234.o(i.TIM1_CC_IRQHandler) i.GPIOA_Clear 0x0800036c Section 0 gpio.o(i.GPIOA_Clear)
i.TIM1_UP_IRQHandler 0x08000478 Section 0 timer_1234.o(i.TIM1_UP_IRQHandler) i.GPIOA_Set 0x0800037c Section 0 gpio.o(i.GPIOA_Set)
i.TIM2_IRQHandler 0x08000490 Section 0 timer_1234.o(i.TIM2_IRQHandler) i.GPIOB_Clear 0x0800038c Section 0 gpio.o(i.GPIOB_Clear)
i.TIM3_IRQHandler 0x080005a0 Section 0 timer_1234.o(i.TIM3_IRQHandler) i.GPIOB_Set 0x0800039c Section 0 gpio.o(i.GPIOB_Set)
i.TIM4_IRQHandler 0x080006cc Section 0 timer_1234.o(i.TIM4_IRQHandler) i.GPIOC_Clear 0x080003ac Section 0 gpio.o(i.GPIOC_Clear)
i.Timer_1234_Init_ff 0x080007f8 Section 0 timer_1234.o(i.Timer_1234_Init_ff) i.GPIOC_Set 0x080003bc Section 0 gpio.o(i.GPIOC_Set)
i.__scatterload_copy 0x08000874 Section 14 handlers.o(i.__scatterload_copy) i.GPIO_Configure 0x080003cc Section 0 gpio.o(i.GPIO_Configure)
i.__scatterload_null 0x08000882 Section 2 handlers.o(i.__scatterload_null) i.PWM_Init_ff 0x080004d4 Section 0 timer_1234.o(i.PWM_Init_ff)
i.__scatterload_zeroinit 0x08000884 Section 14 handlers.o(i.__scatterload_zeroinit) i.PWM_Set_Value_TIM3_Ch3 0x08000580 Section 0 timer_1234.o(i.PWM_Set_Value_TIM3_Ch3)
i.main 0x08000894 Section 0 principal.o(i.main) i.TIM1_CC_IRQHandler 0x0800058c Section 0 timer_1234.o(i.TIM1_CC_IRQHandler)
moncode 0x080008b8 Section 72 gestionson.o(moncode) i.TIM1_UP_IRQHandler 0x08000698 Section 0 timer_1234.o(i.TIM1_UP_IRQHandler)
SecSon 0x08000920 Section 11032 bruitverre.o(SecSon) i.TIM2_IRQHandler 0x080006b0 Section 0 timer_1234.o(i.TIM2_IRQHandler)
i.TIM3_IRQHandler 0x080007c0 Section 0 timer_1234.o(i.TIM3_IRQHandler)
i.TIM4_IRQHandler 0x080008ec Section 0 timer_1234.o(i.TIM4_IRQHandler)
i.Timer_1234_Init_ff 0x08000a18 Section 0 timer_1234.o(i.Timer_1234_Init_ff)
i.__scatterload_copy 0x08000a94 Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x08000aa2 Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x08000aa4 Section 14 handlers.o(i.__scatterload_zeroinit)
i.main 0x08000ab4 Section 0 principal.o(i.main)
moncode 0x08000af4 Section 76 gestionson.o(moncode)
SecSon 0x08000b60 Section 11032 bruitverre.o(SecSon)
.data 0x20000000 Section 160 timer_1234.o(.data) .data 0x20000000 Section 160 timer_1234.o(.data)
Ptr_TIM1 0x20000010 Data 4 timer_1234.o(.data) Ptr_TIM1 0x20000010 Data 4 timer_1234.o(.data)
Ptr_TIM2 0x20000014 Data 4 timer_1234.o(.data) Ptr_TIM2 0x20000014 Data 4 timer_1234.o(.data)
@ -339,22 +372,31 @@ Image Symbol Table
CLOCK_Configure 0x08000259 Thumb Code 104 clock.o(i.CLOCK_Configure) CLOCK_Configure 0x08000259 Thumb Code 104 clock.o(i.CLOCK_Configure)
CLOCK_GetHCLK 0x080002cd Thumb Code 4 clock.o(i.CLOCK_GetHCLK) CLOCK_GetHCLK 0x080002cd Thumb Code 4 clock.o(i.CLOCK_GetHCLK)
CLOCK_GetTIMCLK 0x080002d5 Thumb Code 22 clock.o(i.CLOCK_GetTIMCLK) CLOCK_GetTIMCLK 0x080002d5 Thumb Code 22 clock.o(i.CLOCK_GetTIMCLK)
TIM1_CC_IRQHandler 0x0800036d Thumb Code 240 timer_1234.o(i.TIM1_CC_IRQHandler) GPIOA_Clear 0x0800036d Thumb Code 10 gpio.o(i.GPIOA_Clear)
TIM1_UP_IRQHandler 0x08000479 Thumb Code 16 timer_1234.o(i.TIM1_UP_IRQHandler) GPIOA_Set 0x0800037d Thumb Code 10 gpio.o(i.GPIOA_Set)
TIM2_IRQHandler 0x08000491 Thumb Code 266 timer_1234.o(i.TIM2_IRQHandler) GPIOB_Clear 0x0800038d Thumb Code 10 gpio.o(i.GPIOB_Clear)
TIM3_IRQHandler 0x080005a1 Thumb Code 272 timer_1234.o(i.TIM3_IRQHandler) GPIOB_Set 0x0800039d Thumb Code 10 gpio.o(i.GPIOB_Set)
TIM4_IRQHandler 0x080006cd Thumb Code 272 timer_1234.o(i.TIM4_IRQHandler) GPIOC_Clear 0x080003ad Thumb Code 10 gpio.o(i.GPIOC_Clear)
Timer_1234_Init_ff 0x080007f9 Thumb Code 106 timer_1234.o(i.Timer_1234_Init_ff) GPIOC_Set 0x080003bd Thumb Code 10 gpio.o(i.GPIOC_Set)
__scatterload_copy 0x08000875 Thumb Code 14 handlers.o(i.__scatterload_copy) GPIO_Configure 0x080003cd Thumb Code 240 gpio.o(i.GPIO_Configure)
__scatterload_null 0x08000883 Thumb Code 2 handlers.o(i.__scatterload_null) PWM_Init_ff 0x080004d5 Thumb Code 168 timer_1234.o(i.PWM_Init_ff)
__scatterload_zeroinit 0x08000885 Thumb Code 14 handlers.o(i.__scatterload_zeroinit) PWM_Set_Value_TIM3_Ch3 0x08000581 Thumb Code 6 timer_1234.o(i.PWM_Set_Value_TIM3_Ch3)
main 0x08000895 Thumb Code 28 principal.o(i.main) TIM1_CC_IRQHandler 0x0800058d Thumb Code 240 timer_1234.o(i.TIM1_CC_IRQHandler)
CallbackSon 0x080008b9 Thumb Code 54 gestionson.o(moncode) TIM1_UP_IRQHandler 0x08000699 Thumb Code 16 timer_1234.o(i.TIM1_UP_IRQHandler)
Region$$Table$$Base 0x08000900 Number 0 anon$$obj.o(Region$$Table) TIM2_IRQHandler 0x080006b1 Thumb Code 266 timer_1234.o(i.TIM2_IRQHandler)
LongueurSon 0x08000920 Data 4 bruitverre.o(SecSon) TIM3_IRQHandler 0x080007c1 Thumb Code 272 timer_1234.o(i.TIM3_IRQHandler)
Region$$Table$$Limit 0x08000920 Number 0 anon$$obj.o(Region$$Table) TIM4_IRQHandler 0x080008ed Thumb Code 272 timer_1234.o(i.TIM4_IRQHandler)
PeriodeSonMicroSec 0x08000924 Data 4 bruitverre.o(SecSon) Timer_1234_Init_ff 0x08000a19 Thumb Code 106 timer_1234.o(i.Timer_1234_Init_ff)
Son 0x08000928 Data 0 bruitverre.o(SecSon) __scatterload_copy 0x08000a95 Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x08000aa3 Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x08000aa5 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
main 0x08000ab5 Thumb Code 52 principal.o(i.main)
CallbackSon 0x08000af5 Thumb Code 60 gestionson.o(moncode)
Region$$Table$$Base 0x08000b40 Number 0 anon$$obj.o(Region$$Table)
LongueurSon 0x08000b60 Data 4 bruitverre.o(SecSon)
Region$$Table$$Limit 0x08000b60 Number 0 anon$$obj.o(Region$$Table)
PeriodeSonMicroSec 0x08000b64 Data 4 bruitverre.o(SecSon)
Son 0x08000b68 Data 0 bruitverre.o(SecSon)
Enable_Fct_IT_Compare_Match_TIM1_Voie1 0x20000000 Data 1 timer_1234.o(.data) Enable_Fct_IT_Compare_Match_TIM1_Voie1 0x20000000 Data 1 timer_1234.o(.data)
Enable_Fct_IT_Compare_Match_TIM1_Voie2 0x20000001 Data 1 timer_1234.o(.data) Enable_Fct_IT_Compare_Match_TIM1_Voie2 0x20000001 Data 1 timer_1234.o(.data)
Enable_Fct_IT_Compare_Match_TIM1_Voie3 0x20000002 Data 1 timer_1234.o(.data) Enable_Fct_IT_Compare_Match_TIM1_Voie3 0x20000002 Data 1 timer_1234.o(.data)
@ -382,53 +424,62 @@ Memory Map of the image
Image Entry point : 0x080000ed Image Entry point : 0x080000ed
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x000034dc, Max: 0x00020000, ABSOLUTE) Load Region LR_IROM1 (Base: 0x08000000, Size: 0x0000371c, Max: 0x00020000, ABSOLUTE)
Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00003438, Max: 0x00020000, ABSOLUTE) Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00003678, Max: 0x00020000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x08000000 0x08000000 0x000000ec Data RO 59 RESET startup-rvds.o 0x08000000 0x08000000 0x000000ec Data RO 59 RESET startup-rvds.o
0x080000ec 0x080000ec 0x00000000 Code RO 130 * .ARM.Collect$$$$00000000 mc_w.l(entry.o) 0x080000ec 0x080000ec 0x00000000 Code RO 150 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 157 .ARM.Collect$$$$00000001 mc_w.l(entry2.o) 0x080000ec 0x080000ec 0x00000004 Code RO 177 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 160 .ARM.Collect$$$$00000004 mc_w.l(entry5.o) 0x080000f0 0x080000f0 0x00000004 Code RO 180 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 162 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o) 0x080000f4 0x080000f4 0x00000000 Code RO 182 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 164 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o) 0x080000f4 0x080000f4 0x00000000 Code RO 184 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 165 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o) 0x080000f4 0x080000f4 0x00000008 Code RO 185 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 172 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o) 0x080000fc 0x080000fc 0x00000004 Code RO 192 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
0x08000100 0x08000100 0x00000000 Code RO 167 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o) 0x08000100 0x08000100 0x00000000 Code RO 187 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
0x08000100 0x08000100 0x00000000 Code RO 169 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o) 0x08000100 0x08000100 0x00000000 Code RO 189 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
0x08000100 0x08000100 0x00000004 Code RO 158 .ARM.Collect$$$$00002712 mc_w.l(entry2.o) 0x08000100 0x08000100 0x00000004 Code RO 178 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000104 0x08000104 0x0000004c Code RO 60 .text startup-rvds.o 0x08000104 0x08000104 0x0000004c Code RO 60 .text startup-rvds.o
0x08000150 0x08000150 0x00000024 Code RO 182 .text mc_w.l(init.o) 0x08000150 0x08000150 0x00000024 Code RO 202 .text mc_w.l(init.o)
0x08000174 0x08000174 0x000000e4 Code RO 95 i.Active_IT_Debordement_Timer DriverJeuLaser.lib(timer_1234.o) 0x08000174 0x08000174 0x000000e4 Code RO 115 i.Active_IT_Debordement_Timer DriverJeuLaser.lib(timer_1234.o)
0x08000258 0x08000258 0x00000074 Code RO 74 i.CLOCK_Configure DriverJeuLaser.lib(clock.o) 0x08000258 0x08000258 0x00000074 Code RO 74 i.CLOCK_Configure DriverJeuLaser.lib(clock.o)
0x080002cc 0x080002cc 0x00000008 Code RO 76 i.CLOCK_GetHCLK DriverJeuLaser.lib(clock.o) 0x080002cc 0x080002cc 0x00000008 Code RO 76 i.CLOCK_GetHCLK DriverJeuLaser.lib(clock.o)
0x080002d4 0x080002d4 0x00000024 Code RO 79 i.CLOCK_GetTIMCLK DriverJeuLaser.lib(clock.o) 0x080002d4 0x080002d4 0x00000024 Code RO 79 i.CLOCK_GetTIMCLK DriverJeuLaser.lib(clock.o)
0x080002f8 0x080002f8 0x00000074 Code RO 80 i.CLOCK_HPRECompute DriverJeuLaser.lib(clock.o) 0x080002f8 0x080002f8 0x00000074 Code RO 80 i.CLOCK_HPRECompute DriverJeuLaser.lib(clock.o)
0x0800036c 0x0800036c 0x0000010c Code RO 102 i.TIM1_CC_IRQHandler DriverJeuLaser.lib(timer_1234.o) 0x0800036c 0x0800036c 0x00000010 Code RO 94 i.GPIOA_Clear DriverJeuLaser.lib(gpio.o)
0x08000478 0x08000478 0x00000018 Code RO 103 i.TIM1_UP_IRQHandler DriverJeuLaser.lib(timer_1234.o) 0x0800037c 0x0800037c 0x00000010 Code RO 95 i.GPIOA_Set DriverJeuLaser.lib(gpio.o)
0x08000490 0x08000490 0x00000110 Code RO 104 i.TIM2_IRQHandler DriverJeuLaser.lib(timer_1234.o) 0x0800038c 0x0800038c 0x00000010 Code RO 96 i.GPIOB_Clear DriverJeuLaser.lib(gpio.o)
0x080005a0 0x080005a0 0x0000012c Code RO 105 i.TIM3_IRQHandler DriverJeuLaser.lib(timer_1234.o) 0x0800039c 0x0800039c 0x00000010 Code RO 97 i.GPIOB_Set DriverJeuLaser.lib(gpio.o)
0x080006cc 0x080006cc 0x0000012c Code RO 106 i.TIM4_IRQHandler DriverJeuLaser.lib(timer_1234.o) 0x080003ac 0x080003ac 0x00000010 Code RO 98 i.GPIOC_Clear DriverJeuLaser.lib(gpio.o)
0x080007f8 0x080007f8 0x0000007c Code RO 108 i.Timer_1234_Init_ff DriverJeuLaser.lib(timer_1234.o) 0x080003bc 0x080003bc 0x00000010 Code RO 99 i.GPIOC_Set DriverJeuLaser.lib(gpio.o)
0x08000874 0x08000874 0x0000000e Code RO 188 i.__scatterload_copy mc_w.l(handlers.o) 0x080003cc 0x080003cc 0x00000108 Code RO 100 i.GPIO_Configure DriverJeuLaser.lib(gpio.o)
0x08000882 0x08000882 0x00000002 Code RO 189 i.__scatterload_null mc_w.l(handlers.o) 0x080004d4 0x080004d4 0x000000ac Code RO 120 i.PWM_Init_ff DriverJeuLaser.lib(timer_1234.o)
0x08000884 0x08000884 0x0000000e Code RO 190 i.__scatterload_zeroinit mc_w.l(handlers.o) 0x08000580 0x08000580 0x0000000c Code RO 121 i.PWM_Set_Value_TIM3_Ch3 DriverJeuLaser.lib(timer_1234.o)
0x08000892 0x08000892 0x00000002 PAD 0x0800058c 0x0800058c 0x0000010c Code RO 122 i.TIM1_CC_IRQHandler DriverJeuLaser.lib(timer_1234.o)
0x08000894 0x08000894 0x00000024 Code RO 4 i.main principal.o 0x08000698 0x08000698 0x00000018 Code RO 123 i.TIM1_UP_IRQHandler DriverJeuLaser.lib(timer_1234.o)
0x080008b8 0x080008b8 0x00000048 Code RO 67 moncode gestionson.o 0x080006b0 0x080006b0 0x00000110 Code RO 124 i.TIM2_IRQHandler DriverJeuLaser.lib(timer_1234.o)
0x08000900 0x08000900 0x00000020 Data RO 186 Region$$Table anon$$obj.o 0x080007c0 0x080007c0 0x0000012c Code RO 125 i.TIM3_IRQHandler DriverJeuLaser.lib(timer_1234.o)
0x08000920 0x08000920 0x00002b18 Data RO 64 SecSon bruitverre.o 0x080008ec 0x080008ec 0x0000012c Code RO 126 i.TIM4_IRQHandler DriverJeuLaser.lib(timer_1234.o)
0x08000a18 0x08000a18 0x0000007c Code RO 128 i.Timer_1234_Init_ff DriverJeuLaser.lib(timer_1234.o)
0x08000a94 0x08000a94 0x0000000e Code RO 208 i.__scatterload_copy mc_w.l(handlers.o)
0x08000aa2 0x08000aa2 0x00000002 Code RO 209 i.__scatterload_null mc_w.l(handlers.o)
0x08000aa4 0x08000aa4 0x0000000e Code RO 210 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x08000ab2 0x08000ab2 0x00000002 PAD
0x08000ab4 0x08000ab4 0x00000040 Code RO 4 i.main principal.o
0x08000af4 0x08000af4 0x0000004c Code RO 67 moncode gestionson.o
0x08000b40 0x08000b40 0x00000020 Data RO 206 Region$$Table anon$$obj.o
0x08000b60 0x08000b60 0x00002b18 Data RO 64 SecSon bruitverre.o
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08003438, Size: 0x000004a8, Max: 0x00005000, ABSOLUTE) Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08003678, Size: 0x000004a8, Max: 0x00005000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000000 0x08003438 0x000000a0 Data RW 110 .data DriverJeuLaser.lib(timer_1234.o) 0x20000000 0x08003678 0x000000a0 Data RW 130 .data DriverJeuLaser.lib(timer_1234.o)
0x200000a0 0x080034d8 0x00000004 Data RW 66 maram gestionson.o 0x200000a0 0x08003718 0x00000004 Data RW 66 maram gestionson.o
0x200000a4 0x080034dc 0x00000004 PAD 0x200000a4 0x0800371c 0x00000004 PAD
0x200000a8 - 0x00000400 Zero RW 57 STACK startup-rvds.o 0x200000a8 - 0x00000400 Zero RW 57 STACK startup-rvds.o
@ -440,12 +491,12 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name Code (inc. data) RO Data RW Data ZI Data Debug Object Name
0 0 11032 0 0 0 bruitverre.o 0 0 11032 0 0 0 bruitverre.o
72 18 0 4 0 336 gestionson.o 76 16 0 4 0 336 gestionson.o
36 8 0 0 0 1895 principal.o 64 12 0 0 0 1907 principal.o
76 20 236 0 1024 800 startup-rvds.o 76 20 236 0 1024 800 startup-rvds.o
---------------------------------------------------------------------- ----------------------------------------------------------------------
184 46 11300 4 1028 3031 Object Totals 216 48 11300 4 1028 3043 Object Totals
0 0 32 0 0 0 (incl. Generated) 0 0 32 0 0 0 (incl. Generated)
0 0 0 0 4 0 (incl. Padding) 0 0 0 0 4 0 (incl. Padding)
@ -454,7 +505,8 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Library Member Name Code (inc. data) RO Data RW Data ZI Data Debug Library Member Name
276 30 0 0 0 284 clock.o 276 30 0 0 0 284 clock.o
1516 140 0 160 0 588 timer_1234.o 360 60 0 0 0 492 gpio.o
1700 150 0 160 0 740 timer_1234.o
0 0 0 0 0 0 entry.o 0 0 0 0 0 0 entry.o
0 0 0 0 0 0 entry10a.o 0 0 0 0 0 0 entry10a.o
0 0 0 0 0 0 entry11a.o 0 0 0 0 0 0 entry11a.o
@ -468,18 +520,18 @@ Image component sizes
36 8 0 0 0 68 init.o 36 8 0 0 0 68 init.o
---------------------------------------------------------------------- ----------------------------------------------------------------------
1884 186 0 160 0 940 Library Totals 2428 256 0 160 0 1584 Library Totals
2 0 0 0 0 0 (incl. Padding) 2 0 0 0 0 0 (incl. Padding)
---------------------------------------------------------------------- ----------------------------------------------------------------------
Code (inc. data) RO Data RW Data ZI Data Debug Library Name Code (inc. data) RO Data RW Data ZI Data Debug Library Name
1792 170 0 160 0 872 DriverJeuLaser.lib 2336 240 0 160 0 1516 DriverJeuLaser.lib
90 16 0 0 0 68 mc_w.l 90 16 0 0 0 68 mc_w.l
---------------------------------------------------------------------- ----------------------------------------------------------------------
1884 186 0 160 0 940 Library Totals 2428 256 0 160 0 1584 Library Totals
---------------------------------------------------------------------- ----------------------------------------------------------------------
@ -488,15 +540,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Code (inc. data) RO Data RW Data ZI Data Debug
2068 232 11300 164 1028 3603 Grand Totals 2644 304 11300 164 1028 3843 Grand Totals
2068 232 11300 164 1028 3603 ELF Image Totals 2644 304 11300 164 1028 3843 ELF Image Totals
2068 232 11300 164 0 0 ROM Totals 2644 304 11300 164 0 0 ROM Totals
============================================================================== ==============================================================================
Total RO Size (Code + RO Data) 13368 ( 13.05kB) Total RO Size (Code + RO Data) 13944 ( 13.62kB)
Total RW Size (RW Data + ZI Data) 1192 ( 1.16kB) Total RW Size (RW Data + ZI Data) 1192 ( 1.16kB)
Total ROM Size (Code + RO Data + RW Data) 13532 ( 13.21kB) Total ROM Size (Code + RO Data + RW Data) 14108 ( 13.78kB)
============================================================================== ==============================================================================

View file

@ -1,6 +1,6 @@
Dependencies for Project 'StepSon', Target 'Simu': (DO NOT MODIFY !) Dependencies for Project 'StepSon', Target 'Simu': (DO NOT MODIFY !)
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
F (.\Src\principal.c)(0x64303FEA)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Driver --C99 -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -DSTM32F103xB -DUSE_FULL_LL_DRIVER -o .\obj\principal.o --omf_browse .\obj\principal.crf --depend .\obj\principal.d) F (.\Src\principal.c)(0x643569EF)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Driver --C99 -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -DSTM32F103xB -DUSE_FULL_LL_DRIVER -o .\obj\principal.o --omf_browse .\obj\principal.crf --depend .\obj\principal.d)
I (.\Driver\DriverJeuLaser.h)(0x6037C015) I (.\Driver\DriverJeuLaser.h)(0x6037C015)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC) I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_Simu\RTE_Components.h)(0x6427017D) I (.\RTE\_Simu\RTE_Components.h)(0x6427017D)
@ -10,7 +10,8 @@ I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_versio
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22) I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582) I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC) I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
F (.\Src\startup-rvds.s)(0x5FE38AC6)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list startup-rvds.lst --xref -o .\obj\startup-rvds.o --depend .\obj\startup-rvds.d) F (.\Src\startup-rvds.s)(0x5FE38AC6)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I .\Driver -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list startup-rvds.lst --xref -o .\obj\startup-rvds.o --depend .\obj\startup-rvds.d)
F (.\Driver\DriverJeuLaser.lib)(0x6037BEDF)() F (.\Driver\DriverJeuLaser.lib)(0x6037BEDF)()
F (.\Src\bruitverre.asm)(0x5ED5F990)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list bruitverre.lst --xref -o .\obj\bruitverre.o --depend .\obj\bruitverre.d) F (.\Src\bruitverre.asm)(0x5ED5F990)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I .\Driver -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list bruitverre.lst --xref -o .\obj\bruitverre.o --depend .\obj\bruitverre.d)
F (.\Src\GestionSon.s)(0x64303E5B)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list gestionson.lst --xref -o .\obj\gestionson.o --depend .\obj\gestionson.d) F (.\Src\GestionSon.s)(0x64356917)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I .\Driver -I.\RTE\_Simu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list gestionson.lst --xref -o .\obj\gestionson.o --depend .\obj\gestionson.d)
I (.\Driver\DriverJeuLaser.inc)(0x6037BEDF)

Binary file not shown.

View file

@ -1 +1,2 @@
.\obj\gestionson.o: Src\GestionSon.s .\obj\gestionson.o: Src\GestionSon.s
.\obj\gestionson.o: .\Driver\DriverJeuLaser.inc

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -5,6 +5,9 @@
import Son import Son
import LongueurSon import LongueurSon
include DriverJeuLaser.inc
; ====================== zone de réservation de données, ====================================== ; ====================== zone de réservation de données, ======================================
;Section RAM (read only) : ;Section RAM (read only) :
@ -68,6 +71,8 @@ Sinon
fin fin
EXPORT SortieSon EXPORT SortieSon
mov r0, r3
bl PWM_Set_Value_TIM3_Ch3
pop {pc} pop {pc}
endp endp

View file

@ -16,9 +16,10 @@ int main(void)
// Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers // Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers
CLOCK_Configure(); CLOCK_Configure();
GPIO_Configure(GPIOB, 0, OUTPUT, ALT_PPULL);
Timer_1234_Init_ff( TIM4, 91*72); Timer_1234_Init_ff( TIM3, 91*72);
Active_IT_Debordement_Timer( TIM4, 2, CallbackSon ); PWM_Init_ff( TIM3, 3, 720);
Active_IT_Debordement_Timer( TIM3, 2, CallbackSon );
//============================================================================ //============================================================================

View file

@ -82,7 +82,7 @@
<ShowSignalInfo>0</ShowSignalInfo> <ShowSignalInfo>0</ShowSignalInfo>
<ShowCycles>0</ShowCycles> <ShowCycles>0</ShowCycles>
<LeftSideBarSize>88</LeftSideBarSize> <LeftSideBarSize>88</LeftSideBarSize>
<TimeBaseIndex>26</TimeBaseIndex> <TimeBaseIndex>16</TimeBaseIndex>
</LogicAnalizer> </LogicAnalizer>
</WindowSettings> </WindowSettings>
@ -110,8 +110,8 @@
<MDIClientArea> <MDIClientArea>
<RegID>0</RegID> <RegID>0</RegID>
<MDITabState> <MDITabState>
<Len>557</Len> <Len>534</Len>
<Data>0100000004000000010000000100000001000000010000000000000002000000000000000100000001000000000000002800000028000000010000000500000000000000010000003A553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C7072696E636970616C2E63000000000B7072696E636970616C2E6300000000C5D4F200FFFFFFFF3D553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C737461727475702D727664732E73000000000E737461727475702D727664732E7300000000FFDC7800FFFFFFFF3D553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C627275697476657272652E61736D000000000E627275697476657272652E61736D00000000BECEA100FFFFFFFF3B553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C47657374696F6E536F6E2E73000000000C47657374696F6E536F6E2E7300000000F0A0A100FFFFFFFF000000000005546578743100000000BCA8E100FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD50001000000000000000200000004010000660000008007000011030000</Data> <Data>0100000004000000010000000100000001000000010000000000000002000000000000000100000001000000000000002800000028000000010000000400000000000000010000003A553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C7072696E636970616C2E63000000000B7072696E636970616C2E6300000000C5D4F200FFFFFFFF3D553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C737461727475702D727664732E73000000000E737461727475702D727664732E7300000000FFDC7800FFFFFFFF3D553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C627275697476657272652E61736D000000000E627275697476657272652E61736D00000000BECEA100FFFFFFFF3B553A5C334D49435C42455F434854495C417373656D626C6575725C506A744B45494C5F53746570536F6E5C5372635C47657374696F6E536F6E2E73000000000C47657374696F6E536F6E2E7300000000F0A0A100FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD50001000000000000000200000004010000660000008007000011030000</Data>
</MDITabState> </MDITabState>
</MDIClientArea> </MDIClientArea>
<ViewEx> <ViewEx>
@ -1822,7 +1822,7 @@
<Name>Build</Name> <Name>Build</Name>
<Buttons> <Buttons>
<Len>1004</Len> <Len>1004</Len>
<Data>00200000010000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000000001C0000000000000000000000000000000001000000010000000180D07F0000000000001D000000000000000000000000000000000100000001000000018030800000000002001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000000006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0100000000000000010000000000000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000000002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA00000000000000000000000000000000000000000000000001000000010000009600000003002050000000000453696D75960000000000000003000453696D750E4369626C65536F6E64654B45494C0C4369626C65536F6E646553540000000000000000000000000180EB880000000000002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000230000000000000000000000000000000001000000010000000180B08A000000000400240000000000000000000000000000000001000000010000000180A8010000000000004E00000000000000000000000000000000010000000100000001807202000000000000530000000000000000000000000000000001000000010000000180BE010000000000005000000000000000000000000000000000010000000100000000000000054275696C64DC010000</Data> <Data>00200000010000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000000001C0000000000000000000000000000000001000000010000000180D07F0000000000001D000000000000000000000000000000000100000001000000018030800000000002001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000000006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0000000000000000010000000000000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000000002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA00000000000000000000000000000000000000000000000001000000010000009600000003002050000000000453696D75960000000000000003000453696D750E4369626C65536F6E64654B45494C0C4369626C65536F6E646553540000000000000000000000000180EB880000000000002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000230000000000000000000000000000000001000000010000000180B08A000000000400240000000000000000000000000000000001000000010000000180A8010000000000004E00000000000000000000000000000000010000000100000001807202000000000000530000000000000000000000000000000001000000010000000180BE010000000000005000000000000000000000000000000000010000000100000000000000054275696C64DC010000</Data>
</Buttons> </Buttons>
<OriginalItems> <OriginalItems>
<Len>583</Len> <Len>583</Len>
@ -1838,7 +1838,7 @@
<Name>Debug</Name> <Name>Debug</Name>
<Buttons> <Buttons>
<Len>2373</Len> <Len>2373</Len>
<Data>00200000000000001900FFFF01001100434D4643546F6F6C426172427574746F6ECC880000000000002500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018017800000000000002600000000000000000000000000000000010000000100000001801D800000000000002700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001801A800000000000002800000000000000000000000000000000010000000100000001801B80000000000000290000000000000000000000000000000001000000010000000180E57F0000000000002A00000000000000000000000000000000010000000100000001801C800000000000002B00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018000890000000000002C00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180E48B0000000000002D0000000000000000000000000000000001000000010000000180F07F0000000000002E0000000000000000000000000000000001000000010000000180E8880000000000003700000000000000000000000000000000010000000100000001803B010000000000002F0000000000000000000000000000000001000000010000000180BB8A00000000000030000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E0E01000000000000310000000D57617463682057696E646F7773000000000000000000000000010000000100000000000000000000000100000003001380D88B00000000000031000000085761746368202631000000000000000000000000010000000100000000000000000000000100000000001380D98B00000000000031000000085761746368202632000000000000000000000000010000000100000000000000000000000100000000001380CE01000000000000FFFFFFFF0C576174636820416E63686F720000000000000000010000000000000001000000000000000000000001000000000013800F01000000000000320000000E4D656D6F72792057696E646F7773000000000000000000000000010000000100000000000000000000000100000004001380D28B00000000000032000000094D656D6F7279202631000000000000000000000000010000000100000000000000000000000100000000001380D38B00000000000032000000094D656D6F7279202632000000000000000000000000010000000100000000000000000000000100000000001380D48B00000000000032000000094D656D6F7279202633000000000000000000000000010000000100000000000000000000000100000000001380D58B00000000000032000000094D656D6F72792026340000000000000000000000000100000001000000000000000000000001000000000013801001000000000000330000000E53657269616C2057696E646F77730000000000000000000000000100000001000000000000000000000001000000040013809307000000000000330000000855415254202326310000000000000000000000000100000001000000000000000000000001000000000013809407000000000000330000000855415254202326320000000000000000000000000100000001000000000000000000000001000000000013809507000000000000330000000855415254202326330000000000000000000000000100000001000000000000000000000001000000000013809607000000000000330000001626446562756720287072696E746629205669657765720000000000000000000000000100000001000000000000000000000001000000000013803C010000000000007200000010416E616C797369732057696E646F7773000000000000000000000000010000000100000000000000000000000100000004001380658A000000000000340000000F264C6F67696320416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380DC7F0000000000003E0000001526506572666F726D616E636520416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380E788000000000000380000000E26436F646520436F766572616765000000000000000000000000010000000100000000000000000000000100000000001380CD01000000000000FFFFFFFF0F416E616C7973697320416E63686F7200000000000000000100000000000000010000000000000000000000010000000000138053010000000000003F0000000D54726163652057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013805401000000000000FFFFFFFF115472616365204D656E7520416E63686F720000000000000000010000000000000001000000000000000000000001000000000013802901000000000000350000001553797374656D205669657765722057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013804B01000000000000FFFFFFFF1453797374656D2056696577657220416E63686F720000000000000000010000000000000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000013800189000000000000360000000F26546F6F6C626F782057696E646F7700000000000000000000000001000000010000000000000000000000010000000300138044C5000000000000FFFFFFFF0E5570646174652057696E646F77730000000000000000010000000000000001000000000000000000000001000000000013800000000000000400FFFFFFFF000000000000000000010000000000000001000000000000000000000001000000000013805B01000000000000FFFFFFFF12546F6F6C626F78204D656E75416E63686F72000000000000000001000000000000000100000000000000000000000100000000000000000005446562756764020000</Data> <Data>00200000000000001900FFFF01001100434D4643546F6F6C426172427574746F6ECC880000000000002500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018017800000000000002600000000000000000000000000000000010000000100000001801D800000000000002700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001801A800000000000002800000000000000000000000000000000010000000100000001801B80000000000000290000000000000000000000000000000001000000010000000180E57F0000000000002A00000000000000000000000000000000010000000100000001801C800000000000002B00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018000890000000000002C00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180E48B0000000000002D0000000000000000000000000000000001000000010000000180F07F0000000000002E0000000000000000000000000000000001000000010000000180E8880000000000003700000000000000000000000000000000010000000100000001803B010000000000002F0000000000000000000000000000000001000000010000000180BB8A00000000000030000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E0E01000000000000310000000D57617463682057696E646F7773000000000000000000000000010000000100000000000000000000000100000003001380D88B00000000000031000000085761746368202631000000000000000000000000010000000100000000000000000000000100000000001380D98B00000000000031000000085761746368202632000000000000000000000000010000000100000000000000000000000100000000001380CE01000000000000FFFFFFFF0C576174636820416E63686F720100000000000000010000000000000001000000000000000000000001000000000013800F01000000000000320000000E4D656D6F72792057696E646F7773000000000000000000000000010000000100000000000000000000000100000004001380D28B00000000000032000000094D656D6F7279202631000000000000000000000000010000000100000000000000000000000100000000001380D38B00000000000032000000094D656D6F7279202632000000000000000000000000010000000100000000000000000000000100000000001380D48B00000000000032000000094D656D6F7279202633000000000000000000000000010000000100000000000000000000000100000000001380D58B00000000000032000000094D656D6F72792026340000000000000000000000000100000001000000000000000000000001000000000013801001000000000000330000000E53657269616C2057696E646F77730000000000000000000000000100000001000000000000000000000001000000040013809307000000000000330000000855415254202326310000000000000000000000000100000001000000000000000000000001000000000013809407000000000000330000000855415254202326320000000000000000000000000100000001000000000000000000000001000000000013809507000000000000330000000855415254202326330000000000000000000000000100000001000000000000000000000001000000000013809607000000000000330000001626446562756720287072696E746629205669657765720000000000000000000000000100000001000000000000000000000001000000000013803C010000000000007200000010416E616C797369732057696E646F7773000000000000000000000000010000000100000000000000000000000100000004001380658A000000000000340000000F264C6F67696320416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380DC7F0000000000003E0000001526506572666F726D616E636520416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380E788000000000000380000000E26436F646520436F766572616765000000000000000000000000010000000100000000000000000000000100000000001380CD01000000000000FFFFFFFF0F416E616C7973697320416E63686F7201000000000000000100000000000000010000000000000000000000010000000000138053010000000000003F0000000D54726163652057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013805401000000000000FFFFFFFF115472616365204D656E7520416E63686F720100000000000000010000000000000001000000000000000000000001000000000013802901000000000000350000001553797374656D205669657765722057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013804B01000000000000FFFFFFFF1453797374656D2056696577657220416E63686F720100000000000000010000000000000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000013800189000000000000360000000F26546F6F6C626F782057696E646F7700000000000000000000000001000000010000000000000000000000010000000300138044C5000000000000FFFFFFFF0E5570646174652057696E646F77730100000000000000010000000000000001000000000000000000000001000000000013800000000000000400FFFFFFFF000000000000000000010000000000000001000000000000000000000001000000000013805B01000000000000FFFFFFFF12546F6F6C626F78204D656E75416E63686F72010000000000000001000000000000000100000000000000000000000100000000000000000005446562756764020000</Data>
</Buttons> </Buttons>
<OriginalItems> <OriginalItems>
<Len>898</Len> <Len>898</Len>
@ -3606,7 +3606,7 @@
<ActiveTab>0</ActiveTab> <ActiveTab>0</ActiveTab>
<Doc> <Doc>
<Name>.\Src\principal.c</Name> <Name>.\Src\principal.c</Name>
<ColumnNumber>46</ColumnNumber> <ColumnNumber>31</ColumnNumber>
<TopLine>1</TopLine> <TopLine>1</TopLine>
<CurrentLine>21</CurrentLine> <CurrentLine>21</CurrentLine>
<Folding>1</Folding> <Folding>1</Folding>
@ -3624,18 +3624,18 @@
</Doc> </Doc>
<Doc> <Doc>
<Name>.\Src\bruitverre.asm</Name> <Name>.\Src\bruitverre.asm</Name>
<ColumnNumber>20</ColumnNumber> <ColumnNumber>6</ColumnNumber>
<TopLine>1</TopLine> <TopLine>1</TopLine>
<CurrentLine>15</CurrentLine> <CurrentLine>16</CurrentLine>
<Folding>1</Folding> <Folding>1</Folding>
<ContractedFolders></ContractedFolders> <ContractedFolders></ContractedFolders>
<PaneID>0</PaneID> <PaneID>0</PaneID>
</Doc> </Doc>
<Doc> <Doc>
<Name>.\Src\GestionSon.s</Name> <Name>.\Src\GestionSon.s</Name>
<ColumnNumber>2</ColumnNumber> <ColumnNumber>8</ColumnNumber>
<TopLine>30</TopLine> <TopLine>10</TopLine>
<CurrentLine>36</CurrentLine> <CurrentLine>10</CurrentLine>
<Folding>1</Folding> <Folding>1</Folding>
<ContractedFolders></ContractedFolders> <ContractedFolders></ContractedFolders>
<PaneID>0</PaneID> <PaneID>0</PaneID>

View file

@ -208,7 +208,12 @@
<Wi> <Wi>
<IntNumber>0</IntNumber> <IntNumber>0</IntNumber>
<FirstString>(SortieSon &amp; 0xFFFF) &gt;&gt; 0</FirstString> <FirstString>(SortieSon &amp; 0xFFFF) &gt;&gt; 0</FirstString>
<SecondString>008000000000000000000000000000000080864000000000000000000000000000000000536F72746965536F6E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000001000000000000000000F03F1A00000000000000000000000000000000000000CA080008</SecondString> <SecondString>008000000000000000000000000000000080864000000000000000000000000000000000536F72746965536F6E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000001000000000000000000E03F1000000000000000000000000000000000000000CA080008</SecondString>
</Wi>
<Wi>
<IntNumber>1</IntNumber>
<FirstString>((portb &amp; 0x00000001) &amp; 0x1) &gt;&gt; 0</FirstString>
<SecondString>00800000000000000000000000000000008086400100000000000000000000000000000028706F72746220262030783030303030303031290000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000002000000000000000000E03F1000000000000000000000000000000000000000080A0008</SecondString>
</Wi> </Wi>
</LogicAnalyzers> </LogicAnalyzers>
<DebugDescription> <DebugDescription>

View file

@ -357,7 +357,7 @@
<MiscControls></MiscControls> <MiscControls></MiscControls>
<Define></Define> <Define></Define>
<Undefine></Undefine> <Undefine></Undefine>
<IncludePath></IncludePath> <IncludePath>.\Driver</IncludePath>
</VariousControls> </VariousControls>
</Aads> </Aads>
<LDads> <LDads>

View file

@ -6093,12 +6093,12 @@ ARM Macro Assembler Page 94
5525 00002B16 06 F7 DCW -2298 5525 00002B16 06 F7 DCW -2298
5526 00002B18 END 5526 00002B18 END
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=.\obj\bruitverre.d -o.\obj\bruitverre.o -I.\RTE\_Simu -IC:\Program ork --depend=.\obj\bruitverre.d -o.\obj\bruitverre.o -I.\Driver -I.\RTE\_Simu -
data\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Ar IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programd
m\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --p ata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL
redefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 534" --predefi SETA 1" --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 534
ne="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1" " --predefine="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine="_RT
--list=bruitverre.lst Src\bruitverre.asm E_ SETA 1" --list=bruitverre.lst Src\bruitverre.asm

View file

@ -11,111 +11,185 @@ ARM Macro Assembler Page 1
5 00000000 import Son 5 00000000 import Son
6 00000000 import LongueurSon 6 00000000 import LongueurSon
7 00000000 7 00000000
8 00000000 8 00000000 include DriverJeuLaser.inc
9 00000000 ; ====================== zone de réservation de données, 1 00000000
====================================== 2 00000000 ; Bibliotheque DriverJeuLaser (ancienne gassp72 adaptée
10 00000000 ;Section RAM (read only) : 2021 - TR)
11 00000000 area mesdata,data,readonly 3 00000000 ; Accès en aux fonctions suivantes :
12 00000000 4 00000000 ; GPIO :
13 00000000 5 00000000 ; GPIOA_Set(char Broche), GPIOB_Set(char Broche), GPIOC_
14 00000000 ;Section RAM (read write): Set(char Broche)
15 00000000 area maram,data,readwrite 6 00000000 ; GPIOA_Clear(char Broche), GPIOB_Clear(char Broche), GP
IOC_Clear(char Broche)
7 00000000
8 00000000 ; PWM :
9 00000000 ;/**
10 00000000 ; * @brief Fixe une valeur de PWM, Val, en tick horloge
. La rapport cyclique effectif
11 00000000 ; * est donc : rcy = Thaut_ticks / Periode_ticks
12 00000000 ; * @note spécifique Jeu Laser, PWM liée exclusivement
au TIM3, chan3
13 00000000 ; * @param Thaut_ticks : durée de l'état haut d'une imp
ulsion en Ticks
14 00000000 ; * @retval None
15 00000000 ; */
16 00000000 16 00000000
17 00000000 00 00 SortieSon 17 00000000 ;void PWM_Set_Value_TIM3_Ch3( unsigned short int Thaut_t
dcw 0 ; reserve seulement icks);
2 octet de memoire 18 00000000 import PWM_Set_Value_TIM3_Ch3
19 00000000
18 00000002 00 00 Index dcw 0 20 00000000
19 00000004 21 00000000
20 00000004 ; ====================================================== 22 00000000 ;/**
========================================= 23 00000000 ; * @brief Mise à 1 d'une broche GPIO
21 00000004 24 00000000 ; * @note Une fonction par GPIO
22 00000004 25 00000000 ; * @param Broche : 0 à 15
23 00000004 26 00000000 ; * @retval None
24 00000004 27 00000000 ; */
25 00000004 ;Section ROM code (read only) : 28 00000000
26 00000004 area moncode,code,readonly 29 00000000 ;void GPIOA_Set(char Broche);
27 00000000 ; écrire le code ici 30 00000000 import GPIOA_Set
28 00000000 ; 31 00000000
29 00000000 ;if (i<LongueurSon) { 32 00000000 ;void GPIOB_Set(char Broche);
30 00000000 ; 33 00000000 import GPIOB_Set
31 00000000 ; sample = Son[i]; 34 00000000
32 00000000 ; SortieSon = sample * (720/65536) + 360 35 00000000 ;void GPIOC_Set(char Broche);
33 00000000 ; i++; 36 00000000 import GPIOC_Set
34 00000000 ;}else {
35 00000000 ; i=0;
36 00000000 ;}
37 00000000 37 00000000
38 00000000 CallbackSon 38 00000000
proc 39 00000000
39 00000000 B500 push {lr} 40 00000000 ;/**
40 00000002 41 00000000 ; * @brief Mise à 0 d'une broche GPIO
41 00000002 480D ldr r0, = Index ; ; On charge la 42 00000000 ; * @note Une fonction par GPIO
valeur d'index 43 00000000 ; * @param Broche : 0 à 15
42 00000004 6801 ldr r1, [r0] ; 44 00000000 ; * @retval None
43 00000006 4A0D ldr r2, = LongueurSon ; ; On charg
e la valeur de la l
ongueur son
44 00000008 6813 ldr r3, [r2] ;
45 0000000A
46 0000000A 428B cmp r3, r1 ; On regarde si on
est arrivé au bout
du tableau
47 0000000C DD0F ble Sinon
48 0000000E
ARM Macro Assembler Page 2 ARM Macro Assembler Page 2
49 0000000E 4A0C ldr r2, = Son ; ; On charge la 45 00000000 ; */
46 00000000
47 00000000 ;void GPIOA_Clear(char Broche);
48 00000000 import GPIOA_Clear
49 00000000
50 00000000 ;void GPIOB_Clear(char Broche);
51 00000000 import GPIOB_Clear
52 00000000
53 00000000 ;void GPIOC_Clear(char Broche);
54 00000000 import GPIOC_Clear
55 00000000
56 00000000 end
9 00000000
10 00000000
11 00000000
12 00000000 ; ====================== zone de réservation de données,
======================================
13 00000000 ;Section RAM (read only) :
14 00000000 area mesdata,data,readonly
15 00000000
16 00000000
17 00000000 ;Section RAM (read write):
18 00000000 area maram,data,readwrite
19 00000000
20 00000000 00 00 SortieSon
dcw 0 ; reserve seulement
2 octet de memoire
21 00000002 00 00 Index dcw 0
22 00000004
23 00000004 ; ======================================================
=========================================
24 00000004
25 00000004
26 00000004
27 00000004
28 00000004 ;Section ROM code (read only) :
29 00000004 area moncode,code,readonly
30 00000000 ; écrire le code ici
31 00000000 ;
32 00000000 ;if (i<LongueurSon) {
33 00000000 ;
34 00000000 ; sample = Son[i];
35 00000000 ; SortieSon = sample * (720/65536) + 360
36 00000000 ; i++;
37 00000000 ;}else {
38 00000000 ; i=0;
39 00000000 ;}
40 00000000
41 00000000 CallbackSon
proc
42 00000000 B500 push {lr}
43 00000002
44 00000002 480E ldr r0, = Index ; ; On charge la
valeur d'index
45 00000004 6801 ldr r1, [r0] ;
46 00000006 4A0E ldr r2, = LongueurSon ; ; On charg
e la valeur de la l
ongueur son
ARM Macro Assembler Page 3
47 00000008 6813 ldr r3, [r2] ;
48 0000000A
49 0000000A 428B cmp r3, r1 ; On regarde si on
est arrivé au bout
du tableau
50 0000000C DD0F ble Sinon
51 0000000E
52 0000000E 4A0D ldr r2, = Son ; ; On charge la
valeur de la bonne valeur de la bonne
50 00000010 F932 3011 ldrsh r3, [r2, r1, LSL #1] 53 00000010 F932 3011 ldrsh r3, [r2, r1, LSL #1]
; ligne de son ; ligne de son
51 00000014 54 00000014
52 00000014 F101 0101 add r1, r1, #1 ; On store l'index 55 00000014 F101 0101 add r1, r1, #1 ; On store l'index
et on l'incrémente et on l'incrémente
de 1 de 1
53 00000018 8001 strh r1, [r0] 56 00000018 8001 strh r1, [r0]
54 0000001A 57 0000001A
55 0000001A ;add r3, #32768 ; On ajoute 32768 58 0000001A ;add r3, #32768 ; On ajoute 32768
56 0000001A F44F 71B4 mov r1, #360 ; On multiplie par 59 0000001A F44F 71B4 mov r1, #360 ; On multiplie par
720 720
57 0000001E FB01 F303 mul r3, r1, r3 ; 60 0000001E FB01 F303 mul r3, r1, r3 ;
58 00000022 EA4F 33E3 asr r3, #15 ; On divise par 655 61 00000022 EA4F 33E3 asr r3, #15 ; On divise par 655
36 36
59 00000026 440B add r3, r1 62 00000026 440B add r3, r1
60 00000028 63 00000028
61 00000028 4A06 ldr r2, = SortieSon 64 00000028 4A07 ldr r2, = SortieSon
62 0000002A 8013 strh r3, [r2] ; On sauvegarde la 65 0000002A 8013 strh r3, [r2] ; On sauvegarde la
valeur dans SortieS valeur dans SortieS
on on
63 0000002C E002 b fin 66 0000002C E002 b fin
64 0000002E 67 0000002E
65 0000002E Sinon 68 0000002E Sinon
66 0000002E F04F 0100 mov r1, #0 ; On remet l'index 69 0000002E F04F 0100 mov r1, #0 ; On remet l'index
à 0 à 0
67 00000032 6008 str r0, [r1] ; On store l'index 70 00000032 6008 str r0, [r1] ; On store l'index
68 00000034 71 00000034
69 00000034 fin 72 00000034 fin
70 00000034 EXPORT SortieSon 73 00000034 EXPORT SortieSon
71 00000034 BD00 pop {pc} 74 00000034 4618 mov r0, r3
72 00000036 endp 75 00000036 F7FF FFFE bl PWM_Set_Value_TIM3_Ch3
73 00000036 76 0000003A BD00 pop {pc}
74 00000036 END 77 0000003C endp
00 00 00000000 78 0000003C
79 0000003C END
00000000
00000000 00000000
00000000 00000000
00000000 00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=.\obj\gestionson.d -o.\obj\gestionson.o -I.\RTE\_Simu -IC:\Program ork --depend=.\obj\gestionson.d -o.\obj\gestionson.o -I.\Driver -I.\RTE\_Simu -
data\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Ar IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programd
m\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --p ata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL
redefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 534" --predefi SETA 1" --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 534
ne="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1" " --predefine="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine="_RT
--list=gestionson.lst Src\GestionSon.s E_ SETA 1" --list=gestionson.lst Src\GestionSon.s
@ -126,7 +200,7 @@ mesdata 00000000
Symbol: mesdata Symbol: mesdata
Definitions Definitions
At line 11 in file Src\GestionSon.s At line 14 in file Src\GestionSon.s
Uses Uses
None None
Comment: mesdata unused Comment: mesdata unused
@ -141,24 +215,24 @@ Index 00000002
Symbol: Index Symbol: Index
Definitions Definitions
At line 18 in file Src\GestionSon.s At line 21 in file Src\GestionSon.s
Uses Uses
At line 41 in file Src\GestionSon.s At line 44 in file Src\GestionSon.s
Comment: Index used once Comment: Index used once
SortieSon 00000000 SortieSon 00000000
Symbol: SortieSon Symbol: SortieSon
Definitions Definitions
At line 17 in file Src\GestionSon.s At line 20 in file Src\GestionSon.s
Uses Uses
At line 61 in file Src\GestionSon.s At line 64 in file Src\GestionSon.s
At line 70 in file Src\GestionSon.s At line 73 in file Src\GestionSon.s
maram 00000000 maram 00000000
Symbol: maram Symbol: maram
Definitions Definitions
At line 15 in file Src\GestionSon.s At line 18 in file Src\GestionSon.s
Uses Uses
None None
Comment: maram unused Comment: maram unused
@ -173,7 +247,7 @@ CallbackSon 00000000
Symbol: CallbackSon Symbol: CallbackSon
Definitions Definitions
At line 38 in file Src\GestionSon.s At line 41 in file Src\GestionSon.s
Uses Uses
At line 4 in file Src\GestionSon.s At line 4 in file Src\GestionSon.s
Comment: CallbackSon used once Comment: CallbackSon used once
@ -181,23 +255,23 @@ Sinon 0000002E
Symbol: Sinon Symbol: Sinon
Definitions Definitions
At line 65 in file Src\GestionSon.s At line 68 in file Src\GestionSon.s
Uses Uses
At line 47 in file Src\GestionSon.s At line 50 in file Src\GestionSon.s
Comment: Sinon used once Comment: Sinon used once
fin 00000034 fin 00000034
Symbol: fin Symbol: fin
Definitions Definitions
At line 69 in file Src\GestionSon.s At line 72 in file Src\GestionSon.s
Uses Uses
At line 63 in file Src\GestionSon.s At line 66 in file Src\GestionSon.s
Comment: fin used once Comment: fin used once
moncode 00000000 moncode 00000000
Symbol: moncode Symbol: moncode
Definitions Definitions
At line 26 in file Src\GestionSon.s At line 29 in file Src\GestionSon.s
Uses Uses
None None
Comment: moncode unused Comment: moncode unused
@ -208,21 +282,83 @@ Comment: moncode unused
ARM Macro Assembler Page 1 Alphabetic symbol ordering ARM Macro Assembler Page 1 Alphabetic symbol ordering
External symbols External symbols
GPIOA_Clear 00000000
Symbol: GPIOA_Clear
Definitions
At line 48 in file .\Driver\DriverJeuLaser.inc
Uses
None
Comment: GPIOA_Clear unused
GPIOA_Set 00000000
Symbol: GPIOA_Set
Definitions
At line 30 in file .\Driver\DriverJeuLaser.inc
Uses
None
Comment: GPIOA_Set unused
GPIOB_Clear 00000000
Symbol: GPIOB_Clear
Definitions
At line 51 in file .\Driver\DriverJeuLaser.inc
Uses
None
Comment: GPIOB_Clear unused
GPIOB_Set 00000000
Symbol: GPIOB_Set
Definitions
At line 33 in file .\Driver\DriverJeuLaser.inc
Uses
None
Comment: GPIOB_Set unused
GPIOC_Clear 00000000
Symbol: GPIOC_Clear
Definitions
At line 54 in file .\Driver\DriverJeuLaser.inc
Uses
None
Comment: GPIOC_Clear unused
GPIOC_Set 00000000
Symbol: GPIOC_Set
Definitions
At line 36 in file .\Driver\DriverJeuLaser.inc
Uses
None
Comment: GPIOC_Set unused
LongueurSon 00000000 LongueurSon 00000000
Symbol: LongueurSon Symbol: LongueurSon
Definitions Definitions
At line 6 in file Src\GestionSon.s At line 6 in file Src\GestionSon.s
Uses Uses
At line 43 in file Src\GestionSon.s At line 46 in file Src\GestionSon.s
Comment: LongueurSon used once Comment: LongueurSon used once
PWM_Set_Value_TIM3_Ch3 00000000
Symbol: PWM_Set_Value_TIM3_Ch3
ARM Macro Assembler Page 2 Alphabetic symbol ordering
External symbols
Definitions
At line 18 in file .\Driver\DriverJeuLaser.inc
Uses
At line 75 in file Src\GestionSon.s
Comment: PWM_Set_Value_TIM3_Ch3 used once
Son 00000000 Son 00000000
Symbol: Son Symbol: Son
Definitions Definitions
At line 5 in file Src\GestionSon.s At line 5 in file Src\GestionSon.s
Uses Uses
At line 49 in file Src\GestionSon.s At line 52 in file Src\GestionSon.s
Comment: Son used once Comment: Son used once
2 symbols 9 symbols
347 symbols in table 354 symbols in table

View file

@ -511,12 +511,12 @@ ARM Macro Assembler Page 8
05FA0300 05FA0300
00000000 00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=.\obj\startup-rvds.d -o.\obj\startup-rvds.o -I.\RTE\_Simu -IC:\Pro ork --depend=.\obj\startup-rvds.d -o.\obj\startup-rvds.o -I.\Driver -I.\RTE\_Si
gramdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Kei mu -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Prog
l\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" ramdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__E
--predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 534" --pre VAL SETA 1" --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA
define="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 534" --predefine="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine=
1" --list=startup-rvds.lst Src\startup-rvds.s "_RTE_ SETA 1" --list=startup-rvds.lst Src\startup-rvds.s

68
spice/PWM.asc Normal file
View file

@ -0,0 +1,68 @@
Version 4
SHEET 1 1084 820
WIRE 208 16 96 16
WIRE 784 16 208 16
WIRE 944 16 864 16
WIRE 1008 16 944 16
WIRE -368 80 -512 80
WIRE 96 96 96 16
WIRE 944 144 944 16
WIRE -512 176 -512 80
WIRE 96 224 96 176
WIRE 944 256 944 208
WIRE -512 304 -512 256
WIRE 96 384 -48 384
WIRE -48 480 -48 384
WIRE -48 608 -48 560
FLAG -512 304 0
FLAG -368 80 Compteur
FLAG 944 256 0
FLAG 1008 16 Filtre
FLAG -48 608 0
FLAG 96 384 CompValue
FLAG 208 16 PWM
FLAG 96 224 0
SYMBOL voltage -512 160 R0
WINDOW 3 -372 78 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 3.3 0 5u 0 0 5u)
SYMATTR InstName V1
SYMBOL cap 928 144 R0
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL res 880 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 3.9k
SYMBOL voltage -48 464 R0
WINDOW 3 49 61 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value SINE(1.65 1 2k)
SYMATTR InstName V2
SYMBOL bv 96 80 R0
SYMATTR InstName B1
SYMATTR Value V=if(V(CompValue)>V(Compteur),3.3,0)
TEXT 272 256 Left 2 !;ac dec 100 1 10meg
TEXT 272 296 Left 2 !.tran 0 1.5m 0 0.01u
TEXT -880 40 Left 2 ;Compteur de l'unité Timer
TEXT -96 -24 Left 2 ;Partie PWM de l'unité Timer
TEXT -904 -56 Left 4 ;TIMER3
TEXT 688 80 Left 4 ;PB0
TEXT 480 0 Left 2 ;Chanel 3
TEXT 384 -168 Left 5 ;STM32F103
LINE Normal 688 48 752 -16
LINE Normal 688 -16 688 48
LINE Normal 752 48 688 -16
LINE Normal 752 48 752 48
LINE Normal 720 -208 720 -16
LINE Normal 256 -208 720 -208
LINE Normal 720 784 720 48
LINE Normal 720 784 720 784
LINE Normal 720 816 720 784
RECTANGLE Normal -192 352 -912 16 2
RECTANGLE Normal 592 656 -128 -48 2
RECTANGLE Normal 640 736 -976 -96
RECTANGLE Normal 752 48 688 -16

16
spice/PWM.net Normal file
View file

@ -0,0 +1,16 @@
* U:\3MIC\BE_CHTI\Assembleur\spice\PWM.asc
V1 Compteur 0 PULSE(0 3.3 0 5u 0 0 5u)
C1 Filtre 0 10n
R1 Filtre PWM 3.9k
V2 CompValue 0 SINE(1.65 1 2k)
B1 PWM 0 V=if(V(CompValue)>V(Compteur),3.3,0)
;ac dec 100 1 10meg
.tran 0 1.5m 0 0.01u
* Compteur de l'unité Timer
* Partie PWM de l'unité Timer
* TIMER3
* PB0
* Chanel 3
* STM32F103
.backanno
.end