Flash Chip programming (DIR615 vE3 +AR7240+MX25L3206E flash)

Post new topic   Reply to topic    DD-WRT Forum Index -> Hardware DIY / Hardware Mods
Author Message
jenom
DD-WRT Novice


Joined: 29 Jun 2011
Posts: 29

PostPosted: Fri Jan 04, 2013 1:26    Post subject: Flash Chip programming (DIR615 vE3 +AR7240+MX25L3206E flash) Reply with quote
lost a bootloader with a badly done dd-wrt flash and now trying to reprogram a removed 8 pin MX25L3206E flash chip using SPIPGM program and a simple parallel printer interface.

I have full access to this 4 MB chip, able to

1)(I)dentify chip
2)(E)rase entire Flash Rom
3)(D)ump entire Flash Rom to a file
4)(U)nlock write protection
5)(P)rogram entire Flash Rom

Altough I uploaded a correct Dlink file, and a DD-WRT factory file (and verified that it went OK), --router still does not boot !

Are the bootloader files included in the firmware files?

If YES, maybe they need to go a special address ?

Maybe I need to program first bootloaders U-boot file or Redboot file ?

If YES, are they supposed to go a special address or just into an empty ROM ?

Any input would be appreciated !

Thanks!
Sponsor
rushwind
DD-WRT Novice


Joined: 04 Dec 2012
Posts: 48

PostPosted: Fri Jan 04, 2013 22:57    Post subject: Reply with quote
Take a look at the following: http://www.dd-wrt.com/wiki/index.php/JTAG
dabyd64
DD-WRT User


Joined: 27 Sep 2011
Posts: 112

PostPosted: Sun Feb 03, 2013 16:37    Post subject: Reply with quote
Nope, the bootloader is never included in the firmware, except very rare cases.
Find the u-boot and flash to the eeprom, start at sector 0.
The u-boot is mtd0 in openwrt.
Dumping it is easy:
Just do "cat /dev/mtd0 >/tmp/mtd0.bin"
Now you have to get that file out of the router.
With Luci installed it's easy:
"ln -s /tmp/mtd0.bin /www/."
Now go to "http://ROUTER_IP/mtd0.bin"
It will download th file. Now flash it to your flash
You can try to get a new DIR615 E3 , flash openwrt+luci, extract the mtd0, restore to factory firmware and go to the store to refund.
Maybe someone in openwrt forums can dump it for you!

**EDIT**
I found a full flash backup of a DIR-615 E4. It should work!
http://dioptimizer.narod.ru/files/dir-615e4/dir-615-dd-wrt.bin



good luck!
eoc2611p
DD-WRT Novice


Joined: 05 Dec 2012
Posts: 23

PostPosted: Sun Feb 17, 2013 10:34    Post subject: Reply with quote
dabyd64 wrote:
Nope, the bootloader is never included in the firmware, except very rare cases.


Where to get them from, if they are no longer available on our devices????
vkjuju
DD-WRT Novice


Joined: 08 Nov 2012
Posts: 42

PostPosted: Sun May 18, 2014 12:54    Post subject: Reply with quote
http://dioptimizer.narod.ru/files/dir-615e4/dir-615-dd-wrt.bin

>> I need this as well, could you please send a copy to me? it's no longer available

thanks


Last edited by vkjuju on Mon May 19, 2014 16:19; edited 1 time in total
dabyd64
DD-WRT User


Joined: 27 Sep 2011
Posts: 112

PostPosted: Mon May 19, 2014 14:10    Post subject: Reply with quote
Hi, I found another dump on a russian forum.
Good luck!
vkjuju
DD-WRT Novice


Joined: 08 Nov 2012
Posts: 42

PostPosted: Mon May 19, 2014 14:16    Post subject: Reply with quote
dabyd64 wrote:
Hi, I found another dump on a russian forum.
Good luck!


Thanks, I have searched it for 3 days...hope it works
vkjuju
DD-WRT Novice


Joined: 08 Nov 2012
Posts: 42

PostPosted: Mon May 19, 2014 16:08    Post subject: Reply with quote
Hi, dabyd64:

Yes, it works...my dir-615 e4 is back to the real world again,it saved me $20 ,haha

Thanks
Joe
vkjuju
DD-WRT Novice


Joined: 08 Nov 2012
Posts: 42

PostPosted: Mon May 19, 2014 16:22    Post subject: Reply with quote
btw: there's a ftp site called "cfe collection plan",why don't we have one for "flash collection plan" ?
dabyd64
DD-WRT User


Joined: 27 Sep 2011
Posts: 112

PostPosted: Mon May 19, 2014 20:10    Post subject: Reply with quote
Nice that it worked! Razz
vkjuju
DD-WRT Novice


Joined: 08 Nov 2012
Posts: 42

PostPosted: Tue May 20, 2014 13:18    Post subject: Reply with quote
dabyd64 wrote:
Nice that it worked! Razz

Yes, it worked like a charm,you saved me $20 Wink
TheDrive
DD-WRT Novice


Joined: 17 Aug 2015
Posts: 1

PostPosted: Tue Aug 18, 2015 3:55    Post subject: Reply with quote
http://dioptimizer.narod.ru/files/dir-615e4/dir-615-dd-wrt.bin
Link is dead
Thanks go to daby64 for an attachment!

You can find much various info, loaders, FW images, sources, dumps and particular partitions e.g nvram or atr and info how to recover your MAC address after full flashing here:

http://texnikk.blogspot.ru/2014/02/dir-615-e4-16m-flash-64m-ram-usb-mod.html

This page contains much info related to modding of DIR615E4 with 64MB RAM and/or 16MB NOR flash and all files you need for it.
But it is ONLY in RUSSIAN, sorry.
You can use translator (e.g. Google), hope it will be understandable enough. Also you can ask/comment in English there - English speakers visit this page.
However be patient, most of users there are experienced in electronics. Beginners should realize they can't simply buy chips for a 2 bucks and insert them to the ventilation hole - multipin chips should be soldered in place w/professional equipment and knowledge.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Hardware DIY / Hardware Mods All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum