| Author |
Message |
digidax
Joined: 07/11/2018 Posts: 14 Karma: +1 / -0
Premium Support
|
15-12-2018, 14:07 Subject: Corsa D, MS-CAN |
Quote |
|
Hello CAn Hacker.
I'm looking for someone who can create a data log for me on the MS-CAN bus (92.2 kbit/s), specifically using pin 3 [H] and pin 11 [L] of the OBD2 connector.
In the car, it should have the GID (large monochrome pixel display) and not have the Touch & Connect feature. (Unfortunately, I have the T&C installed in mine, which is why I need your help).
Three scans need to be recorded.
1. When the Setting button is pressed and released.
2. If the radio is on and the RDS station name is displayed on the screen, take a picture of the display using the GID so I can identify it.
3. if the input is set to AUX.
Thank you very much.
Frank.
|
|
| Back to top |
Profile PM |
 |
CAN-Diagnose Administrator


Joined: 06/07/2011 Posts: 573 Karma: +29 / -0 Location: Ländle
|
15-12-2018, 15:35 Subject: Corsa D, MS-CAN |
Quote |
|
Hello Frank,
Please provide contact information (e.g., a disposable email address, mobile phone number, etc.) so that customers other than your own can reach you.
Good luck, Rainer.
|
|
| Back to top |
Profile PM WWW |
 |
digidax
Joined: 07/11/2018 Posts: 14 Karma: +1 / -0
Premium Support
|
|
| Back to top |
Profile PM |
 |
shavenne CAN-Profi

Joined: 04/27/2015 Posts: 37 Karma: +6 / -0 Location: Paderborn
CAN Support
CAN-Diagnose likes this. |
15-12-2018, 15:58 Subject: Corsa D, MS-CAN |
Quote |
|
92.2? Should be 95.238.
The settings button should be in the same location as it is on the Vectra C.
01 FF = Press.
00 FF 01 = Release.
(On ID 0x206)
I can't provide any further assistance because I no longer have the original radio installed, and I have the CID unit. However, the GID unit is likely compatible and can be connected in a similar way. Especially since, as I said, I have a Vectra C  .
Last edited on 15-12-2018, 15:59, edited 1 time in total.
|
|
| Back to top |
Profile PM |
 |
digidax
Joined: 07/11/2018 Posts: 14 Karma: +1 / -0
Premium Support
|
17-12-2018, 8:54 Subject: Corsa D, MS-CAN |
Quote |
|
Okay, 95,238 is correct, but I need to use a different interface. The RKS-CAN module doesn't receive anything with the setting of 95238.
At address 0x206, I have the value 00 91 01 in the normal state. I will try setting it to 01 FF and see what happens.
Thank you very much.
Frank.
Last edited on 17-12-2018, 8:56, edited 1 time in total.
|
|
| Back to top |
Profile PM |
 |
shavenne CAN-Profi

Joined: 04/27/2015 Posts: 37 Karma: +6 / -0 Location: Paderborn
CAN Support
|
17-12-2018, 11:53 Subject: Corsa D, MS-CAN |
Quote |
|
Hmm, maybe it's different in the Corsa.
Code: | if (serialCommand == "BTN_OK") {
sendIntoCAN(0x206, 3, 0x1, 0x84);
sendIntoCAN(0x206, 3, 0x0, 0x84, 0x1);
}
if (serialCommand == "BTN_SETTINGS") {
sendIntoCAN(0x206, 3, 0x1, 0xFF);
sendIntoCAN(0x206, 3, 0x0, 0xFF, 0x1);
}
if (serialCommand == "BTN_BC") {
sendIntoCAN(0x206, 3, 0x1, 0x1);
sendIntoCAN(0x206, 3, 0x0, 0x1, 0x1);
}
if (serialCommand == "BTN_MAIN") {
sendIntoCAN(0x206, 3, 0x1, 0xE0);
sendIntoCAN(0x206, 3, 0x0, 0xE0, 0x1);
}
if (serialCommand == "BTN_UP") {
sendIntoCAN(0x206, 3, 0x8, 0x83, 0xFF);
}
if (serialCommand == "BTN_DOWN") {
sendIntoCAN(0x206, 3, 0x8, 0x83, 0x1);
}
|
There are still the other buttons that I have in my source code  .
|
|
| Back to top |
Profile PM |
 |
digidax
Joined: 07/11/2018 Posts: 14 Karma: +1 / -0
Premium Support
|
17-12-2018, 12:01 Subject: Corsa D, MS-CAN |
Quote |
|
Okay, I'll take a look at that this afternoon.
Actually, I want to transfer and display the values from a wheelchair battery to the GID, which is being charged in the trunk during the drive. To do this, I changed the GID setting in OP-COM from "without radio - Touch & Connect," which is what's installed on the CD60, to a blank setting. Now I have two empty tabs and the trip computer, but the "Settings" tab is missing. It would then be virtually present on the radio, so when I send the correct message, the settings window for the virtual radio should appear.
Then I would have to try to populate the empty fields via the CAN bus. I found some frames online for the Astra, but unfortunately, I can't log any myself because the Touch & Connect system doesn't transmit any frames to the GID (Graphics Information Display).
Thank you for any help.
Frank.
|
|
| Back to top |
Profile PM |
 |
