Fixing hostapp crash issue when running Blackfin Vision Analytics Toolbox 2.4.0 with latest CCES

Discussion created by gopakumarv Employee on Jan 20, 2017
Latest reply on Jul 12, 2017 by cbabin

While running the example projects provided with Vision Analytics Toolbox 2.4.0, hostapp_cces.exe crashes when it is run from a command prompt and shows a Debug assertion failed error window (screenshot shown below). This discussion explains how to fix this issue so that VAT 2.4.0 can be run on latest CCES (2.4.0).



  • There have some changes in the order with regards to the USB commands between the older and newer versions of CCES hence this error will show up. To fix this, the hostapp.h and hostapp.exe files will have to be updated to the newer versions.


  • Replace hostapp.h file located in the installation directory ("C:\Analog Devices\SoftwareModules\VisionAnalyticsToolbox-BF-Rel2.4.0\Support-Modules\USBIO-CCES\include") with the hostapp.h file present in the zip file attached below.


  • Open the location "C:\Analog Devices\CrossCore Embedded Studio 2.4.0\Blackfin\Examples\demo\hostapp" and copy latest hostapp.exe file from this location to "C:\Analog Devices\SoftwareModules\VisionAnalyticsToolbox-BF-Rel2.4.0\demo\utils\hostapp". Replace already existing hostapp.exe file in this location and also delete the hostapp_cces.exe file.


  • Close CCES and delete any example projects that were already opened and present in the workspace location. Start CCES and open the required example using Browse Examples menu. Build, load and run the example project. Run hostapp.exe from a command prompt window.