370 likes | 384 Views
About AndeSight …. Andes Technology. Outline. System requirement Pre-Installation – Verify Cygwin Environment Pre-Installation – Delete Cygwin Files AndeSight installation AndeSight environment variable setting AndeSight un-installation AndeSight IDE Introduction
E N D
About AndeSight… Andes Technology
Outline • System requirement • Pre-Installation – Verify Cygwin Environment • Pre-Installation – Delete Cygwin Files • AndeSight installation • AndeSight environment variable setting • AndeSight un-installation • AndeSight IDE Introduction • Before AndeSight opening • AndeSight opening • Importing an existing project • Initial a project • Importing a file into a project • Create a new source file • Project configuration • Building a project ANDES Confidential
Outline • Initialing VEP • Running a program • Change Project Configuration • Hello World • GPIO Features • GPIO (1) • GPIO (2) • Clock Domain View • Debugging a program • Prevalent view in debug perspective • Profiling and Analysis • Performance Meter • Fast Function Level Profiling • Software Interrupt • MP3 Decoder • Close program and VEP ANDES Confidential
System Requirements • Operating System • Windows XP Service Pack 2 • Linux Red Hat Enterprise 4 • 1 GB of RAM for minimum requirement • 2.0 GB of free disk space for installation • +400 MB if Cygwin is to be installed ANDES Confidential
Double click Cygwin button on desktop Enter the commend Check Cygwin version info Pre-Installation – Verify Cygwin Environment If Cygwin is already installed on user’s PC, please validate the Cygwin environment. If not, please proceed to perform AndeSight Installation. Open user’s Cygwin console and issue the command: $ cygcheck –s to check Cygwin DLL version information Verify user’s Cygwin DLL version info; if user’s Cygwin version is NOT between 1.5.19 and 1.5.24, please delete it following Step. For detail information, please refer to AndeSight installation guide ANDES Confidential
Enter “regedit” Delete these 2 registers Select “RUN” Pre-Installation – Delete Cygwin Files ANDES Confidential
Double click “setup.exe” 1. Enter “user and company name” 2. And then press Next • Specify the folder to be installed • Then press “Next” AndeSight Installation ANDES Confidential
License file and location Enter variable name “NDSLMGRD_LICENSE_FILE” Enter license file name and path, for example: “D:\Andestech\AndeSight132\FLEXnet-windows\license_file” AndeSight Environment Variable Setting ANDES Confidential
AndeSight Un-installation ANDES Confidential
View Perspective window AndeSight IDE Introduction ANDES Confidential
Before AndeSight Opening ANDES Confidential
AndeSight Opening ANDES Confidential
Importing An Existing Project ANDES Confidential
Enter project name, then press Next Initialing A Project ANDES Confidential
Importing A File Into A Project ANDES Confidential
Creating A New Source File ANDES Confidential
Project Configuration ANDES Confidential
Building A Project ANDES Confidential
Initialing VEP ANDES Confidential
Running A Program ANDES Confidential
Change Project Configuration ANDES Confidential
Hello World ANDES Confidential
GPIO Features • Up to 23 independent input, output and output enable buses for bi-directional I/O pins • Each port can trigger the GPIO interrupt independently • Each port interrupt generation can be triggered by rising edge, falling edge, both edges, or high/low level • Each input port can be pulled high or pulled low • Programmable sampling rate for all I/O ports • Output data bit can be set or cleared independently • All ports are set to input mode at hardware reset ANDES Confidential
Click mouse right button • Select “Import” Select the folder and files you want to import GPIO (1) ANDES Confidential
GPIO (2) ANDES Confidential
Clock Domain View • AndeSight provides 2 clock source, host and Target • Host clock is set to signal once every thousandth of a second, • Target clock signals with respect to the VEP configuration ANDES Confidential
Restart Instruction Stepping Mode Resume Step Over Suspend Step Into Stop Debugging A Program ANDES Confidential
Prevalent Views in Debug Perspective ANDES Confidential
2. Evoke profiling dialog 1. Go to the program where start profiling Show Profiling result Profiling And Analysis 2. Click again to generate profiling file ANDES Confidential
Reset Performance Meter Run program Reset again clear the Performance Meter statistics history, Performance Meter ANDES Confidential
Show Profiling Statistics Reset Fast Function Level Profiling ANDES Confidential
Interrupt service routine Interrupt vector Generate Software interrupt Software Interrupt ANDES Confidential
Audio extension instruction Please refer to AndeSight_v1.3.2_User_Manual.pdf Audio playback MP3 Decoder ANDES Confidential
Close Program And VEP ANDES Confidential
End of The File ANDES Confidential
Exercise – Fill statistics in the table • Run JPEG demo program with I/D cache equal to zero. After a frame done, fill profiled date into following table. ANDES Confidential
Exercise – Fill statistics in the table • Run JPEG demo program with I/D cache equal to 32KB. After a frame done, fill profiled date into following table. ANDES Confidential