2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner
101 - 120 of 319 Posts
Looking for help... I had a failed fw upgrade from 55 to v70 when it was interrupted. Screen was black. I flashed the chip by changing the value at 0x010000 to 00. I am now getting a 'System Failure' message when car is first turned on. It will validate the v70.0.100A package but does not install and goes into a bootloop with 'System Failure' message. Is there a way I can start the fw upgrade from the beginning? One of the links here mentions corrupting the NAND flash to start the install process from the beginning. Has anyone tried this?

Furthermore, reading through some links, I replaced HEX values from an old failsafe.up firmware for the bootloader, ibc2, and fail-safe in an effort for the system to boot to the old firmware without resuming the update but I'm not sure the process of flashing that to the chip. I am pretty confident I am on version cmu150_NA_55.00.760A as this was the CMU data that was retrieved when I had AIO tweaks installed.

Not sure where to go from here, if I'm getting the resume failsafe installation message when I turn on the car then wouldn't it make sense that I am able to resume that update if I have both cmu150_NA_70.00.100A .UP files on my usb?
@jawofglass have you try going first to fw59.00.502 (fail-safe and reinstall installation package files) from fw55 instead of straight to fw70?

Also when you clipped the chip did you backup your fw55 bootloader after modified bootloader? Have your try resinstall fw55 (fail-safe and reinstall installation package files) again at the failed installation menu to insert usb with fw only to fix the issue?

If successfull Install id7 and upgrade to fw59.00.502 then to fw70.00.100. Report back your results.
 
@jawofglass have you try going first to fw59.00.502 (fail-safe and reinstall installation package files) from fw55 instead of straight to fw70?

Also when you clipped the chip did you backup your fw55 bootloader after modified bootloader? Have your try resinstall fw55 (fail-safe and reinstall installation package files) at the failed installation menu to insert usb with fw only?

(Install id7) and upgrade to fw59.00.502 then to fw70.00.100.
Going to v59.00.52 puts it into the same bootloop. It will try to validate v59 update files but then goes back to System Failure message. Same for current fw of v55. I think it is trying to resume from failed v70 installation which is causing it to restart? I did not backup my chip.

How do I go about id7? I am not sure how to update via serial connection. What is the process for starting the update during serial connection?
 
Going to v59.00.52 puts it into the same bootloop. It will try to validate v59 update files but then goes back to System Failure message. Same for current fw of v55. I think it is trying to resume from failed v70 installation which is causing it to restart? I did not backup my chip.

How do I go about id7? I am not sure how to update via serial connection. What is the process for starting the update during serial connection?
@jawofglass i would suggest you to reflash the nor chip again.
1. Read chip, erase chip, load (mod file from mazda bricked cmu youtube video refer to description) write to the chip and verifying it, make sure chip, clip are in correct orientation else it'll not read/erase/write properly. Then only have fw70.00.100 2 X files (fail-safe and reinstall installation package) nothing else connected. No Bluetooth devices, no navi sdcard etc. Report back.
 
@jawofglass i would suggest you to reflash the nor chip again.
1. Read chip, erase chip, load (mod file from mazda bricked cmu youtube video refer to description) write to the chip and verifying it, make sure chip, clip are in correct orientation else it'll not read/erase/write properly. Then only have fw70.00.100 2 X files (fail-safe and reinstall installation package) nothing else connected. No Bluetooth devices, no navi sdcard etc. Report back.
Well, I fixed the problem! Before I read your reply, I flashed a file named 'rom-513b.bin' (easily found on Google) to my chip. When I turned ACC on for the first time, it booted straight into the FW/settings that I had before applying the update. As opposed to the .bin file that is linked from YouTube, 513.bin does not force it to boot into a resumed firmware update. Anyways, thank you for the help and quick reply!

EDIT: And for the curious, that .bin file will change your Fail-Safe Version to 56.00.513. At least it did for me while on 55.00.760
 
Raoulh..
Also did the failsafe and decided to leave the car turn it off and come back again = bricked!
So followed your instructions, bought the kit, fiddled about with the commands, and managed to tell FLASH to load again, thank you so much. I echo what lots of peoples have said on here, you saved me big time with those instructions. Managed to also upgrade to 70.00.100A too :).
Your Awesome!
Rodger
Hi Rodger! Just wondering what version you loaded when you got the CMU working and flashed again? Did you go straight to the 70.00.100A or did you use a different version first?
Thanks, Matthew
 
