Testo Datalogger 175H1 - Firmware upgrade went wrong - Dead - Page 1
Forum section: electronics / repair

author: Sorama
author_rank: Frequent Contributor
timestamp: September 28, 2024, 05:18:53 pm
content: hi guys (and girls),So I succeeded in f*cking up a rather expensive datalogger (temperature and moisture) while upgrading it to new firmware.I did the firmware upgrade using a Windows VM within my MacOS and during the upgrade the virtual machine (VM) disconnected/lost connection (I think) and the display of the logger went blank and seems dead. Not a single reaction of the (single) button to light up the display.When restarting the software utility for firmware upgrade, this tool does not see the logger anymore (neither in pure Windows environment).As I am not into flashing/software/processors in general ( I used to repair audio for a few decades in the past century) I'm a bit lost in how to solve this.What could have happened? Bootloader gone?firmware wiped but no new version?What would be the purpose of that 10 pin header/connector?I did some basic measurement on the pcb and noticed than the xtal of the processor (a TI MSP430F5529, datasheet:https://www.ti.com/product/MSP430F5529) is not running, nor another small xtal.Included some pictures of the pcb ...logger is running on 3 * 1,5 V batteries (in series)Anyone out there to help me understand what happened, what are the chances to revive and how would that go?FYI, I have two other identical (running) loggers.Tnx

author: Sorama
author_rank: Frequent Contributor
timestamp: September 30, 2024, 02:15:52 pm
content: anyone?It seems there is no oscillation going on at the xtal.No ingoing, no outgoing, except for 1 time there was oscillation (at the right frequency of the xtal: 4MHz) but it came out of nowhere and a few minutes later disappeared ...I don't see how an interrupted firmware upgrade can break the oscillation.Vcore is ok I think (1,95V), DVCC1 and DVCC2 = 3VPUR = 0VVSSU = 0V

author: Jeroen3
author_rank: Super Contributor
timestamp: September 30, 2024, 02:24:51 pm
content: Chips often boot on internal oscillator.Since you've bricked the firmware, the external oscillator is never started.If there was no physical method to enter the bootloader, you may need to manually pull some pin up. Quick glance at the datasheet mentions PUR.Quote from:https://www.ti.com/lit/ds/symlink/msp430f5529.pdfHowever, they also mention a password...Quote from:https://www.ti.com/lit/ug/slau319af/slau319af.pdfIf erase was successful this is all FF.And you need a binary of course.

author: Sorama
author_rank: Frequent Contributor
timestamp: September 30, 2024, 02:43:04 pm
content: Quote from: Jeroen3 on September 30, 2024, 02:24:51 pmtnx.But how do you explain that the firmware updater nor the other software for reading the logger, don't see the device anymore when connecting though usb?even if the firmware is broken, the BSL is not and should be available to download new firmware, no?Even windows device manager doesn't see the connection of the usb device.How can I check/measure the processor is running?I do have the binary of the firmware, which is a txt file (see attach).It seems (at least, I think so) that there is a some file (BSL) for the bootlader to be uploaded first when doing firmware upgrade: see attachment.What about the header/female connector on the pcb??I followed the pins of this connector (why would this connector be there? ) and these are the pins (of the processor) that are available:processor pins:P1 + P39) A4P18 VCC1P71 TESTP74 TMSP72 TDOP73 TclockP23 TA0.1P22 TA0.0P75 TCKP76 RST

author: Jeroen3
author_rank: Super Contributor
timestamp: October 02, 2024, 10:02:08 am
content: If the original firmware is no longer available, the button "Set logger to usb load mode" doesn't work anymore and you need to set specific hardware pins to a defined state to enable the rom bootloader when the chip exits reset state.You can try the reference implementation of ti?:https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPBSL_Scripter/latest/index_FDS.html

author: Sorama
author_rank: Frequent Contributor
timestamp: October 24, 2024, 05:18:16 pm
content: Quote from: Jeroen3 on October 02, 2024, 10:02:08 amtnx to @Jeroen3 for this info.I went this route and ordered a cheap usb programmer for TI msp430 processors from olimex.com (Bulgaria).After reverse engineering the available processor pins at the 10 pins connector on the pcb of the datalogger and wiring them to the (also female) connector of the programmer, I was able to reinitialize the bootloader and flash the original firmware again to the datalogger.And behold...it's alive !I now got a 390€ datalogger extra.

author: Jeroen3
author_rank: Super Contributor
timestamp: October 28, 2024, 08:32:13 am
content: Great news!Funny that TI considers bootloader something you need a specialized adapter for.This one?https://www.olimex.com/Products/MSP430/BSL/MSP430-BSL/Quote from: Sorama on October 24, 2024, 05:18:16 pmSuch is life.