You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

selftest.cfg 413 B

1234567891011121314151617
  1. add_help_text selftest "run selftest using working ram <tmpfile> <address> <size>"
  2. proc selftest {tmpfile address size} {
  3. for {set i 0} {$i < $size } {set i [expr $i+4]} {
  4. mww [expr $address+$i] $i
  5. }
  6. for {set i 0} {$i < 10 } {set i [expr $i+1]} {
  7. echo "Test iteration $i"
  8. dump_image $tmpfile $address $size
  9. verify_image $tmpfile $address bin
  10. load_image $tmpfile $address bin
  11. }
  12. }