AM5 / DDR5 MEMORY TRAINING FAULT
AM5 Motherboard Code C5: DDR5 Training & Memory Fix Guide
On AMD AM5 motherboards (B650, B650E, X670, X670E, X870, X870E), hex Code C5 signals a DDR5 memory initialization or EXPO training failure. Unlike Code 15 (which normally completes after 90–180 seconds), a hard stall or boot-loop on C5 means the Ryzen 7000/9000 memory controller rejected the current DDR5 setup.
Root Causes Ranked by Bench Frequency (Code C5)
| Root Cause | Likelihood | Bench Verification Detail |
|---|---|---|
| DDR5 sticks installed in A1/B1 instead of A2/B2, or partially unlatched | High (~35%) | AM5 daisy-chain topology strictly requires slots A2 and B2 (2nd and 4th from CPU) for 2-stick kits. |
| Unstable EXPO profile, 4-DIMM DDR5 kit, or Memory Context Restore mismatch | High (~30%) | Running 4 sticks of DDR5 at 6000 MT/s exceeds most Ryzen 7000 IMC limits; 2x16GB or 2x32GB EXPO-6000 CL30 is the sweet spot. |
| Outdated factory AM5 BIOS missing newer DDR5 AGESA training tables | Medium (~20%) | Early 2022–2023 AM5 BIOS builds frequently threw C5 on newer Hynix M-die/A-die and 24GB/48GB non-binary kits. |
| Bent AM5 LGA1718 socket pin or uneven cooler torque | Medium (~15%) | If slot A2 boots cleanly with either stick, while adding ANY stick to B2 instantly shows C5, inspect the AM5 socket carefully. |
Step-by-Step Bench Repair Procedure for Code C5
- Power off, switch PSU OFF, unplug AC, and clear CMOS via the rear Clear CMOS button or 2-pin jumper for 10 seconds.
- Remove all DDR5 modules and install ONLY ONE stick firmly in slot A2 (2nd slot from CPU socket).
- Power on and wait a full 3 minutes for baseline JEDEC 4800 MT/s training—do not cut power while Code 15 is active.
- Once it boots into BIOS (or if C5 still blocks a single stick), flash the latest official AGESA BIOS via USB BIOS FlashBack / Q-Flash Plus / MSI.ROM.
- Add the second DDR5 stick strictly to slot B2 (4th from CPU) and verify clean JEDEC boot before enabling EXPO Profile 1.
- If slot B2 consistently fails with Code C5 using a stick that passed in A2, loosen the CPU cooler half a turn and inspect the AM5 LGA1718 socket for bent pins.
ASUS ROG Crosshair / Strix X670E & B650E
Watch whether the board holds 15 for 2 minutes (normal training) vs bouncing 15 -> C5 -> reboot. Flash the newest official AGESA BIOS via USB BIOS FlashBack first.
MSI / Gigabyte / ASRock AM5
When enabling EXPO after clearing C5, verify DRAM VDD / VDDQ and SoC voltage stay within safe limits (SoC <= 1.25V–1.30V on X3D chips) and pair Memory Context Restore with Power Down Enable.
Related POST Hex Codes
Frequently Asked Questions
What is the difference between Code 15 and Code C5 on AM5?
Code 15 is active DDR5 memory training—waiting 90 to 180 seconds usually completes boot cleanly. Code C5 means memory initialization failed and requires intervention (reseating to A2/B2, CMOS reset, or BIOS update).
Why does my AM5 PC throw C5 with 4 sticks of DDR5?
AMD Ryzen 7000/9000 memory controllers have tight signal limits across 4 DIMMs. Drop memory speed to 4800–5200 MT/s (disable EXPO) or switch to a 2-stick kit (2x32GB) in slots A2 and B2.
Should I update BIOS before replacing DDR5 RAM for Code C5?
Yes! AM5 AGESA updates dramatically expanded DDR5 QVL support (especially for 24GB/48GB sticks and Hynix A-die). Flash via CPU-less FlashBack/Q-Flash Plus before buying replacement RAM.
Can Memory Context Restore cause Code C5 after weeks of working fine?
Yes. Stored training data can drift slightly with ambient temperature changes or Windows updates. Clear CMOS to force one clean retrain, and verify Power Down Enable is also Enabled if you keep MCR on.