RTEMS | bsps/arm/tms570: fix self-test to work when internal SRAM is tested (!1187)

Pavel Pisa (@ppisa) gitlab at rtems.org
Wed Jul 22 15:33:12 UTC 2026




Pavel Pisa commented on a discussion on bsps/arm/tms570/start/bspstarthooks-hwinit.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1187#note_155145

 >       */
 >      _coreEnableRamEcc_();
 > +
 > +#if TMS570_VARIANT == 3137
 > +    /* Test the CPU ECC mechanism for RAM accesses.
 > +     * The checkBxRAMECC functions cause deliberate single-bit and double-bit errors in TCRAM accesses
 > +     * by corrupting 1 or 2 bits in the ECC. Reading from the TCRAM location with a 2-bit error
 > +     * in the ECC causes a data abort exception. The data abort handler is written to look for
 > +     * deliberately caused exception and to return the code execution to the instruction
 > +     * following the one that caused the abort.
 > +     */
 > +#if 0
 > +    /* Disabled for now, requires specific support in data abort handler */
 > +    tms570_check_tcram_ecc();
 > +    /* TODO consider implementation of data abort handler with recognized
 > +     * exception to ingnore fault in the tms570_check_tcram_ecc() code

Updated

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1187#note_155145
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-0etfwsmm5heikskakqx8d3i12-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260722/b64f3a22/attachment.htm>


More information about the bugs mailing list