Author Topic: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!  (Read 1464 times)

0 Members and 1 Guest are viewing this topic.

Offline tblake05Topic starter

  • Contributor
  • Posts: 20
  • Country: us
Hi all,

I'm back again to ask another silly question.  Hopefully in the correct forum, if not MODS please move it.

I have basic knowledge of electronics and EEPROM programming and such.  I've got a tl866 programmer which says its compatible with the ST M29F400BB.

My dilemma, I've got 2 vending machine control boards with out dated firmware that isn't compatible with credit card readers.

I've also got some of the exact same boards that are compatible because they were sent to the manufacturer for updating.  In fact the manufacturer used to sell a kit that would install via USB to program your own boards while at the machine on location.  That kit unfortunately is no longer available.  And the company is back logged for repairs.... yadda yadda yadda.  Normal.

You get where I'm going with this.  I want to extract the updated firmware from one board and flash it to the others...

I don't want to desolder the chips due to risk of damage to the boards (actually I'm great at old school through hole soldering, but only done surface mount a few times so complete beginner)

I've seen the surface clips for tsop48 chips and flashcat all that.  I honestly don't think I would have enough room for a surface clip anyway with the other components in the way.

My question though, is there anyone who may look at the data sheet and help me figure out the bare minimum connections between my tl866 and the chip I need to connect to flash and extract data?  As I'd like to just temporarily solder to convenient points on my boards and remove them when I'm done.

I've linked to the datasheet.

Thanks All!!

~Tim

http://pdf.datasheetcatalog.com/datasheet/SGSThomsonMicroelectronics/mXyxzsy.pdf


 

Offline srb1954

  • Super Contributor
  • ***
  • Posts: 1112
  • Country: nz
  • Retired Electronics Design Engineer
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #1 on: August 26, 2022, 06:15:46 am »
Nearly all of the pins except those marked NC.

Depending on the circuit configuration in the target board there may be a couple of mode setting pins that don't need to be connected to the programmer but, in total, you are going to need more than 40 wires, which won't be fun soldering to a TSOP48 package.
 

Offline tblake05Topic starter

  • Contributor
  • Posts: 20
  • Country: us
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #2 on: August 26, 2022, 01:21:49 pm »
Ugh, Thats what I was afraid of.  I wonder how the manufacturers programmer can do it via usb.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14017
  • Country: gb
    • Mike's Electric Stuff
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #3 on: August 26, 2022, 02:21:52 pm »
Ugh, Thats what I was afraid of.  I wonder how the manufacturers programmer can do it via usb.
yes, for parallel flash like that,  all of them.
they probably have a bootloader in there so that the MCU can reprogram the flash via USB

Desoldering and resoldering TSOPs is not that hard, and sockets are readily available.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline tblake05Topic starter

  • Contributor
  • Posts: 20
  • Country: us
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #4 on: August 26, 2022, 05:36:16 pm »
......Desoldering and resoldering TSOPs is not that hard,......

Ya for a pro!  Which I am not.  I know it's hard to believe, but I'll be the first one on the internet to admit I'm not a pro at something.  (only guilty man in shawshank)
 

Offline tblake05Topic starter

  • Contributor
  • Posts: 20
  • Country: us
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #5 on: August 26, 2022, 05:46:23 pm »
Probably going to have to go back to my original plan of a top clip.  Thanks guys!
 

Offline wraper

  • Supporter
  • ****
  • Posts: 17666
  • Country: lv
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #6 on: August 26, 2022, 05:46:32 pm »
It's really unlikely you will be able to program it in circuit. At best it can be possible if you held the chip that is connected to FLASH in reset state and supply additional power to the whole of the circuit because programmer is unlikely to be able to power it all. Even if you disconnect FLASH power pin, circuit will pull data pins low through protection diodes.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14017
  • Country: gb
    • Mike's Electric Stuff
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #7 on: August 26, 2022, 06:07:34 pm »
It's really unlikely you will be able to program it in circuit. At best it can be possible if you held the chip that is connected to FLASH in reset state and supply additional power to the whole of the circuit because programmer is unlikely to be able to power it all. Even if you disconnect FLASH power pin, circuit will pull data pins low through protection diodes.
And a top clip is going to be a lot less reliable than a TSOP socket.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline wraper

  • Supporter
  • ****
  • Posts: 17666
  • Country: lv
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #8 on: August 26, 2022, 06:12:28 pm »
It's really unlikely you will be able to program it in circuit. At best it can be possible if you held the chip that is connected to FLASH in reset state and supply additional power to the whole of the circuit because programmer is unlikely to be able to power it all. Even if you disconnect FLASH power pin, circuit will pull data pins low through protection diodes.
And a top clip is going to be a lot less reliable than a TSOP socket.
Yes, SO-8 clips are already finicky to get all contacts connected. TSOP-48 should be on entirely different level.
 

Offline tblake05Topic starter

  • Contributor
  • Posts: 20
  • Country: us
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #9 on: August 26, 2022, 08:33:43 pm »
Is it worth a shot to do it in circuit?

Anyone familiar with the tl866 mini- pro?

Here's a schematic of the tl866 to tsop48 chip.  Looks like I would need a few additional parts.  And what the heck is the ATtiny13A-SSU in the upper left corner.

https://proghq.org/wiki/index.php/TL866_TSOP48_adapter

This is getting quite messy.  Maybe I should find some junk boards are work on solding in desolding SMD chips.
 

Offline YetAnotherTechie

  • Regular Contributor
  • *
  • Posts: 223
  • Country: pt
Re: EEPROM Programming - ST M29F400BB TSOP48 Package Help Please!
« Reply #10 on: August 30, 2022, 02:54:26 am »
Is it worth a shot to do it in circuit?

Anyone familiar with the tl866 mini- pro?

Here's a schematic of the tl866 to tsop48 chip.  Looks like I would need a few additional parts.  And what the heck is the ATtiny13A-SSU in the upper left corner.

https://proghq.org/wiki/index.php/TL866_TSOP48_adapter

This is getting quite messy.  Maybe I should find some junk boards are work on solding in desolding SMD chips.

No, it's not worth a shot, i tried with that chip and a tl866, using a console hacking socket, (they are reversed and plug on top of the chip without desoldering), the connection is not reliable, and the tl866 can't drive all the lines and their parasitics reliably. Also, you would need to find a way to keep the main cpu in reset. It's a hundred times easier/safer and faster to just desolder the chip and read it. I regret all the hours i wasted trying to do it without removing the chip!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf