Avi Weiss created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1260

Project:Branches: thnkslprpt/rtems:fix-5587-enable-vim-ecc-for-4357 to 
rtems/rtos/rtems:main
Author:   Avi Weiss



- introduces a variant-aware `tms570_vim_t` struct so the ECC version (on the 
4357 variants) can be represented and we can set the required flags
- adds the required LC4357 VIM ECC initialization sequence: set fallback vector 
(`FBVECADDR`), enable ECC and then clear ECC error flags after the for loop 
rewrites the vector table.
- replaces the hard-coded VIM vector table initialization limit (magic number) 
with the already defined constant `BSP_INTERRUPT_VECTOR_COUNT`
- LS3137 behavior should remain unchanged with this merge request

Confirmed working and expected behavior via test probe on TMS570LC43x Launchpad 
XL:
```c
...
ECCSTAT   = 0x00000000
ECCCTL    = 0x05050a0a
UERRADDR  = 0xfff82208
FBVECADDR = 0x00003eac
SBERRADDR = 0xfff820e0
ECCCTL decode: SBE_EVT_EN=0x5 EDAC_MODE=0x5 TEST_DIAG_EN=0xa ECCENA=0xa
...
```

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1260
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to