Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.92 KB

README.md

File metadata and controls

65 lines (46 loc) · 1.92 KB

EV-SC594-EZKIT

Overview

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

To build

Install the tools

Source the environment

  • 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!

Build the code

  • Go into the build directory and type make
cd build
make      # Add -j4 for a faster build on multi-core machines

Debugging the code

  • 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, uncheck Enable Semihosting
  • Save and start debugging.

Initial flashing of the code using the ADI's cldp utility

  • 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