EasyManuals Logo

Renesas RL78 Series Application Note

Renesas RL78 Series
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #18 background imageLoading...
Page #18 background image
RL78 Family VDE Certified IEC60730/60335 Self Test Library
R01AN0749EG0201 Rev.2.01 Page 18 of 50
Mar 04, 2014
2.3.2 Variable Memory Test - Software API
2.3.2.1 System March C
The system March C test is designed to run after the application system has been initialised and is executed using
normal function call from the test harness, thus using some C stack resources. The module can be used to test part or all
of the Ram area, but as the test is destructive, care should be taken to buffer the area being tested Therefore it is not
advised to use this module to test the whole RAM memory area in a single operation.
This test is configured to use 8 bit RAM accesses, and can allow a single byte to be tested. However, for all faults types
to be detected it is important to test a data range bigger than one byte.
Table 8: Source files: System March C
STL File name Header Files
stl_RL78_march_c.asm stl.h
Test Harness File Names Header Files
main.c
stl_global_data_example.c
stl_main_example_support function.c
stl_peripheralinit.c
main.h
stl_gobal_data_example.h
Declaration
bool stl_RL78_march_c(uint16_t num, uint8_t *addr)
Description
This function tests the Ram memory using the March C algorithm over the address range supplied by the calling
function. The result status (Pass / Fail) is returned. This module is designed to be executed after the application
system has been initialised.
The function “indicate_test_result.c” will be called by the test harness control files (main.c) to process the test result
Note Function “indicate_test_result.c “is located in the module stl_main_example_support function.c
Input Parameters
uint8_t *addr
Pointer to the start address of the RAM to be tested.
uint16_t num
The range (Number of bytes +1) of the RAM to be tested.
Output Parameters
NONE
N/A
Return Values
bool
Test status result is returned in CPU register A
0 = Test passed. 1 = Test or parameter check failed

Other manuals for Renesas RL78 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78 Series and is the answer not in the manual?

Renesas RL78 Series Specifications

General IconGeneral
CoreRL78
CPU Clock SpeedUp to 32 MHz
Flash MemoryUp to 512 KB
RAMUp to 32 KB
Operating Voltage1.6 V to 5.5 V
Low Power ModesHALT, STOP, SNOOZE
CPU Architecture16-bit
Temperature Range-40°C to +85°C
PackageLQFP
Timers16-bit timers
Communication InterfacesUART, I2C, LIN
A/D Converter12-bit

Related product manuals