User Tools

Site Tools


code:fx3_hvci_and_fpga_i_c_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
code:fx3_hvci_and_fpga_i_c_commands [2019/11/13 00:25]
Igor Yefmov [0xA8-0xA9 - sysinfo and debugging]
code:fx3_hvci_and_fpga_i_c_commands [2019/11/13 00:27] (current)
Igor Yefmov [0xA8-0xA9 - sysinfo and debugging]
Line 64: Line 64:
 ===== 0xA8-0xA9 - sysinfo and debugging ===== ===== 0xA8-0xA9 - sysinfo and debugging =====
 ^Name ^Offset ^wIndex ^wValue ^Access type ^Byte length ^Return buffer bits ^Notes ^ ^Name ^Offset ^wIndex ^wValue ^Access type ^Byte length ^Return buffer bits ^Notes ^
-|Sysinfo|''​0xA8''​|data structure version (currently only ''​1''​ is supported) | bitmask of additional checks to perform:\\ ''​2''​-''​7'':​ reserved\\ ''​1''​ - check DMA integrity\\ ''​0''​ - check memory integrity ​|R/​O|''​30''​| **Supported features** (byte #5)\\ ''​0''​ - USB3\\ ''​1''​ - OTG (USB 2.0 host mode)\\ ''​2''​ - 512KB RAM\\ ''​3''​ - I2S\\ ''​4''​ - GPIF (under 32bits)\\ ''​5''​ - GPIF32\\ **Configured features** (byte #6)\\ ''​0''​ - I²C\\ ''​1''​ - I2S\\ ''​2''​ - UART\\ ''​3''​ - SPI\\ ''​4''​ - PIB on/off\\ ''​5''​ - DLL status\\ ''​6''​ - LPP on/off |Get various internal system info on the guts of the RTOS and the firmware running on FX3. Returned bytes:\\ **Version 1** (FX3 #52):\\ 0 - uint32_t: system uptime in ms ticks\\ 4 - uint8_t: Cypress part number\\ 5 - uint8_t: supported features\\ 6 - uint8_t: configured features\\ 7 - uint8_t: USB speed (0, 1, 2, 3 for: disconnected,​ FS, HS, SS)\\ 8 - uint32_t: memory alloc() count\\ 12 - uint32_t: memory free() count\\ 16 - uint32_t: DMA alloc() count\\ 20 - uint32_t: DMA free() count\\ 24 - uint16_t: PHY error count\\ 26 - uint16_t: LINK error count\\ 28 - uint8_t: status of memory corruption check\\ 29 - uint8_t: status of DMA corruption check|+|Sysinfo|''​0xA8''​|data structure version (currently only ''​1''​ is supported) | bitmask of additional checks to perform:\\ ''​0''​ - check memory integrity\\ ''​1''​ - check DMA integrity\\ ''​2''​-''​7'':​ reserved ​|R/O|V1: ''​30''​| **Supported features** (byte #5)\\ ''​0''​ - USB3\\ ''​1''​ - OTG (USB 2.0 host mode)\\ ''​2''​ - 512KB RAM\\ ''​3''​ - I2S\\ ''​4''​ - GPIF (under 32bits)\\ ''​5''​ - GPIF32\\ **Configured features** (byte #6)\\ ''​0''​ - I²C\\ ''​1''​ - I2S\\ ''​2''​ - UART\\ ''​3''​ - SPI\\ ''​4''​ - PIB on/off\\ ''​5''​ - DLL status\\ ''​6''​ - LPP on/off |Get various internal system info on the guts of the RTOS and the firmware running on FX3. Returned bytes:\\ **Version 1** (FX3 #52):\\ 0 - uint32_t: system uptime in ms ticks\\ 4 - uint8_t: Cypress part number\\ 5 - uint8_t: supported features\\ 6 - uint8_t: configured features\\ 7 - uint8_t: USB speed (0, 1, 2, 3 for: disconnected,​ FS, HS, SS)\\ 8 - uint32_t: memory alloc() count\\ 12 - uint32_t: memory free() count\\ 16 - uint32_t: DMA alloc() count\\ 20 - uint32_t: DMA free() count\\ 24 - uint16_t: PHY error count\\ 26 - uint16_t: LINK error count\\ 28 - uint8_t: status of memory corruption check\\ 29 - uint8_t: status of DMA corruption check|
 |Reserved|''​0xA9''​| | | | | | | |Reserved|''​0xA9''​| | | | | | |
  
/home/adminsub2r/public_html/dokuwiki/data/pages/code/fx3_hvci_and_fpga_i_c_commands.txt · Last modified: 2019/11/13 00:27 by Igor Yefmov