1 What: /sys/class/c2port/
3 Contact: Rodolfo Giometti <giometti@linux.it>
5 The /sys/class/c2port/ directory will contain files and
6 directories that will provide a unified interface to
9 What: /sys/class/c2port/c2portX
11 Contact: Rodolfo Giometti <giometti@linux.it>
13 The /sys/class/c2port/c2portX/ directory is related to X-th
14 C2 port into the system. Each directory will contain files to
15 manage and control its C2 port.
17 What: /sys/class/c2port/c2portX/access
19 Contact: Rodolfo Giometti <giometti@linux.it>
21 The /sys/class/c2port/c2portX/access file enable the access
22 to the C2 port from the system. No commands can be sent
23 till this entry is set to 0.
25 What: /sys/class/c2port/c2portX/dev_id
27 Contact: Rodolfo Giometti <giometti@linux.it>
29 The /sys/class/c2port/c2portX/dev_id file show the device ID
30 of the connected micro.
32 What: /sys/class/c2port/c2portX/flash_access
34 Contact: Rodolfo Giometti <giometti@linux.it>
36 The /sys/class/c2port/c2portX/flash_access file enable the
37 access to the on-board flash of the connected micro.
38 No commands can be sent till this entry is set to 0.
40 What: /sys/class/c2port/c2portX/flash_block_size
42 Contact: Rodolfo Giometti <giometti@linux.it>
44 The /sys/class/c2port/c2portX/flash_block_size file show
45 the on-board flash block size of the connected micro.
47 What: /sys/class/c2port/c2portX/flash_blocks_num
49 Contact: Rodolfo Giometti <giometti@linux.it>
51 The /sys/class/c2port/c2portX/flash_blocks_num file show
52 the on-board flash blocks number of the connected micro.
54 What: /sys/class/c2port/c2portX/flash_data
56 Contact: Rodolfo Giometti <giometti@linux.it>
58 The /sys/class/c2port/c2portX/flash_data file export
59 the content of the on-board flash of the connected micro.
61 What: /sys/class/c2port/c2portX/flash_erase
63 Contact: Rodolfo Giometti <giometti@linux.it>
65 The /sys/class/c2port/c2portX/flash_erase file execute
66 the "erase" command on the on-board flash of the connected
69 What: /sys/class/c2port/c2portX/flash_erase
71 Contact: Rodolfo Giometti <giometti@linux.it>
73 The /sys/class/c2port/c2portX/flash_erase file show the
74 on-board flash size of the connected micro.
76 What: /sys/class/c2port/c2portX/reset
78 Contact: Rodolfo Giometti <giometti@linux.it>
80 The /sys/class/c2port/c2portX/reset file execute a "reset"
81 command on the connected micro.
83 What: /sys/class/c2port/c2portX/rev_id
85 Contact: Rodolfo Giometti <giometti@linux.it>
87 The /sys/class/c2port/c2portX/rev_id file show the revision ID
88 of the connected micro.