[TUTO] Télécodage et calibration d'un NAC / RCC / CIROCCO / CMB_NUM SANS Diagbox via Arduino

@VLud Hi!

I tried to change the parameters in visiopark subsystem and nothing happened. both advanced and basic parameters such as the width of the trajectory lines. I have no idea :)
 

J'ai fait une version plus générique du sketch ici (c'est incompatible avec le soft, il faudra réuploader l'autre pour réutiliser le programme)

C'est plus simple à dire qu'à faire, il faut dumper les frames qui transitent quand on utilise Diagbox en modifiant les paramètres un à un - ou au minimum les lire - et avec un bout de code afficher clairement les modifications de zones par rapport à ce qui avait été lu (Diagbox est mal conçu et fait plusieurs lectures et au moins deux écritures de toutes les zones pour la moindre petite modification - c'est pour ça qu'il est très lent - d'où la nécéssité d'un bout de code pour faire le tri), l'autre solution c'est le pifomètre, les zones commencent souvent à 2100 pour ce qui est télécodage et il faut trouver les zones avec des données (en faisant +1 à chaque fois), il faut ensuite les modifier en espérant voir une différence sur l'ECU - tout en sachant qu'il y a souvent plusieurs bytes par zone et donc 255 possibilités par byte - (c'est faisable de manière partielle sur des ECU comme le combiné mais clairement pas sur le BSI, l'AAS, etc qui n'ont aucun retour visible sauf dans Diagbox avec un nombre incroyable de menus à vérifier à chaque modification)

Tout ceci à faire en raw dans la console série (voir la liste des commandes sur le repo)

C'est un boulot monstrueux et c'est comme ça que j'avais commencé pour le NAC avant d'aller fouiller le firmware directement pour gagner beaucoup de temps à mapper les options et finir les choses manquantes avec la méthode citée plus haut, dans tous les cas ça implique l'achat d'un jeton et pas mal de temps libre.

Si je comprends bien, après avoir mis le nouveau programme dans l'arduino, je me branche à nouveau avec sur les pins 3 & 8.
Ensuite, imaginons je veux accéder au BSI2010.
Dans la console, avec le bon baudrate, j'envoie 752:652
j'envoie 1003 pour ouvrir un diag
J'envoie 3E00 pour garder la session de diag active
j'envoie 220000 à 22FFFF pour lire les zones (il y a 65 535 possibilités ?!)
2704E4D8 pour déverouiller le calculateur
J'envoie 2EXXXXYYYYYYYYYYYY pour écrire une nouvelle valeur (en changeant la valeur d'origine
1001 pour finir com
1103 pour reboot

Et je regarde ce qui a change

Je suis sûr que j'ai faux dans 90% de ce que j'ai écrit donc les critiques sont les bienvenus !
Je ne retrouve pas l'ID du CIROCCO dans ta liste des ID en revanche ?
 

Si je comprends bien, après avoir mis le nouveau programme dans l'arduino, je me branche à nouveau avec sur les pins 3 & 8.
Ensuite, imaginons je veux accéder au BSI2010.
Dans la console, avec le bon baudrate, j'envoie 752:652
j'envoie 1003 pour ouvrir un diag
J'envoie 3E00 pour garder la session de diag active
j'envoie 220000 à 22FFFF pour lire les zones (il y a 65 535 possibilités ?!)
2704E4D8 pour déverouiller le calculateur
J'envoie 2EXXXXYYYYYYYYYYYY pour écrire une nouvelle valeur (en changeant la valeur d'origine
1001 pour finir com
1103 pour reboot

Et je regarde ce qui a change

Je suis sûr que j'ai faux dans 90% de ce que j'ai écrit donc les critiques sont les bienvenus !
Je ne retrouve pas l'ID du CIROCCO dans ta liste des ID en revanche ?

A vrai dire t'es plutôt à 90% de correct.
  • Ne pas oublier le ">" avant 752:652 (j'avais besoin d'un caractère non hexadécimal pour m'assurer que ce n'est pas une frame à envoyer
  • Oui
  • 3E00 n'est pas vraiment utile
  • Oui il y a plein de zones, mais comme je te l'ai dit généralement le télécodage commence en 2100 donc tu as "juste" à tester entre 2100 et 21FF (soit 255 possibilités)
  • Tu mélanges la clé et le seed là, il faut envoyer 2703 pour avoir un seed, calculer la réponse (en utilisant la bonne clé) et ensuite renvoyer ça en 2704
  • Oui
  • Pas vraiment utile
  • Oui mais pas sûr que le BSI sache rebooter (à tester)

Le CIROCCO fait parti de la famille COMBINE ;) (à voir si c'est les IDs de COMBINE ou COMBINE_UDS_CQCA - fait nous un retour -)
 

@VLud Hi!

I tried to change the parameters in visiopark subsystem and nothing happened. both advanced and basic parameters such as the width of the trajectory lines. I have no idea :)

It is also what I found, only the width in pixels of lines is doing something in my case ( I'm configured for a 180° camera )
There are others settings inside the calibration that I must check to see if it is worth adding to the soft
 

It is also what I found, only the width in pixels of lines is doing something in my case ( I'm configured for a 180° camera )
There are others settings inside the calibration that I must check to see if it is worth adding to the soft
Bonjour,

Pour commencer, toutes mes félicitations pour le tutoriel car, pour noob comme moi qui n'avais jamais touché à un Arduino, j'ai réussi à activer ma caméra de recul hier alors que mon concessionnaire, pour 52€, a juste réussi à ma dire que j'avais mal câblé la chose donc impossible à activer !

Bref, sur mon Expert il ne me manque plus que les lignes de guidage aussi à trouver même si très honnêtement, un coup dans les rétros ça fonctionne peut-être mieux car vision bien moins déformée ^^

Encore merci !
 
Dernière édition:

It is also what I found, only the width in pixels of lines is doing something in my case ( I'm configured for a 180° camera )

I have same config. At first it seemed to me that the width of the lines was changing, but judging by the mobile photos before and after, nothing changed :(
 

I have same config. At first it seemed to me that the width of the lines was changing, but judging by the mobile photos before and after, nothing changed :(

BNNgdtU.jpg
 
  • J'aime
Reactions: PapaOG

A vrai dire t'es plutôt à 90% de correct.
  • Ne pas oublier le ">" avant 752:652 (j'avais besoin d'un caractère non hexadécimal pour m'assurer que ce n'est pas une frame à envoyer
  • Oui
  • 3E00 n'est pas vraiment utile
  • Oui il y a plein de zones, mais comme je te l'ai dit généralement le télécodage commence en 2100 donc tu as "juste" à tester entre 2100 et 21FF (soit 255 possibilités)
  • Tu mélanges la clé et le seed là, il faut envoyer 2703 pour avoir un seed, calculer la réponse (en utilisant la bonne clé) et ensuite renvoyer ça en 2704
  • Oui
  • Pas vraiment utile
  • Oui mais pas sûr que le BSI sache rebooter (à tester)

Le CIROCCO fait parti de la famille COMBINE ;) (à voir si c'est les IDs de COMBINE ou COMBINE_UDS_CQCA - fait nous un retour -)
Compris !
Je pense que je comprendrai mieux quand je le ferai.
Je vais me commander un BSI Q04 pour faire mes essais et donc éviter de faire tourner mon moteur au ralenti trop longtemps.
 

Hello i have 2 peugeot one 208GTi 2015 (smeg+) and one 3008 active 2017(rcc) .
I have change both unit with nac unit.
Can i install reverse camera and activate it with Arduino ?
Thanks!
 

Hello i have 2 peugeot one 208GTi 2015 (smeg+) and one 3008 active 2017(rcc) .
I have change both unit with nac unit.
Can i install reverse camera and activate it with Arduino ?
Thanks!

Yes if you install a 180 camera, for the 130 you must also enable the camera in the BSI & AAS ;)
 



so if i order one 180 camera is plug&play ??
or i have to used Arduino to active?
thanks

No ... In one case you just need Arduino (but the 180° camera never has been installed on the 208 so it will be a hack) and on the other case you need Diagbox + Arduino.
 

Yes if you install a 180 camera, for the 130 you must also enable the camera in the BSI & AAS ;)
Iirc there is no difference between 130 or 180 camera in the BSI? Only camera active or not to give the info to the NAC to activate the video input when in reverse?

Also follow-up question: to have visiopark 2 I imagine I'll have to telecode the video box that manages the 2 cameras. Is it possible on a 508? Maybe I have to access the BSI by going through the 3008 menus?
 

Le NAC ne vérifie la configuration BSI que dans le cas d'une caméra 130°, même désactivé dans le BSI si c'est une 180° configurée dans le NAC ça s'affiche en passant la marche arrière (de ce que j'ai pu tester en réel)

Techniquement il n'y a pas besoin d'activer quoi que ce soit pour le Visiopark 2 dans le BSI à partir du moment où le NAC est bien configuré et le boitier alimenté (je n'ai jamais essayé donc à ne pas prendre pour argent comptant)
 
  • J'aime
Reactions: jordan87


last problem..
i want reverse camera in 3008 100% .
the better way is to buy 130 or 180 camera and used Arduino or diagbox or to go on peugeot to active it?

My French is not the best.
What do you recommend for a easy solution with the least money for the 3008?
there are instructions in english or video i would appreciate it.

thanks
 
Dernière édition:

Question bonus : comment désactiver le "Start and Stop" ?
J'ai bien trouvé le menu 211A mais ça ne désactive pas le système pour autant ^^

Apparemment il serait possible de le désactiver en passant par un autre menu via Diagbox.
Il suffi de passer la fonction " estimation de la charge batterie" à "absente", dans la partie "DIVERS" du télécodage BSI.
Source : lien
 
Dernière édition:

Question bonus : comment désactiver le "Start and Stop" ?
J'ai bien trouvé le menu 211A mais ça ne désactive pas le système pour autant ^^

Apparemment il serait possible de le désactiver en passant par un autre menu via Diagbox.

Source : lien

Le Start&Stop ne peut être que temporairement désactivé par les moyens mis à disposition par PSA, mais on s'écarte du sujet là.

last problem..
i want reverse camera in 3008 100% .
the better way is to buy 130 or 180 camera and used Arduino or diagbox or to go on peugeot to active it?

My French is not the best.
What do you recommend for a easy solution with the least money for the 3008?
there are instructions in english or video i would appreciate it.

thanks

For the 3008 a 180° Camera and the Arduino, buying almost everything from Aliexpress for under 100€ (plastic support and cover will have to be bought from Peugeot)
 

I'm still trying to make working RCC in Proace again with this "Ambience not configured"
My plan for today was to change calibration to different model and restore one of backup provided in post nr 3.
Restoring original backup from this car doesn't solve this problem so i tried all of configuration backup's in post 3 and non of them is finishing restoring. I can see "Writing Error ! Invalid value on 2127" or 2110. (2127 is indeed Telecoding_Fct_HMI with Ambience settings so maybe it will solve my problem if someones backup will be restored)

This is why I want to temporary change calibration to different model but calibration is not changing at all. Few days ago i uploaded 9692624880 and now i cant change it to different.

In log I see only
> 00
< 000000

> 1003
< 500300C80014

> 22F0FE
< 62F0FEFFFF000003F5FFFFFF49EEFF01FFFFFF0002000001926248

> 22F18C
< 62F18C3244303735303339303031333531303037363430

> 1001
< 500100C80014

> 1002
< 500200C80014

> 2701
< 7F2783


Is it normal?
 

I'm still trying to make working RCC in Proace again with this "Ambience not configured"
My plan for today was to change calibration to different model and restore one of backup provided in post nr 3.
Restoring original backup from this car doesn't solve this problem so i tried all of configuration backup's in post 3 and non of them is finishing restoring. I can see "Writing Error ! Invalid value on 2127" or 2110. (2127 is indeed Telecoding_Fct_HMI with Ambience settings so maybe it will solve my problem if someones backup will be restored)

This is why I want to temporary change calibration to different model but calibration is not changing at all. Few days ago i uploaded 9692624880 and now i cant change it to different.

In log I see only
> 00
< 000000

> 1003
< 500300C80014

> 22F0FE
< 62F0FEFFFF000003F5FFFFFF49EEFF01FFFFFF0002000001926248

> 22F18C
< 62F18C3244303735303339303031333531303037363430

> 1001
< 500100C80014

> 1002
< 500200C80014

> 2701
< 7F2783


Is it normal?
What arduino + shield do you use ?, the problem looks like @Albatros24 , I also sometimes have problems with that section of code
 
Dernière édition:


Le Start&Stop ne peut être que temporairement désactivé par les moyens mis à disposition par PSA, mais on s'écarte du sujet là.



For the 3008 a 180° Camera and the Arduino, buying almost everything from Aliexpress for under 100€ (plastic support and cover will have to be bought from Peugeot)


can you give me link to buy it and more info for install and setup the camera?

Thnaks!!!!
 

What arduino + shield do you use ?, The problem looks like @ Albatros24's, I also sometimes have problems with that section of code

I have Arduino Uno + CAN BUS SPI MCP2515 TJA1050, if you need more details i can provide it afternoon.

Calibrations are not inter-compatible, config files should be working (sometimes the 2108 zone is smaller depending on Wave revision of the RCC/NAC but it can be edited manually to add or remove one byte and make it compatible) ;)

I was thinking that problem with restoring backups for different devices sometimes is expected.
 

Bonjour,

Moi, avec une "petite" carte et un quartz à 8 MHz, je ne pouvais pas écrire les zone de long contenu...
Avec la Shiel 1.2 ça fonctionne !

Hello,

Me, with a "small" card and an 8 MHz quartz, I could not write the long content areas ...
With the Shiel 1.2 it works!
 
  • J'aime
Reactions: jordan87

I'm still trying to make working RCC in Proace again with this "Ambience not configured"
My plan for today was to change calibration to different model and restore one of backup provided in post nr 3.
Restoring original backup from this car doesn't solve this problem so i tried all of configuration backup's in post 3 and non of them is finishing restoring. I can see "Writing Error ! Invalid value on 2127" or 2110. (2127 is indeed Telecoding_Fct_HMI with Ambience settings so maybe it will solve my problem if someones backup will be restored)

This is why I want to temporary change calibration to different model but calibration is not changing at all. Few days ago i uploaded 9692624880 and now i cant change it to different.

In log I see only
> 00
< 000000

> 1003
< 500300C80014

> 22F0FE
< 62F0FEFFFF000003F5FFFFFF49EEFF01FFFFFF0002000001926248

> 22F18C
< 62F18C3244303735303339303031333531303037363430

> 1001
< 500100C80014

> 1002
< 500200C80014

> 2701
< 7F2783


Is it normal?

Are you connected to Internet with your computer ?
Soft receive 5002xxxxxxxx, that is Seed, and he must answer 2702xxxxxxxx with Key generated by VLud web service.
So you must be connected to Internet for this.

7F2783 = invalid answer Key
 

Yes, I was connected to internet, changing configuration was working but calibration upload not.

Bonjour,

Moi, avec une "petite" carte et un quartz à 8 MHz, je ne pouvais pas écrire les zone de long contenu...
Avec la Shiel 1.2 ça fonctionne !

Hello,

Me, with a "small" card and an 8 MHz quartz, I could not write the long content areas ...
With the Shiel 1.2 it works!
This is very good tip, maybe this is why my cousins RCC was "locked" after modification 2127.
 
Dernière édition:


Bonjour,

Moi, avec une "petite" carte et un quartz à 8 MHz, je ne pouvais pas écrire les zone de long contenu...
Avec la Shiel 1.2 ça fonctionne !

Hello,

Me, with a "small" card and an 8 MHz quartz, I could not write the long content areas ...
With the Shiel 1.2 it works!
Hi can you tell shield 1.2 how is it made? Can transceiver chip is 2551, 16mhz oscillator