Dangerous Prototypes

Dangerous Prototypes => Bus Blaster JTAG debugger => Topic started by: emusic on March 22, 2015, 02:04:06 pm

Title: BB v3c and in-circuit SPI flash programming
Post by: emusic on March 22, 2015, 02:04:06 pm
Just tried to in-circuit read/write MX25L3206E flash in small "MIFI" router (http://http://my-embedded.blogspot.ru/2014/01/mini-usb-portable-3g4g-router-rt5350f.html)

Connected BB v3c to the IC using a clip (http://http://www.aliexpress.com/snapshot/6498492895.html?orderId=65817707550829) with a short DIP-to-SPI cable.

Unfortunately, works very unreliably because CS and SCLK lines of the IC are hardly pulled up and BB due to its output buffer resistors cannot pull them down to the ground (resulting voltage is 2-2.5 V).

Using AsProgrammer (http://http://forum.easyelectronics.ru/viewtopic.php?f=17&t=10947) (a Russian tool) and USBASP (http://http://www.fischl.de/usbasp/) flashed with special AsProgrammer firmware, was able to read/write the IC in-circuit. But AsProgrammer is extremely slow (9 min to read 4MB flash, 25 min to erase-write-verify).

So added two 2N3906 emitter followers to CS/SCLK (200-Ohm resistors from TMS/TCK to bases) and now it works fine and reliably with BB/flashrom, starting from clock divisor 8 (2..4 are unreliable). Less than a minute for full 4MB flash read.
Title: Re: BB v3c and in-circuit SPI flash programming
Post by: maxxproff on August 04, 2017, 01:51:34 am
[quote author="emusic"]...Using AsProgrammer (a Russian tool) and USBASP flashed with special AsProgrammer firmware, was able to read/write the IC in-circuit. But AsProgrammer is extremely slow (9 min to read 4MB flash, 25 min to erase-write-verify)...[/quote]
Maybe it was because "slow sck" jumper ON.
If "slow sck" jumper OFF, then AsProgrammer works with medium speed.
Title: Re: BB v3c and in-circuit SPI flash programming
Post by: emusic on August 08, 2017, 07:15:08 am
[quote author="maxxproff"]Maybe it was because "slow sck" jumper ON. [/quote]
No, I never soldered JP3.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00922059928session_write_close ( )...(null):0
20.00952191520ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00952192296Database_MySQL->query( ).../DatabaseHandler.php:119
40.05562331032Database_MySQL->error( ).../Db-mysql.class.php:273