Tektronix MDO4104-6 Front Panel Microcontroller Failure - Page 1
Forum section: electronics / repair

author: joebot5
author_rank: Contributor
timestamp: May 03, 2022, 02:55:12 am
content: Hello,My front panel PCB on my MDO4104-6 scope was not responding to push button presses nor knob turns. My oscilloscope automatically was powering up when AC power was applied. The oscilloscope does boot up and channel 1 does appear. However, I can't adjust settings due to the front panel not working. Some of the front panel LEDs were on at random boot times. I can connect to the oscilloscope through OpenChoice with no issues. I've tried updating the firmware to the 3.18 version (last version to be made) but the front panel was still not functioning. I then ordered a replacement microcontroller for the front panel PCB and soldered on a new part. Now the oscilloscope won't power on (as expected since it controls the remote signal to the power supply). I forced the power supply to turn on when AC is applied by shorting the remote jumper header on the power supply. The oscilloscope boots up but no LEDs are on and no buttons work on the front panel. This is to be expected since the microcontroller is blank with no program to run. I would like to know if there is a way to reprogram the microcontroller on the front panel PCB. I don't see any information on firmware other than the 3.18 version that I don't think updates the software on the front panel PCB, but I could be wrong. Also, when I try the USB stick with 3.18 firmware, my oscilloscope won't try to update because it detects that the oscilloscope already has this firmware. I did place a TXT file named "forceinstall.txt" and this does force an install of the firmware, but the front panel still is dead. I did check with an ohm meter my soldering of the microcontroller to the PCB and from pad to pad to confirm no solder bridges. I ended up trying the LOCK command using the OpenChoice software tool to see if the main processor is preventing a firmware update to the microcontroller. I ran the command and forced the install with no luck.Does anyone know of how to program the front panel PCB directly? I'm assuming that the firmware for the front panel is not public knowledge. When I reached out to Tektronix directly they stated that it would cost me +$5K and it may not work after they try fixing it.Thanks

author: Jwalling
author_rank: Unknown
timestamp: May 03, 2022, 08:34:40 am
content: Will Tek sell the board?

author: mikehank
author_rank: Regular Contributor
timestamp: May 06, 2022, 09:49:46 pm
content: Hello joebot5,The front panel microcontroller U302(I think) is a programmed part. Without the flashed program it will do nothing. When the scope FW is updated it checks for the latest code in the front panel controller and will update if needed. If the boot sequence does not see the program in U302 the scope will not boot.As to a fix, find another MDO4k pull the chip and save a copy of it with prom burner. Then burn that program into your new chip.Sorry it isn't easier....

author: joebot5
author_rank: Contributor
timestamp: May 08, 2022, 12:16:50 pm
content: Hi Jwalling - Tek replied with saying they can try repairing the scope but the cost would be ~$5k and it may not work. They didn't offer selling me the front panel PCB. Thanks for the suggestion!

author: joebot5
author_rank: Contributor
timestamp: May 08, 2022, 01:20:34 pm
content: Hi mikehank - thanks for your response. That is a good idea - i just need to get a working MDO4K at least a working front panel. If anyone knows of one available out on the web that would be appreciated.

author: mikehank
author_rank: Regular Contributor
timestamp: May 09, 2022, 09:57:35 pm
content: There is a company here in Oregon that has these parts and can program them. The name is Norway Labs you maybe able to have them sell you a programed microcontroller.

author: joebot5
author_rank: Contributor
timestamp: May 13, 2022, 11:40:22 am
content: Thanks mikehank! I'll reach out to them and see what they say!

author: voltsandjolts
author_rank: Unknown
timestamp: May 13, 2022, 12:34:03 pm
content: Installing new scope firmware might install firmware on the front panel mcu.However, it would likely require that mcu to be functional and able to run some kind of bootloader code on command.Those mcu's are gonna be copy protected, so copying firmware from a functional mcu to your blank mcu is a no go.Tek won't give you a hex file to program a blank micro.If the scope firmware includes the front panel mcu firmware, someone very smart might be able to extract it.IMHO you are screwed, and you need a replacement front panel.

