2024-11-06 05:15 AM
Hi,
I'm working with X-Cube STL STM32CubeExpansion package, want to know how many sections of RAM and Flash I can test on STM32H745ZI MCU,
#define FLASH_SECTION_SIZE 1024U
#define RAM_SECTION_SIZE 128U
#ifdef STL_DISABLE_RAM_BCKUP_BUF
#define RAM_BACKUP_BUFFER_SIZE 0
#else
#define RAM_BACKUP_BUFFER_SIZE 32
#endif
#define TEST_RAM_START_ADDR (0x20000000U + RAM_BACKUP_BUFFER_SIZE)
#define TEST_ROM_START_ADDR 0x08000000U
#define TEST_FLASH_SECTION_NB 4 /* 4 Flash sections are tested */
#define TEST_RAM_SECTION_NB 8 /* 8 RAM sections are tested */
For Flash I can test 1024 which is 1MB of Flash I can test but my program is also running on RAM itself, how do I test complete RAM, any backup or threshold limit for RAM sections or regions of RAM able to Test,
Functional Safety team
2024-11-06 06:26 AM
Hello @Lucifer37 ,
@Lucifer37 wrote:
but my program is also running on RAM itself, how do I test complete RAM
I'm not expert of that STL, and I'm not sure if it's doable: could be split on more one pass. I mean locate your data in a RAM and run the tests on others for each pass.
2024-11-06 06:32 AM
I can't do any changes in program, RAM test is performed by a function which is stored in the static library(STL_Lib_cm7.a) provided by X-Cube STL package.