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 #21 background imageLoading...
Page #21 background image
RL78 Family VDE Certified IEC60730/60335 Self Test Library
R01AN0749EG0201 Rev.2.01 Page 21 of 50
Mar 04, 2014
2.3.2.4 Initial March X
The initial March X test is designed to run before the application system has been initialised and is executed without
using function calls from the test harness. Entry to the self test is made by a “jump” from the modified “cstartup.s87
module and return to “cstartup.s87 module is also made with a “jump”. The test status result is contained in the 8bit
accumulator (A). Therefore this module is designed to provide a complete RAM test before the system is started and the
“C” environment is initialised.
This test function is configured to use 8 bit RAM accesses.
Table 11: Source files:
STL File name Header Files
stl_RL78_march_x_initial.asm None
Test Harness File Names Header Files
ctsartup.s87 None
Declaration
stl_RL78_march_x_initial
Description
This function tests the Ram memory using the March X algorithm over the address range supplied by the calling
function. The result status (Pass / Fail) is returned. This module is designed to be executed before the application
system has been initialised and therefore does not use any function calls.
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
CPU Register AX
16bit Register holding the start address of the RAM to be tested.
CPU Register BC
16bit Register holding the range (Number of bytes + 1) of the RAM to be tested.
Output Parameters
NONE
N/A
Return Values
CPU Register A
Test status result in returned in 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