Repository
The Griffin repository, which contains the platform code, is hosted on Git under: https://bitbucket.harman.com/projects/LSACCA/repos/analogdevices/browse/adsp21569ez
Build xAF libraries for ADSP21569EZ
SHARC xAF libraries for ADSP21569EZ can be build using standalone xAF repository with CrossCore Embedded Studio 2.9.3. The user can download and install CrossCore Embedded studio from here.
Following are the steps:
- Checkout Griffin platform code git repository.
- Checkout xAF repository parallel to platform code as shown below:
- Open the command window with administrative privileges and navigate to base directory in xAF repository:
To build xAF library for SHARC
- Debug mode: Type “python build.py –platform=adsp21569ez –profile=debug”
- Release mode: Type “python build.py –platform=adsp21569ez –profile=release”
Alternatively, you can type build.py –platform=adsp21569ez which will build all the targets present in adsp21569ez. To build advanced audio objects following argument needs to be appended: “–program=allExtObjects“
Following are the xAF libraries generated in the folder – public/lib/extendable-audio-framework/public/lib/sharc/21569
xaf-lib
xAFInterface-lib
xAFUtil-lib
xAFMasterModule-lib
xAFBasicOps-lib
xAFMemRecs-lib
xAFxTPInterpreter-lib
Griffin Ultra Lite Board Setup
To setup ADSP21569EZ board, please refer GL_And_GUL_Projects_UserGuide.docx available in the root directory of analogdevices repository
How to build and run xAF and Bao unit tests
- cd analogdevices\adsp21569ez\reference\single_sharc\ldr
- call XAF_BAO_UnitTestPjtBuild.bat
- (OR open CCES project under analogdevices\adsp21569ez\test\unit\project\xaf\adi_hxaf_unit_test_Core0 and build release configuration)
- call XAF_BAO_UnitTestPjtLoad.bat
How to build and run aat unit tests
- cd analogdevices\adsp21569ez\reference\single_sharc\ldr
- call AAT_UnitTestPjtBuild_Release.bat
- (OR open CCES project under analogdevices\adsp21569ez\test\unit\project\aat\adi_hxaf_unit_test_Core0 and build release configuration)
- call AAT_UnitTestPjtLoad_Release.bat (OR load using CCES)
How to build binaries and execute signal flow
- Refer GL_And_GUL_Projects_UserGuide.docx available in root directory of analogdevices repository
- cd analogdevices\adsp21569ez\reference\single_sharc\ldr
- call Single_Sharc_PjtBuild.bat
- (OR open CCES project under analogdevices\adsp21569ez\reference\single_sharc\adi_hxaf_21569_Core0 and build release configuration)
- the above command builds binary for blocklength of 64. for building the binaries of different blocklengths call Single_Sharc_PjtBuildAllBlockLengths.bat
- flash
- Generate_ldr_release.bat
- flash_21569_ICE1000.bat (or flash_21569_ICE2000.bat)
- call Single_Sharc_PjtLoad.bat (OR load using CCES)
- Open GTT
- make a signal flow diagram
- send signal flow
- reset the GUL board
- connect device
How to remove filesystem from flash
- Glowing LED8 (green), LED9 (orange), LED10 (orange), LED7 (orange) indicates that board has booted and running successfully
- Blinking LED10 indicates that blockLength of binary on the boards does not match with blockLength of signal flow
- sequence
- press and hold SW3 button
- press and release RESET button
- wait for 3 seconds
- release SW3 button
- press and release RESET button
How to erase filesystem from flash
- In rare cases, sending signal flow and reboot may fail even after the above filesystem removal
- call flash_erase_all_21569_ICE1000.bat