shavenne CAN-Profi

Joined: 04/27/2015 Posts: 37 Karma: +6 / -0 Location: Paderborn
CAN Support
|
17-12-2018, 12:10 Subject: Corsa D, MS-CAN |
Quote |
|
There is also a "Settings" tab, even without radio Code: | sendIntoCAN(0x691, 8, 0x41, 0x0, 0x60, 0xC, 0x82, 0x0, 0x2, 0x2a);
sendIntoCAN(0x766, 8, 0x41, 0x6, 0x46, 0x4, 0x1, 0x2, 0x0, 0x0); | .
The other two tabs are blank because you first have to pretend that a radio is turned on.
Here's how I do it for the radio and navigation system:
Every few seconds (I send it every 2 seconds). Then the symbols should also appear in the tab (assuming that the Corsa and Vectra infotainment systems are identical).
You should listen to 0x6C1 for some text.
You might need to set the drive to CD70/DVD90 mode, as I had a CD70 installed.
I have a tablet installed in my car, and I wanted it to be integrated as seamlessly as possible, including the head unit, OEM display control, and the original hands-free system.
Or, I once had a friend display a specific value from his engine control unit in the FSE section (in his Astra H) because he wanted to keep an eye on it  . By the way, the controls were absolutely identical compared to my Vectra.
Last edited on 17-12-2018, 12:15, edited 1 time in total.
|
|
| Back to top |
Profile PM |
 |
digidax
Joined: 07/11/2018 Posts: 14 Karma: +1 / -0
Premium Support
|
17-12-2018, 12:22 Subject: Corsa D, MS-CAN |
Quote |
|
Absolutely brilliant.
You're really helping me out.
Here's what I recorded on the MS-CAN yesterday:
; +Message ID
; | Cycle time in ms (0 = manual)
; | | +Data length
; | | | +Frame type
; | | | | +Message data
; | | | | |
101h 0 8 D FEh 01h 3Eh 00h 00h 00h 00h 00h
180h 0 8 D 46h 01h 12h 0C 7B 01h 2D FFh
188h 0 6 D 46h 02h 00h 00h 00h 00h
189h 0 4 D 46h 01h 0Fh FFh
18Ah 0 6 D 46h 00h 04h 00h 00h 00h
206h 0 3 D 00h 91h 01h
208h 0 6 D 08h 16h 01h 00h 00h 00h
241h 0 8 D 30h 00h 00h 00h 00h 00h 00h 00h
246h 0 8 D 02h 1Ah BBh 55h 55h 55h 55h 55h
247h 0 8 D 01h 20h 00h 00h 00h 00h 00h 00h
2B0h 0 8 D 46h 0Ch 00h 0Ah 00h 00h 00h 00h
2C1h 0 8 D 30h 00h 00h 00h 00h 00h 00h 00h
2C8h 0 8 D 30h 00h 00h 00h 00h 00h 00h 00h
450h 0 4 D 46h 07h 06h 00h
452h 0 3 D 46h 02h 01h
454h 0 8 D 46h 00h 80h 00h 01h 00h 00h 00h
458h 0 8 D D2h 10h 47h A1h C8h C6h AEh C2h
4C6h 0 8 D 46h 21h AFh FEh 00h 00h 00h 00h
4E0h 0 7 D 48h C9h 02h 00h 00h 00h 00h
4E8h 0 7 D 46h 0Fh 00h 00h 00h 00h 00h
4ECh 0 5 D 46h 07h 36h 1Fh 04h
4EEh 0 4 D 46h 03h 03h F6h
4F0h 0 5 D 46h 2Fh 10h 00h 00h
4F1h 0 3 D 46h 03h 00h
4F2h 0 3 D 46h 00h 01h
501h 0 8 D 61h 01h 42h 12h 01h 00h 40h 01h
506h 0 8 D 86h 01h 42h 16h 84h 00h 00h 03h
508h 0 8 D 18h 01h 42h 16h 01h 00h 40h 02h
641h 0 8 D 21h 00h 00h 00h 00h 00h 00h 5Ah
646h 0 8 D 04h 5Ah BBh 40h 01h 00h 00h 00h
666h 0 8 D 48h 06h 46h 0C 00h 11h 00h 00h
668h 0 8 D 46h 06h 48h 00h 0C 12h 37h FFh
680h 0 6 D 46h 00h 41h 00h 00h 00h
681h 0 5 D 46h 00h 00h 00h 00h
682h 0 3 D 46h 01h 63h
683h 0 3 D 46h 01h 63h
696h 0 8 D 46h 00h 60h 06h 91h 00h B0h 10h
698h 0 8 D 48h 00h 60h 02h 82h 00h 04h 00h
6C8h 0 8 D 23h 26h 02h E0h 50h 00h 30h 20h
766h 0 8 D 41h 06h 46h 04h 01h 02h 00h 00h
I have researched that 6C1 is used for RDS and 6C7 for telephone, and accordingly, the structure of the multi-message, which then increments from 21 to 2F.
There's a CU Unit available for the Astra, and the Czech user says that it fills the entire display, and you can even add new entries on the left side.
What settings do you have for the MS CAN in the KCAN Monitor? Unfortunately, nothing happens with 95238.
|
|
| Back to top |
Profile PM |
 |
