EVGA

Helpful ReplyHot!My Arduino-based RAM SPD reader/writer (free and open source)

Page: < 12345.. > >> Showing page 2 of 9
Author
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/25 23:11:02 (permalink)
The program really lacks the read protection feature. That is, not only the removal and set, but also the display of the current state.
#31
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/25 23:16:40 (permalink)
a213m
 
This happens when you have an Arduino with incorrect or no firmware uploaded. I was able to reproduce the same behavior by connecting a "blank" Arduino board and starting the program.
Does your Arduino board respond to commands "t" and "s 11 99" using serial monitor? Show me the output.
Do you have Arduino Serial Monitor open when launching the GUI program? If so, close it. Make sure you don't have any extra Arduinos or any other serial devices connected.
Do you have a DIMM present? The GUI will not show any devices present unless at least one DIMM is present, even if you have the board with the correct firmware connected.

No, I ran the program without Arduino. Apparently, this explains everything.
 
#32
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/25 23:53:58 (permalink)
PropretorThe program really lacks the read protection feature. That is, not only the removal and set, but also the display of the current state.



That's an advanced feature not needed by 99% of users. Unfortunately during development I haven't been able to implement a reliable method using RPS commands that would work with all EEPROMs I had access to.
 
You can test write protection by attempting to write to EEPROM, and if it's protected, you'll get an error message. Even Thaiphoon Burner tests write protection by attempting to write to EEPROM. (Also, I will not be implementing whatever is already available in the free version of Thaiphoon Burner.)
 
Also you can try setting write protection, and if the EEPROM is already protected, you'll get an error:
 

 
PropretorNo, I ran the program without Arduino. Apparently, this explains everything.



Without Arduino it shouldn't take that long to start the program.
 
Run the console program with /find switch and see if you have any other serial devices detected. If it also takes 10 seconds or more and still shows "Nothing found", then you might have one or more serial devices present which are being probed by programs.
 
Also check your device manager and see if you have anything under "ports" category.
post edited by a213m - 2020/06/26 00:03:54

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#33
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 00:32:07 (permalink)
a213m
 
No. According to schematic, closed jumper is for 5V/16mhz boards, open is for 3.3V/8mhz boards.

If the jumper is open on your board, then you'll have a 3.3V output on the VCC pin.

Many thanks!


#34
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 00:41:56 (permalink)
I updated the program, test timeout is reduced, the program should start 10x faster now when incompatible or conflicting devices are present + minor UI improvements.
 
https://github.com/1a2m3/SPD-Reader-Writer/releases
 
post edited by a213m - 2020/07/10 17:54:45

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#35
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 01:13:40 (permalink)

Very nice!
#36
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 01:33:05 (permalink)
I apologize for the poor knowledge of Arduino. In addition, my Arduino boards are still being delivered and not received by me. But for compatibility with the GUI version of your program, do I need to use 7 or 12 pin?
#37
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 01:46:20 (permalink)
Propretor
I apologize for the poor knowledge of Arduino. In addition, my Arduino boards are still being delivered and not received by me. But for compatibility with the GUI version of your program, do I need to use 7 or 12 pin?



Do you mean a high voltage switch pin (HVSW value)?
 

 
Pro micro doesn't have pin 12. Any of 4 to 21 should work.
 
If you want to use Nano board, like the one I have, then either 7, or 12 will work.
 
Either GUI or console programs do not care what pins are used. When commands are issued from programs, Arduino handles them internally.

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#38
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 02:07:44 (permalink)
I focused on this scheme:

You want to say that without altering the code, I can use any of the contacts 4-9, 10, 16, 14, 15, A0-A3 ???
#39
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 02:25:42 (permalink)
Propretor
You want to say that without altering the code, I can use any of the contacts 4-9, 10, 16, 14, 15, A0-A3 ???


You'll only need to edit the value of HVSW constant to match digital pin number. Any of pins you listed should work. If the pin can work in analog or digital mode, like A5/D23, then you'll have to specify its digital value (23).
 

 
I like to use pin 13 because it is wired to the built-in LED, so that wherever write protection related commands are executed, the LED flashes, providing visual indication.

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#40
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 13:10:40 (permalink)
a213m
 
You'll only need to edit the value of HVSW constant to match digital pin number. 

Sorry, but where?
 
 
#41
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 13:59:02 (permalink)
Propretor
a213m
 
