Testbench setup?

   #281  

saarnet

Verified VCDS User
Verified
Joined
Mar 25, 2024
Messages
3
Reaction score
1
Location
Germany
VCDS Serial number
C?ID=325962
Helo,

I ordered a Golf 8 (5WA907530B) gateway. When I signalize Klemme 15 with arduino code from #189 and #221 on conveninent CAN (CAN-L Pin 2, CAN-H Pin 3) the gateway J533 wakes up. Then I can receive CAN messages on infotainment CAN (CAN-L Pin 9, CAN-H Pin 9):

screenshot-2024-04-01-19-58-25-06.png


But I do not get any CAN data on OBD (CAN-L Pin 24, CAN-H Pin 25) and I'm not able to do a diagnosis. Has somebody an idea what could be needed else? I saw on other CAN dumps that Klemme 15 (0x3C0) seems to signalized different on other cars. Does somebody have a convenient CAN dump with ignition on of a Golf 8 or Caddy V gateway?

Taycan CAN KI:

00:00:08:629;0;3c0;4;e5;a;23;0;
00:00:08:729;0;3c0;4;50;b;23;0;
00:00:08:829;0;3c0;4;2a;c;23;0;
00:00:08:929;0;3c0;4;9f;d;23;0;
00:00:10:031;0;3c0;4;a0;8;23;0;
00:00:10:131;0;3c0;4;15;9;23;0;
00:00:10:231;0;3c0;4;e5;a;23;0;
00:00:10:331;0;3c0;4;50;b;23;0;
00:00:10:431;0;3c0;4;2a;c;23;0;
00:00:10:531;0;3c0;4;9f;d;23;0;
00:00:10:631;0;3c0;4;6f;e;23;0;
00:00:10:731;0;3c0;4;da;f;23;0;
00:00:10:831;0;3c0;4;9b;0;23;0;
00:00:10:931;0;3c0;4;2e;1;23;0;
00:00:11:032;0;3c0;4;de;2;23;0;
00:00:11:132;0;3c0;4;6b;3;23;0;
00:00:11:232;0;3c0;4;11;4;23;0;
00:00:11:332;0;3c0;4;a4;5;23;0;
00:00:11:432;0;3c0;4;54;6;23;0;
00:00:11:532;0;3c0;4;e1;7;23;0;
00:00:11:632;0;3c0;4;a0;8;23;0;
00:00:11:732;0;3c0;4;15;9;23;0;
00:00:11:832;0;3c0;4;e5;a;23;0;
 
   #282  

saarnet

Verified VCDS User
Verified
Joined
Mar 25, 2024
Messages
3
Reaction score
1
Location
Germany
VCDS Serial number
C?ID=325962
I got it working now with the golf 8 gateway and the arduino. It is normal that there is no CAN data signalized on OBD CAN, only diagnosis.

IMG-9538.jpg
 
   #283  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
53,376
Reaction score
36,072
Location
USA
VCDS Serial number
HC100001
   #284  

R1LEF09

Verified VCDS User
Verified
Joined
Jul 3, 2020
Messages
11
Reaction score
4
Location
France
VCDS Serial number
C?ID=383496
Hi, on #189 in code i see 500k but connections are on 5 and 15 (it's convenience) and here it's 100k .... I don't understand this step, somebody can explain me ?

J519 BCM
T52a/1 – KL30
T52a/23 – KL31
T52a/42 – KL31
T52b/12 – KL15
T52b/52 – KL31
T52c/5 – KL31
T52c/15 – CAN Conv H -> J533 T20/15 <-> J527 T20c/14
T52c/16 – CAN Conv L -> J533 T20/5 <-> J527 T20c/15
T52c/31 – KL15 aux output -> J527 T20c/17
J527 Steering wheel module
T8e/4 – KL31
T8e/12 – KL15
T20c/11 – CAN Powertrain L -> J533 T20/6
T20c/12 – CAN Powertrain H -> J533 T20/6
T20c/14 – CAN Conv H -> J519 T52c/15 <-> J533 T20/15
T20c/15 – CAN Conv L -> J519 T52c/16 <-> J533 T20/5
T20c/17 – KL15 aux output -> J519 T52c/31
T20c/19 – KL30
T20c/20 – KL31

And i find this pinouts, i'm on Golf 6, are you ok with its please ?
 
Last edited:
   #285  

R1LEF09

Verified VCDS User
Verified
Joined
Jul 3, 2020
Messages
11
Reaction score
4
Location
France
VCDS Serial number
C?ID=383496
Hi, on #189 in code i see 500k but connections are on 5 and 15 (it's convenience) and here it's 100k .... I don't understand this step, somebody can explain me ?

