12345678910111213141516171819202122 |
- #!/bin/sh
- test_init()
- {
- request_DUT "at89c2051dip20" || return 1
- return 0
- }
- test_run()
- {
- # Check signature
- toprammer --read-sig "$tmpfile"
- compare_file_to_hex $tmpfile "1E21" || die "signature mismatch"
- toprammer --erase
- # Check progmem
- toprammer --write-prog "$testfile_2k"
- toprammer --read-prog "$tmpfile"
- compare_files "$testfile_2k" "$tmpfile" || die "progmem mismatch"
- }
|