You'll only need to edit the value of HVSW constant to match digital pin number. 

Sorry, but where?



In the sketch, before uploading it to Arduino.
https://github.com/1a2m3/...er/SpdReaderWriter.ino

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#42
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 23:08:54 (permalink)
a213m
 
In the sketch, before uploading it to Arduino.


Thanks!
 
The program allows you to read, write and CWP 512 byte SPD DDR4. But can it do the same with 256 byte SPD DDR1, DDR2, DDR3, SDR ???
#43
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/26 23:31:34 (permalink)
Currently only DDR4 is fully supported. Current version should be able to read DDR3 and older types of RAM, but it's not fully supported. Support for SDR-DDR3 is planned for future releases.
 
Here's the result of reading DDR2 SPD. Because the program is hardcoded to read 512 bytes, the data repeats after 256 byte offset. Also CRC isn't properly checked. But it reads and writes data just fine.
 

 
And no, CWP and SWP commands aren't supported with DDR2 RAM I tested.
 


My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#44
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/27 00:05:05 (permalink)
I will express my opinion. I ask no offense. There are a lot of timing editors in dumps. There are also many programs for editing CRC. At the same time, there are very few programs that allow you to read, write, remove software-reverse protection and check the type of protection outside the computer. It seems to me that it’s more correct to focus specifically on supporting various types of SPDs, including 256 byte ones.
#45
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/28 19:42:22 (permalink)
I'll consider some of your suggestions.

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#46
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/30 19:45:00 (permalink) ☄ Helpfulby TiN_EE 2020/07/08 07:48:49
Added full support for DDR3, DDR2, DDR, and SDRAM. Reading, writing, and CRC operations are fully supported. Plus some UI improvements.
 

 
Updated console and GUI binaries are here:
https://github.com/1a2m3/SPD-Reader-Writer/releases
 
Support for Thaiphoon Burner dump import is on hold, because method which worked for older versions doesn't work with the latest version, and I don't want to play cat and mouse chase every time a new version of Thaiphoon Burner is out.
 
 
post edited by a213m - 2020/07/10 17:54:30

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#47
Propretor
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2020/06/23 07:58:22
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/06/30 22:55:10 (permalink)
Excellent! As soon as I get my Arduino boards, I'll test it right away.
#48
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/07/15 02:10:43 (permalink)
UI/UX update: Added the ability to manually specify RAM type and SPD size.
 
https://github.com/1a2m3/SPD-Reader-Writer/releases/tag/07.15.2020
 

 
When I added DDR3 and older RAM type support, the program was supposed to detect RAM type automatically from SPD data and adjust SPD size accordingly. However, if SPD is blank or corrupted, the program might not be able to detect RAM type properly, and for this reason I added a dialog box which asks to manually specify RAM type if the program is unable to do so automatically.
 
PS: I am not sharing source code for this update only, because I'm in the middle of writing a new feature and I don't want to share something that's not finished or tested yet, so I'm tagging this version as a "pre-release".
 
 
 
post edited by a213m - 2020/07/15 18:25:56

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#49
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/07/18 17:17:58 (permalink)
18.07.2020 Update:
  • Added support for native USB based Arduinos (Leonardo, Micro, Due, Yun, etc) (thanks to Propretor for testing).
    • Firmware update is required (change the value of PORT constant to SerialUSB)
  • Some GUI UI/UX improvements
https://github.com/1a2m3/SPD-Reader-Writer/releases/tag/07.18.2020
 

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#50
Cool GTX
EVGA Forum Moderator
  • Total Posts : 31001
  • Reward points : 0
  • Joined: 2010/12/12 14:22:25
  • Location: Folding for the Greater Good
  • Status: offline
  • Ribbons : 122
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/07/18 17:43:34 (permalink)
Nice to see your improving this even more

Learn your way around the EVGA Forums, Rules & limits on new accounts Ultimate Self-Starter Thread For New Members

I am a Volunteer Moderator - not an EVGA employee

https://foldingathome.org -->become a citizen scientist and contribute your compute power to help fight global health threats

RTX Project EVGA X99 FTWK Nibbler EVGA X99 Classified EVGA 3080Ti FTW3 Ultra


#51
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/07/21 00:28:48 (permalink)
07.21.2020 Updates:
  • Added Thaiphoon Burner files import
    • Use Thaiphoon Burner to save dump as txt file (free version allows that), then open txt file in my program, and it will automatically convert text to binary.
  • Added PSWP (permanent software write protection) feature for supported 34X series EEPROMs used on most DDR3 and some DDR2 modules. (As the name implies, this operation is irreversible - use with caution!)
    • Firmware update is required to use PSWP features
       
