TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the...
-
date post
19-Dec-2015 -
Category
Documents
-
view
214 -
download
0
Transcript of TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the...
![Page 1: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/1.jpg)
TigerSHARC Laboratory
Setting up the HPP-ICE environmentICT 318 / 320
Running versions of the Audio-talk-through program
![Page 2: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/2.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 2
Details
In Winter 2007 16 Blackfin ADI-BF533 Ez-lite evaluation boards
in ICT 320 8 TigerSHARC ADI-TS201S Ez-lite evaluation
boards in ICT 318
Blackfin interface
TigerSHARC interface is similarHas 2 audio I/O sockets (DSP A) plus 2 LEDs and 3 buttons (DSP A) plus 2 LEDs and 3 buttons (DSP B)
![Page 3: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/3.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 3
Set up
If you use the same lab. station and same account each time (recommended), then you will have to do the set up just once.
If you move stations, then you will need to do the set-up everytime
![Page 4: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/4.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 4
Steps Power-up evaluation board Log into your account Set-up on your U: drive the directory ENCM515
Activate the VisualDSP configurator and “make a dual processor ENCM515 session”. Then exit from configurator.
Activate the Visual DSP development environment IDDE, select “dualENCM515” session, build (or download) a VisualDSP TigerSHARC project, or download an existing one.
You are on your way
![Page 5: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/5.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 5
Activate the configuratorfrom the start menu
![Page 6: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/6.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 6
Select TS201 EZ-Liteand then press “COPY”
![Page 7: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/7.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 7
Change PLATFORM NAMEto dualProcessorENCM515then OK
![Page 8: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/8.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 8
When back at CONFIGURATORSelect “dualProcessorENCM515”Then select Test
![Page 9: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/9.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 9
Change TYPE to HPPCI-ICEPress STARTRecommend you do this test at the beginning of each lab
![Page 10: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/10.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 10
This was a “failure to power up board”, can also be “no ICE connected” (e.g. wrong TYPE)
![Page 11: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/11.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 11
Expected resultIf you see “1 JTAG device detected”, you are at a Blackfin station – Change rooms
![Page 12: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/12.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 12
Testing completeSelect OK
![Page 13: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/13.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 13
Now ready to activateVisualDSP IDDE
![Page 14: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/14.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 14
TARGET: You must select the correct “session” for TS201S
![Page 15: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/15.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 15
I) Select Processor Family2) Select TS201, then NEXT
![Page 16: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/16.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 16
3) In LAB. select Emulatorelsewhere select EZ-KIT (uses USB)
![Page 17: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/17.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 17
4) Select dualProcessorENCM515 for the platform
![Page 18: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/18.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 18WHICH DSPS ARE
RUNNING
PROJECTWINDOW
COMMAND and BUILDWINDOWS
DISASSEMBLYWINDOW
![Page 19: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/19.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 19
Download Environment
Exit from VisualDSP IDDE Change directory to U:ENCM515Labs Directory Download ENCM515Environment.zip into
U:ENCM515Labs Extract to here MAKE SURE THE UNZIP WENT CORRECTLY. IF
THINGS WENT INTO WRONG FOLDER THEN MORE WORK TO BE DONE IN LABS AND ASSIGNMENT
![Page 20: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/20.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 20
Make sure you are not in a subdirectory
You may find a DSPUtilities directory
U:/ENCM515Labs/
![Page 21: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/21.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 21
Open the existing ENCM515Lab1 project in U:/ENCM515Labs/Lab1
![Page 22: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/22.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 22
Look in ENCM515Lab1Def.h
![Page 23: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/23.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 23
Audio Talkthrough Program
Connect up your ear-phones to I-POD, radio, CD player (can use the CD player in Lab. Station)
Check that volume is comfortable to listen to Connect IPOD to TigerSHARC audio in Connect Earphones to TigerSHARC audio
out
![Page 24: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/24.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 24
Do a BUILD and then DEBUG | RUN
![Page 25: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/25.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 25
Warning: Make sure that Processor DSP A is running – otherwise no sound
You may need to click on DSP A before selecting DEBUG | RUN
![Page 26: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/26.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 26
DSP-A is runningSet View | Editor Tab
![Page 27: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/27.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 27
Now see file names
![Page 28: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/28.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 28
Listen to various forms of the program
Quality of sound Time how long delayed sound takes to arrive
at the other ear Do this with each mode of operation
#define WHICH_AUDIOHANDLER audio_intShuffle_DebugMode //#define WHICH_AUDIOHANDLER audio_intShuffle_ReleaseMode //#define WHICH_AUDIOHANDLER audio_intCB_DebugMode //#define WHICH_AUDIOHANDLER audio_intCB_ReleaseMode
![Page 29: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/29.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 29
Delay by memory shuffleand circular buffer
![Page 30: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/30.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 30
Look at what code is executing
CommonShuffle_CPPCode.h Delay line performed by shuffling (move)
DelayLine[N] DelayLine[N-1]; CommonCB_CPPCode.h
Circular Buffer operation Debug mode
C++ compiler generating unoptimized code Release mode (files marked with ! )
C++ compiler generating optimized code
![Page 31: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/31.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 31
TimeToWaste Parameter
When running circular buffer code, adjust the parameter “TIME_TO_WASTE” to see how much extra time is available for extra processing.
Try increasing in steps of 0x1000 until sound quality gets worse. Later we will turn this number into processor cycles.
![Page 32: TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.](https://reader036.fdocuments.net/reader036/viewer/2022062714/56649d2b5503460f94a00de0/html5/thumbnails/32.jpg)
16 December 2006 Setting up TigerSHARC laboratory station 32
Testing by listening is very time consuming
We need an automated test framework to make code optimization easier
Will discuss in the next class