EEPROM Programming - ST M29F400BB TSOP48 Package  Help Please!  - Page 1
Forum section: electronics / general

author: tblake05
author_rank: Contributor
timestamp: August 25, 2022, 07:28:43 pm
content: 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!!~Timhttp://pdf.datasheetcatalog.com/datasheet/SGSThomsonMicroelectronics/mXyxzsy.pdf

author: srb1954
author_rank: Super Contributor
timestamp: August 26, 2022, 06:15:46 am
content: 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.

author: tblake05
author_rank: Contributor
timestamp: August 26, 2022, 01:21:49 pm
content: Ugh, Thats what I was afraid of. I wonder how the manufacturers programmer can do it via usb.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: August 26, 2022, 02:21:52 pm
content: Quote from: tblake05 on August 26, 2022, 01:21:49 pmyes, for parallel flash like that, all of them.they probably have a bootloader in there so that the MCU can reprogram the flash via USBDesoldering and resoldering TSOPs is not that hard, and sockets are readily available.

author: tblake05
author_rank: Contributor
timestamp: August 26, 2022, 05:36:16 pm
content: Quote from: mikeselectricstuff on August 26, 2022, 02:21:52 pmYa 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)

author: tblake05
author_rank: Contributor
timestamp: August 26, 2022, 05:46:23 pm
content: Probably going to have to go back to my original plan of a top clip. Thanks guys!

author: wraper
author_rank: Unknown
timestamp: August 26, 2022, 05:46:32 pm
content: 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.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: August 26, 2022, 06:07:34 pm
content: Quote from: wraper on August 26, 2022, 05:46:32 pmAnd a top clip is going to be a lot less reliable than a TSOP socket.

author: wraper
author_rank: Unknown
timestamp: August 26, 2022, 06:12:28 pm
content: Quote from: mikeselectricstuff on August 26, 2022, 06:07:34 pmYes, SO-8 clips are already finicky to get all contacts connected. TSOP-48 should be on entirely different level.

author: tblake05
author_rank: Contributor
timestamp: August 26, 2022, 08:33:43 pm
content: 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_adapterThis is getting quite messy. Maybe I should find some junk boards are work on solding in desolding SMD chips.

author: YetAnotherTechie
author_rank: Regular Contributor
timestamp: August 30, 2022, 02:54:26 am
content: Quote from: tblake05 on August 26, 2022, 08:33:43 pmNo, 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!