Help needed! I've read the posts up until now and see others have worked solutions which is promising. I also have had the failed 70.00.100A and have bricked the system. I've come to re flash the chip using the CH314A programmer, and saved two copies but these seem to have just saved FFFFFs - i'm not sure what has happened. I erased the chip and reset the offset but there was an error and now im left with no backup. I've tried reflashing with the bin files posted here but when loading in it appears these are larger in byte size than my chip - i get the error 'file length beyond will be ignored'. The CH314a programmer times out when trying to program this file to the chip. I'm not sure if this is because these are North American versions - i'm in the UK. My Byte size is 131072 bytes if this is any help. Any suggestions appreciated.
 
Help needed! I've read the posts up until now and see others have worked solutions which is promising. I also have had the failed 70.00.100A and have bricked the system. I've come to re flash the chip using the CH314A programmer, and saved two copies but these seem to have just saved FFFFFs - i'm not sure what has happened. I erased the chip and reset the offset but there was an error and now im left with no backup. I've tried reflashing with the bin files posted here but when loading in it appears these are larger in byte size than my chip - i get the error 'file length beyond will be ignored'. The CH314a programmer times out when trying to program this file to the chip. I'm not sure if this is because these are North American versions - i'm in the UK. My Byte size is 131072 bytes if this is any help. Any suggestions appreciated.
Are you sure your chip is being detected in the program? Any pin that is not in the right spot will cause it to display all FF when you 'Detect' in the program and you won't be able to erase or program the chip at all. Google rom513.bin. It's a non-US version that installs the failsafe for version 56.x.513. That file was able to get me booted back to normal, where I reinstalled v70.x
 
Many thanks for the replies, I had given up all hope thinking the chip was perhaps broken as I had tried everything but was still getting the write errors when programming and the chip appeared to be completely blank. I started my computer this morning to give it one more shot, I reapplied the Test Clip and saw the chip was there in its entirety, unchanged, it hadn't wiped anything after all! Must have been a dodgy connection as I haven't changed the Chinese CH314A programmer or software. I then changed offset 0x0010000 manually to 00 and saved it. Erased the chip. reprogrammed the modified and put back into the car - it works again! updating to 70.00.100. Huge relief off my mind as I was expecting to have to pay Mazda for a new one! Thanks to everyone on this thread its been a massive source of information.
 
@Tristan-cx5 a bit off topic but have you ever tried or seen in the community that someone downgraded sucessfully from very new unit with starting soft above 70.00.XXX? As you can see on the sticker there is 70.00.337 and I'd like to go back to 70.00.335 or 59.00.502. I am asking because one time I've bricked one unit with 70.00.100C during downgrade. I've done it plenty times and always worked like a charm but I am kinda scared to do it again with this version.
282473
 
No, I have never seen such a new CMU (with FW 70 or above from factory) doing a downgrade. But to my knowlegde Mazda only stated, that the brand new CMUs (74.00.200 from factory) should not be downgraded. So my assumption is, that your .337 CMU should be downgradeable to .100 ot .502.
 
嗯,我解决了这个问题!在我阅读您的回复之前,我将一个名为“rom-513b.bin”(很容易在 Google 上找到)的文件写入我的芯片。当我第一次打开 ACC 时,它会直接启动到我在应用更新之前拥有的固件/设置。与从 YouTube 链接的 .bin 文件相反,513.bin 不会强制它启动到恢复的固件更新。无论如何,感谢您的帮助和快速回复!

编辑:出于好奇,该 .bin 文件会将您的故障安全版本更改为 56.00.513。至少它在 55.00.760 上对我有用
[/引用]我在哪里可以得到rom-513b.bin?
 
i was on 55v and installing 70.00.100A . i turn off the by mistake and it turn out black screen. i update chip via ch341a change FF to 00 (mod file from mazda bricked cmu youtube video).
screen turns on but now i stuck in boot, am getting below message. can someone suggest me is my .bin file is correct or what am doing wrong. Thanks
Image
Image
 

Attachments

I had a fatal error creating the flashrom. It coudn't create the file ft2232_spi.o.
I ended up loading an old version of flashrom 1.3.x
git checkout 1.3.x

When I ran sync, nothing happened.

