Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3307 Datasheet(PDF) 19 Page - STMicroelectronics

Part # AN3307
Description  Guidelines for obtaining IEC 60335 Class B certification for any STM32 application
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3307 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button AN3307 Datasheet HTML 15Page - STMicroelectronics AN3307 Datasheet HTML 16Page - STMicroelectronics AN3307 Datasheet HTML 17Page - STMicroelectronics AN3307 Datasheet HTML 18Page - STMicroelectronics AN3307 Datasheet HTML 19Page - STMicroelectronics AN3307 Datasheet HTML 20Page - STMicroelectronics AN3307 Datasheet HTML 21Page - STMicroelectronics AN3307 Datasheet HTML 22Page - STMicroelectronics AN3307 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 37 page
background image
AN3307
Class B software package
Doc ID 18186 Rev 4
19/37
CRC generation is not supported in the KEIL environment; so calling CRC checking routines
without proper setting of CHECKSUM area at startup file will cause the application to reset
continuously (as if a failure was detected).
Examples:
1.
To disable CRC check at startup, modify the output logic control used to evaluate the
test result (assuming the computed CRC is different from REF_CRC16):
In the stm32fxxx_STLstartup.c file modify:
if(STL_crc16(CRC_INIT,(u8 *)ROM_START, ROM_SIZE) != REF_CRC16)
into:
if(STL_crc16(CRC_INIT,(u8 *)ROM_START, ROM_SIZE) == REF_CRC16)
2.
To replace 16-CRC by 32-bit internal CRC computation, modify stm32fxxx_STLmain.c
file:
RomTest = STL_crc16Run();
by
RomTest = STL_crc32Run();
Then comment the following #defines in file stm32f10x_STLparam.h starting from line
129:
#define DELTA_MAIN ....
#define LAST_DELTA_MAIN ....
#define FULL_FLASH_CHECKED ...
and uncomment the corresponding #defines for 32-bit CRC computation. In this case
only the CRC32 algorithm control flow will be checked correctly.
4.3.2
Verbose diagnostic mode
The dedicated USART Tx serial peripheral line is used in verbose mode as a standard
output for Class B status text messages. This mode is useful in the debug phase when the
line can be monitored by an external terminal (the line setting is 115200 Bd, no parity, 8-bit
data, 1 stop bit). Verbose mode is enabled by default and can be disabled during startup
and/or runtime by commenting lines with the STL_VERBOSE_POR and STL_VERBOSE
defined in the Class B configuration file stm32x_stl_param.h. Each successful finishing of
SRAM and Flash test at run time is signalled by printing a specific character '#' or '*' at
terminal window. The verbose messages can differ slightly between packages. Figure 4
shows an example of verbose mode.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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