Replacing a flash drive - problem with the Software-ID

Hi!

I want to replace a 16 MB flash drive on devices that I support.
What for? 16 MB is very little - when installing version 7.17 and the Wireless module, there is not enough space at all.

I tried this operation on HapAc2.
I replaced the flash drive with a larger one.
RoOs saw 32 mb!!!

I bought a version 4 license for the router (yes, I didn’t regret $45 :slight_smile:) and installed it on the router.
But nothing worked out :slight_smile:))

Now, after each reboot, the Software-ID changes to new …
Well, the purchased license did not fit right away :slight_smile:

Original flash chip is Winbond 25Q128jvsm
I replace it to MX25L25645G and a similar case.

The board has pins for 2 different packages: 8-PIN SOP and 8 PIN WSON.
I know that the license depends on the drive (serial number) and is written somewhere at the beginning.

Has anyone changed a microtic flash drive to a larger size (32, 64 Mb)?
What specific flash drives did you use?

I was thinking to do same for my device Chateau LTE12 to be upgradeable for future releases. But I will stick with same MTD vendor (Winbond) same drive series W25Q128*, like 128Mb W25Q128FV just to dismiss potential compatibility issues. If Software-ID changes on each reboot after drive replacement then this is disappointing, I would also know if someone successfully done this. Purchasing additional licence is not an issue if it will stick.

I’ll try to put W25Q256JVEIQ or
W25Q512JVEIQ They seem to be available in our country. And I also need to buy a block for the programmer. We need to find out how it works :slight_smile:

As far as i know, Mikrotik uses specific flash chips, with a separate “OTP” section

if that OTP section is not programmed (contains all zeroes), then RouterOS will complain

Yes, I looked at the dump and datasheet on the chip.
And so it is - a flash drive with an OTP area, which is empty.
I’ll try.

Did anyone connect via JTAG?
Do the boards send something there or is the interface closed?
Maybe there is something interesting there.

Could be that Software-ID changes then because of blank OTP area because it is generated by data in it. If this is the case, then it is an issue unless MT choose to offer flash drives for purchase as spare part or someone reverse engineer data in OTP for programming it on new drives.

Well, the OTP area seems to be written only once.
On the original flash drive, it is empty (in any case, my programmer did not read anything)

And on the flash drive that I installed, this area is not at all :slight_smile:

Maybe just drive that have OTP area, even empty, will do :slight_smile:

Possibly of interest:
http://forum.mikrotik.com/t/replace-flash-on-hap-hex-with-larger-capacity/148201/1
The chip seems like having a unique ID, so no way to replace one without re-generating the soft ID or licence.

I will not mind if new software id will be generated permanently (per replaced drive), but it is a issue if is generated after each reboot like @kuzma2000 mentioned. I have no problem with buying additional licence if it will stick. By this post http://forum.mikrotik.com/t/replace-flash-on-hap-hex-with-larger-capacity/148201/1 it looks like that just reflashing new drive with same content will do, so I’m nost sure why @kuzma2000 had issue with software is regeneration on each boot, could be related to OTP area since drive he used doesn’t have it.

Yep, the most likely cause is that the new chip has something different from the original one, only a guess, but if the original one has a “unique ID”, at every boot this ID is the same and the license sticks, while IF the new chip has not such unique ID, a new one is somehow generated at each boot, thus making the license not “sticky”.

Yes you are right.
The original chip has a UID field, that can be read separable.
The one I installed also has this mechanism, but the UID is written in OTP at a different address.
Now I’m looking for a chip from Winbond

Successfully!
I put W25Q256JVEQ.

Software-ID does not change.

But now I can’t change the license number in my account :slight_smile:

“Apologies, MikroTik.com client portal is temporarily unavailable due to maintenance. We’ll be back shortly.”

Life is full of surprises…

Can you write some steps how did you do it? Did you use 8-PIN SOP or 8 PIN WSON?

Yes of course.

  1. I removed the original chip in the SOP-8 package
  2. I considered it a programmer (I have an Xgecu TL-56)
  3. Saved the contents of the “FLASH” section to a file
  4. Install a new flash drive and
    flashed only the “FLASH” section. OTP and STATUS REG did not flash.
  5. I soldered the flash drive in place.

In the WinBond catalog, I did not find flash drives in an 8-PIN SOP package of 32 MB or more.
Such volumes are only available in the 8 PIN WSON case (8 by 6 mm)

Thanx!

On Aliexpress 25Q512JVEQ - 1.7 usd

Can you post link (even in pm) of the item in aliexpress?
It is the wson one?
I’m trying to repair an cAP with a bad flash chip

https://vi.aliexpress.com/item/1005007243931469.html?spm=a2g0o.cart.0.0.59e138daHZ0PiO&mp=1&gatewayAdapt=glo2vnm

Thanks!