Andes Workshop

It is currently Sun Oct 06, 2024 6:51 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AndeSight Startup Guide for N22
PostPosted: Thu Jun 13, 2019 8:42 pm 
Offline

Joined: Fri Jul 27, 2018 9:46 am
Posts: 9
Please follow the steps below to get started with AndeSight STD

Installation
-------------

1. Double click setup.exe to install AndeSight from install directory.
Attachment:
setup.jpg
setup.jpg [ 66.13 KiB | Viewed 55768 times ]


2. Follow the installer instructions to install AndeSight.
In license type selection page, please choose "Activation code" to finish installation.
Attachment:
activation_type.jpg
activation_type.jpg [ 62.02 KiB | Viewed 55768 times ]


Product activation
--------------------

1. Double-click the desktop shortcut or the file “AndeSight.exe” under AndeSight_ROOT\ide to launch the AndeSight IDE.

2. A dialog pops out to remind you that no license is installed yet. Click the “Install now…” button to open activation window.
Attachment:
license.jpg
license.jpg [ 54.19 KiB | Viewed 55768 times ]


3. In the invoked dialog, enter a valid activation code received from Andes Technology Corporation. Then, click “Deploy Activation code” or the “OK” Button.
Attachment:
prod_activation.jpg
prod_activation.jpg [ 71.79 KiB | Viewed 55768 times ]


4. A dialog box containing license information pops up next. Click “OK” to complete the license activation.
Attachment:
prod_activated.jpg
prod_activated.jpg [ 97.47 KiB | Viewed 55751 times ]


Run first project
-------------------

1. To import a demo project, go to "File -> Import..." and then select "Existing Projects into Workspace"
Attachment:
import_proj.jpg
import_proj.jpg [ 55.45 KiB | Viewed 55768 times ]


2. The demo projects are under "AndeSight_ROOT/demo" directory.
Attachment:
import.jpg
import.jpg [ 93.02 KiB | Viewed 55768 times ]


3. After selecting a demo project, click "Finish" on the Import wizard.
Attachment:
import_printf.jpg
import_printf.jpg [ 73.95 KiB | Viewed 55768 times ]


4. Right click on the project folder and choose "Target Configuration" and choose "Simulator/ICE" as target.
Attachment:
toolchain_1.JPG
toolchain_1.JPG [ 107.39 KiB | Viewed 55704 times ]


If the hardware package you are using is Fixed-configuration N22, please follow the additional two steps as mentioned below:
i] Click on the "browse" button in "Chip Profile" to invoke the "Select Target" dialog box.
Users should change the toolchain for Starup demos from "nds32le-elf-mculib-v5" to "nds32le-elf-mculib-v5e".
Attachment:
toolchain_2.JPG
toolchain_2.JPG [ 68.78 KiB | Viewed 55704 times ]

ii] Please add the following options into SID Misc Arguments of Target Configuration:
-e " set cpu cpu-option \\" --conf-isa-e on --conf-pmp 0 --conf-pfm off --conf-powerbrake off --conf-icache off --conf-user-mode off --conf-mul radix4 --conf-btb off \\""
Attachment:
target_config.JPG
target_config.JPG [ 125.63 KiB | Viewed 55704 times ]


5. Right click on the project folder and select "Build Project" to build.
Attachment:
build.jpg
build.jpg [ 65.64 KiB | Viewed 55768 times ]


6. Check the compilation results in the Console view and verify that an executable has been generated in the PROJECT\Debug folder.
Attachment:
build_result.jpg
build_result.jpg [ 225.81 KiB | Viewed 55768 times ]


7. Right click on project directory and select "Run As" --> "Application Program"
Attachment:
run.jpg
run.jpg [ 151.73 KiB | Viewed 55768 times ]


8. The output will be displayed in "UART2" under "Target Manager".
Attachment:
result.jpg
result.jpg [ 61.19 KiB | Viewed 55768 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group