this is most probably an issue with your motherboard's bios, I find it hard to believe that both the sticks are faulty
since you've tried one stick at a time.
try resetting the bios by removing the cmos battery for 5 minutes
this might help:
View: https://youtu.be/fGpf_hfOKgI
also try both...