An open source application for programming HCS301 EEPROM Code Hopping.
Required .NET Framework 4.7.2 or Upper.
This software requires an interface hardware that can write information to the HCS.The information is sent to the interface via the com port using a usb to serial converter.
Any hardware that supports UART serial communication can be used as an interface and hardware. For example, ARDUINO PIC AVR STM8 are a good choice.
UART
,8 Data
,1 StopBit
,No Parity
,BaudRate 9600
- Device identification (Optional)
- Information to be programmed
Immediately after opening the port, the software sends the character !
and if it does not receive a response, it does so up to three times.
response must send at below format:
!
DEVICE-NAME-(STRING)
\n
According to the information in the HCS datasheet, 12 WORD 16-bit should be set.
The sending packet contains 25 bytes that are sent as follows:
>
WORD0
WORD1
WORD2
WORD3
WORD4
WORD5
WORD6
WORD7
WORD8
WORD9
WORD10
WORD11
Sending this package does not require a response. Instead, the programmer can display the result, error or any message that is described in the following section.
The received packages consist of three main sections, which are shown below:
TYPE-(Char)
MESSAGE-(STRING)
\n
- Log
<
- Info
i
- Warning
w
- Error
e
Print data to log:
<
HELLO
\n
Show Warning message:
w
Warning!
\n