J519 BCM
T52a/1 – KL30
T52a/23 – KL31
T52a/42 – KL31
T52b/12 – KL15
T52b/52 – KL31
T52c/5 – KL31
T52c/15 – CAN Conv H -> J533 T20/15 <-> J527 T20c/14
T52c/16 – CAN Conv L -> J533 T20/5 <-> J527 T20c/15
T52c/31 – KL15 aux output -> J527 T20c/17
J527 Steering wheel module
T8e/4 – KL31
T8e/12 – KL15
T20c/11 – CAN Powertrain L -> J533 T20/6
T20c/12 – CAN Powertrain H -> J533 T20/6
T20c/14 – CAN Conv H -> J519 T52c/15 <-> J533 T20/15
T20c/15 – CAN Conv L -> J519 T52c/16 <-> J533 T20/5
T20c/17 – KL15 aux output -> J519 T52c/31
T20c/19 – KL30
T20c/20 – KL31

And i find this pinouts, i'm on Golf 6, are you ok with its please ?
Just with this pinout, J533, J527 and J529, K15 CAN is available when i turn on the switch but no communication with 09 on diag
 
   #286  

tab84

Verified VCDS User
Verified
Joined
Jul 9, 2016
Messages
2
Reaction score
0
Location
UK
VCDS Serial number
C?ID=146292
Hi,

I was wondering if someone can help me with an issue I'm having with MIB2 ZR audio bench testing.

I set up a "PQ" test bench in 2020 using the great information on this very page and its worked wonderfully for the last 4 years with my old faithful VCDS HEX+CAN.

The PQ setup comprises a 7N0907530S CAN gateway, OBD port, 12V power supply and MDI module. I've been able to use the units (minus Bluetooth but I know why), diagnose and test with VCDS Hex+CAN, run software updates, etc. This has worked fine with RCD210/310/510, RNS310/315/510 and also works with the PQ Discover Media units and Chinese RCD330/360 etc.

I'm trying to move on to MIB2 ZR units but I have communication issues between the 5F glovebox unit and VCDS HEX V2 I recently bought from Marshall Industries (I've submitted my registration request). The new setup has a 12v power supply, 5Q0907530AC "High" CAN gateway, OBD2 port and wiring to the screen and glovebox unit. I can use the stereo as normal, the screen works fine but when you select 5F on VCDS it shows the VIN of the unit, asks me to register it to my VCDS, does it's 3 attempts and displays the no response from controller box with comm status of "KLine Init Failed".

I thought the issue was with my wiring so I bought a test bench wiring loom from AliExpress and have the same issues.

Any advice or recommendations would be gratefully received. Hopefully it's something simple that I've overlooked.

Thanks very much,
Tom
 
   #287  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
53,376
Reaction score
36,072
Location
USA
VCDS Serial number
HC100001
Any advice or recommendations would be gratefully received. Hopefully it's something simple that I've overlooked.
Draw and post a schematic of how that entire test-bench setup is wired.

-Uwe-
 
   #288  

tab84

Verified VCDS User
Verified
Joined
Jul 9, 2016
Messages
2
Reaction score
0
Location
UK
VCDS Serial number
C?ID=146292
Draw and post a schematic of how that entire test-bench setup is wired.

-Uwe-

All sorted now, I played with the radio boxes in Init Parameters.
 
   #289  

jigler

Verified VCDS User
Verified
Joined
Apr 12, 2024
Messages
20
Reaction score
1
Location
UK
VCDS Serial number
C?ID=583237
The prototype was developped for the MQB platform, but I think it may work for other platforms as long as you have the right data for the CAN bus messages. I've just tested the circuit with 3 ECUs: a Door Control Unit, a Parking Aid and a TPMS, they are connected to different buses and all worked but I have no other modules here to test (I also had an ABS module, but it was replaced in my car exactçy because it stopped communicating, so I couldn't count on it). Maybe some pros in the Forum will be interested in testing with more modules and post here their results.

The circuit is basically an Arduino and a CAN bus interface, connected to the convenience CAN bus pins (5, 15) on the J533 Gateway. The diagram below is similar to what I did (connection to INT pin on the interface is not necessary for the code I used):

can-bus-mcp2515-tja1050-obdii-pra-arduino-hackear-carro-D_NQ_NP_619909-MLB31136871503_062019-F.webp


The code I wrote to run in the Arduino generates a "Klemmen_Status_01" on the CAN bus. It's a simple message with the Id 0x3C0 which, in a real MQB car, is transmitted every 100ms and it contains 4 bytes of data:
- first byte is a checksum;
- second byte contains a sequential number that increments from 00 to 15 in each message, then returns to zero;
- third byte contains the flags corresponding to terminals (Klemme) S, 15, X and 50. I've set the bits corresponding to S and 15 on (ignition switch on) according to what I've captured by collecting CAN bus traffic;
- fourth byte is always zero.

