Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN3307 Scheda tecnica(PDF) 8 Page - STMicroelectronics

Il numero della parte AN3307
Spiegazioni elettronici  Guidelines for obtaining IEC 60335 Class B certification for any STM32 application
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3307 Scheda tecnica(HTML) 8 Page - STMicroelectronics

Back Button AN3307 Datasheet HTML 4Page - STMicroelectronics AN3307 Datasheet HTML 5Page - STMicroelectronics AN3307 Datasheet HTML 6Page - STMicroelectronics AN3307 Datasheet HTML 7Page - STMicroelectronics AN3307 Datasheet HTML 8Page - STMicroelectronics AN3307 Datasheet HTML 9Page - STMicroelectronics AN3307 Datasheet HTML 10Page - STMicroelectronics AN3307 Datasheet HTML 11Page - STMicroelectronics AN3307 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 37 page
background image
Main differences between STM32F packages and their possible modifications
AN3307
8/37
Doc ID 18186 Rev 4
memory checking at KEIL project. Users have to store the checksum computation result into
final source code manually by modifying and proper placement of CHECKSUM area at the
end of Flash memory (see end of startup_stm32fxxx.s file and linker file settings). Result of
a CRC calculation can be obtained by an external tool or it can be read at debug phase from
begin of RAM (see invariable memory check part in stm32fxxx_STLstartup.c file) where the
result is stored temporarily by initial test. The CHECKSUM area itself must be excluded from
the range of CRC calculation. Other possible testing method could be to compute a 32-bit
checksum by the CRC generator in the initial phase and validate its result by using 16-bit
software CRC computation in parallel. Specific SW procedures for 16-bit CRC calculation
must be provided and called for proper testing at this case during startup tests. The
validated 32-bit CRC value can be then saved as a reference for comparing all the
subsequent runtime checks. This method decreases CPU load at run time phase
significantly, as CRC computation is done via hardware CRC generator exclusively. Please
follow the latest updates from providers of compilers to implement the latest and most
sufficient methods.
FLASH can be tested while DMA is used for feeding CRC block, too. In comparison with
software test, the CPU load decreases significantly when DMA is applied but the speed of
the test itself doesn't change so much as DMA needs few cycles to read and transfer data
anyway. The test even can slow down when DMA services some other transfers in parallel.
Moreover some additional DMA configuration is required at initialization of the test. User can
find some detailed information about using DMA at CRC calculation at dedicated application
note, AN4187: Using the CRC peripheral in STM32 family.
Startup and system initialization
There are differences at initial system configuration and setup of debug and diagnostic
utilities (e.g. recognizing reset cause) respecting hardware deviations. Startup file is
modified to force the very first flow to begin of startup tests set.
Parameters
All the configuration parameters are centralized into one file stm32fxxx_STLparam.h.
Configuration differences respect mainly different sizes of tested areas, different compilers,
slight deviations of control flow, etc. Be careful when modifying an initial or run time test of
possible corruption of control flow. In this case, values summarized at complementary
control flow counters can differ from the constants defined for comparison at flow check
points. To prevent any control flow error, user must change definition of these constants in
an adequate way.
Files structure
Structure of directories of all the packages is nearly the same for all the packages. It follows
common structure used for ST standard peripheral drivers with added extra directory for
self-test files. There is an additional subdirectory at Libraries directory at STM32F3xx
package where two different directories are applied for STM32F30x and STM32F37x
standard peripheral drivers, respecting both subfamilies differences. The dedicated group of
standard drivers is included in dependency on project setting. Number of included self-test
library header files is reduced at STM32F0xx package, as most of headers associated with
their source files stay simply empty and they follow a formal structure only. The function of
stm32xxx_STLlib.h header including all these associated headers is replaced by common
header stm32f0xx_STL_param.h here, which is included by all the sources in this package
instead of stm32xxx_STLlib.h, as it is used in the other packages.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com