Hello,
SCST supports only following devices from MPC56xx family:
Since MPC5644A and MPC564xB share the same e200z4 CPU core, the CPU-focused portions of an SCST library may be adaptable. However, all integration aspects must be reviewed:
- Exception vector addresses
- Memory maps
- Clock initialization
- Peripheral dependencies
- Linker script assumptions
The actual CPU test algorithms should be largely portable because they target the same e200z4 architecture.
NXP does not provide an official SCST library for the legacy MPC5644A device. However, since MPC5644A uses the same e200z4 core as the MPC564xB family, it may be possible to adapt CPU-focused self-test routines from MPC564xB solutions after reviewing device-specific integration details. Alternatively, a custom startup diagnostic implementation can be developed using the MCU's built-in safety mechanisms (ECC, CRC, watchdog, MPU, exception handling) to satisfy project-specific functional safety requirements.
What should I do? I don't know where to start.
If the code enters SPE_ICST_int_logical_test() at 0x51518 and then immediately branches to 0x3F2B90, which appears to be empty memory, my first suspicion would not be a CPU failure but rather a linker / library integration issue.
For an SCST library, this usually means one of the following:
1. Function pointer or branch table not linked correctly
2. Missing library object
3. Wrong memory model / VLE mismatch
4. SCST library built for another device
5. MMU/TLB translation issue
best regards,
Peter