Author Topic: Dim OLED Screen replacement for Agilent Keysight U1253A U1253B U1273A U1273AX  (Read 46513 times)

0 Members and 1 Guest are viewing this topic.

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6039
  • Country: es
Start reading few post back.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: onesystem

Offline fbpicsous

  • Newbie
  • Posts: 5
  • Country: be
Thanks a lot, we just saved 2x U1253B !
I buy "midas" oled:
https://midasdisplays.com/shop/oled/oled-graphic/mcot128064ey-ym/
Works great.

Unfortunately the capacitive measurement does not work anymore with the new firmware U1253B !???
(Both MM affected)
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6039
  • Country: es
Does it work again with unmodified fw?
Maybe the patch area was not empty after all, I could try relocating the code elsewhere.
« Last Edit: May 28, 2024, 07:36:03 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
I'm having trouble upgrading the firmware version of my U1253B (from 2.26 to 3.04). The screen keeps showing "D...." and the PC keeps repeatedly asking me to cycle the power of the multimeter to continue the upgrade process. I gave up after trying this dozens of times. Any suggestions?  |O

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6039
  • Country: es
Try official update first?
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: gamalot

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
Try official update first?

It was the official one.  :(

I actually tried every version I could get my hands on, the official 2.26 and 3.04, as well as the patched 3.04.
« Last Edit: June 01, 2024, 09:57:08 pm by gamalot »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6039
  • Country: es
Can't tell. Maybe bad cable driver? Depleted batteries?
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
Can't tell. Maybe bad cable driver? Depleted batteries?

I've tried the original U1173B and my DIY CH340 cable, but none of them worked.

Regarding the battery, I tried powering it with a bench power supply.
 
I also used the method you mentioned in post #33, but there was no visible change.

« Last Edit: June 01, 2024, 10:06:42 pm by gamalot »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6039
  • Country: es
Can't help, sorry.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
Can't help, sorry.

Thank you very much for your reply. Now the only hope left is whether it is possible to write the firmware directly through the Flash Utility.

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6039
  • Country: es
The screen keeps showing "D...." and the PC keeps repeatedly asking me to cycle the power of the multimeter to continue the upgrade process. I gave up after trying this dozens of times. Any suggestions?  |O
Are you sure the U1173B optical cable is working?
Try disabligng any other COM ports in the Device manager.
Also try changing the assigned port to COM2 or COM3, removing the cable and plugging it back afterwards.
Just to make sure, try with a USB 2.0 socket!

I also used the method you mentioned in post #33, but there was no visible change.
This is only to start the mcu into native bootloader mode.
It's totally unrelated to the Keysight bootloader the updater talks to.

Now the only hope left is whether it is possible to write the firmware directly through the Flash Utility.
Theorically yes, you could. But it's risky!
First, I would try only erasing block 127, then writing a ramdom 1KByte file to it.
If it fails, the bootloader will be still intact and enter update mode automatically.
Code: [Select]
python flash-util.py -e -b 127 -p COM3
python flash-util.py -f "1kb_file" -b 127 -p COM3


If it was able to erase and write that block, then you can try wiping the chip and writing the whole firmware.
You need to first convert the original file into the native binary with tool_U1253B_U1273A (Available here):
Code: [Select]
tool.exe firmware.AG firmware.bin

Then flash it:
Code: [Select]
python flash-util.py -e -p COM3
python flash-util.py -f firmware.bin -p COM3
« Last Edit: June 01, 2024, 11:23:36 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: gamalot

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
Thank you very much for such a detailed reply, I have double checked the cables and as mentioned I have also tried different cables and changed port numbers. I even found an old Thinkpad T410 laptop with only USB 2.0 and installed WIndows 7/8.1/10 operating system, etc., without success. That's why I said my last hope is to use Flash Tools to write the firmware, I'll try it soon and report back.

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
Pinout of ports on U1253B.

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
My CH340 based U1173B clone.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6039
  • Country: es
How does that clone compare to the official cable?
It seems nowhere close to me, looks like the original cable goes inside of the socket while yours is flat.



Pinout of ports on U1253B.

Just trace the same pins:
1. pin   50    P14/RxD6

2. pin   51    P13/TxD6

3. pins   18    EVSS,
            60    AVSS

4. pins   16    REGC,
            19    VDD,
            20    EVDD

5. pin   10    RESET (via 1K resistor)

6. pin   13    FLMD0
« Last Edit: June 02, 2024, 11:52:23 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1328
  • Country: au
  • Correct my English
    • Youtube
It works just as well as the original, maybe a little better, since the PL2303 converter that Keysight used in their cables is no longer supported by Windows 11.

One thing I thought of before trying to use the flash tool directly was to wire out the reset signal to a button, as I found that my U1253B didn't always have a reliable power-on reset.
« Last Edit: June 02, 2024, 12:27:30 pm by gamalot »
 

Offline onesystemTopic starter

  • Regular Contributor
  • *
  • Posts: 54
  • Country: us
When debugging my U1273AX after flashing wrong firmware onto it I did a reset of the chip by simply shorting two wires for a moment and that worked for me.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf