====== Programming flash ====== If you're getting a "Driver failed to start" or "DVR API error" messages from Streams5 and you can't enable the devices, you'll probably need to reset the flash on the DVR boards * Open up the console, navigate to the directory where you have the diagnostic tools for CL160 installed (most likely, C:\\Program Files\IO Industries\DVR Express\CL160\) and run the command **flshprog flsh160.bin** {{ documentation:flash1.jpg }} * You will see a progress bar on the screen telling you that the program is updating flash on a certain device. Wait for this to finish. {{ documentation:flash2.jpg }} * Next, program the acquisition modes by executing the command **jtagprog acqmodes\009-400-acq** (highlighted in red). If you try to program an incorrect acquisition mode, jtagprog will tell you that the mode is incorrect. {{ documentation:flash3.jpg }} * First, the program will erase the acquisition mode {{ documentation:flash4.jpg }} * Then, it will write the new mode to the boards {{ documentation:flash5.jpg }}