Presentation is loading. Please wait.

Presentation is loading. Please wait.

TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program.

Similar presentations


Presentation on theme: "TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program."— Presentation transcript:

1 TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program

2 16 December 2006Setting up TigerSHARC laboratory station2 Details In Winter 2008 16 Blackfin ADI-BF533 Ez-lite evaluation boards in ICT 320 (another 6 in ICT318) 8 TigerSHARC ADI-TS201S Ez-lite evaluation boards in ICT 318 Blackfin interface TigerSHARC interface is similar Has 2 audio I/O sockets (DSP A) plus 2 LEDs and 3 buttons (DSP A) plus 2 LEDs and 3 buttons (DSP B)

3 16 December 2006Setting up TigerSHARC laboratory station3 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 or accounts, then you will need to do the set-up every time

4 16 December 2006Setting up TigerSHARC laboratory station4 Steps Power-up evaluation board Log into your account Set-up the directory ENCM515 on your H: drive 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

5 16 December 2006Setting up TigerSHARC laboratory station5 Activate the configurator from the start menu

6 16 December 2006Setting up TigerSHARC laboratory station6 Select TS201 EZ-Lite and then press “COPY”

7 16 December 2006Setting up TigerSHARC laboratory station7 Change PLATFORM NAME to dualProcessorENCM515 then press OK

8 16 December 2006Setting up TigerSHARC laboratory station8 When back at CONFIGURATOR Select “dualProcessorENCM515” Then select Test

9 16 December 2006Setting up TigerSHARC laboratory station9 Change TYPE to HPPCI-ICE Press START (the testing) I recommend doing this test at the beginning of each lab to check equipment

10 16 December 2006Setting up TigerSHARC laboratory station10 This was my “failure to power up board”; can also be “no ICE connected” (e.g. wrong TYPE)

11 16 December 2006Setting up TigerSHARC laboratory station11 Expected result If you see “1 JTAG device detected”, you are at a Blackfin station – Change rooms

12 16 December 2006Setting up TigerSHARC laboratory station12 Testing complete Select OK

13 16 December 2006Setting up TigerSHARC laboratory station13 Now ready to activate VisualDSP IDDE

14 16 December 2006Setting up TigerSHARC laboratory station14 TARGET: You must select the correct “session” for TS201S

15 16 December 2006Setting up TigerSHARC laboratory station15 I)Select Processor Family 2) Select TS201, then NEXT

16 16 December 2006Setting up TigerSHARC laboratory station16 3) In LAB. select Emulator elsewhere (home) select EZ-KIT (uses USB)

17 16 December 2006Setting up TigerSHARC laboratory station17 4) Select dualProcessorENCM515 for the platform

18 16 December 2006Setting up TigerSHARC laboratory station18 WHICH DSPS ARE RUNNING PROJECT WINDOW COMMAND and BUILD WINDOWS DISASSEMBLY WINDOW

19 16 December 2006Setting up TigerSHARC laboratory station19 Download ENCM515 Labs 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

20 16 December 2006Setting up TigerSHARC laboratory station20 Make sure you are not in a subdirectory You may find DSPUtilities and a TestEquipment directory added to the download H:/ENCM515Labs/

21 16 December 2006Setting up TigerSHARC laboratory station21 Open the existing ENCM515Demo2007 project in H:/ENCM515Labs/LabDemo2007 LabDemo2007 LabDemo2007.dpj

22 16 December 2006Setting up TigerSHARC laboratory station22 Look in LabDemoDef.h #if !defined(__LabDemo__H__) #define (__LabDemo__H__)

23 16 December 2006Setting up TigerSHARC laboratory station23 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

24 16 December 2006Setting up TigerSHARC laboratory station24 Do a BUILD and then DEBUG | RUN #if !defined(__LabDemo__H__) #define (__LabDemo__H__) LabDemo2007

25 16 December 2006Setting up TigerSHARC laboratory station25 Warning: Make sure that Processor DSP A is running – otherwise no sound You may need to click on DSP A before selecting DEBUG | RUN (or MULTIPROCESSOR | RUN) LabDemo2007

26 16 December 2006Setting up TigerSHARC laboratory station26 DSP-A is running Set View | Editor Tab #if !defined(__LabDemo__H__) #define (__LabDemo__H__)

27 16 December 2006Setting up TigerSHARC laboratory station27 Now see file names after you have set View | Editor Tab LabDemo2007 #if !defined(__LabDemo__H__) #define (__LabDemo__H__)

28 16 December 2006Setting up TigerSHARC laboratory station28 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

29 16 December 2006Setting up TigerSHARC laboratory station29 Delay by memory shuffle and circular buffer

30 16 December 2006Setting up TigerSHARC laboratory station30 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

31 16 December 2006Setting up TigerSHARC laboratory station31 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.

32 16 December 2006Setting up TigerSHARC laboratory station32 Testing by listening is very time consuming We need an automated test framework to make code optimization easier Will discuss in another class


Download ppt "TigerSHARC Laboratory Setting up the HPP-ICE environment ICT 318 / 320 Running versions of the Audio-talk-through program."

Similar presentations


Ads by Google