CoIDE Manual V2.0

Quick Start

To create a simple embedded application using CooCox CoIDE, you will perform the following steps: (Before that, do not forget to configure the GCC compiler and debugger).

Next we will show you an example to introduce how to set up new projects and debugging on COIDE.

  • Step 1 Launch CoIDE, select "Browse in Repository".

Alt text

  • Step 2 Select the manufacturer

Alt text

  • Step 3 Select your target chip

Alt text

  • Step 4 Download device

Alt text

  • Step 5 Create New Project

Alt text

  • Step 6 Input project name. You can also modify the Project Path

Alt text

  • Step 7 After clicking "Finish", CoIDE will create a project for you, then we can view components to select which is needed.

Alt text

  • Step 8 when we find the component, we need to download it

Alt text

  • Step 9 Then add the component to our project

Alt text

  • Step 10 After clicking "Add", CoIDE will add the component and it's dependence components to project for you. If we need anther component, we need click "On-chip peripherals".

Alt text

  • Step 11 Click the name of the component can view components related document information

Alt text

  • Step 12 Download and add new component

Alt text

  • Step 13 These are all the components in the project

Alt text

  • Step 14 Select the debugger, and enabled Semihosting

Alt text

  • Step 15 Write the main.c

Alt text

  • Step 16 Click the "Build" button to compile and link the program

Alt text

  • Step 17 Click the "Download" button to download code to flash

Alt text

  • Step 18 To start debugging, click on the "Debug" icon or press "Ctrl+F5"

Alt text

  • Step 19 If debugging is launched successfully, CoIDE will enter the debug mode. Press F10 can step to run the program

Alt text

  • Step 20 Double-click on the left of the code line number area can set breakpoints

Alt text

  • Step 21 Click on the "Varibles", We can see the value of a variable process

Alt text

  • Step 22 Click on the "red button", We can exit the debug mode

Alt text

  • Step 23 Exit the debug mode

Alt text

Note: Here We use Nuvoton NUC472HI8AE as the example, you may need to change the chip according to the device at hand.