Friday, September 18, 2009

DIR-320 64 Mb RAM Upgrade

Be careful, you can brick your router!

If you make a mistake doing this you brick your router. If you don't have skills on hardware modding and SMD rework I don't recommend to perform it.

Tools List

  • Iron (30W, if you use solder station set on 300°C)
  • Solder wire
  • Solder braid
  • Solder flux
  • Soldering aid tools
  • Philips screwdriver
  • ChipQuick (optional)

RAM chip replacement

The original chip is the K4H561638H-UCCC, 256Mbits x 16 bits, DDR400, 66pin TSOPII package. I replace this chip with the HYB25D512160BE-6, 512Mbits x 16, DDR333, 66pin TSOPII package.

Opening the router

To open the router you've to take apart the rubber pads from the bottom back to unscrew the box.
Take up the top cover from the back side and the silver plastic.
Unscrew the Phillips on the front side of the PCB, unscrew the antenna and take out the PCB.

Performing the Mod

Locate the U14, close to the yellow barcode label, and remove it. If you've not enough experience with SMD rework, I recommend to use ChipQuick. Install the new chip on U14. Double check the solders. Power on the router and check if boot (the serial console is a good idea, and will make your life easer)
Install DD-WRT V24 SP2 (SVN 12874) from here. Set the new values of sdram on the nvram with the comands:

nvram set sdram_init=0x0013
nvram set sdram_ncdl=0x0000
nvram commit reboot


  1. impressive, this definitly is beyond my soldering skills

    how behaves now the dir320?

  2. I can't find that part on their site. Do they still support it, or was it an old chip you had laying around?

  3. Felipe,

    The router works fine with 32Mb but I upgraded this one to test it as platform for developing. The idea is upgrader the flash to 8Mb or 16 Mb too.

  4. Chris,

    If you are talking about the DIR-320, D-LINK was discontinued this product.

  5. Where did you buy the HYB25D512160BE-6 chip? I can't find it anywhere.

  6. Any 512Mbits x 16, DDR333, 66pin TSOPII package pinout compatible works. Check the specs of the original chip, up on this page, an pick one with the same caracteristics but with 512Mbits.

  7. I have an Aztech DSL 1100R 4 port router with a misflashed chip. Any idea how to reflash it again since its not dectable on the PC? Where are the specific pins. Thanks

  8. This comment has been removed by the author.

  9. This comment has been removed by the author.

  10. This comment has been removed by the author.

  11. it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity.. DDR3 V? DDR4 RAM:[The Difference,5 Pks,Tips,Reviews] 2019 Updated

  12. Thanks for this great post, i find it very interesting and very well thought out and put together. I look forward to reading your work in the future. The Difference: ddr3 vd ddr4