Skip to content

Commit

Permalink
set prog_en to 0 after loading binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
lmbollen committed Jan 30, 2025
1 parent e24edab commit 84329fd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ driverFunc testName targets = do
openHardwareTarget hwT
updateVio
"vioHitlt"
[ ("probe_prog_en", "1")
[ ("probe_prog_en", "0")
, ("probe_test_start", "1")
]

Expand Down Expand Up @@ -191,6 +191,7 @@ driverFunc testName targets = do
brackets (liftIO <$> L.zipWith initGdb gdbPorts targets) (liftIO . snd) $ \initGdbsData -> do
let gdbs = fmap fst initGdbsData
liftIO $ mapM_ ((errorToException =<<) . Gdb.loadBinary) gdbs
mapM_ (\(hwT, _) -> openHardwareTarget hwT >> updateVio "vioHitlt" [ ("probe_prog_en", "0")]) targets
-- liftIO $ mapM_ ((errorToException =<<) . Gdb.compareSections) gdbs
liftIO $ mapM_ Gdb.continue gdbs
mapM_ startTest targets
Expand Down

0 comments on commit 84329fd

Please sign in to comment.