• Visit https://www.embeddedcomputers.net/ for Hardware; Software and all other things related to FlashcatUSB

Script automation

Nonuf Yerbiz

New Member
Hi, fellow FlashCat Forum'ers:
Anyone know a way to force a script event to use a specific flash file ("myExample.bin"), instead of using the Windows "Open File" dialog?
Also, anyone know a way to launch the FlashCatUSB GUI with a specific script already loaded, and on that tab? Tried using the console commandline "-execute" command, but this seems to be for running a script automatically WITHOUT the GUI.
Cheers,
-Nonuf
 
The software will only load a specific script for EJTAG devices automatically , if they are in the .ini file already , it will load the last saved script file depending on the BCM.
This cannot be done for SPI devices.
 
Hope this helps others. I ended up using the FlashCatUSB.exe's command line support along with a batch file to let me choose different, pre-selected firmwares for different boards. Example batch file is attached. Place in same directory as FlashCatUSB executable. Change the firmware file names and paths to suit your needs. Mine were in a subfolder in the FlashCatUSB directory, titled "MyFirmwares". My Numonyx M25P64 SPI flash needed firmwares saved in binary (.bin) formats to work with FlashCat/Blackcat. I used Total Phase's "Flash Center" app to convert my original Intel HEX formatted firmwares to plain .bin. Since FlashCat creator provided source code (thanks!) I was able change it to full erase before writing (no built-in support for this in command line method?). If I can retrace my steps (and re-read the source GPL), I'll post.
 

Attachments

  • FlashCatUSB Batchfile Script Example.bat.txt
    3.6 KB · Views: 54
Back
Top