Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 114

Thread: [HowTo] Upgrading RAM to 128 MB (WL-500gP, WL-500W and WL-700gE)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Smile Expansion possibilities inspirations for wl500gP routers

    Hello!

    Originally Posted by Oyabun
    What kind of hard hacking are you thinking about?
    Most of my inspiration came by looking at these pieces of information: (attached below)

    * BCM4704 Block Diagram

    * BCM4704 System Diagram

    Well besides the gpio pins, I2C bus, SPI bus, SD card, etc type hacks, (directly off wl500gp pcb tracks), the most promising thing, may be the ability of BCM4704 processor to handle three mini-PCI 2.3 peripherals.

    From Broadcom's BCM4704 Product Brief:
    The PCI 2.3 host interface allows enumeration of three external PCI peripherals (more with external arbiter)
    Another way to explore would be the EBI (Expansion Bus Interface) route. Signals for this bus are presented to the flash memory chip (SPANSION S29GL064M), of course stealing them from the chip's pads seems extremely hard, but it might still be an option for just a couple of lines. And since extremely hard is still possible , one could even try an IDE connection if all necessary signals are found to be present and the firmware side of things in understood as well (that already sounds pretty complex to me).

    Other interesting things are the modem and audio codec’s as well as the two-port USB 1.1 host. Interesting these are, however, only if their respective signal/data lines are present somewhere on the pcb, since un-burying them from under the BGA seems highly unlikely, to stay optimistic.

    Software-wise, access to the MAC (Multiply Accumulate) unit on-chip would be very useful to people who wish to hook up some sensors on the wl500gp and then use it to perform some DSP (digital signal processing) on the collected data.

    Also software-wise, access to the IPSec Core and related hard-wired functions available in the BCM4704 (IPSec 3DES, SSL MAC, TLS HMAC, SSL/TLS DES/3DES, MD5/SHA-1 HASH, IPSec AES), would be very useful for some types of network applications.

    All of the above require, inside knowledge of the processor core, usually found in a Programmer's Guide type document and in datasheets, for the software part, whereas for the hardware part, processor datasheets and router schematics would be needed. Without any of these documents in sight, it's gonna be pretty hard to attempt most of these modifications.

    That's why I believe mini-PCI peripheral expansion is the most viable approach, given the available documentation.

    PCI's, let's sum it up, we have: One for the PCI-to-USB bridge (VIA VT6212L), one more for the actual mini-PCI connector harbouring the wi-fi card, that's two, leaving room for (hopefully) one more! Plus all the signals for the PCI bus should be presented to the mini-PCI connector. That's only a guess however, I haven't actually checked to verify that, but still. The specifications for PCI and mini-PCI bus are at hand, so it will be a matter of (spare) time to verify it.

    After verifying that all necessary signals are present and that the firmware (as is or modified) could handle such an addition, it might be possible to try and solder one more mini-PCI card connector on the existing pcb pads.

    Many mini-PCI cards are available which could be used to offer additional functionality, provided the suitable driver exists, that is.

    * mini-PCI to IDE and/or SATA controllers + Compact Flash (CF) Socket, (no USB bottleneck)
    * mini-PCI to (a multitude of) serial ports extension cards
    * mini-PCI GPS receiver module with extra serial ports
    * mini-PCI 801.11a/b/g 400mW card
    * more examples welcomed

    A simple idea would be to add an extra dual band wi-fi card, transforming the router to a link, or even backbone node for wireless metropolitan networks. A GPS card would suit locative (location-aware) applications. The extra serial ports would be good for robotics or home automation and a direct mini-PCI to IDE/SATA/CF card would allow for file transfers at full speed, overcoming the USB bottleneck. I could go on daydreaming about possibilities for long...

    Take a wl500gP, hook up some temp, humidity, pressure, wind-speed, rainfall, etc sensors over USB or serial ports and you get a remote, networked, weather-station. Or add some motors and motor drivers assortments, vision, GPS, batteries, sensors (speed, distance, temp, inertial, rotational, magnetic, etc) a few microcontrolers, quite some code, and voila: you have a networked mobile robot...

    For the moment my preferred (and much more realistic) approach is to interface microcontrollers to the RS-232 and USB ports of the router. I'm planning to work with some PIC18F4550 with USB connection while some other PIC boards with rs-232 are already available and have plenty of things interfaced to them. Now I only need to set up a cross compiler for the wl500gP and write some code to get them to communicate with the router (and, hopefully, one day, attempt even native compilation). Some more code writting/porting will be needed to have the router perform some processing on the data collected through the uC's and plan some actions to execute on the devices interfaced to them in response, all while sending part of the data over lan/wi-fi. The birth of a simple robotics platform, indeed.

    Following the various posts about the RS-232 console connection, and parper's post "Additional USB ports and Internal HD!", I performed the corresponding mod's, and now I have a very happy wl500gP with Oleg's firmware, 128MB ram, four onboard USB 2.0 ports and two RS-232 signal level serial ports.

    I will post methods and findings soon!

    Ideas, comments, suggestions are welcomed

    Greetings to all and thanks for all the info's you are sharing,


    inertial



    Below are some very inspiring BCM4704 Diagrams from Broadcom's Product Brief, a picture of wl500gP's case following modification to house the extra two USB connectors, and a couple of pictures of the actual post mod pcb.
    Attached Images Attached Images      
    Last edited by Inertial; 08-04-2008 at 02:39. Reason: more pic's added

  2. #2

    Chips for sale ? Anyone ?

    Is there anyone of u who has an extra pair of chips for sale, or knows a reliable source tu buy those ? I mean the chips described by Oleg in http://wl500g.info/showthread.php?t=12962

    Thank you!

  3. #3
    Join Date
    Aug 2008
    Location
    Budapest, Hungary
    Posts
    8
    I've managed to buy one of these laptop memory modules on ebay.co.uk ...

  4. #4
    I doubt someone will ship to Romania

  5. #5
    I have a few K4H511638B-TCB3 left if anyone needs.

  6. #6

    Question Hynix HY5DU561622ETP Chips (16Mx16)

    Hi!
    Here I have two Hynix HY5DU561622ETP Chips (16Mx16) from my bricked D-Link DNS-323. As I read in this thread one chip from that type is used in the v2.

    Can I use these two chips for an upgrade from 32 to 64 MB? Or where do i get the recommended chips best? Neighter Hynix nor Samsung provide any free samples on their website like other companies do (TI for example)

    Greeting, Sally

  7. #7

    Is there a way to re-disable U4 without booting the router?

    My WL-500W router was dead after I enabled U4. I used Hynix chip. I already soldered a 5pf capacitor at pin 51. It looks like the CFE isn't running. I couldn't see any output from the serial console.

    Is there a way to disable U4 without booting into the system?

  8. #8
    Hi there people !
    This might be mostly adressed to Oleg...
    I tried to apply the instruction from this oleg`s tutorial. But i DID NOT (stupid me ) aplied

    nvram set sdram_init=0x000b
    nvram set sdram_config=0x0032
    nvram commit
    halt

    before every chip exchange, neither upgrading to 128Mb aware firmware.
    Now, after purely replacing chips and soldering 33ohm to R43, the router seem to be bricked as power led is off, wifi led is half-lit barely observable, and the switch section works ok, leds on, etc. Of course, the router does not boot .
    Is this a matter of PIN9 trick (i did it once succesfuly) or i have to replace with old chips, remove r43, and take the job from begining again ?

    Looking forward for an sugestion..

    Vuk

  9. #9
    Join Date
    Mar 2009
    Location
    Erlangen - Germany
    Posts
    3

    RAM upgrade for other router (e.g. Buffalo WHR-HP-G54)?

    Hi folks,

    can you imagine, that this RAM mod could also work for other routers. I have one Buffalo WHR-HP-G54 with only 16MB of RAM, so it would be great applying this RAM mod to my router too. (Even though I was successfully been able to make the "SD mod" on my router and now it's possible to SWAP ON some space on the installed SD card which is limited only by the free SD card space, but you can figure out, that this is not the everfastest RAM upgrade possible ).

    I'm sorry to place this post in the wrong forum, but I came across this 128MB RAM mod and found it highly interesting!

    Can somebody give me a hint, what to pay attention for?
    Here you can see inside the router, if this helps. And here is the backside of the board (where the RAM is soldered). Here are the tech. specs of the RAM chip.

    I'll appreciate any advise!

    Cheers,
    tenho
    Last edited by tenho; 16-03-2009 at 17:25.

  10. #10
    Quote Originally Posted by tenho View Post
    Hi folks,

    can you imagine, that this RAM mod could also work for other routers. I have one Buffalo WHR-HP-G54 with only 16MB of RAM, so it would be great applying this RAM mod to my router too. (Even though I was successfully been able to make the "SD mod" on my router and now it's possible to SWAP ON some space on the installed SD card which is limited only by the free SD card space, but you can figure out, that this is not the everfastest RAM upgrade possible ).

    I'm sorry to place this post in the wrong forum, but I came across this 128MB RAM mod and found it highly interesting!

    Can somebody give me a hint, what to pay attention for?
    Here you can see inside the router, if this helps. And here is the backside of the board (where the RAM is soldered). Here are the tech. specs of the RAM chip.

    I'll appreciate any advise!

    Cheers,
    tenho
    http://www.dd-wrt.com/phpBB2/viewtop...ight=hpg54+ram

    R.

  11. #11
    Join Date
    Mar 2009
    Location
    Erlangen - Germany
    Posts
    3
    Quote Originally Posted by Oleg View Post
    ...
    Testing device memory
    Type these lines to start testing:
    Code:
    cd /tmp
    wget http://oleg.wl500g.info/bin/memtest
    chmod +x memtest
    ./memtest 16m
    Would this test also work on any router running DD-WRT/OpenWRT/FreeWRT (sorry, it's not Olegs Firmware)? Just wanting to test the memory after overclocking the router...

    Greetz,
    Stefan

  12. #12
    Join Date
    Mar 2009
    Location
    Erlangen - Germany
    Posts
    3
    I'll answer myself:
    The memtest is running quite well on Buffalo WHR-HP-G54 with default 16 MB RAM and DD-WRT v24 vpn. But you should replace ./memtest 16m with ./memtest 5m (6m could be also OK, just try). Otherwise it will hang up.

    Just putty into the router and run this:
    Code:
    cd /tmp
    wget http://oleg.wl500g.info/bin/memtest
    chmod +x memtest
    ./memtest 5m
    The first run is finished in about 10 minutes or so.

    For the folks with SDmod: don't run the test with your SD card swapped on (swap space with a swap file on the card)! This will mess up the contents of the card and make it unreadable. Unswap first instead!
    Code:
    /opt/bin/busybox swapoff /mmc/myswap.swp
    Then run the FREE command in order to see, if the swap space was successfully unswapped.

    I have optware with busybox installed and the SDmod on my router. If this interferes with the memtest: no idea. If you don't have busybox installed, just try the memtest though.

    Cheerz,
    Stefan

  13. #13
    After finishing the upgrade to 128MB about two weeks ago I thought I should write an update.

    I am really glad I got it working. Several times I thought the machine was bricked.
    My soldering skills definately were not good enough for the job.

    The main problem was that I could not remove enough lead-free solder from the BCP.
    This caused short circuits underneath the chip so I had to remove it again...
    That ruined a soldering pad on the PCB.
    Fortunately I could make a bypass with a small wire to one of the resistors next to the chip.

    Another problem was loose pins.
    Some pins did not touch the PCB because of the bumps of the remaining lead-free solder.
    You should check the connections really well with a multi meter.

    The data lines can easily be measured between the pins and the resistors next to the chips.
    Address, clock, powr and some other lines between pins with the same number from U3 and U4.
    You can also apply some physical pressure to the pins to see if they wiggle, but be careful because you do not want them to bend.
    The loose pins were fixed by applying tiny amounts of soldering paste and reheating (see post #36).

    When the connections are good and the router boots (leds will go out after a second or so) run the memtest.
    Also, tap on the router while running the test and see that it does not freeze and does not give memory errors.

    Some other points
    • The 22 ohm resistor from the Transcend SODIMM module is a little bigger than the ones on the router, but it just fits.
    • The Hynix chips work stable with the capacitor from the back-side of the module connected to the two clock lines (see post #38 by NotebookKiller).


    I also did some other small mods: soldered header pins for the serial ports and added two extra USB ports.
    These USB ports are internal, the 500W does not have room left on the back side.
    I put in a 16GB flash drive which holds optware and user data. No need for swap with 128MB!

    As a last point I would like to mention another option for a great mod:
    The WL500W has soldering isles and holes in the PCB to connect a PCMCIA connector!
    • Has anyone tried to connect a PCMCIA card to the router? Did it work?
    • If I connected a SATA card and a SATA HDD, would that speedup the transfer rates compared to a USB drive? I have read several times that 2MB/sec is about the max with USB but why is that? Is that a hardware or a driver issue?

    Please post responses in http://wl500g.info/showthread.php?t=19164

    And finally I would give a big thank you to Oleg, the other posters of this thread and to Marc who has lend me his soldering equipment. I am really happy with my super-router.

  14. #14
    Join Date
    Jan 2009
    Location
    Szigethalom, Hungary
    Posts
    1

    Videos on Youtube about 128MB upgrade

    Small contribution, but hope it will help some:

    http://www.youtube.com/watch?v=tUpHA_ZarDg

    http://www.youtube.com/watch?v=_2vnJyRuq98

    So, I did a few upgrades recently, and for the ones who would like to try it, I have some tips:

    Use Wood's metal, it's cheap and will do the trick, You can perform the upgrade with the simpliest iron available next door. Also use the finest wick available, it will suck the excess solder like hell. And flux massively!

    You can check Your unit before, if it is using 22 or 33 ohm resistors. Just to have them aligned. Not sure if it counts or not.

    Although the memtest utility can pin half of the memory for the first run, what You can do is to start in one session with 64m, next session with 32m, next with 16m and You're there, almost all You're new memory is tested fully.
    ELPIDA D5116ADTA chips are also fine for the upgrade!!

    For Vuk: I had the same symptoms, recheck all Your soldering, especially the resistor/s and of course all the pins for shorts to the neighbours. And even if You have FW which isn't capable to handle 128, You can use the tftp method to flash a new one. So no panic, it'll work.

    Thanks to Oleg, and all the contributors here!

  15. #15
    Quote Originally Posted by CsBubo View Post
    Small contribution, but hope it will help some:
    Thanks! It would have helped me I have saved the videos for my next upgrade!
    Last edited by Pim Borst; 04-04-2009 at 16:30.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Hardware Encryption on WL-500gP / WL-500gD / WL-700gE
    By staticroute in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 10
    Last Post: 07-02-2013, 12:53
  2. [HowTo] Setup MediaTomb (mediaserver) on WL-500gP and WL-500W
    By rathalian in forum WL-500gP Tutorials
    Replies: 53
    Last Post: 20-12-2012, 21:14
  3. [HowTo] Get a HeadStart on a WL-500gP
    By raas in forum WL-500gP Tutorials
    Replies: 187
    Last Post: 11-01-2012, 08:19
  4. WL-500g Premium died After Upgrading Firmware
    By acidbrain in forum WL-500gP Firmware Discussion
    Replies: 166
    Last Post: 17-06-2011, 07:59
  5. HowTo: Use Palm as 500gP LCD
    By Tamadite in forum WL-500gP Tutorials
    Replies: 1
    Last Post: 08-02-2009, 21:18

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •