de:doc:hw_commands
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
de:doc:hw_commands [2014/04/20 16:50] – created wsauer | de:doc:hw_commands [2014/09/21 15:05] – wsauer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
Under the assumtion, that it will be mostly other software which talks to the interface, the command structure was made simple, but flexible. | Under the assumtion, that it will be mostly other software which talks to the interface, the command structure was made simple, but flexible. | ||
Line 86: | Line 86: | ||
| 1 | 0..max | | 1 | 0..max | ||
| 5 | $xxx | 0 | set ECU Request-ID (RECVID) | | 5 | $xxx | 0 | set ECU Request-ID (RECVID) | ||
- | | 6 | $xxx | 0 | activate | + | | 6 | $xxx | 0 | start Tester present on CAN-ID $xxx with actual interval and mask | 10 (Out of Mem) |
- | | 7 | $xxx | 0 | deactivate | + | | 7 | $xxx | 0 | stop Tester present on CAN-ID |
- | | 8 | 0..max | + | | 8 | 0..max |
- | | 9 | $xxx | 0 | set ECU Response-ID (SENDID) | + | | 9 | $xxx | 0 | set ECU Response-ID (SENDID) (Default 0, makes SENDID= RECVID %%|%% 0x08) | | |
+ | | 10 | $xxx | 0 | set Tester Present mask 02 xx (Default 0x80) | | | ||
==== Protocol Specific Commands (P 6) for the CAN Raw Protocol ==== | ==== Protocol Specific Commands (P 6) for the CAN Raw Protocol ==== | ||
Line 114: | Line 115: | ||
==== Bus Specific Commands (P 8) for the CAN Bus, used in D2 Design ==== | ==== Bus Specific Commands (P 8) for the CAN Bus, used in D2 Design ==== | ||
- | ^ Command | + | |
- | | 2 | 0 | 0 | CAN transceiver: | + | ^ Command |
- | | 2 | 1 | 0 | CAN transceiver: | + | | 2 | 0 | 0 |CAN transceiver: |
- | | 2 | 2 | 0 | CAN transceiver: | + | | 2 | 1 | 0 |CAN transceiver: |
- | | 2 | 3 | 0 | CAN transceiver: | + | | 2 | 2 | 0 |CAN transceiver: |
- | | 3 | 1 | 0 | Standard-CAN init (initialize CAN controller with 125kbit/s, 11bit) | + | | 2 | 3 | 0 |CAN transceiver: |
- | | 3 | 2 | 0 | Standard-CAN init (initialize CAN controller with 250kbit/s, 11bit) | + | | 3 | |
- | | 3 | 3 | 0 | Standard-CAN init (initialize CAN controller with 500kbit/s, 11bit) | + | | 3 | 2 | 0 |Standard-CAN init (initialize CAN controller with 250kbit/s, 11bit) |
- | | 3 | 4 | 0 | Standard-CAN init (initialize CAN controller with 1000kbit/s, 11bit) | + | | 3 | 3 | 0 |Standard-CAN init (initialize CAN controller with 500kbit/s, 11bit) |
- | | 3 | 5 | 0 | Extended-CAN init (initialize CAN controller with 125kbit/s, 29bit) | + | | 3 | 4 | 0 |Standard-CAN init (initialize CAN controller with 1000kbit/s, 11bit) |
- | | 3 | 6 | 0 | Extended-CAN init (initialize CAN controller with 250kbit/s, 29bit) | + | | 3 | 5 | 0 |Extended-CAN init (initialize CAN controller with 125kbit/s, 29bit) |
- | | 3 | 7 | 0 | Extended-CAN init (initialize CAN controller with 500kbit/s, 29bit) | + | | 3 | 6 | 0 |Extended-CAN init (initialize CAN controller with 250kbit/s, 29bit) |
- | | 3 | 8 | 0 | Extended-CAN init (initialize CAN controller with 1000kbit/s, 29bit) | + | | 3 | 7 | 0 |Extended-CAN init (initialize CAN controller with 500kbit/s, 29bit) |
- | | 4 | 0 | 0 | HS-CAN (Relais switch - OFF) | + | | 3 | 8 | 0 |Extended-CAN init (initialize CAN controller with 1000kbit/s, 29bit) |
- | | 4 | 1 | 0 | MS-CAN (Relais switch - ON) | + | | 4 | 0 | 0 |HS-CAN (Relais switch - OFF) | | |
- | | 10 | < | + | | 4 | 1 | 0 |MS-CAN (Relais switch - ON) | | |
- | | 11 | < | + | | 10 | |
- | | 12 | | + | | 11 | |
- | | 13 | | + | | 12 | |
- | | 14 | 0 | 0 | set all 11bit | + | | 13 | |
+ | | 14 | 0 | 0 |set all 11bit CAN filter to CAN-ID $0000 and Mask-ID $07FF (= disable any CAN traffic to application) | ||
+ | |||
+ | |||
+ | \\ | ||
===== Bus Generic Commands (P 9) ===== | ===== Bus Generic Commands (P 9) ===== |
de/doc/hw_commands.txt · Last modified: 2015/07/09 16:33 by nexulm