Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial to flash SPI chips with Parallel(LPT1) port
mohsin0012 Offline
Junior Member
**

Posts: 16
Threads: 4
Joined: Jan 2015
Reputation: 0
#1
Tutorial to flash SPI chips with Parallel(LPT1) port
I recently got my hands on a Ambit 256 which has a SPI flash and I wanted to flash it but didn't have access to USBJTAGNT, so I looked around to see what other options do I have, after doing a research i came up with this great piece of software called SPIPGM.

This software works with majority of SPI chips, including BIOS, modems like ambit 256, SB5101/n/u and many more


.zip   spipgm.zip (Size: 131.98 KB / Downloads: 424)

COMMANDS FOR SPIPGM

SPIPGM is a dos based application so first

Go to run and type cmd

type cd.. until you are at c:

now locate the spipgm folder (for example, C:\spipgm)

Identify the chip by using

spipgmw -i

if it doesn't detect the chip, check your connection.

Unlock the flash

spipgmw -u

Erase the whole flash

spipgmw -e

Make backup of the whole flash

spipgmw -d c:\xxx.bin

Write the bin file to the flash

spipgmw -p c:\xxxxxxx.bin (give the correct address to your bin file)

Verify the newly flashed bin with the bin file to make sure the write was successful

spipgmw- v c:\xxxxxxx.bin

Verification is important, when you are dumping a flash or writing a new bin to the chip. Also make sure to erase the flash before writing new bin to it.

You only need 4 resistor and a parallel port connector and a good soldering skills. You will have to lift the chip off the board in order to make this work. I haven't tried flashing it with the chip on board. Here is the schematic.

   

Just make sure to use thin and small wires, otherwise data will keep getting corrupt. Try to get some old IDE cable, they are easy to solder and perfect for this hack.

Always use a capacitor. 5v 10uf or any capacitor with 5v ratings.

Always make sure that the connection is according to the schematic.

To get the 3.3v I simply stripped the orange wire from my pc power supply. If you have a multimeter, you can check if you have the right voltage.

I guess that's pretty much it. ENjoy!!
(This post was last modified: 26-01-2015, 08:45 AM by mohsin0012.)
26-01-2015, 08:30 AM
Find Reply
jack600i Offline
Newbie
*

Posts: 1
Threads: 0
Joined: Nov 2010
Reputation: 0
#2
RE: Tutorial to flash SPI chips with Parallel(LPT1) port
Can this method flash SB6121? theoretical?

I flash SB5101 through PJTAG before, not sure on SB6121.
(This post was last modified: 09-02-2015, 02:59 PM by jack600i.)
09-02-2015, 02:55 PM
Find Reply
drewmerc Offline
Prefect
******

Posts: 3,899
Threads: 18
Joined: Oct 2008
Reputation: 157
#3
RE: Tutorial to flash SPI chips with Parallel(LPT1) port
it'll work yes but really not worth the time and effort, a cheap spi flasher is only a few bucks on ebay and read/writes in minutes not hours
__________________________________________________________________________________
******new discord chat link https://discord.gg/5BQQbsb*******
09-02-2015, 09:30 PM
Website Find Reply
mohsin0012 Offline
Junior Member
**

Posts: 16
Threads: 4
Joined: Jan 2015
Reputation: 0
#4
RE: Tutorial to flash SPI chips with Parallel(LPT1) port
Yes, it's cheap. It took me two minutes to flash 2MB on MX SPI flash. It's not working as a JTAG but as a SPI flashes, so it's really fast!
09-02-2015, 11:16 PM
Find Reply
Bruiser Offline
Senior Member
****

Posts: 109
Threads: 7
Joined: Jun 2011
Reputation: 4
#5
RE: Tutorial to flash SPI chips with Parallel(LPT1) port
So there are some cheap USB flashers on ebay as Drewmerc says.
How do I know the one I am looking at there will work?
Some of the sellers link software called AVR Studio from ATMEL.
http://www.atmel.com/Images/avrstudio4setup.exe

eBay item number:
261059205249
$12.99 free shipping from Hong Kong.

The same seller
eBay item number:
261068485925
$14.40 free shipping from Hong Kong. Has two cables instead of one.

Will either of those work for this purpose, which in my case is to put forceware on an SB6121?

This one has a case, but not sure if this will work
eBay item number:
360766454442

If I search for spi flash programmer on ebay I get different results, nothing that looks like the product from USBJTAG.

So what should I order? This is certainly confusing.
I have only used parallel JTAG for SB5101s and the like.

There is also a USB programmer called Blackcat, which I used software labeled Blackcat years ago with a parallel JTAG. This ebay seller
eBay item number:
271428435482

Says SPI flasher, will this work for me? Better, same or different than the ones above?

Thanks in advance.
(This post was last modified: 10-02-2015, 11:31 PM by Bruiser.)
10-02-2015, 11:05 PM
Find Reply
Bruiser Offline
Senior Member
****

Posts: 109
Threads: 7
Joined: Jun 2011
Reputation: 4
#6
RE: Tutorial to flash SPI chips with Parallel(LPT1) port
Come to think of it, I do already have a USB SPI programmer, very similar (same chips) as this one:
http://www.ebay.com/itm/AVR-USB-JTAG-emu...1068485925

It is installed and in device manager it is a
Prolific USB to Serial Comm Port

I installed the avrstudio from Atmel, but it says it's not able to find the board, (I have no flash chip connected to flash at this time).

So what should I do? This parallel flashing post is really great, but I haven't found anything like that to go by with the USB Jtag SPI flasher I have on hand.
11-02-2015, 07:35 PM
Find Reply
dvrocks7 Offline
Haxorware Enthusiast
***

Posts: 20
Threads: 4
Joined: May 2012
Reputation: 0
#7
RE: Tutorial to flash SPI chips with Parallel(LPT1) port
I got a new SB5101u and also have a blackcat usb jtag. Anybody can help me how to flash it with haxorware.
28-02-2015, 11:31 AM
Find Reply
jamin Offline
Newbie
*

Posts: 1
Threads: 0
Joined: Dec 2015
Reputation: 0
#8
Thumbs Up  RE: Tutorial to flash SPI chips with Parallel(LPT1) port
Hi, which windows did you have used....
31-12-2015, 02:23 AM
Find Reply
GeneralTiger Offline
Newbie
*

Posts: 1
Threads: 0
Joined: Jul 2019
Reputation: 0
#9
RE: Tutorial to flash SPI chips with Parallel(LPT1) port
A complete system chip consists of two parts, hardware and software, which are used to control the hardware part of the controller, microprocessor or digital signal processor core as well as external devices and interfaces. The design process of the system chip is mainly the design of its hardware and software.
Since the integration of system chips has reached millions of gates, engineers must adopt reusable design ideas whenever possible. Most of the SoCs use pre-defined semiconductor intellectual property cores (IP cores, including soft cores, hard cores, and solid cores) to achieve rapid design in a reusable design.
Allicdata can find something similar:  https://www.allicdata.com/list.html?category_id=2149  Blush
09-07-2019, 09:03 AM
Find Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)