OpenWrt Forum Archive

Topic: Read and write your flash chip without de-soldering

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

https://www.youtube.com/watch?v=wUWroks_Rd0
https://scontent-sit4-1.xx.fbcdn.net/t31.0-8/13268586_1219483984743100_7159948060369287985_o.jpg
This simple tool can be used for the online in-circuit sop8 -dip8 adapter, it is used for a sop8 chip programming that has been soldered on circuit board, it can online programming the sop8 chip, do not need take the chip of the circuit board, so it can save your time.

(Last edited by chiakhoavang.vn on 23 May 2016, 07:39)

This looks handy. What about interference from other components on PCB while flashing?

StratoSnn wrote:

This looks handy. What about interference from other components on PCB while flashing?

let me try with the programmer and revert later

This is really not recommended approach.

With this approach you are powering up not only FLASH chip, but also other components on board (SOC, LEDs, memory...), which are powered from the same VCC line (I expect that your FLASH programmer could not be able to provide enough current). Plus, you are providing voltage on some LDO (or DC/DC) output pin... if you accidentally provide also power from regular input, it may end up with smoke.

You should be also aware that QC/A WiSoC chips don't have 3-state I/O (they don't have HiZ state).

Hi pepe2k

Since you understand the flash, I have question, can I copy mtd5 to a file and then write it to another router instead of flash the firmware?

U-Boot modification for routers: github.com/pepe2k/u-boot_mod
My blog: www.tech-blog.pl
My photo gallery: galeria.tech-blog.pl


Thank you for sharing

(Last edited by chiakhoavang.vn on 23 May 2016, 14:27)

chiakhoavang.vn wrote:

Hi pepe2k

Since you understand the flash, I have question, can I copy mtd5 to a file and then write it to another router instead of flash the firmware?

And what kind of data is in your mtd5?

pepe2k wrote:
chiakhoavang.vn wrote:

Hi pepe2k

Since you understand the flash, I have question, can I copy mtd5 to a file and then write it to another router instead of flash the firmware?

And what kind of data is in your mtd5?

I think it is firmware, I donot have original flash file so I need to copy it from md5
I have this WDR6500 V5 looking for way to flash it with OpenWrt but need to copy it original flash first in case I brick it
https://www.youtube.com/watch?v=VZ0Vh6cLKEM

(Last edited by chiakhoavang.vn on 23 May 2016, 16:07)

BTW, do you think this uboot from China is useable? I want to try it some time

http://www.minihere.com/wp-content/uploads/2015/12/Breed-Web.png

(Last edited by chiakhoavang.vn on 24 May 2016, 03:52)

which hardware supports this type of flashing? tried 3 different devices and couldn't read any of them with this thing.

chiakhoavang.vn wrote:
pepe2k wrote:
chiakhoavang.vn wrote:

Hi pepe2k

Since you understand the flash, I have question, can I copy mtd5 to a file and then write it to another router instead of flash the firmware?

And what kind of data is in your mtd5?

I think it is firmware, I donot have original flash file so I need to copy it from md5
I have this WDR6500 V5 looking for way to flash it with OpenWrt but need to copy it original flash first in case I brick it
https://www.youtube.com/watch?v=VZ0Vh6cLKEM

Sorry, but I have no idea what you want to achieve. If you want to make backup of the FLASH content, you should be able to do it inside the system if you have access there. If not, then you should remove FLASH from board and make whole chip dump in some FLASH chip programmer.

I want to copy firmware from WDR4300 uboot using serial console without loging in openwrt my admin account have no power, maybe some body changed its rights.

(Last edited by chiakhoavang.vn on 24 May 2016, 03:48)

freewifimarketing.net wrote:

Tools to read TP-LINK TL-WDR4300ND router flash chip without desoldering from board https://www.youtube.com/watch?v=ugouZ5rNyV8

Again, really bad approach.

freewifimarketing.net wrote:

Tools to read TP-LINK TL-WDR4300ND router flash chip without desoldering from board https://www.youtube.com/watch?v=ugouZ5rNyV8

i've already told you this won't work with some devices, for example TL-MR13U and GL-AR150..

maybe i should add that it's not required to desolder whole chip but is enough to disconnect 3.3V pin from board. then it possible to read/write spi

anarchy99 wrote:

maybe i should add that it's not required to desolder whole chip but is enough to disconnect 3.3V pin from board. then it possible to read/write spi

With this you are powering SoC from SPI I/O pins...

do you think a better alternative would be disconnecting GND pin? or the SoC would still get powered?

anarchy99 wrote:

do you think a better alternative would be disconnecting GND pin? or the SoC would still get powered?

For those SOCs the only and proper way is to desolder FLASH chip from board or use JTAG.

pepe2k wrote:
anarchy99 wrote:

do you think a better alternative would be disconnecting GND pin? or the SoC would still get powered?

For those SOCs the only and proper way is to desolder FLASH chip from board or use JTAG.

proper maybe, but not the only way. a hw switch to keep CPU in reset might also do the trick.

The discussion might have continued from here.