| Electronic Components Datasheet Search |
|
AN3307 Datasheet(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3307 Datasheet(HTML) 19 Page - STMicroelectronics |
|
19 / 37 page ![]() 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. |
|
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 |
| 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 |