This is the last step so I'm really not sure if its all done properly and would like to know before I start dismantling things. Thanks so much for all of this, I thought my CPU was a gonner.

CMU bricked repair

Hi,

Actually, your CMU is bricked. I did the exact same thing as you where my car was turned off just after installing the failsafe package. Luckily there is a way to recover, which is not so easy to do, bit it's quiet doable if you are not afraid to unmount the CMU, open it and plug some wires.

Full explanation:
Thanks to this website: http://www.2x4logic.com it saves me a lot of time to dig on how the system works. The CMU update process is indeed very badly designed, as it has plenty of failure points where it ends with a bricked device that will not boot anymore. The easiest way to do that is by shutting the CMU off after the failsafe package installation. Basically what happens is that a small flash chip that contains the boot program has a flag on it that decides on which system it has to boot. It can either be the normal Mazda system, or the «failsafe» software. When you install the failsafe update package without the 2nd reinstall package, the flash chip boot select mode is set to boot on the ibc1 partition, which does not match the current Mazda system. This ibc1 partition is updated by the reinstall package. So it’s bricked because it cannot boot anymore.
The easiest fix here is to change the boot select value on the flash chip to boot on ibc2 (the failsafe). This is normally done by the update process, after the reinstallation package is checked for integrity. Here we are going to do it by forcing the boot. It will start the «failsafe» installation software, that will tell us that installation fails and that we can retry by putting a USB key into the car with a correct reinstallation package. Then the installation will continue and finish.

Tutorial:
Here is a step by step tutorial on how to achieve this. Be aware that It can be hard to do this if you do not understand what you are doing. But in case your CMU is bricked (black screen after a failed upgrade or so) you have nothing to loose, right? Bringing the car to a dealer will not help, they will just charge you for a full CMU replacement, and that costs a lot…

The flash chip is placed on the back of the CMU’s PCB. It’s a NOR SPI Flash. The idea is to directly connect to this chip and use a raspberry pi (that has an SPI bus) to reprogram the memory.

Required hardware:
  • A raspberry pi
  • A Programmer Test Clip SOIC16 or 6x IC Test clips (I used test clips)
  • A breadboard to do the connections

On the raspberry pi, you need to install Raspbian (Lite version is ok). From a fresh install of Rasbian, setup the pi to have SPI enabled by running:
Code:
sudo raspi-config
(enable SPI in Interfacing Options*)
sudo reboot
Install some required tools:
Code:
sudo apt-get update
sudo apt-get install build-essential libusb-1.0-0-dev libusb-dev git wget curl libpci-dev
Get a newer version of flashrom:
Code:
git clone https://github.com/flashrom/flashrom
cd flashrom
make
sync
Shut the power off of the raspberry.

Now the raspberry pi is ready. Unmount the CMU from your car (look on youtube for video on how to do it, it’s easy), unscrew the PCB from the CMU and plug the wires from the raspberry to the flash chip like here (see attached pic) and http://www.2x4logic.com/mcbot-annotated.jpg

Turn the raspberry pi on. And check if the flash is detected:
Code:
cd flashrom
./flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
This will tell if a chip is detected or not. If not your wiring is not ok. When something is detected, flashrom may tell you that multiple different chips are detected. That’s because some chips from a same manufacturer can have the same protocol. You need to read the right device model from what is written on the chip. I had a MX25L6445E. I know that some other CMU may have a different chip model. It should also work if flashrom can detect it.

Then try to read the memory and do a backup:
Code:
./flashrom -r backup-cmu.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Carefully read what flashrom is doing to check of any failure. I had to use the option -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" to select the right chip model in flashrom as it was written when using the -p option (list all detected devices)

Once you have the backup, we modify the boot-select byte inside the file
Code:
cp backup-cmu.bin cmu-mod.bin
printf '\x00' | dd of=cmu-mod.bin bs=1 seek=65536 count=1 conv=notrunc
Now it’s time to write the modified file to the flash:
Code:
./flashrom -w cmu-mod.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Read back the flash to verify it worked
Code:
./flashrom -r cmu.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Check if the file matches by verifying the checksum
Code:
sha1sum cmu.bin cmu-mod.bin
The checksum should match, if they do, the procedure is done. It’s time to unplug everything and put the CMU back in the car. The CMU should boot into the failsafe recovery system and ask you for a USB key with the reinstall package.

Good luck, and happy hacking! ;)
 
