Originally I had the same idea, but after the comparison I've found the other components are just series resistors and blocking capacitors.
So I first tried to make the working flash memory clone of my managed switch to learn the OTP programming method (and keep the original flash part as a...
If the same flash package size is used for the replacement (into the same place as the original unmanaged flash memory) then no other component modification is needed - just the bigger capacity flash (at least 16Mbit e.g. W25Q16JVSNIQ or FM25Q16A-SO-T-G in 150-mil SOIC).
The boot loop problem...
Yes, the OTP content is probably the reason, why new firmware V100/V200 bricks the switch (an infinite bootloop).
Check this guide:
https://github.com/up-n-atom/SWTG118AS/issues/16#issuecomment-3687411953
Similar quest (running newer FW with older HW) was discussed here...
FYI. There are new (V200) firmwares available here:
https://www.sodola-network.com/pages/firmware-updated-for-sodola-managed-switch
SL902-SWTGW215AS:HRRF_V200.1.31_SL902-SWTGW215AS_0202.bin
SL902-SWTGW124AS:HRRF_V200.1.30_SL902-SWTGW124AS_0127.bin...
You can basically run new FW with older HW (with proper OTP data), but PoE, LEDs and SFP may not work correctly.
Also check this post: https://forums.servethehome.com/index.php?threads/horaco-2-5gbe-managed-switch-8-x-2-5gbe-1-10gb-sfp.41571/post-430180
Older switches used FM25Q16A, newer use...
The choice of the encryption algorithm depends on the FW version used by the switch (older FW versions 1.x expect ID encrypted with -a 0, while V100.x and V200.1.x usually -a 1).
Remember to use IMSProg v1.5.1+
I suggest you to use IMSProg instead (OTP area erase/write is easier and reliable). Also it's better to use encuid2, where you can choose OTP encryption algo depending on the switch HW/SW revision.
If you need to stick with AsProgrammer then I recommend to fix FM25Q16A_SS.pas script as...
There should be no Mikrotik login page... are you sure you are trying to log into ZX-SWTGW218AS switch? Do you have any Mikrotik device in your network?
Check GitHub - up-n-atom/SWTG118AS: SWTG###AS RE for more info, you can also try alternative firmware GitHub - logicog/RTLPlayground: A Playground for Firmware development for RTL8372/RTL8373 based 2.5GBit Switches
When you try flash the firmware using CH341A you need to use the full SPI flash dump (not a FW update binary).
You can try some of these images (according to you PCB revision):
https://github.com/up-n-atom/SWTG118AS/tree/main/dumps
The problem of the SPI flash chip replacement with the Winbond W25Q16JV is the OTP area used for encrypted data (in this case it's not Security Register, but SFDP register).
Edit: My previous statement is not completely true. There are actually 4 security registers in Winbond W25Q16JV (Security...
Just to let you know about the RTLPlayground - alternative firmware project for these (4+2, 5+1 and 8+1) managed (and also unmanaged) switches.
https://github.com/logicog/RTLPlayground
It seems to be very promising...
Great work!
Then you should check: GitHub - up-n-atom/SWTG118AS
Unfortunately I don't have SWTGW215AS to help you with a full dump. I have one SWTG124AS and a couple of dumb SWTG015AS units which I'm trying to make manageable. A full dump of SWTGW215AS would help me too...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.