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

Windows 10 64bit

Java
Version 8 Update 261
Data wydania: 14 lipca 2020

So at start some problems:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.zip.ZipFile.<init>(ZipFile.java:169)
at processing.app.tools.ZipDeflater.<init>(ZipDeflater.java:26)
at processing.app.Base.handleAddLibrary(Base.java:2413)
at processing.app.Base$6.actionPerformed(Base.java:1124)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
error in opening zip file

ard_error2.jpg
 
Dernière édition:



Check that you took the good calibration file, it seems you uploaded a Citroen calib based on what you are saying. Or the brand is not correctly set. It seems you are playing the magician on calibration data based on your previous post.
Calibration is OK. NAC was from Citroen CIII and when I connetc it was show me logo Citroen. After upload calibration file for peugeot 508 logo Peugeot show first and after apper logo Citro :confused:
What can I do wrong?
 

Tu ne peux pas l'extraire pour le moment (il manquerait des données)

Merci pour les infos, c'est top ! Si on peut partager à l'occasion :)

Il faut activer le paramètre des consignes de navigation sans les noms de rue mais avec intersections pour que la vision tête haute fonctionne

Ah yes, j'y avais pas pensé à ça !

Merci bcp !! :)
 

Merci à VLUD et bagou91 pour cette excellent travail !
Je me lance donc moi aussi dans cette aventure avec l'achat chez GoTronic de l'Arduino + Shield.

Avec vous un conseil pour acheter directement le câble ODB-COM ?
Ca m'éviterai de bricoler une rallonge ODB avec un prise COM :chinois:

EDIT : Je suis un peu perdu sur le câblage, j'ai bien compris qu'il fallait utiliser les PIN 3&8 de la prise OBD.
Mais à quel PIN du port COM les connecter ?
 
Dernière édition:

Merci à VLUD et bagou91 pour cette excellent travail !
Je me lance donc moi aussi dans cette aventure avec l'achat chez GoTronic de l'Arduino + Shield.

Avec vous un conseil pour acheter directement le câble ODB-COM ?
Ca m'éviterai de bricoler une rallonge ODB avec un prise COM :chinois:

EDIT : Je suis un peu perdu sur le câblage, j'ai bien compris qu'il fallait utiliser les PIN 3&8 de la prise OBD.
Mais à quel PIN du port COM les connecter ?
You not need COM port, you can connect 2 ware direct to can bus shield CAN-H и СAN-L
 




I'll let others correct me if I'm wrong: the blank pins are free to use for every car brand. Means every manufacturer is free to do whatever they want with each one of them. It just turns out that PSA is using pin 3 & 8 for their CAN Diagnostics.
I think you can use the others at different speeds but iirc the K-LINE and L-LINE are for the ECU
 
Dernière édition:
  • J'aime
Reactions: skeletiko and VLud


I'm amazed about you work Vlad and bagou91, earlier i used tour tutorial to swap SMEG to NAC and now this :)
I just removed two empty buttons from my NAC (Line Assist and Park Assist), i also activated AUX.

Am I able to backup calibration? I don't see any button to do this.
Today I will be able to connect to Toyota Proace with RCC. It's my cousin's car and we want to enable Android Auto in it but as far as I read it is still not supported to modify it?

And one thing. I think it would be good to add short description to third post here what is "Calibration" and "Configuration" files.
For example:
Calibration - pre configuration for NAC unit which cant be changed with Diagbox Teleprograming or Telecoding
Configuration - Set of parameters which can be changed (not all) during automatic telecoding with VIN or manual telecoding.

Something like that ;)

Big Thanks!
 

You can't backup calibration (not entirely) because two flash zones are not readable, calibrations are extracted by another way.
What is your calibration number ?

RCC is not compatible for writing yet, and RCC A1 are hardware incompatibles so it is pretty much useless to try activating it by soft, it will not work.
 

I didn't connect it via Arduino but i found my old photo from DiagBox.
This Toyota ProAce with Bosch unit has calibration nr 9692624880
 

@jordan87 I have ProAce too, you can activate Apple Car Play only. Android Auto i blocked. I try Diagbox everything is on but Android Auto not working.

applecar.jpg
diagbox.jpg
 
Dernière édition:


After I update firmware NAC to 21.08.25.12_NAC-r0 bug with to logo on boot go out and logo in app screen change to Peugeot :ange:
Tell me please, what for change VIN in NAC when I install used NAC from other car?
 


Try to change the brand and activate Android Auto, few settings are related to the brand, that's not impossible that Android Auto is not displayed on Toyota theme (And what an ugly theme for Toyota :whistle:)
 

Bonjour Vlud,

Pouvez-vous me préciser les connexions à faire entre cette carte et l'arduino ?

je crois que :

ARDUINO ======== CARTE
VCC ----------------------- VCC
GND ---------------------- GND
MISO --------------------- SO
MOSI --------------------- SI
SCK ----------------------- SCK

mais CS et INT je ne sais pas !

Je vous remercie.

3171334281.jpg
 

CS = cable select, cela correspond à la macro CS_PIN_CAN0, donc ici à câbler sur la pin 10
INT = interruption (IRQ), tu peux mettre sur la pin 2, mais pas sûr qu'elle soit vraiment utilisée.

PS:
Bien redéfinir la macro CAN_FRQ_MCP_16MHZ à CAN_FRQ_MCP_8MHZ car cette carte utilise un quartz 8MHz
Mettre un cavalier sur J1 pour activer la résistance de terminaison R2 120ohm
 

Most of upload problems (misunderstood as compilation problems) to Arduino boards can be solved using the correct driver for the COM port. Sometimes Windows Update automatically installs a non working driver for most boards. It can be taken from the manufacturer website such as FTDI or WCH.
 


@RuLe : No need to reply when the answer has already been given and when you remove the source of the schematic (C4-Sedan.ru) ...
 

Today I received CAN-BUS Shield and unfortunately it does not work, the program compiled for me but I do not have communication (COM12 by default)

I don't understand (translate FR to PL) Step #2

La résistance de terminaison de 120 Ohms (terminaison resistor) doit être activée sur votre carte (P1 non coupé sur v2.0, Jumper J1 connecté sur module 8Mhz)

On my PCB near CANH - 0ohm near CANL - 1kohm
shiled.jpg
 


RCC is not compatible for writing yet, and RCC A1 are hardware incompatibles so it is pretty much useless to try activating it by soft, it will not work.

If its RCC A1 will your tool be able to read parameters? If yes, can I somehow check which version of RCC is installed in car without disassembling interior?
 

Simply checking the firmware version is enough to check if it is a A1 or not, yes you can read without any problem