GaloisInc / BESSPIN-Tool-Suite

The core tool of the BESSPIN Framework.
Other
5 stars 2 forks source link

Issues with flashing multiple targets #1241

Open podhrmic opened 3 years ago

podhrmic commented 3 years ago

Summary of my experience with flashing multiple (6) targets for cyberphys (using flashProgramAndBoot and then flashBoot) 1) flashing more than one target with the tools almost always failed. So I ended up calling the TCL script manually, and that worked just fine. 2) resetting a target that is marked as flashBoot doesn't work - somehow the tool gets confused, and then just exits. 3) cheri doesn't like to boot from flash, somehow it cannot initialize its pointers properly so it craps out if you try it

My workaround was to manually flash the debian targets, and because I never reset them, they work nicely and boot so much faster. And I use the old JTAG upload for loading/resetting the FreeRTOS targets and that works fine.

podhrmic commented 2 years ago

NOTE - the flashing needs to be done one target at a time, then it works (even though it tries to immediately run the target after flashing, which is incorrect and fails without the FPGA reset).