Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Makefile
README
main.c

README

EEPROM write test:

The command is specified as follows:
'E' <uint16_t dest><uint8_t len><bytes><uint32_t crc32>

To send a valid command:
perl -Ilib -MBusmaster -E 'Busmaster->new()->send('pinpad', "E\0\0\4abcd\x3D\x19\xA7\x2D")'

The expected reply is:
payload = $VAR1 = 'EEP ACK';

If you modify the commend to not contain a valid checksum, the expected reply is:
payload = $VAR1 = 'EEP CRCERR';
You can’t perform that action at this time.