shavenne CAN-Profi

Joined: 04/27/2015 Posts: 37 Karma: +6 / -0 Location: Paderborn
CAN Support
|
17-12-2018, 12:26 Subject: Corsa D, MS-CAN |
Quote |
|
I don't have a KCAN, I use an Arduino with an MCP2515.
When I'm at home, I'll check if I still have my handwritten notes. I had roughly written down which byte corresponds to what on the 6c1 device. It was a huge amount of work for me, because it was my very first CAN project, and I had never worked with CAN before, let alone with microcontroller programming  .
I've also experimented with building my own menus, just to see how it works. It's possible. I didn't elaborate on that further.
Last edited on 17-12-2018, 12:32, edited 2 times in total.
|
|
| Back to top |
Profile PM |
 |
CAN-Diagnose Administrator


Joined: 06/07/2011 Posts: 573 Karma: +29 / -0 Location: Ländle
|
17-12-2018, 14:06 Subject: Corsa D, MS-CAN |
Quote |
|
digidax wrote: | Sure, 95,238 is correct, but I need to use a different interface; the RKS-CAN doesn't receive anything with the setting of 95238.
At address 0x206, I have the value 00 91 01 in the normal state. I will try setting it to 01 FF and see what happens.
Thank you very much.
Frank |
Have you ever tried adjusting the bitrate, both higher and lower?
Please do not include periods or commas when specifying the bitrate; I'm concerned that if you do, the system might only consider the number "95".
Best regards, Rainer.
|
|
| Back to top |
Profile PM WWW |
 |
digidax
Joined: 07/11/2018 Posts: 14 Karma: +1 / -0
Premium Support
|
17-12-2018, 14:36 Subject: Corsa D, MS-CAN |
Quote |
|
I'll try that later.
Thank you. Best regards, Frank.
|
|
| Back to top |
Profile PM |
 |
digidax
Joined: 07/11/2018 Posts: 14 Karma: +1 / -0
Premium Support
|
17-12-2018, 17:00 Subject: Corsa D, MS-CAN |
Quote |
|
I tried using 95238 and 95200, but without success. On the HS Can device, the interface works with 500 k. Alternatively, the Peak CAN interface can operate on the same connector at 95.238 kbit/s, which eliminates the possibility of a reversed H/L configuration.
What else can I test?
|
|
| Back to top |
Profile PM |
 |
CAN-Diagnose Administrator


Joined: 06/07/2011 Posts: 573 Karma: +29 / -0 Location: Ländle
|
18-12-2018, 11:13 Subject: Corsa D, MS-CAN |
Quote |
|
digidax wrote: | I tried using 95238 and 95200, but without success. On the HS Can, the interface works with 500 k. Alternatively, the Peak CAN interface can operate on the same connector at 95.238 kbit/s, which eliminates the possibility of a reversed H/L configuration.
What else can I test? |
Hello,
I'll take a look at the code later to see how the chip registers are set based on the input bitrate.
Trying bitrates of 95500 and 95000 would be worth a shot. The adjustable bitrates aren't arbitrary; they must be generatable as integer multiples of the base clock on the CAN bus.
Best regards, Rainer.
|
|
| Back to top |
Profile PM WWW |
 |
CAN-Diagnose Administrator


Joined: 06/07/2011 Posts: 573 Karma: +29 / -0 Location: Ländle
|
21-12-2018, 23:39 Subject: Corsa D, MS-CAN |
Quote |
|
Update: Using a virtual serial port and the ASCII interface, the bitrate can also be adjusted, similar to how it is done with the SJA1000.
Command Snnmm -> Sc34e to open the CAN bus at 95238 bits per second.
You might want to test this with the appropriate values. I couldn't find any errors with the "syXXXXXX" command, at least.
If someone could send me a control unit that produces the incorrect bitrate, I could debug where the problem lies. http://www.kaufmann-automotive.ch/en/RKS+CAN-ASCII-Interface.pdf
Best regards, Rainer.
Last edited on 21-12-2018, 23:47, edited 1 time in total.
|
|
| Back to top |
Profile PM WWW |
 |
|