tekton2m
New Member
- Total Posts : 13
- Reward points : 0
- Joined: 2024/02/05 09:02:32
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/14 01:35:51
(permalink)
There is a 9V optocoupler on the 4th leg. The optocoupler is new and working, tested by a probe. There is no other arduino. Which one is better to buy on ATmega328P or Atmega168P?
post edited by tekton2m - 2024/02/14 01:38:48
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/14 02:17:18
(permalink)
Ok, test the Arduino then. Try different HV_EN and HV_FB pins, if default ones aren't working. ATmega328P has more flash memory and EEPROM storage, so it would be a better choice, IMO.
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
tekton2m
New Member
- Total Posts : 13
- Reward points : 0
- Joined: 2024/02/05 09:02:32
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/14 02:24:00
(permalink)
I tried to repeat HV_EN on D10, the same thing. Thanks for the help. I'll buy a new one, then I'll write.
|
tekton2m
New Member
- Total Posts : 13
- Reward points : 0
- Joined: 2024/02/05 09:02:32
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 01:25:57
(permalink)
Hello! I can't do it. I bought another Arduino nano, everything is the same. I checked the scheme more than once. The DIMM adapter is working, another programmer is reading it. All the elements are according to your scheme. What's next? I'm using version 20231210, and it's the same with 20230930.
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 01:27:58
(permalink)
Post a photo of your setup.
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
tekton2m
New Member
- Total Posts : 13
- Reward points : 0
- Joined: 2024/02/05 09:02:32
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 02:08:36
(permalink)
You can measure the voltage on the D9 HV_EN at the time of Arduino initialization in the RW_SPD program. I have less than 1 V. on D9 , and in order to open the optocoupler, you need > 3 V. How do you power the Arduino, via USB or an external source on the VIN?
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 02:12:20
(permalink)
Mine is powered entirely off USB.
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
tekton2m
New Member
- Total Posts : 13
- Reward points : 0
- Joined: 2024/02/05 09:02:32
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 02:16:58
(permalink)
|
tekton2m
New Member
- Total Posts : 13
- Reward points : 0
- Joined: 2024/02/05 09:02:32
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 02:18:28
(permalink)
How do you run the RW_SPD program then?
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 02:36:08
(permalink)
It seems like your VOUT- is connected to SDA or SCL line. If that is the case, your SDA or SCL pin is grounded via VIN- pin, which could be the reason Arduino can't see any I2C devices. Check the resistance between SDA/SLC and GND. It should not be 0.
post edited by a213m - 2024/02/17 02:38:59
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
tekton2m
New Member
- Total Posts : 13
- Reward points : 0
- Joined: 2024/02/05 09:02:32
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/02/17 02:48:08
(permalink)
Thank you for seeing it. Everything has been decided. Thank you very much!
post edited by tekton2m - 2024/02/17 04:29:16
|
Sanzhar94
New Member
- Total Posts : 8
- Reward points : 0
- Joined: 2024/01/29 11:34:05
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/04/12 11:12:03
(permalink)
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/04/12 14:19:57
(permalink)
I used exact same DDR5 adapter. Everything looks good with your work, you used correct pins, and wiring and soldering looks good.
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
Sanzhar94
New Member
- Total Posts : 8
- Reward points : 0
- Joined: 2024/01/29 11:34:05
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/04/16 01:23:06
(permalink)
Hello! Your adapter worked, but my ddr5 stick damaged, i flashed correct SPD data from working module, but it doesn't help, thanks for your adapter!!!
|
code9523
New Member
- Total Posts : 5
- Reward points : 0
- Joined: 2024/05/20 03:44:22
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/20 03:47:47
(permalink)
Hi a213m I have an asus b760-I board can't clear write protection. Is there a way to do it? I can do testing on it if needed. I have couple ddr5 sticks with CRC errors and want to restore them. I can boot it even with bad crc to windows and reed spd but can't write to them.
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/20 04:00:31
(permalink)
code9523 Hi a213m I have an asus b760-I board can't clear write protection. Is there a way to do it? I can do testing on it if needed. I have couple ddr5 sticks with CRC errors and want to restore them. I can boot it even with bad crc to windows and reed spd but can't write to them.
Hi, Clearing DDR5 RSWP via Smbus with SPD-RW is only possible with Asus's Maximus boards that have MR_TEST2 jumper. Your best way is to either build an Arduino programmer and use that or physically short HSA pin on your DIMM to ground, boot with one DIMM and use Clear RSWP command. You can short HSA to ground right on the DIMM itself, motherboard's DIMM slot, or better - get a DDR5 slot adapter, and short its HSA contact to GND and install your DIMM via such adapter, then use Clear RSWP command as usual. By default Smbus RSWP command are disabled, to enable check this post.
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
code9523
New Member
- Total Posts : 5
- Reward points : 0
- Joined: 2024/05/20 03:44:22
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/20 04:24:19
(permalink)
a213m
code9523 Hi a213m I have an asus b760-I board can't clear write protection. Is there a way to do it? I can do testing on it if needed. I have couple ddr5 sticks with CRC errors and want to restore them. I can boot it even with bad crc to windows and reed spd but can't write to them.
Hi, Clearing DDR5 RSWP via Smbus with SPD-RW is only possible with Asus's Maximus boards that have . Your best way is to either build an Arduino programmer and use that or physically short HSA pin on your DIMM to ground, boot with one DIMM and use Clear RSWP command. You can short HSA to ground right on the DIMM itself, motherboard's DIMM slot, or better - get a DDR5 slot adapter, and short its HSA contact to GND and install your DIMM via such adapter, then use Clear RSWP command as usual. By default Smbus RSWP command are disabled, to enable check .
I order all parts to build arduino programmer for this but it will take some time to arrive. Shorting the pin is possible by a thin wire on a mobo dimm slot. But I cant boot on one corrupted stick I can only boot on both sticks. Also both need to be disabled. Can I for example short HSA on both ram slots boot and clear RSWP after? PS I found those contacts on my motherboard looking at bordview but they are not pins but just solder testpoints but can be shorted to ground anuway.
post edited by code9523 - 2024/05/20 04:35:15
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/20 04:33:15
(permalink)
When HSA is shorted to GND, it forces SPD hub to run in offline mode with a fixed address of 80. Per Jedec's specifications, you cannot run more than one DIMM in offline mode, as it would cause addressing conflicts. If you can't boot with one DIMM, you can force offline mode on just one DIMM, as long as the other DIMM does not reside at address 80. Then clear RSWP on DIMM at address 80, flash the correct SPD and swap the sticks around to fix the other DIMM.
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
code9523
New Member
- Total Posts : 5
- Reward points : 0
- Joined: 2024/05/20 03:44:22
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/20 05:30:15
(permalink)
a213m When HSA is shorted to GND, it forces SPD hub to run in offline mode with a fixed address of 80. Per Jedec's specifications, you cannot run more than one DIMM in offline mode, as it would cause addressing conflicts. If you can't boot with one DIMM, you can force offline mode on just one DIMM, as long as the other DIMM does not reside at address 80. Then clear RSWP on DIMM at address 80, flash the correct SPD and swap the sticks around to fix the other DIMM.
DONE RSWP was removed on asus strix b760-I ! Shorted address 80 slot's SHA to ground by inserting very thin copper wire in side the corresponding hole in the slot. Than Installed corrupded stick in 80's slot. Installed a good stick in to slot with address 82 and booted up to windows. Program hanged up on first attempt but on second attmpt i got message that RSWP was removed on b760. After I flashed the spd from working stick to not working and it's now looks like it's working!
|
a213m
SSC Member
- Total Posts : 886
- Reward points : 0
- Joined: 2006/02/08 11:10:24
- Location: π¨π¦
- Status: offline
- Ribbons : 20
![](//www.evga.com/community/modsRigs/images/sm_mods_off.gif)
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/20 15:35:16
(permalink)
Great!
My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600iOld: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
|
code9523
New Member
- Total Posts : 5
- Reward points : 0
- Joined: 2024/05/20 03:44:22
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/21 12:55:45
(permalink)
a213m Great! ![](https://forums.evga.com/upfiles/smiley/thumbup1.gif)
Very nice tool! Thanks!
|
DerpFails
New Member
- Total Posts : 54
- Reward points : 0
- Joined: 2017/10/14 15:10:00
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/05/28 10:51:10
(permalink)
This is a really cool tool, thank you for posting!
|
sandra89
New Member
- Total Posts : 1
- Reward points : 0
- Joined: 2024/07/22 03:31:56
- Status: offline
- Ribbons : 0
Re: My Arduino-based RAM SPD reader/writer (free and open source)
2024/07/22 03:51:59
(permalink)
Hello. I built the hardware and used the software. It works great, but there is a bug in the new software update that displays the lock bits as writable. Please guide me to fix it.
post edited by sandra89 - 2024/07/22 04:06:22
|