author: voltsandjolts
author_rank: Unknown
timestamp: May 13, 2022, 12:35:38 pm
content: What type of mcu is it?

author: mikehank
author_rank: Regular Contributor
timestamp: May 13, 2022, 03:12:01 pm
content: Hello,The front panel controller is not copy protected. I have burned images into this processor and fixed front panels many times. Without the front panel working correctly the boot sequence will hang. The micro controller is on the I2C bus and when not happy the bus hangs.

author: joebot5
author_rank: Contributor
timestamp: May 13, 2022, 06:41:44 pm
content: interestingly enough, my scope does boot up all the way after about 1min 30sec. i do have the power supply forced on through the remote on jumper on the power supply. i can get to the screen where it says the scope hasn't been compensated. this screen showed up after i used the "forceinstall.txt" method to force an install of an earlier version of the firmware, thinking that maybe an earlier version could install to the micro but that didn't work. thanks everyone for your thoughts and options!

author: joebot5
author_rank: Contributor
timestamp: May 13, 2022, 07:02:49 pm
content: i just got off the phone with Norway Labs and the price they quoted is almost the cost that tektronix quoted for their repair efforts, a bit under nevertheless. i might just try going back to the drawing board on this one unless i can justify the expense. thanks everyone!

author: feedback.loop
author_rank: Frequent Contributor
timestamp: May 14, 2022, 03:08:53 am
content: Quote from: mikehank on May 13, 2022, 03:12:01 pmCould you share the image please?

author: joebot5
author_rank: Contributor
timestamp: May 16, 2022, 08:08:20 pm
content: hi mikehank - does the image have to specifically be from an mdo4104-6 or can a similar model work? just trying to keep options open if possible since mdo4104-6 models that are used are still fairly expensive, at least to me

author: mikehank
author_rank: Regular Contributor
timestamp: May 16, 2022, 08:56:29 pm
content: Hello joebot5,Any MDO4K will work. A MSO/DPO will not work due to the keypad functionality. Also MDO4KB, or MSO4KC will not work. I would send you the program image but I don't have one.

author: joebot5
author_rank: Contributor
timestamp: May 17, 2022, 04:26:59 am
content: Thanks mikehank! That would make sense. I'll definitely keep my eyes open for an MDO4K scope, or at least someone who might have one. If someone on this forum would be willing to extracting the image from the front panel micro please let me know.hi mikehank - do you know of a website perhaps that gives the process of extracting the image off of these chips? The microcontroller is a nxp MC9S08AW60. I'm assuming it would be connecting to the front panel pcb jtag header with a programmer such as the recommended one from nxp:https://www.nxp.com/products/power-management/motor-and-solenoid-drivers/powertrain-and-engine-control/universal-multilink-development-interface:UMultilinkThen in a tool such as MCUXpresso i could then read the memory on the chip and copy that as a hex file for later installation?Thanks!

author: EEVblog
author_rank: Unknown
timestamp: May 17, 2022, 06:14:48 am
content: Quote from: joebot5 on May 13, 2022, 07:02:49 pm$5k to repair this is nuts.Surely there is someone out there with an MDO4000 who wants to make a quick buck by copying the chip?

author: Jwalling
author_rank: Unknown
timestamp: May 17, 2022, 08:41:04 am
content: Quote from: joebot5 on May 08, 2022, 12:16:50 pmThey won't "offer" selling you one.Have you tried going here:https://www.tek.com/en/buy/request-parts-informationand submitting a request?Part # is 878-0388-01

author: joebot5
author_rank: Contributor
timestamp: May 17, 2022, 10:44:48 am
content: Thanks Jwalling! I have not tried that avenue but I just put in a request. I'll let everyone know how it goes.

