Voir la version complète : Lire MPC5602 password protected
electronico
28/11/2019, 11h29
Hello,
Question simple :
Avez-vous réussi à lire en JTAG des MCU de ce style, qui sont protégés par mot de passe ?
Existe-t-il des appareils qui peuvent faire ça ?
Sinon, je vais essayer de sniffer le bus CAN lors de la connexion d'un diag officiel, voir si je peux en tirer quelque chose.
(c'est pas pour une voiture, mais un vélo)
Par avance, merci.
aron2010
28/11/2019, 16h16
Pas pour ma part.
progdebutant
28/11/2019, 16h37
salut l'ami
peut etre smok
http://smok.com.pl/index.php?id_product=201&controller=product&id_lang=2
dans la liste il parle du mpc5602b
electronico
29/11/2019, 04h08
Hello,
Merci pour la réponse,
Je leur ai envoyé une demande à ce propos.
Quand il n'y a pas de password, je n'ai pas de problème à les lire.
Là je sens qu'il va falloir brute-force ou CAN snif.
Edit :
C'est fun a faire, mais c'est 'time-consuming'...
Comme disait De Gaulle (je suis pas fan plus que ça) : des chercheurs qui cherchent, on en trouve, mais des chercheurs qui trouvent, on en cherche...
Bonjour j'ai trouvé ceci. Cela peu peut être t'aider.
regarde la table 27-6
To re-gain access to the flash memory via JTAG or serial boot, a 64-bit password must be correctly entered.
CAUTION
When censorship has been enabled, the only way to regain access is with the
password. If this is forgotten or not correctly configured, then there is no
way back into the device.
There are two 64-bit values stored in the shadow flash which control the censorship (see Table 27-6 for a
full description):
• Nonvolatile Private Censorship Password registers, NVPWD0 and NVPWD1
• Nonvolatile System Censorship Control registers, NVSCC0 and NVSCC1
5.1.3.1 Censorship password registers (NVPWD0 and NVPWD1)
The two private password registers combine to form a 64-bit password that should be programmed to a
value known only by you. After factory test these registers are programmed as shown below:
• NVPWD0 = 0xFEED_FACE
• NVPWD1 = 0xCAFE_BEEF
This means that even if censorship was inadvertently enabled by writing to the censorship control registers,
there is an opportunity to get back into the microcontroller using the default private password of
0xFEED_FACE_CAFE_BEEF.
When configuring the private password, each half word (16-bit) must contain at least one "1" and one "0".
Some examples of legal and illegal passwords are shown in Table 5-3:
In uncensored devices it is possible to download code via LINFlex or FlexCAN (Serial Boot Mode) into
internal SRAM even if the 64-bit private password stored in the flash and provided during the boot
sequence is a password that does not conform to the password rules.
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=2ahUKEwjR_drLoZTmAhVM8BQKHU5tD0wQFjABegQIAxAC&url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Frefere nce-manual%2FMPC5602DRM.pdf&usg=AOvVaw2lX1ajUeut992k_LIZIejQ (https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=2ahUKEwjR_drLoZTmAhVM8BQKHU5tD0wQFjABegQIAxAC&url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Frefere nce-manual%2FMPC5602DRM.pdf&usg=AOvVaw2lX1ajUeut992k_LIZIejQ)
vBulletin® v.3.8.11, Copyright ©2000-2026, Jelsoft Enterprises Ltd. Tous droits réservés - Version française vbulletin-fr.org