Author Topic: Z8 Encore: How to read/write firmware  (Read 1366 times)

0 Members and 1 Guest are viewing this topic.

Offline sirtetTopic starter

  • Contributor
  • Posts: 21
  • Country: ch
Z8 Encore: How to read/write firmware
« on: May 14, 2022, 08:38:09 pm »
In one sentence:
To repair a broken device, i want to copy firmware from a Zilog micro (that is in a working example of the same device model) to a replacement micro.

More details:
I have 2 Dyson Airblade AB01 hand dryers... one is broken, the other one running.
The control Board is run by a Zilog Z8 Encore! Micro, Z8F082ASH020SG
That's the 20pin SOIC Version with 8k flash.
And it's dead, power rail shorted... (yes, the micro, nothing around it).
Now for repair, i want to find out if it's doable to copy the firmware to a replacement micro.
These  micro's have a one-pin debug interface and are in-cirquit flashable, says the Datasheet https://www.zilog.com/docs/z8encorexp/ps0228.pdf.

I am not too fluent at that stuff, so before i dig deeper, i want to ask if someone with experience on the Z8 Encore can give any advice.
 

Offline uer166

  • Super Contributor
  • ***
  • Posts: 1059
  • Country: us
Re: Z8 Encore: How to read/write firmware
« Reply #1 on: May 14, 2022, 11:18:30 pm »
Seems like the programmers are easily available and not even that expensive considering it's a pretty archaic chip: https://www.digikey.com/en/products/detail/zilog/ZUSBESC0200ZACG/15221474.

I'm sure this MCU has some code readout protection features, so you might be out of luck if Dyson locked the debug ports on the MCU. But if not, it's trivial to readout the flash from the working unit, and flash the newly installed MCU in the broken unit.
 

Offline sirtetTopic starter

  • Contributor
  • Posts: 21
  • Country: ch
Re: Z8 Encore: How to read/write firmware
« Reply #2 on: May 16, 2022, 07:49:57 pm »
Thanks. Yes, that's what i found too... Would be surprised if the FW isn't protected.
Hoped someone had more specific details before i try installing the IDE etc.

Now i found this,
https://www.mess.org/2018/02/10/Dumping-Z8-Encore-Z8F0811-Program-Memory/
which even discribes a way to get around the lock bits.
I am intrigued to try if i could get it to work, but i guess it's over my time budget.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf