PDA

View Full Version : Nissan qashqai mc9s12xhz256vag BIG problem



radu1411
9th June, 2017, 10:12 PM
Hi to all. I have a big problem. I tried to change milleage to a Nissan qashqai 2013 1.5 dci. I read eeprom and flash from MCU mc9s12xhz256vag,with X-prog. I edit the eeprom file and i tried to put it back,but i dont notice that the device is set on Flash mcu,and i start write eeprom file instead of Flash file, and now the X-prog cant enter boot moode to MCU. (But the connection is the same as before i read the flash. I suppose i blocked the MCU).

Can someone please help me ?! May be exists some methods to reset the MCU and start write the files again,without remove the mcu or to change it

jomberykaso
9th June, 2017, 10:33 PM
Some people appear here only when they are in trouble


Good Luck!

jomberykaso
10th June, 2017, 11:27 AM
First and Last time mate I help you and just for saving your ass.

Good Luck!

radu1411
10th June, 2017, 04:33 PM
455869
This is the error that i get when i try to read or write on MCU. The connection is the same as before i put bad Flash on MCU.

I have the both files from MCU (EEprom and Flash) but i cant put it back.

mikhailzgv
10th June, 2017, 08:37 PM
x-prog original?

radu1411
11th June, 2017, 07:27 AM
It's a clone, but a very good one. The problem is not in it. I think that I blocked the MCU.

elservis
11th June, 2017, 10:02 PM
Post conection picture

radu1411
12th June, 2017, 12:29 AM
Post conection picture

456055

I connect like in image. But i read the datasheet of this CPU, and i understood that when i write eeprom file on Flash memory, i erase the boot memory, and this is why i cant connect to the CPu now. Now i must restore the boot on the flash but i dont know how

exe123
12th June, 2017, 08:58 AM
You have activated the BDM protection by erasing flash but not eeprom. You need to fully erase 9s12 (flash and eeprom) Otherwise it will be secured after next reset.
Xprog can still connect but you need to rewire it like this and select secured one in chip menu

456074

credoline
13th June, 2017, 09:32 PM
exe123 (http://www.digital-kaos.co.uk/forums/member.php/101862-exe123) told you what to do. When you are try to write flash with eeprom file you are change security bytes from non locked state to locked state with filling with values FF. And now MCU is locked. But you can still read and write but you must in XPROGM software select Motorola HCS12 - secured and on appropriate way connect MCU. And you will be able to reprogram flash and eeprom but separeted, first reprogram flash and after reprogram eeprom. But you must get and eeprom and flash file for this dashboard.

radu1411
15th June, 2017, 11:06 PM
exe123 (http://www.digital-kaos.co.uk/forums/member.php/101862-exe123) told you what to do. When you are try to write flash with eeprom file you are change security bytes from non locked state to locked state with filling with values FF. And now MCU is locked. But you can still read and write but you must in XPROGM software select Motorola HCS12 - secured and on appropriate way connect MCU. And you will be able to reprogram flash and eeprom but separeted, first reprogram flash and after reprogram eeprom. But you must get and eeprom and flash file for this dashboard.
I tried but its still in secure mode, the Xprog show me that it erase the Flash. But its show me Blank check error , what is this ? And if i try to write on it, the writting is going and after the writting finish, appear a dialog with Verify error, and i press "Yes to all". When i try to read the Flash or eeprom , it show me everytime the same damaged firmware , and it dont change in despite of I try to erase it or rewrite. Were is the problem ?

cruznarvaez
1st March, 2019, 05:14 PM
Hello!!! Good morning. Does anyone know how to read a MCU 9s12 secured with UPA?

jomberykaso
1st March, 2019, 05:20 PM
Hello!!! Good morning. Does anyone know how to read a MCU 9s12 secured with UPA?

use security bytes for upa software

mapexo
27th June, 2022, 11:44 AM
Upa not search fuction secure for mcu question sir