This project contains a comprehensive BSP for the EV-SC594-EZKIT SoM plus carrier board ez-kit.
For full details about this project, features and set up instructions, please refer to: https://wiki.analog.com/resources/tools-software/sharc-audio-module/advanced-audio-projects
- Install CCES as-per Analog Devices instructions
- Install Git bash shell from here: https://git-scm.com/downloads
- Instead of Git bash, one can also install MinGW/MSYS2 from here: http://www.msys2.org/
- Check your path first to see if it already includes the desired version of CCES. In general Git bash inherits the path and MinGW/MSYS2 does not unless it's launched with '-use-full-path' option.
echo $PATH # Check inherited path
- If necessary, modify the 'env.sh' shell to match your CCES installation directory and include the environment in your shell.
. ./env.sh # Note the space between the first two periods!
- Go into the build directory and type
make
cd build
make # Add -j4 for a faster build on multi-core machines
- Open CCES, create a new debug configuration
- Load
build/ezkitSC594W_preload_core0
into core0 - Also load the
EV-SC594-EZKIT-ARM.exe
executable into core0 - Load
EV-SC594-EZKIT-SHARC0.dxe
into core1 - Load
EV-SC594-EZKIT-SHARC1.dxe
into core2 - In the
Automatic Breakpoints
tab, uncheckEnable Semihosting
- Save and start debugging.
- Edit env.sh as necessary to point to your CCES install and run it. If cldp is already in your path you can omit this step.
- Go into the 'build' directory.
- Set the blue rotary switch on the ez-kit to position 0 and reset the board
- Program the board using cldp (see/edit flash.bat)
- Set the blue rotary switch back to position 1 and reset the board