author: joebot5
author_rank: Contributor
timestamp: May 18, 2022, 12:12:56 pm
content: Hi everyone - I emailed my local rep for Tektronix and here is what he said:"I checked with the factory and found that the front panel board for the original MDO4000 scopes is no longer available. Those scopes were discontinued almost 10 years ago."If anyone does have an MDO4104-6 or an MDO4000 series scope (no B or C at the end) it would be great to work with you on getting the image off of the front panel PCB. Feel free to reach out to me on this forum.

author: joebot5
author_rank: Contributor
timestamp: July 30, 2024, 02:23:09 am
content: Hi all - I'm resurrecting this posting as I still have not found a solution to this problem. The micro has been replaced with a new one, but the firmware isn't available from what I can tell. Does anyone have thoughts on how to resolve this? Thanks!

author: dbator
author_rank: Contributor
timestamp: August 07, 2024, 04:08:11 pm
content: Hi all,Quote from: mikehank on May 13, 2022, 03:12:01 pmyes, that's true, FLASH and NVRAM protection registers (at least in my case) are set to 1 (no Read protection). Please be patient and do not spend money for front panel repair costs or for anything else as I am already working on a solution. All the details and eventual questions will be provided as soon as it's possible.

author: dbator
author_rank: Contributor
timestamp: September 01, 2024, 02:57:26 pm
content: Hello,First, you made a mistake - you replaced the MCU too hastily. The removed one may be functional because the type of microcontrollers do not fail just so easy. If you did not heat it too much while removing I suggest you to keep it for future needs. Since the currently mounted MCU is new (hopefully exactly the same and still an original, since they are obsolete), you probably have only one option left and that is, program the MCU using a programmer and software of your choice. I recommend dedicated hardware and software (PE Micro and CodeWarrior IDE v6.3), but I am aware it is not cheap. There are open source programming devices/debuggers and software like USBDM, but I did not use them so I can't confirm they are fully compatible. There may be other hardware and software which may work, but in that case it is up to you. Any not officially dedicated hardware and software may be not completely compatible causing problems, so you will be using them on your own risk.I attached S-record file extracted from the firmware package for MDO4000 series. The file is called as usually, route66_fp.s19. If a software and programming device you will be using does not accept S-record files you have to convert it. There are apparently dedicated applications for such conversions. I did never found any and did not use any at all. It is possible to manually convert the S-record file to hex of course, but it's time consuming to convert each line of the script.Note, in case of your model there is also a file called route66b_fe.s19 I have no idea what is the purpose of the file. There may be a second HCS08 MCU (maybe on the acquisition board) in your case for which the program is desired. Or there are just two files and the right one is used depending of an unknown factor at the moment of knowledge I have. One thing is sure, the script lines in both files indicate exactly the same FLASH address range.Maybe there is someone who has the knowledge. Since I do not own a MDO4000 series scope, I can't investigate it. Maybe you will be the one who figures it out. That's why I advice you to read debug console output first. You will see if the master CPU attempts to re-program the front panel MCU and there should be file name listed. I bet it's route66_fp.s19 though.I am asking you to upload here the backed up program because I am curious of its content.Should you have problems obtaining proper hardware and software or at re-programming of the MCU, I could try to re-program it for free if shipping cost to Europe and back would be not a problem for you. I trust only, it will be electrically checked first (checked for shorts, supply voltage rails, EXTAL of MCU etc.). Normally there are of course customs charges, but I know if something is sent for repair and you inform customs it will be returned to you let's say within a month (a guess), they should not charge as usually or not at all.It's a bit complicated though and there are additional shipping costs, so I suggest you to try to manage it by yourself first.I attached route66_fp.s19 and route66b_fe.s19 files extracted from the firmware package. I added *.txt extension to be able to upload the files here. You have to remove them in order to use them.More information and everything what I went through while investigating issue on my front panel is written under my thread there, which I recommend you to read:https://www.eevblog.com/forum/repair/tektronix-mso4054-no-boot-not-working-front-panel/msg5626077/#msg5626077If there are any questions, please feel free to ask. My setup is still not disconnected in case you have any questions and you want me to check something for you.Good luck!