The code tries to simulate the Klemmen_Status_01 messages exactly as they are sent on the CAN bus in a real car. It seems that ECUs connected to the gateway "wake up" even if only one of the 16 sequential messages is sent, and not necessarily at the 100ms interval and some modules seem to continue on even if they stop receiving the message for up to 4 seconds but since I'm not sure about all possible modules and the implementation of the complete message set is so easy, I kept it in the code.

Here's the code:
Code:
/*
 * Terminal status CAN bus message generator
 *
 * Generates Klemmen_Status_01 messages for MQB platform
 *
 * Coded by Ronaldo Cordeiro - cordeiroronaldo@hotmail.com
 *
 * Uses MCP_CAN_lib-master - By Cory J. Fowler
 * https://github.com/coryjfowler/MCP_CAN_lib
 */

#include <mcp_can.h>
#include <SPI.h>

#define KLEMMEN_STATUS_01_ID 0x3C0

unsigned char kStatusBuf[4] = {0x00,0x00,0x03,0x00};
unsigned char checkSum[16]  = {0x74,0xC1,0x31,0x84,0xFE,0x4B,0xBB,0x0E,0x4F,0xFA,0x0A,0xBF,0xC5,0x70,0x80,0x35};
int i=0;

MCP_CAN CAN(10);

void setup()
{
  Serial.begin(115200);
  CAN.begin(MCP_ANY,CAN_500KBPS,MCP_8MHZ);
  CAN.setMode(MCP_NORMAL);
}

void loop()
{
      kStatusBuf[0]=checkSum;
      kStatusBuf[1]=i;
      CAN.sendMsgBuf(KLEMMEN_STATUS_01_ID, 0 , 4, kStatusBuf);
      i++;
      if (i>15) i=0;
      delay(100);
}

/*********************************************************************************************************
  END FILE
*********************************************************************************************************/

Suggestions and corrections are very welcome.

Would this be modifiable in a way that would allow this to work on a PQXX test platform?
 
   #290  

kwate

Verified VCDS User
Verified
Joined
Feb 12, 2024
Messages
4
Reaction score
0
Location
Holland, Netherlands
VCDS Serial number
C?ID=327197
Guys, can you tell me where exactly the jumper should be placed in Arduino?
 
   #291  

Ronaldo

Verified VCDS User
Verified
Joined
Feb 13, 2019
Messages
149
Reaction score
148
Location
Brazil
VCDS Serial number
C?ID=357813
Would this be modifiable in a way that would allow this to work on a PQXX test platform?

I think so. I never worked on codes for the PQ platform, but other guys did. Maybe you should take a look in this thread:

 
   #292  

Ronaldo

Verified VCDS User
Verified
Joined
Feb 13, 2019
Messages
149
Reaction score
148
Location
Brazil
VCDS Serial number
C?ID=357813
Guys, can you tell me where exactly the jumper should be placed in Arduino?
I'm not sure you're referring to the same thing but if you mean the canbus terminator resistor jumper on a NiRen-like MCP2515 Arduino CANbus shield, it's marked as "J1" on the board.
 
   #293  

1SVK1

Verified VCDS User
Verified
Joined
Oct 8, 2023
Messages
30
Reaction score
16
Location
Slovakia
VCDS Serial number
C?ID=311579
this is my professional connected modules on the bench
IAyHcNU
 
   #294  

sergelhr

Verified VCDS User
Verified
Joined
Dec 16, 2020
Messages
10
Reaction score
2
Location
saint-prix, France
VCDS Serial number
C?ID=68124
hello
I'm trying to set my Bench test with golf 7 sportsvan 2015 hardware, i want to make a 1:1 copy of my actual sportsvan.
Following few retrofit done past years i have an original white cluster and bcm from this car, the Gateway and eng ecu is from a different car, CP kick in (was expected).
1st step: get ride of immobilizer ,to be able to flash the correct eng ecu software, then i was able to flash the eng ecu to the correct soft version (04L 906 021 EQ to 04L 906 021 AS) with odis E.
After the first flash no eng code displayed, long coding performed via vcds now eng code is CRLC! i was expecting CRLB instead.
How to change the eng code?
Saturday,14,December,2024,12:32:17:15214
VCDS -- Windows Based VAG/VAS Emulator Running on Windows 11 x64
VCDS Version: 24.7.1.0 (x64) HEX-NET CB: 0.4643.4
Data version: 20240919 DS356.3
www.Ross-Tech.com

Dealer/Shop Name: vag dream
Workshop Code: 995 01234 000069

VIN: WVWZZZAUZEW297344 License Plate: BENCH



--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


Address 01: Engine
Control Module Part Number: 04L 906 021 AS
Component and/or Version: R4 2,0L EDC H22 8133
Software Coding: 01190012035405082000
Work Shop Code: WSC 01234
VCID: 76A0C73CC9FC5326E1-8022

Advanced Identification/FAZIT
Identification: RB8-658
Revision: 81H22---
Date: 02.02.14
Manufacturer number: 1415
Test stand number: 0023
Flash Status
Programming Attempts(application): 2/2/2/2/2
Successful Attempts(application): 2/2/2/2/2
Flash Date: 24.12.12
Misc.
Hardware number: 04L 907 309 A
Workshop System Name: J623
ASAM Dataset: EV_ECM20TDI01104L906021AS
ASAM Dataset Revision: 002009
Car Info
Chassis Number: WVWZZZAUZEW297344
Engine code: CRLC
VCDS Info:
VCID: 76A0C73CC9FC5326E1-8022
Labels: 04L-907-309-V1.clb
Readiness: No script available
ROD: EV_ECM20TDI01104L906021AE_002.rod
 
Last edited:
   #295  

kuebk

Verified VCDS User
Verified
Joined
Jun 7, 2014
Messages
67
Reaction score
11
Location
Poland
VCDS Serial number
C?ID=139835
Never investigated this myself, but I assume it's related to power class configuration. If you send me your ECU dump we can try to figure this out.
 
   #296  

sergelhr

Verified VCDS User
Verified
Joined
Dec 16, 2020
Messages
10
Reaction score
2
Location
saint-prix, France
VCDS Serial number
C?ID=68124
Serial number: RB8-65831.08.1414150533
Challenge: B9EEB1B6
WFS status: 0201030000000000
WFS slaves status: 00F80000000000000000
SHE status:
Checksum: 020CE5D428

Lifetime status: 02
Identification counter: 01
Brand ID: 03 -> Audi
P-class learned: A3
P class applied 1: E3
P class applied 2: A3
P class applied 3: 00
P class applied 4: 00
P class applied 5: 00
Snapshot: 5300000000000004F9A3E3A3000000

Serial number: VDD-02423.02.1455020081
Challenge: C7D1C9E9
Transponder ID: 001A93D2

WFS status: 020103A3020000000000
WFS slaves status: FC00F800000000000000
SHE status:
Checksum: 031494DDE1
Lifetime status: 02
Identification counter: 01
Brand ID: 03
P-Class: A3
 
   #297  

sergelhr

Verified VCDS User
Verified
Joined
Dec 16, 2020
Messages
10
Reaction score
2
Location
saint-prix, France
VCDS Serial number
C?ID=68124
Finaly after digging the dflash i was able to change the VIN and Power Class and now odis is showing the correct engine type CRLB. power class was A3 but instead to have 3 instances for the vin/pc, i found in total 9 of them! i've probably mess up the eeprom but at least it showing the correct info. Now next step CS and MAC a bit more complicate.
Code:
Jeudi,19,Décembre,2024,14:08:31:15214
Thursday,19,December,2024,14:10:24:15214
VCDS Version: Release 24.7.1 (x64)
                Address 01: Engine
Control Module Part Number: 04L 906 021 AS
  Component and/or Version: R4 2,0L EDC   H22 8133
           Software Coding: 01190012035405082000
            Work Shop Code: WSC 00046
                      VCID: 76A0C73CC9FC5326E1-8022

Advanced Identification/FAZIT
     Identification: RB8-658
     Revision: 81H22---
     Date: 02.02.14
     Manufacturer number: 1415
     Test stand number: 0023
Flash Status
     Programming Attempts(application): 4/4/4/4/4
     Successful Attempts(application): 4/4/4/4/4
     Flash Date: 24.12.17
Misc.
     Hardware number: 04L 907 309 A
     Workshop System Name: J623
     ASAM Dataset: EV_ECM20TDI01104L906021AS
     ASAM Dataset Revision: 002009
Car Info
     Chassis Number: WVWZZZAUZFW539XXX
     Engine code: CRLB
VCDS Info:
       VCID: 76A0C73CC9FC5326E1-8022
       Labels: 04L-907-309-V1.clb
       Readiness: No script available
       ROD: EV_ECM20TDI01104L906021AE_002.rod
 
Last edited:
   #298  

sergelhr

Verified VCDS User
Verified
Joined
Dec 16, 2020
Messages
10
Reaction score
2
Location
saint-prix, France
VCDS Serial number
C?ID=68124
engine ecu cloning performed, no more "safe" displayed at the bottom right
Only SAFE CP remains need ODIS online
 
Back
Top