Editing Talk:SC Communication
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Syscon packets == | == Syscon packets == | ||
Line 368: | Line 20: | ||
</pre> | </pre> | ||
* Although this service is not used on Slim and some Phat consoles anymore, it is working | * Although this service is not used on Slim and some Phat consoles anymore, it is working. | ||
* It seems it have the same restrictions as NVS service. | * It seems it have the same restrictions as NVS service. | ||
Line 387: | Line 39: | ||
</pre> | </pre> | ||
* Although this service is not used on Slim and some Phat consoles anymore, it is working | * Although this service is not used on Slim and some Phat consoles anymore, it is working. | ||
* It seems it have the same restrictions as NVS service. | * It seems it have the same restrictions as NVS service. | ||
Line 473: | Line 125: | ||
</pre> | </pre> | ||
==== | ==== Get reference clock ==== | ||
Purpose: Used to calculate an initial value of timebase register. | Purpose: Used to calculate an initial value of timebase register. | ||
<pre> | <pre> | ||
struct __attribute__ ((packed)) get_reference_clock_request_t { | struct __attribute__ ((packed)) get_reference_clock_request_t { | ||
uint8_t cmd; // 0x03 | uint8_t cmd; // 0x03 | ||
uint8_t param; // 0x10 | uint8_t param; // 0x10 | ||
}; | }; | ||
Line 659: | Line 296: | ||
</pre> | </pre> | ||
=== | === Livelock Service (0x18) === | ||
==== Get service version ==== | ==== Get service version ==== | ||
Line 678: | Line 315: | ||
==== Get syscon version ==== | ==== Get syscon version ==== | ||
Purpose: Get information about syscon version | Purpose: Get information about syscon version. | ||
<pre> | <pre> | ||
struct __attribute__ ((packed)) get_sc_version_request_t { | struct __attribute__ ((packed)) get_sc_version_request_t { | ||
Line 689: | Line 325: | ||
uint8_t padding[3]; | uint8_t padding[3]; | ||
uint16_t version; | uint16_t version; | ||
}; | }; | ||
</pre> | </pre> | ||
Line 808: | Line 429: | ||
=== Log === | === Log === | ||
[pre] | |||
create_auth1_cmd() | |||
Total time elapsed : 822 us | |||
setup_packet() | |||
Total time elapsed : 1007 us | |||
sc_put() | |||
Total time elapsed : 3141 us | |||
sc_get() | |||
Total time elapsed : 2003358 us | |||
validate_auth1_cmd() | |||
Total time elapsed : 2003444 us | |||
create_auth2_cmd() | |||
Total time elapsed : 2003477 us | |||
setup_packet() | |||
Total time elapsed : 2003482 us | |||
sc_put() | |||
Total time elapsed : 2005603 us | |||
sc_get() | |||
Total time elapsed : 4005793 us | |||
validate_auth2_cmd() | |||
Total time elapsed : 4005867 us | |||
create_read_data_cmd() | |||
Total time elapsed : 4005919 us | |||
setup_packet() | |||
Total time elapsed : 4005924 us | |||
sc_put() | |||
Total time elapsed : 4008113 us | |||
sc_get() | |||
Total time elapsed : 6008311 us | |||
validate_read_data_cmd() | |||
Total time elapsed : 6008490 us | |||
end | |||
Total time elapsed : 6008544 us[/pre] | |||
* KickStart Value (packet 0): 1.8480055 seconds | * KickStart Value (packet 0): 1.8480055 seconds | ||
* KickEnd Value : (packet 69): 5.8694735 seconds | * KickEnd Value : (packet 69): 5.8694735 seconds | ||
* Diff : 4.021468 seconds | * Diff : 4.021468 seconds | ||