CMU bricked repair

Hi,

Actually, your CMU is bricked. I did the exact same thing as you where my car was turned off just after installing the failsafe package. Luckily there is a way to recover, which is not so easy to do, bit it's quiet doable if you are not afraid to unmount the CMU, open it and plug some wires.

Full explanation:
Thanks to this website: http://www.2x4logic.com it saves me a lot of time to dig on how the system works. The CMU update process is indeed very badly designed, as it has plenty of failure points where it ends with a bricked device that will not boot anymore. The easiest way to do that is by shutting the CMU off after the failsafe package installation. Basically what happens is that a small flash chip that contains the boot program has a flag on it that decides on which system it has to boot. It can either be the normal Mazda system, or the «failsafe» software. When you install the failsafe update package without the 2nd reinstall package, the flash chip boot select mode is set to boot on the ibc1 partition, which does not match the current Mazda system. This ibc1 partition is updated by the reinstall package. So it’s bricked because it cannot boot anymore.
The easiest fix here is to change the boot select value on the flash chip to boot on ibc2 (the failsafe). This is normally done by the update process, after the reinstallation package is checked for integrity. Here we are going to do it by forcing the boot. It will start the «failsafe» installation software, that will tell us that installation fails and that we can retry by putting a USB key into the car with a correct reinstallation package. Then the installation will continue and finish.

Tutorial:
Here is a step by step tutorial on how to achieve this. Be aware that It can be hard to do this if you do not understand what you are doing. But in case your CMU is bricked (black screen after a failed upgrade or so) you have nothing to loose, right? Bringing the car to a dealer will not help, they will just charge you for a full CMU replacement, and that costs a lot…

The flash chip is placed on the back of the CMU’s PCB. It’s a NOR SPI Flash. The idea is to directly connect to this chip and use a raspberry pi (that has an SPI bus) to reprogram the memory.

Required hardware:
  • A raspberry pi
  • A Programmer Test Clip SOIC16 or 6x IC Test clips (I used test clips)
  • A breadboard to do the connections

On the raspberry pi, you need to install Raspbian (Lite version is ok). From a fresh install of Rasbian, setup the pi to have SPI enabled by running:
Code:
sudo raspi-config
(enable SPI in Interfacing Options*)
sudo reboot
Install some required tools:
Code:
sudo apt-get update
sudo apt-get install build-essential libusb-1.0-0-dev libusb-dev git wget curl libpci-dev
Get a newer version of flashrom:
Code:
git clone https://github.com/flashrom/flashrom
cd flashrom
make
sync
Shut the power off of the raspberry.

Now the raspberry pi is ready. Unmount the CMU from your car (look on youtube for video on how to do it, it’s easy), unscrew the PCB from the CMU and plug the wires from the raspberry to the flash chip like here (see attached pic) and http://www.2x4logic.com/mcbot-annotated.jpg

Turn the raspberry pi on. And check if the flash is detected:
Code:
cd flashrom
./flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
This will tell if a chip is detected or not. If not your wiring is not ok. When something is detected, flashrom may tell you that multiple different chips are detected. That’s because some chips from a same manufacturer can have the same protocol. You need to read the right device model from what is written on the chip. I had a MX25L6445E. I know that some other CMU may have a different chip model. It should also work if flashrom can detect it.

Then try to read the memory and do a backup:
Code:
./flashrom -r backup-cmu.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Carefully read what flashrom is doing to check of any failure. I had to use the option -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" to select the right chip model in flashrom as it was written when using the -p option (list all detected devices)

Once you have the backup, we modify the boot-select byte inside the file
Code:
cp backup-cmu.bin cmu-mod.bin
printf '\x00' | dd of=cmu-mod.bin bs=1 seek=65536 count=1 conv=notrunc
Now it’s time to write the modified file to the flash:
Code:
./flashrom -w cmu-mod.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Read back the flash to verify it worked
Code:
./flashrom -r cmu.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Check if the file matches by verifying the checksum
Code:
sha1sum cmu.bin cmu-mod.bin
The checksum should match, if they do, the procedure is done. It’s time to unplug everything and put the CMU back in the car. The CMU should boot into the failsafe recovery system and ask you for a USB key with the reinstall package.

Good luck, and happy hacking! ;)
CMU bricked repair

Hi,

