Programming Flash memory

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all
I need to flash a winbond25x40 spi flash chip, I have a blackcatUSB version 1.7 SPI programmer, which can successfully read the chip, but then just corrupts the chip when it writes to it. (I have destroyed 3 chips so far)
Does anyone know of a better way to program one of these flash chips?
(The flash chip is on a camera module that I control with an atmega128rfa1)
Thanks
Phil

_________________________________

www.proficnc.com
_________________________________
Go Aussie Go!!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Corrupt or destroy? How can an SPI programmer destroy a flash chip?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This utility might assist:

http://rayer.g6.cz/programm/prog...

i have used it to program the serial boot flash for some wireless routers.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dksmall wrote:
Corrupt or destroy? How can an SPI programmer destroy a flash chip?

corrupt :)

_________________________________

www.proficnc.com
_________________________________
Go Aussie Go!!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well is the AVR side of the SPI interfering in some way?
I've used an Ardvark with good success.
http://www.totalphase.com/produc...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dksmall wrote:
Well is the AVR side of the SPI interfering in some way?
I've used an Ardvark with good success.
http://www.totalphase.com/produc...

I thought that after the first one, so then I tried separately away from the PCB

I'm trying Kartman's suggestion at the moment.....

BTW Kartman, check out the Melbourne freaks thread... BBQ Ahead..

_________________________________

www.proficnc.com
_________________________________
Go Aussie Go!!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Presumably the Winbond is connected to some CPU (AVR perhaps?) in circuit? Can you not just load either a "pass thru" programming program into that chip or perhaps one that even contains a complete binary image of what must be written to the SPI flash?

Faced with the same thin (AT45 connected to AVR) I just put an implementation of Xmodem-CRC into the AVR so a terminal program could be used to send the binary to be programmed (Y or Z modem would have been better!).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not directly unfortunately
The Avr talks to a CMOS sensor, which talks to the flash...
Thanks anyway :)

_________________________________

www.proficnc.com
_________________________________
Go Aussie Go!!!