AnsweredAssumed Answered

Blimp OSD Tool - reproducing the sample OSD project

Question asked by ChrisInSeoul on Jul 9, 2015
Latest reply on Jul 24, 2015 by ChrisInSeoul

This question is a follow-up to an earlier question:

 

BLIMP OSD Project Files for EVAL-ADV8005-SMZ

 

The OSD Demo delivered with the EVAL ADV8005 board, represented by

  • bin file OSD_1.90RC1_20140925.
  • sample application source code 1.90.2 rel. 20150209,
    • 800X_BF_SW/app/8002_AVR/osd/adi_demo2/blimp_*.c, .h files
    • 800X_BF_SW/osd_bmp/es2/include/*.h
    • 800X_BF_SW/osd_bmp/es2/source.c

 

When I try to build the same project using this file, which is supposed to generate the same OSD demo project as ships with the eval board:

C:\Program Files\Analog Devices\Blimp\SampleProject\ADV800x\AVR_OSD_DEMO\ProjectFiles\

(copied into my own project directory tree)


Building this project under version 3.8 of the Blimp Tool, results in these outputs:

  • blimp/AVR_OSD_DEMO/ProjectFiles/Release/ddr2_dump.bin
  • blimp/AVR_OSD_DEMO/ProjectFiles/Release/blimp_*.c, *.h files
  • blimp/AVR_OSD_DEMO/ProjectFiles/Release/firmware/include/*.h
  • blimp/AVR_OSD_DEMO/ProjectFiles/Release/firmware/source/*.c


Question 1:  These sets of files are quite a bit different.  They may indeed function the same, but the source code files do not match, not one single file matches.  Furthermore, there are two files extra, osd_bmp/es2/source/vsp_osdeg_freetype.c and osd_bmp/es2/include/vsp_osdeg_freetype.h not in the original firmware distribution.  Shouldn't these files match?


Question 2:  After copying these sets of files into the project, I'm not able to build the resulting project.  The build project task dies after a bunch of errors in asp_vsp.c (error messages pasted below).  I could track each of these down and manually fix them. But this suggests I've done something wrong, either building the Blimp OSD project, and/or copying the files over into the Blackfin code.  Any idea what I've done wrong?


-Chris


VisualDSP++ Build Error Output:


.\800X_BF_SW\APP\8002_AVR\VSP\app_vsp.c

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 35: cc0301: {D} warning:

          typedef name has already been declared (with same type)

      typedef          char  CHAR;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 36: cc0301: {D} warning:

          typedef name has already been declared (with same type)

      typedef unsigned char  UCHAR;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 38: cc0301: {D} warning:

          typedef name has already been declared (with same type)

      typedef signed char    INT8;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 40: cc0301: {D} warning:

          typedef name has already been declared (with same type)

      typedef unsigned char  UINT8;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 41: cc0301: {D} warning:

          typedef name has already been declared (with same type)

      typedef short          INT16;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 42: cc0301: {D} warning:

          typedef name has already been declared (with same type)

      typedef unsigned short UINT16;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 43: cc0256:  error:

          invalid redeclaration of type name "INT32" (declared at line 21 of

          ".\800X_BF_SW\PLATFORM\BF524\atv_types.h")

      typedef int            INT32;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 44: cc0256:  error:

          invalid redeclaration of type name "UINT32" (declared at line 19 of

          ".\800X_BF_SW\PLATFORM\BF524\atv_types.h")

      typedef unsigned int   UINT32;

                             ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 49: cc0101:  error:

          "ATVERR_OK" has already been declared in the current scope

          ATVERR_OK    = 0,

          ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 50: cc0101:  error:

          "ATVERR_FALSE" has already been declared in the current scope

          ATVERR_FALSE = 0,

          ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 51: cc0101:  error:

          "ATVERR_TRUE" has already been declared in the current scope

          ATVERR_TRUE  = 1,

          ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 52: cc0101:  error:

          "ATVERR_INV_PARM" has already been declared in the current scope

          ATVERR_INV_PARM,

          ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 53: cc0101:  error:

          "ATVERR_NOT_AVAILABLE" has already been declared in the current scope

          ATVERR_NOT_AVAILABLE,

          ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 54: cc0101:  error:

          "ATVERR_FAILED" has already been declared in the current scope

          ATVERR_FAILED

          ^

".\800X_BF_SW\OSD_BMP\ES2\include\vsp_osd_stdtypes.h", line 55: cc0256:  error:

          invalid redeclaration of type name "ATV_ERR" (declared at line 362

          of ".\800X_BF_SW\COMMON\atv_common.h")

      } ATV_ERR;

        ^

".\800X_BF_SW\APP\8002_AVR\VSP\app_vsp.c", line 609: cc0188: {D} warning:

          enumerated type mixed with another type

              TimingResult = ADIAPI_RepRxGetDetectedTiming (SyncInfo);

                        ^

".\800X_BF_SW\APP\8002_AVR\VSP\app_vsp.c", line 1309: cc0147:  error:

          declaration is incompatible with

          "void VspApp_SplitterEdidMergeEnable(ATV_ERR, UCHAR, UCHAR)"

          (declared at line 113 of ".\800X_BF_SW\APP\8002_AVR\VSP\app_vsp.h")

  void VspApp_SplitterEdidMergeEnable (ATV_ERR Enable, BOOL UseDefault, BOOL UseVga)

       ^

10 errors detected in the compilation of ".\800X_BF_SW\APP\8002_AVR\VSP\app_vsp.c".

cc3089: fatal error: Compilation failed

Tool failed with exit/exception code: 1.

Build was unsuccessful.

 

Message was edited by: Chris Lott (corrected directory name)

Outcomes