https://github.com/1a2m3/SPD-Reader-Writer/releases/tag/07.21.2020
 
Firmware now has configurable settings in a separate SpdReaderWriterSettings.h file. You have to download both .ino and .h files, but in the future whenever the firmware is updated you won't have to re-edit the main file again.
 
https://github.com/1a2m3/SPD-Reader-Writer/tree/master/arduino/SpdReaderWriter
 

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#52
Exodus_5467
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2017/03/03 09:06:16
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/07/24 14:34:49 (permalink)
a213m
07.21.2020 Updates:
 
Firmware now has configurable settings in a separate SpdReaderWriterSettings.h file. 




How would I wire up SA0 now that it has it's own pin + HVSW?
SA1 and SA2 are now connected to the pins defined in SpdReaderWriterSettings.h instead of just being grounded right?
#53
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/07/24 16:59:08 (permalink)
For now wire everything up according to the schematic in first post. SA1 and SA2 are grounded.
 
(SA#SW variables in the settings file will be used in updated firmware and schematic, which will allow Select Address pins to be configured programmatically. Current firmware doesn't allow to configure address pins. Once the new firmware is ready, I'll post updated schematic which will utilize programmatic SA pins control.)

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#54
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/08/09 00:55:36 (permalink)
New version is up: https://github.com/1a2m3/SPD-Reader-Writer/releases/tag/20200809
 
  • Improved reliability and stability
  • Added option to select individual blocks when enabling RSWP on DDR4 modules
  • Added basic editing abilities, such as copy, paste, and delete
  • Added ability to open files by dragging them onto the form
  • Added manual update check, available via "Help" menu
  • Redesigned program log
  • Redesigned "About" window
 
The updated guide is posted on the first page.

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#55
Cool GTX
EVGA Forum Moderator
  • Total Posts : 31001
  • Reward points : 0
  • Joined: 2010/12/12 14:22:25
  • Location: Folding for the Greater Good
  • Status: offline
  • Ribbons : 122
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/08/09 12:57:20 (permalink)
thanks for the update

Learn your way around the EVGA Forums, Rules & limits on new accounts Ultimate Self-Starter Thread For New Members

I am a Volunteer Moderator - not an EVGA employee

https://foldingathome.org -->become a citizen scientist and contribute your compute power to help fight global health threats

RTX Project EVGA X99 FTWK Nibbler EVGA X99 Classified EVGA 3080Ti FTW3 Ultra


#56
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/08/10 03:10:42 (permalink)
Update: 20200810
  • Added contents verification utility
  • Added Undo option to undo edits made to data
  • Removed confirmation dialogs that popped up when editing data (those were annoying, and with undo option they are now redundant)
Verification utility isn't really meant to be used to verify written data, because written data is automatically verified during writing. It's more for comparing existing EEPROM contents with pasted data or opened file. Although it can still be used to verify written data manually.

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#57
dixiezx12phone
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2020/08/16 01:58:02
  • Status: offline
  • Ribbons : 0
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/08/16 02:07:54 (permalink)
Ok, I'm REALLY new at this....what's the purpose of this?
#58
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/08/16 18:10:55 (permalink)
dixiezx12phone
Ok, I'm REALLY new at this....what's the purpose of this?



The purpose of the whole project is to develop, build, and improve a tool/solution to read and write SPDs on DRAM.

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#59
a213m
SSC Member
  • Total Posts : 879
  • Reward points : 0
  • Joined: 2006/02/08 11:10:24
  • Location: 🇨🇦
  • Status: offline
  • Ribbons : 20
Re: Would anyone be interested in open source and free DDR4 SPD reader/writer? 2020/08/20 03:34:05 (permalink)
Update: 20200820
Firmware update is required, link is in the first post, as always.

My free and open source SDR-DDR5 SPD reader/writer with write protection capabilities
 
New: 13900K, Z790 HERO, 2x32GB 6800C32, 4090, 2TB SN850, AX1600i
Old: 10980XE, X299SE2, 8x8GB 4000C15, 4090, 2TB SN850, AX1600i
#60
Page: < 12345.. > >> Showing page 2 of 9
Jump to:
  • Back to Mobile