
R01UH0336EJ0102 Rev.1.02
Page 356 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 10 Safety Guardian (SGA)
10.3.5
Pseudo Error Generation
The SGA supports a pseudo error injection function to “emulate” an error for
test or debug purposes. The operation of the SGA during injection of pseudo
errors is identical to the occurrence of real errors. This means that all
configurations for error masks, interrupt, or internal reset apply in the same
way.
The pseudo error generation can be used:
• for debug purposes to generate errors and check for instance the operation
of the software for
– SGA interrupts (SGATI)
– Internal reset (SGARES)
– error output (SGATERROUTZ)
• for test purposes after reset to perform a functional test of the error source
status registers SGAMESSTR0 and SGAMESSTR1. This test can be
combined with the loop-back function.
A pseudo-error can be generated by setting the error source bit (SGAPE100 to
SGAPE108 or SGAPE000 to SGAPE019) for the given source in the SGAPE0
or SGAPE1 register to 1.