1 Software summary
1.1 Function introduction:
HiChannel is a PC control software which Hisilicon network access terminal channel product, it could control the chips or FPGA which includes channel and made after 2011.
- Can control chips or FPGA which includes channel and made after 2011.
- This software can connect the device by the ethernet interface.
- User can quickly create the config file and a script file which match the current chip or FPGA. The config file and a script file can be loaded at any time.
- Button, Indicator, Trace and Monitor operation which involving specific chip is executed by C-script. Anyone of the C-scripts can be used as entrance function.
- Register supports both address with 1 bit, register with 1 bit (such as I2C) and address with multiple bytes, register with multiple bytes. The communication protocol of the last one will be expanded later.
1.2 Software environmental:
This sotfware supports Windows 2000, Windows XP and Window 7.
1.3 Hardware environmental:
PC, network cable, device with FPGA or device with channel product(contains Hi3716 system and the Ethernet interface). Or through change small device (subsystem of Hi3716) to achieve the transformation from an Ethernet interface to the I2C interface, then connect the I2C bus in the device.
1.4 The restriction of use:
-
Config file must follow a specific format. Otherwise, can't be loaded or execute error. Recommend user doesn't modify the config files, only if you are know well about the format of the config file.
-
If there is syntax error in the C-script, it may cause the script failed to load. The syntax error will be reported when we load the file.
-
Because the C-script use internal compiler operation mode(after load successfully, the C-script will directly be compiled into executable code and executed in the code space of HiChannel), if there are operation error to the C-script(such as operating to null point), will cause some unpredictable errors, even cause the software don't work.
1.5 Definition of terms:
- Timer -- timing according to the system clock, invoke the script function periodically to realize the dynamic monitoring function for Button.
- Base -- This software manager registers by segment, the address of register contains by base and offset. Address = base + offset.
- Offset -- The offset of the address relative to base.
- Bit field address -- Includ register address, highBit and lowBit, such as: RegAddr[HighBit, LowBit], the RegAddr of it is 16 hex, HighBit and LowBit are 10 dec. LowBit start from 0, the max value of HighBit is 7(15 or 31), corresponding registers with 8(16 or 32) width. such as 10[ 4, 0] means the 5 lowbit of address 0x10; 2C[ 4, 4] means the 4 bit of address 0x2C.
- Offset field address -- Offset field address of specific base. such as: OffsetAddr[HighBit, LowBit], OffsetAddr id 16 hex, HighBit and LowBit are 10 dec. Such as: when the base is 0x20, offset is 0xF[5, 2]. It means the 5 bit to 2 bit of 0x2F.
- Bit Register -- The register will be named, displayed and shown by 1 bit(word) or several bit(word).
- Word Register -- The register will be named, displayed and shown by 1 word(If the width of the register is 8, the word is a byte).