This chapter documents software development tools provided as part of the Intel® Curie™ module Open Developer Kit (ODK) to enable you to perform necessary tasks. they comprise of the following:

Sketch Converter 

The A tree and M tree applications are developed in C/C++. The sketch converter tool available in the A and M trees converts a sketch (.ino) file into a valid .cpp file. Thus, you can import a sketch, and use the tool to convert it to a C++ file, modify the code, compile it and flash it to the board.

Assuming that the sketch (<sketch-filename>.ino) is stored in the <folder-name> folder in arc/examples folder, use the following commands to convert a sketch into a C++ code file:

$ cd $CODK_DIR/arc/examples/<folder-name>
$ make convert-sketch SKETCH=<sketch-filename>.ino

The resulting C++ file created in the application directory will be named <sketch_filename>.ino.cpp

Build and run your application as usual:

$ make compile
$ make upload SERIAL_PORT=/dev/ttyACM0

JTAG Debugger 

JTAG Connection of tinyTILE Board

Use the TC2050-IDC-050-ALL connector from Tag-Connect* to connect the board to a FlySwatter2* debugger. See information about the connector at:

Equipement for the JTAG connection of tinyTILE* boardYou will need the following equipment set for the JTAG connection of the tinyTILE* board:

  • A FlySwatter2* hardware debugger (in green on the photo)
  • A cable connector (in red on the photo)
  • A TC2050-IDC-050-ALL connector from Tag-Connect*
  • A Tag-Connect* clip (reference TC2050-CLIP, see
  • A tinyTILE* board from element14

Here is a close-up view of the tag-connect cable and the clip with the three fitting holes.

Close-up view of the tag-connect* cable and clip


Insert the probe on the top of the board using the three fitting holes.

Inserting the tag-connect* probe in tinyTILE* fitting holes

Secure the position of the probe by fitting the clip on the bottom side of the board.

Securing the probe with a clip on tinyTILE* board

The entire JTAG connection setup for the tinyTILE board looks as shown on this last photo.

Full JTAG connection setup for tinyTILE* board

JTAG Connection of Arduino 101 Board

Follow the instructions on JTAG connection of Arduino 101* (branded Genuino 101* in some countries) board at

Debugging Instructions

OpenOCD is installed with the initial make setup command, and is located in $CODK_DIR/flashpack/bin.

After uploading a binary image to the board, run the command set numbered 1 in the background, and the command set numbered 2 or 3 in a SEPARATE window.

Command Set 1

Use the following command to start an OpenOCD session:

$ make debug-server

Command Set 2

Use the following command to start a GDB session:

$ make debug-x86

At the GDB prompt, run the command:

gdb> target remote localhost:3334

Command Set 3

Use the following command to start a GDB session:

$ make debug-arc

At the GDB prompt, run the command:

gdb> target remote localhost:3333

Note: GDB may display some expected messages/errors when connecting to the target:

  • Error: Couldn't find core register feature in supplied target description.
  • Warning: Architecture rejected target-supplied description
Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.