Actually, your CMU is bricked. I did the exact same thing as you where my car was turned off just after installing the failsafe package. Luckily there is a way to recover, which is not so easy to do, bit it's quiet doable if you are not afraid to unmount the CMU, open it and plug some wires.

Full explanation:
Thanks to this website: http://www.2x4logic.com it saves me a lot of time to dig on how the system works. The CMU update process is indeed very badly designed, as it has plenty of failure points where it ends with a bricked device that will not boot anymore. The easiest way to do that is by shutting the CMU off after the failsafe package installation. Basically what happens is that a small flash chip that contains the boot program has a flag on it that decides on which system it has to boot. It can either be the normal Mazda system, or the «failsafe» software. When you install the failsafe update package without the 2nd reinstall package, the flash chip boot select mode is set to boot on the ibc1 partition, which does not match the current Mazda system. This ibc1 partition is updated by the reinstall package. So it’s bricked because it cannot boot anymore.
The easiest fix here is to change the boot select value on the flash chip to boot on ibc2 (the failsafe). This is normally done by the update process, after the reinstallation package is checked for integrity. Here we are going to do it by forcing the boot. It will start the «failsafe» installation software, that will tell us that installation fails and that we can retry by putting a USB key into the car with a correct reinstallation package. Then the installation will continue and finish.

Tutorial:
Here is a step by step tutorial on how to achieve this. Be aware that It can be hard to do this if you do not understand what you are doing. But in case your CMU is bricked (black screen after a failed upgrade or so) you have nothing to loose, right? Bringing the car to a dealer will not help, they will just charge you for a full CMU replacement, and that costs a lot…

The flash chip is placed on the back of the CMU’s PCB. It’s a NOR SPI Flash. The idea is to directly connect to this chip and use a raspberry pi (that has an SPI bus) to reprogram the memory.

Required hardware:
  • A raspberry pi
  • A Programmer Test Clip SOIC16 or 6x IC Test clips (I used test clips)
  • A breadboard to do the connections

On the raspberry pi, you need to install Raspbian (Lite version is ok). From a fresh install of Rasbian, setup the pi to have SPI enabled by running:
Code:
sudo raspi-config
(enable SPI in Interfacing Options*)
sudo reboot
Install some required tools:
Code:
sudo apt-get update
sudo apt-get install build-essential libusb-1.0-0-dev libusb-dev git wget curl libpci-dev
Get a newer version of flashrom:
Code:
git clone https://github.com/flashrom/flashrom
cd flashrom
make
sync
Shut the power off of the raspberry.

Now the raspberry pi is ready. Unmount the CMU from your car (look on youtube for video on how to do it, it’s easy), unscrew the PCB from the CMU and plug the wires from the raspberry to the flash chip like here (see attached pic) and http://www.2x4logic.com/mcbot-annotated.jpg

Turn the raspberry pi on. And check if the flash is detected:
Code:
cd flashrom
./flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
This will tell if a chip is detected or not. If not your wiring is not ok. When something is detected, flashrom may tell you that multiple different chips are detected. That’s because some chips from a same manufacturer can have the same protocol. You need to read the right device model from what is written on the chip. I had a MX25L6445E. I know that some other CMU may have a different chip model. It should also work if flashrom can detect it.

Then try to read the memory and do a backup:
Code:
./flashrom -r backup-cmu.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Carefully read what flashrom is doing to check of any failure. I had to use the option -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" to select the right chip model in flashrom as it was written when using the -p option (list all detected devices)

Once you have the backup, we modify the boot-select byte inside the file
Code:
cp backup-cmu.bin cmu-mod.bin
printf '\x00' | dd of=cmu-mod.bin bs=1 seek=65536 count=1 conv=notrunc
Now it’s time to write the modified file to the flash:
Code:
./flashrom -w cmu-mod.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Read back the flash to verify it worked
Code:
./flashrom -r cmu.bin -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -V -p linux_spi:dev=/dev/spidev0.0,spispeed=8000
Check if the file matches by verifying the checksum
Code:
sha1sum cmu.bin cmu-mod.bin
The checksum should match, if they do, the procedure is done. It’s time to unplug everything and put the CMU back in the car. The CMU should boot into the failsafe recovery system and ask you for a USB key with the reinstall package.

Good luck, and happy hacking! ;)
Hi sir, do you have any video to show?
 
101 - 120 of 319 Posts