summaryrefslogtreecommitdiffstats
path: root/tests/top2049/003-w29ee011dip32.test
blob: 676dd34481ff557310a514e55091e8bfc311d50e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

function test_init
{
	request_DUT "w29ee011dip32" || return 1
	return 0
}

function test_run
{
	local args="--bitfile w29ee011dip32 -I bin -O bin"

	toprammer $args --erase

	toprammer $args --write-eeprom "$testfile_128k"
	toprammer $args --read-eeprom "$tmpfile"
	compare_files "$testfile_128k" "$tmpfile" || die "EEPROM mismatch"
}
bues.ch cgit interface