That is an explicit "ecc: no" from amd on 7640U spec page.
There is absolutely no ECC mentioned on 8700G spec page currently: https://www.amd.com/en/product/14066
Vendors can do only so much if amd starts actively disabling/removing/preventing ecc, like it seems to be doing quietly now.
Easier to just not claim it's there, like AMD used to.
That said, thanks to AMD UEFI modules always exporting their settings databases, even if vendor didn't provide options to configure things, you can always try to enable ECC (and various other things - beware of possibly damaging the hardware!).
Essentially it's binning - AMD takes portion of the bins and runs them through more verification steps including ECC tests. The rest does not get run through ECC testing, but have the exact same parts, and - unlike Intel - AMD does not lock ECC out on them.
The CPUs are physically the same except for branding detail.
ONLY AM4 Ryzen APUs (i.e., CPUs with an iGPU) with the "PRO" infix in their name have working ECC support.
However, ALL AM4 platform ECC support also depends on the motherboard vendor/firmware. There are boards on which ECC simply will not work, no matter if your CPU and DIMM combination actually supports it. You have to check the mobo specsheet to make sure it does - ASUS and ASRock, for example, support ECC on most of their boards with a suitable selection of CPU/APU and DIMM.
To illustrate the CPU situation with a few examples:
- Ryzen 5 3600 - proper, working ECC support possible.
- Ryzen 7 5800X - proper, working ECC support possible.
- Ryzen 9 3900X - proper, working ECC support possible.
- Ryzen 5 5600G - no ECC support possible.
- Ryzen 7 5700G - no ECC support possible.
- Ryzen 5 PRO 5650G - proper, working ECC support possible.
- Ryzen 7 PRO 4750G - proper, working ECC support possible.I've seen suggestions that for PRO, the memory controllers were redone. Wouldn't surprise me if the story is that Cezanne had a design error resulting in inoperational ECC, especially given that unlike done other models in the series they are not chiplet based.
Even weirder is that the AMD specification pages have stated that both Rembrandt (Ryzen 6000 series) and Phoenix (Ryzen 7040 series) support ECC, for about a year and a half.
Then suddenly, some time in Q3 2023, they have removed ECC from their specifications.
Because Ryzen 8000G is just Phoenix or Hawk Point (the AMD information about this, i.e. about the speed of the NPU, has been contradictory) in another package, I was initially surprised that they have decided to support ECC in it, but now I see that they have reverted again the decision.