This message was posted on behalf of Intel Corporation
Thank you for joining the Processors Community.
Based on the results found in ark.intel.com, these two processors support ECC memory Intel® Product Specification Comparison. I am unable to comment regarding those links since that is not information from our end, but you can check the family datahseet in order to confirm the specific module configuration for the ECC memory: Datasheet, Vol. 1: 7th Gen Intel® Processor Family for S Platforms
That's all fine and dandy, but only answers half of the question...
In order for you to actually use ECC Memory with this processor, this processor must be mounted on a board that is designed to support ECC memory (ECC DIMMs) and the board's BIOS must contain a version of the MRC containing support for ECC Memory. Unless all of these factors come together, the solution simply isn't going to work.
Hope this helps,