Esempio n. 1
0
//	SplashCB
static HRESULT SplashCB(void)
{
	HRESULT	hResult = NO_ERROR;
	
	cliPrintf("* Running Dice JR/Mini 1394 Appl                         *\n");
	if (isChipDiceJR())
	{	
		cliPrintf("*    Chip Detected :  DICE JR (TCD2220)                  *\n");
	} 
	else
	{
		cliPrintf("*    Chip Detected :  DICE Mini (TCD2210)                *\n");
	}
	cliPrintf("* Board S/N: %08d                                    *\n", serialNo);
	cliPrintf("*  Built with SDK Version: %02d.%02d.%02d, build %04d          *\n", 
			  kTCAT_DICE_VERSION_MAJOR, 
			  kTCAT_DICE_VERSION_MINOR,  
			  kTCAT_DICE_VERSION_SUB,
			  kTCAT_DICE_VERSION_BUILD);

#ifdef _USE_OLD_VERSION_INFO
	cliPrintf("*  Firmware Application Version: %02d.%02d                     *\n", 
			  diceApp_vendor_major_rev(), 
			  diceApp_vendor_minor_rev());
#else
	cliPrintf("*  Firmware Application Version: %02d.%02d.%02d, build %04d    *\n", 
			  diceApp_vendor_major_rev(), 
			  diceApp_vendor_minor_rev(),  
			  diceApp_vendor_sub_rev(),
			  diceApp_vendor_build_rev());
#endif

	cliPrintf(diceApp_build_time());
	cliPrintf("*    MIDI is ");
#ifdef USE_UART1_FOR_MIDI
	{
		cliPrintf("enabled.");
	}
#else
	{
		cliPrintf("disabled.");
	}
#endif
	cliPrintf("                                    *\n");
	cliPrintf("**********************************************************\n");
	cliPrintf("* Target: DICE EVM002 Evaluation Board                   *\n");

#ifdef _MLAN
#ifdef _OPEN_MLAN 
	cliPrintf("* Driver: Generic Transporter mLAN                       *\n");
#else // _OPEN_MLAN 
	cliPrintf("* Driver: mLAN                                           *\n");
#endif
#elif defined _DICE_DRIVER
	cliPrintf("* Driver: DiceDriver                                     *\n");
#elif defined _AVC
	cliPrintf("* Driver: AV/C                                           *\n");
#else
    cliPrintf("* Driver: No Driver                                      *\n");
#endif
#ifdef _SPECIAL_PARTITION_MEMORY 
    cliPrintf("* AVS special memory partitions                          *\n");
#endif
#ifdef _EAP
	cliPrintf("* EAP is supported.                                      *\n");
#endif
	uint8 cpldVer;
	BOOL cpldSupported;
	targetGetCPLDInfo (&cpldVer, &cpldSupported);
	cliPrintf("*                                                        *\n");
	cliPrintf("* CPLD: (the CPLD handles Switch and LED's)              *\n");
	cliPrintf("*   Ver: %01X.%01X %-44s*\n",(uint32)(cpldVer>>4)&0xf,cpldVer&0xf,cpldSupported?"Full LED/SW Support":"PLEASE UPDATE CPLD TO VER 1  OR HIGHER");
	cliPrintf("**********************************************************\n");
	return hResult;
}
Esempio n. 2
0
//	SplashCB
static HRESULT SplashCB(void)
{
	HRESULT	hResult = NO_ERROR;
	
	cliPrintf("* Running Dice JR/Mini 1394 EAP Appl                     *\n");
	cliPrintf("*   Extended Application Protocol support for control    *\n");
	cliPrintf("*   of mixer, peak and routing from Host                 *\n");
	cliPrintf("*                                                        *\n");

	if (isChipDiceJR())
	{	
		cliPrintf("*    Chip Detected :  DICE JR (TCD2220)                  *\n");
	} 
	else
	{
		cliPrintf("*    Chip Detected :  DICE Mini (TCD2210)                *\n");
	}
	cliPrintf("* Board S/N: %08d                                    *\n", serialNo);
	cliPrintf("*  Built with SDK Version: %02d.%02d.%02d, build %04d          *\n", 
			  kTCAT_DICE_VERSION_MAJOR, 
			  kTCAT_DICE_VERSION_MINOR,  
			  kTCAT_DICE_VERSION_SUB,
			  kTCAT_DICE_VERSION_BUILD);

#ifdef _USE_OLD_VERSION_INFO
	cliPrintf("*  Firmware Application Version: %02d.%02d                     *\n", 
			  diceApp_vendor_major_rev(), 
			  diceApp_vendor_minor_rev());
#else
	cliPrintf("*  Firmware Application Version: %02d.%02d.%02d, build %04d    *\n", 
			  diceApp_vendor_major_rev(), 
			  diceApp_vendor_minor_rev(),  
			  diceApp_vendor_sub_rev(),
			  diceApp_vendor_build_rev());
#endif

	cliPrintf(diceApp_build_time());
	cliPrintf("*    MIDI is ");
#ifdef USE_UART1_FOR_MIDI
	{
		cliPrintf("enabled.");
	}
#else
	{
		cliPrintf("disabled.");
	}
#endif
	cliPrintf("                                    *\n");
	cliPrintf("**********************************************************\n");
	cliPrintf("* Target: EVM003                                         *\n");

#ifdef _MLAN
#ifdef _OPEN_MLAN 
	cliPrintf("* Driver: Generic Transporter mLAN                       *\n");
#else // _OPEN_MLAN 
	cliPrintf("* Driver: mLAN                                           *\n");
#endif
#elif defined _DICE_DRIVER
	cliPrintf("* Driver: DiceDriver                                     *\n");
#elif defined _AVC
	cliPrintf("* Driver: AV/C                                           *\n");
#else
    cliPrintf("* Driver: No Driver                                      *\n");
#endif
#ifdef _SPECIAL_PARTITION_MEMORY 
    cliPrintf("* AVS special memory partitions                          *\n");
#endif
#ifdef _EAP
	cliPrintf("* EAP is supported.                                      *\n");
#endif
	cliPrintf("*                                                        *\n");
	cliPrintf("**********************************************************\n");
	return hResult;
}