diff --git a/MCTEST/DE0-nano-HD/.qsys_edit/filters.xml b/MCTEST/DE0-nano-HD/.qsys_edit/filters.xml
new file mode 100644
index 00000000..766ed17e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/.qsys_edit/filters.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/.qsys_edit/preferences.xml b/MCTEST/DE0-nano-HD/.qsys_edit/preferences.xml
new file mode 100644
index 00000000..a059ddcf
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/.qsys_edit/preferences.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/DE0.qsf b/MCTEST/DE0-nano-HD/DE0.qsf
new file mode 100644
index 00000000..af2f6226
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/DE0.qsf
@@ -0,0 +1,383 @@
+# Copyright (C) 1991-2011 Altera Corporation
+# Your use of Altera Corporation's design tools, logic functions
+# and other software and tools, and its AMPP partner logic
+# functions, and any output files from any of the foregoing
+# (including device programming or simulation files), and any
+# associated documentation or information are expressly subject
+# to the terms and conditions of the Altera Program License
+# Subscription Agreement, Altera MegaCore Function License
+# Agreement, or other applicable license agreement, including,
+# without limitation, that your use is for the sole purpose of
+# programming logic devices manufactured by Altera and sold by
+# Altera or its authorized distributors. Please refer to the
+# applicable agreement for further details.
+
+# Altera recommends that you do not modify this file. This
+# file is updated automatically by the Quartus II software
+# and any changes you make may be lost or overwritten.
+
+
+set_global_assignment -name FAMILY "Cyclone IV E"
+set_global_assignment -name DEVICE EP4CE22F17C6
+set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
+set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
+
+# Pin & Location Assignments
+# ==========================
+#============================================================
+# CLOCK
+#============================================================
+set_location_assignment PIN_R8 -to CLOCK_50
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to CLOCK_50
+
+#============================================================
+# LED
+#============================================================
+set_location_assignment PIN_A15 -to LED[0]
+set_location_assignment PIN_A13 -to LED[1]
+set_location_assignment PIN_B13 -to LED[2]
+set_location_assignment PIN_A11 -to LED[3]
+set_location_assignment PIN_D1 -to LED[4]
+set_location_assignment PIN_F3 -to LED[5]
+set_location_assignment PIN_B1 -to LED[6]
+set_location_assignment PIN_L3 -to LED[7]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[2]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[3]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[4]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[5]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[6]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LED[7]
+
+#============================================================
+# KEY
+#============================================================
+set_location_assignment PIN_J15 -to KEY[0]
+set_location_assignment PIN_E1 -to KEY[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to KEY[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to KEY[1]
+
+#============================================================
+# SW
+#============================================================
+set_location_assignment PIN_M1 -to SW[0]
+set_location_assignment PIN_T8 -to SW[1]
+set_location_assignment PIN_B9 -to SW[2]
+set_location_assignment PIN_M15 -to SW[3]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[2]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[3]
+
+#============================================================
+# SDRAM
+#============================================================
+set_location_assignment PIN_P2 -to DRAM_ADDR[0]
+set_location_assignment PIN_N5 -to DRAM_ADDR[1]
+set_location_assignment PIN_N6 -to DRAM_ADDR[2]
+set_location_assignment PIN_M8 -to DRAM_ADDR[3]
+set_location_assignment PIN_P8 -to DRAM_ADDR[4]
+set_location_assignment PIN_T7 -to DRAM_ADDR[5]
+set_location_assignment PIN_N8 -to DRAM_ADDR[6]
+set_location_assignment PIN_T6 -to DRAM_ADDR[7]
+set_location_assignment PIN_R1 -to DRAM_ADDR[8]
+set_location_assignment PIN_P1 -to DRAM_ADDR[9]
+set_location_assignment PIN_N2 -to DRAM_ADDR[10]
+set_location_assignment PIN_N1 -to DRAM_ADDR[11]
+set_location_assignment PIN_L4 -to DRAM_ADDR[12]
+set_location_assignment PIN_M7 -to DRAM_BA[0]
+set_location_assignment PIN_M6 -to DRAM_BA[1]
+set_location_assignment PIN_L7 -to DRAM_CKE
+set_location_assignment PIN_R4 -to DRAM_CLK
+set_location_assignment PIN_P6 -to DRAM_CS_N
+set_location_assignment PIN_G2 -to DRAM_DQ[0]
+set_location_assignment PIN_G1 -to DRAM_DQ[1]
+set_location_assignment PIN_L8 -to DRAM_DQ[2]
+set_location_assignment PIN_K5 -to DRAM_DQ[3]
+set_location_assignment PIN_K2 -to DRAM_DQ[4]
+set_location_assignment PIN_J2 -to DRAM_DQ[5]
+set_location_assignment PIN_J1 -to DRAM_DQ[6]
+set_location_assignment PIN_R7 -to DRAM_DQ[7]
+set_location_assignment PIN_T4 -to DRAM_DQ[8]
+set_location_assignment PIN_T2 -to DRAM_DQ[9]
+set_location_assignment PIN_T3 -to DRAM_DQ[10]
+set_location_assignment PIN_R3 -to DRAM_DQ[11]
+set_location_assignment PIN_R5 -to DRAM_DQ[12]
+set_location_assignment PIN_P3 -to DRAM_DQ[13]
+set_location_assignment PIN_N3 -to DRAM_DQ[14]
+set_location_assignment PIN_K1 -to DRAM_DQ[15]
+set_location_assignment PIN_R6 -to DRAM_DQM[0]
+set_location_assignment PIN_T5 -to DRAM_DQM[1]
+set_location_assignment PIN_L1 -to DRAM_CAS_N
+set_location_assignment PIN_L2 -to DRAM_RAS_N
+set_location_assignment PIN_C2 -to DRAM_WE_N
+
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[2]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[3]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[4]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[5]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[6]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[7]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[8]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[9]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[10]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[11]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_ADDR[12]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_BA[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_BA[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_CKE
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_CLK
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_CS_N
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[2]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[3]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[4]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[5]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[6]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[7]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[8]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[9]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[10]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[11]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[12]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[13]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[14]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQ[15]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQM[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_DQM[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_CAS_N
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_RAS_N
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to DRAM_WE_N
+
+#============================================================
+# Accelerometer and EEPROM
+#============================================================
+set_location_assignment PIN_F2 -to I2C_SCLK
+set_location_assignment PIN_F1 -to I2C_SDAT
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to I2C_SCLK
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to I2C_SDAT
+
+set_location_assignment PIN_G5 -to G_SENSOR_CS_N
+set_location_assignment PIN_M2 -to G_SENSOR_INT
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to G_SENSOR_CS_N
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to G_SENSOR_INT
+
+#============================================================
+# ADC
+#============================================================
+set_location_assignment PIN_A10 -to ADC_CS_N
+set_location_assignment PIN_B10 -to ADC_SADDR
+set_location_assignment PIN_B14 -to ADC_SCLK
+set_location_assignment PIN_A9 -to ADC_SDAT
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_CS_N
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SADDR
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SCLK
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_SDAT
+
+#============================================================
+# 2x13 GPIO Header
+#============================================================
+set_location_assignment PIN_A14 -to GPIO_2[0]
+set_location_assignment PIN_B16 -to GPIO_2[1]
+set_location_assignment PIN_C14 -to GPIO_2[2]
+set_location_assignment PIN_C16 -to GPIO_2[3]
+set_location_assignment PIN_C15 -to GPIO_2[4]
+set_location_assignment PIN_D16 -to GPIO_2[5]
+set_location_assignment PIN_D15 -to GPIO_2[6]
+set_location_assignment PIN_D14 -to GPIO_2[7]
+set_location_assignment PIN_F15 -to GPIO_2[8]
+set_location_assignment PIN_F16 -to GPIO_2[9]
+set_location_assignment PIN_F14 -to GPIO_2[10]
+set_location_assignment PIN_G16 -to GPIO_2[11]
+set_location_assignment PIN_G15 -to GPIO_2[12]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[2]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[3]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[4]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[5]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[6]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[7]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[8]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[9]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[10]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[11]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2[12]
+
+set_location_assignment PIN_E15 -to GPIO_2_IN[0]
+set_location_assignment PIN_E16 -to GPIO_2_IN[1]
+set_location_assignment PIN_M16 -to GPIO_2_IN[2]
+
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_2_IN[2]
+
+#============================================================
+# GPIO_0, GPIO_0 connect to GPIO Default
+#============================================================
+set_location_assignment PIN_A8 -to GPIO_0_IN[0]
+set_location_assignment PIN_D3 -to GPIO_0[0]
+set_location_assignment PIN_B8 -to GPIO_0_IN[1]
+set_location_assignment PIN_C3 -to GPIO_0[1]
+set_location_assignment PIN_A2 -to GPIO_0[2]
+set_location_assignment PIN_A3 -to GPIO_0[3]
+set_location_assignment PIN_B3 -to GPIO_0[4]
+set_location_assignment PIN_B4 -to GPIO_0[5]
+set_location_assignment PIN_A4 -to GPIO_0[6]
+set_location_assignment PIN_B5 -to GPIO_0[7]
+set_location_assignment PIN_A5 -to GPIO_0[8]
+set_location_assignment PIN_D5 -to GPIO_0[9]
+set_location_assignment PIN_B6 -to GPIO_0[10]
+set_location_assignment PIN_A6 -to GPIO_0[11]
+set_location_assignment PIN_B7 -to GPIO_0[12]
+set_location_assignment PIN_D6 -to GPIO_0[13]
+set_location_assignment PIN_A7 -to GPIO_0[14]
+set_location_assignment PIN_C6 -to GPIO_0[15]
+set_location_assignment PIN_C8 -to GPIO_0[16]
+set_location_assignment PIN_E6 -to GPIO_0[17]
+set_location_assignment PIN_E7 -to GPIO_0[18]
+set_location_assignment PIN_D8 -to GPIO_0[19]
+set_location_assignment PIN_E8 -to GPIO_0[20]
+set_location_assignment PIN_F8 -to GPIO_0[21]
+set_location_assignment PIN_F9 -to GPIO_0[22]
+set_location_assignment PIN_E9 -to GPIO_0[23]
+set_location_assignment PIN_C9 -to GPIO_0[24]
+set_location_assignment PIN_D9 -to GPIO_0[25]
+set_location_assignment PIN_E11 -to GPIO_0[26]
+set_location_assignment PIN_E10 -to GPIO_0[27]
+set_location_assignment PIN_C11 -to GPIO_0[28]
+set_location_assignment PIN_B11 -to GPIO_0[29]
+set_location_assignment PIN_A12 -to GPIO_0[30]
+set_location_assignment PIN_D11 -to GPIO_0[31]
+set_location_assignment PIN_D12 -to GPIO_0[32]
+set_location_assignment PIN_B12 -to GPIO_0[33]
+
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0_IN[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0_IN[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[2]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[3]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[4]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[5]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[6]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[7]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[8]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[9]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[10]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[11]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[12]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[13]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[14]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[15]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[16]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[17]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[18]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[19]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[20]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[21]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[22]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[23]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[24]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[25]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[26]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[27]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[28]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[29]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[30]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[31]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[32]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_0[33]
+
+#============================================================
+# GPIO_0, GPIO_1 connect to GPIO Default
+#============================================================
+set_location_assignment PIN_T9 -to GPIO_1_IN[0]
+set_location_assignment PIN_F13 -to GPIO_1[0]
+set_location_assignment PIN_R9 -to GPIO_1_IN[1]
+set_location_assignment PIN_T15 -to GPIO_1[1]
+set_location_assignment PIN_T14 -to GPIO_1[2]
+set_location_assignment PIN_T13 -to GPIO_1[3]
+set_location_assignment PIN_R13 -to GPIO_1[4]
+set_location_assignment PIN_T12 -to GPIO_1[5]
+set_location_assignment PIN_R12 -to GPIO_1[6]
+set_location_assignment PIN_T11 -to GPIO_1[7]
+set_location_assignment PIN_T10 -to GPIO_1[8]
+set_location_assignment PIN_R11 -to GPIO_1[9]
+set_location_assignment PIN_P11 -to GPIO_1[10]
+set_location_assignment PIN_R10 -to GPIO_1[11]
+set_location_assignment PIN_N12 -to GPIO_1[12]
+set_location_assignment PIN_P9 -to GPIO_1[13]
+set_location_assignment PIN_N9 -to GPIO_1[14]
+set_location_assignment PIN_N11 -to GPIO_1[15]
+set_location_assignment PIN_L16 -to GPIO_1[16]
+set_location_assignment PIN_K16 -to GPIO_1[17]
+set_location_assignment PIN_R16 -to GPIO_1[18]
+set_location_assignment PIN_L15 -to GPIO_1[19]
+set_location_assignment PIN_P15 -to GPIO_1[20]
+set_location_assignment PIN_P16 -to GPIO_1[21]
+set_location_assignment PIN_R14 -to GPIO_1[22]
+set_location_assignment PIN_N16 -to GPIO_1[23]
+set_location_assignment PIN_N15 -to GPIO_1[24]
+set_location_assignment PIN_P14 -to GPIO_1[25]
+set_location_assignment PIN_L14 -to GPIO_1[26]
+set_location_assignment PIN_N14 -to GPIO_1[27]
+set_location_assignment PIN_M10 -to GPIO_1[28]
+set_location_assignment PIN_L13 -to GPIO_1[29]
+set_location_assignment PIN_J16 -to GPIO_1[30]
+set_location_assignment PIN_K15 -to GPIO_1[31]
+set_location_assignment PIN_J13 -to GPIO_1[32]
+set_location_assignment PIN_J14 -to GPIO_1[33]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1_IN[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[0]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1_IN[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[1]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[2]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[3]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[4]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[5]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[6]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[7]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[8]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[9]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[10]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[11]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[12]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[13]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[14]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[15]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[16]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[17]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[18]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[19]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[20]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[21]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[22]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[23]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[24]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[25]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[26]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[27]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[28]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[29]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[30]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[31]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[32]
+set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO_1[33]
+
+set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
+set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"
+
+set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE AS REGULAR IO"
+set_global_assignment -name CYCLONEII_RESERVE_NCEO_AFTER_CONFIGURATION "USE AS REGULAR IO"
+
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to *
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to *
+set_instance_assignment -name TSU_REQUIREMENT "10 ns" -from * -to *
+set_instance_assignment -name CURRENT_STRENGTH_NEW "MINIMUM CURRENT" -to *
+
+set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
diff --git a/MCTEST/DE0-nano-HD/PLLJ_PLLSPE_INFO.txt b/MCTEST/DE0-nano-HD/PLLJ_PLLSPE_INFO.txt
new file mode 100644
index 00000000..6b5f1895
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/PLLJ_PLLSPE_INFO.txt
@@ -0,0 +1,5 @@
+PLL_Name pll_sys:inst_pll_sys|altpll:altpll_component|pll_sys_altpll:auto_generated|pll1
+PLLJITTER 35
+PLLSPEmax 84
+PLLSPEmin -53
+
diff --git a/MCandWifiTestDE0/Software/MCandWifiTestDE0/.force_relink b/MCTEST/DE0-nano-HD/Software/.metadata/.lock
similarity index 100%
rename from MCandWifiTestDE0/Software/MCandWifiTestDE0/.force_relink
rename to MCTEST/DE0-nano-HD/Software/.metadata/.lock
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.log b/MCTEST/DE0-nano-HD/Software/.metadata/.log
new file mode 100644
index 00000000..5803b16e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.log
@@ -0,0 +1,1986 @@
+!SESSION 2014-03-06 10:00:27.665 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY org.eclipse.cdt.core 1 0 2014-03-06 10:04:05.691
+!MESSAGE Indexed 'MCTest_bsp' (99 sources, 70 headers) in 0.98 sec: 2,374 declarations; 10,554 references; 129 unresolved inclusions; 5 syntax errors; 233 unresolved names (1.77%)
+
+!ENTRY org.eclipse.cdt.core 1 0 2014-03-06 10:04:08.045
+!MESSAGE Indexed 'MCTest' (1 sources, 13 headers) in 0.01 sec: 8 declarations; 23 references; 15 unresolved inclusions; 0 syntax errors; 6 unresolved names (16.22%)
+
+!ENTRY org.eclipse.cdt.core 1 0 2014-03-06 10:22:52.933
+!MESSAGE Indexed 'MCTest' (2 sources, 83 headers) in 0.43 sec: 2,294 declarations; 2,576 references; 0 unresolved inclusions; 2 syntax errors; 26 unresolved names (0.53%)
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:45:29.994
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:45:31.707
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:46:45.877
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:46:46.264
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:46:47.911
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:47:06.838
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:47:07.222
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:47:08.863
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:49:17.294
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:49:17.685
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:49:19.338
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:50:06.960
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:50:07.353
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:50:08.999
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:51:04.644
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:51:05.036
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:51:06.683
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:53:47.321
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:53:47.713
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:53:49.360
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:54:04.969
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:54:05.355
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:54:07.001
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:54:19.771
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:54:20.164
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:54:21.807
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:11.681
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:12.067
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:13.723
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:39.188
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:39.582
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:41.230
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:58.357
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:55:58.742
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:00.388
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:11.301
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:11.689
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:13.329
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:32.426
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:32.815
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:36.534
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --tcpport=auto --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY org.eclipse.ui 4 4 2014-03-06 10:56:40.710
+!MESSAGE Exception in org.eclipse.ui.internal.PageLayout.stackView: org.eclipse.ui.PartInitException: Could not create view: org.eclipse.cdt.debug.ui.DisassemblyView
+
+!ENTRY org.eclipse.ui 4 4 2014-03-06 10:56:40.712
+!MESSAGE Exception in org.eclipse.ui.internal.PageLayout.stackView: org.eclipse.ui.PartInitException: Could not create view: org.eclipse.cdt.debug.ui.DisassemblyView
+!STACK 1
+org.eclipse.ui.PartInitException: Could not create view: org.eclipse.cdt.debug.ui.DisassemblyView
+ at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:158)
+ at org.eclipse.ui.internal.LayoutHelper.createView(LayoutHelper.java:162)
+ at org.eclipse.ui.internal.PageLayout.createView(PageLayout.java:554)
+ at org.eclipse.ui.internal.PageLayout.stackView(PageLayout.java:863)
+ at org.eclipse.ui.internal.registry.PerspectiveExtensionReader.processView(PerspectiveExtensionReader.java:270)
+ at org.eclipse.ui.internal.registry.PerspectiveExtensionReader.processExtension(PerspectiveExtensionReader.java:118)
+ at org.eclipse.ui.internal.registry.PerspectiveExtensionReader.readElement(PerspectiveExtensionReader.java:355)
+ at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
+ at org.eclipse.ui.internal.registry.RegistryReader.readExtension(RegistryReader.java:155)
+ at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:176)
+ at org.eclipse.ui.internal.registry.PerspectiveExtensionReader.extendLayout(PerspectiveExtensionReader.java:82)
+ at org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:818)
+ at org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:270)
+ at org.eclipse.ui.internal.Perspective.(Perspective.java:156)
+ at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createPerspective(Workbench3xImplementation.java:55)
+ at org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1748)
+ at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1108)
+ at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1099)
+ at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.java:3814)
+ at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
+ at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3812)
+ at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:2875)
+ at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.switchToPerspective(PerspectiveManager.java:316)
+ at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$4.runInUIThread(PerspectiveManager.java:395)
+ at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
+ at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
+ at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
+ at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
+ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
+ at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
+ at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
+ at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
+ at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
+ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
+ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
+ at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
+ at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
+ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
+ at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
+!SUBENTRY 1 org.eclipse.ui 4 0 2014-03-06 10:56:40.712
+!MESSAGE Could not create view: org.eclipse.cdt.debug.ui.DisassemblyView
+
+!ENTRY org.eclipse.cdt.debug.mi.core 4 42 2014-03-06 10:56:55.621
+!MESSAGE Internal Error
+!STACK 0
+org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: Inferior terminated[]
+ at org.eclipse.cdt.debug.mi.core.cdi.SharedLibraryManager.getMIShareds(SharedLibraryManager.java:123)
+ at org.eclipse.cdt.debug.mi.core.cdi.SharedLibraryManager.updateState(SharedLibraryManager.java:188)
+ at org.eclipse.cdt.debug.mi.core.cdi.SharedLibraryManager.update(SharedLibraryManager.java:136)
+ at org.eclipse.cdt.debug.mi.core.cdi.EventManager.processSuspendedEvent(EventManager.java:326)
+ at org.eclipse.cdt.debug.mi.core.cdi.EventManager.update(EventManager.java:100)
+ at java.util.Observable.notifyObservers(Unknown Source)
+ at org.eclipse.cdt.debug.mi.core.MISession.notifyObservers(MISession.java:791)
+ at org.eclipse.cdt.debug.mi.core.EventThread.run(EventThread.java:46)
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:55.674
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:56.064
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:56:59.749
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --tcpport=auto --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY org.eclipse.cdt.dsf.gdb 4 5012 2014-03-06 10:57:39.322
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+-exec-run
+Error message from debugger back end:
+Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:114)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:211)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:98)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:87)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+Caused by: java.lang.Exception: Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:889)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:720)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2014-03-06 10:57:39.322
+!MESSAGE Failed to execute MI command:
+-exec-run
+Error message from debugger back end:
+Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+!STACK 0
+java.lang.Exception: Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:889)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:720)
+
+!ENTRY org.eclipse.cdt.dsf.gdb 4 5012 2014-03-06 10:57:51.026
+!MESSAGE Error in final launch sequence
+!STACK 1
+org.eclipse.core.runtime.CoreException: Failed to execute MI command:
+-exec-run
+Error message from debugger back end:
+Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+ at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:114)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:211)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:98)
+ at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:87)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+Caused by: java.lang.Exception: Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:889)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:720)
+!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2014-03-06 10:57:51.026
+!MESSAGE Failed to execute MI command:
+-exec-run
+Error message from debugger back end:
+Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+!STACK 0
+java.lang.Exception: Error creating process C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf, (error 193).
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:889)
+ at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:720)
+
+!ENTRY org.eclipse.cdt.launch 4 150 2014-03-06 10:59:40.219
+!MESSAGE Error starting process.
+!STACK 0
+java.io.IOException: Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+ at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:347)
+ at org.eclipse.cdt.utils.spawner.Spawner.(Spawner.java:89)
+ at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:89)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:370)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:96)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:70)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SUBENTRY 1 org.eclipse.cdt.launch 4 150 2014-03-06 10:59:40.219
+!MESSAGE Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+!STACK 0
+java.io.IOException: Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+ at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:347)
+ at org.eclipse.cdt.utils.spawner.Spawner.(Spawner.java:89)
+ at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:89)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:370)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:96)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:70)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:59:51.095
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 10:59:52.744
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:01:24.728
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:01:25.128
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:01:26.779
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:02:30.790
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:02:32.443
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:03:30.366
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:03:30.755
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:03:32.410
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:04:33.923
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:04:34.315
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:04:35.962
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:05:16.483
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:05:16.880
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:05:18.526
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-06 11:06:23.987
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-06 11:42:06.222
+!MESSAGE FrameworkEvent ERROR
+!STACK 0
+org.osgi.framework.BundleException: Exception in com.altera.sbtgui.launch.Activator.stop() of bundle com.altera.sbtgui.launch.
+ at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:791)
+ at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
+ at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:565)
+ at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161)
+ at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:595)
+ at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
+ at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
+ at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
+ at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:691)
+ at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:598)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:390)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
+Caused by: org.eclipse.core.runtime.CoreException: Problems terminating debug session: please terminate debug session manually before exiting.
+ at com.altera.sbtgui.launch.Activator.stop(Activator.java:123)
+ at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
+ at java.security.AccessController.doPrivileged(Native Method)
+ at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
+ ... 19 more
+Root exception:
+org.eclipse.core.runtime.CoreException: Problems terminating debug session: please terminate debug session manually before exiting.
+ at com.altera.sbtgui.launch.Activator.stop(Activator.java:123)
+ at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
+ at java.security.AccessController.doPrivileged(Native Method)
+ at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
+ at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
+ at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:565)
+ at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161)
+ at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:595)
+ at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
+ at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
+ at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
+ at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:691)
+ at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:598)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:390)
+ at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
+ at java.lang.reflect.Method.invoke(Unknown Source)
+ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
+ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
+ at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
+ at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
+
+!ENTRY org.eclipse.core.jobs 2 2 2014-03-06 11:42:06.618
+!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.debug.internal.ui.DebugUIPlugin$8
+!SESSION 2014-03-06 11:47:10.488 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY org.eclipse.ui 4 4 2014-03-06 11:47:33.510
+!MESSAGE Could not create view: 'org.eclipse.ui.internal.introview'.
+
+!ENTRY org.eclipse.ui 4 0 2014-03-06 11:47:35.189
+!MESSAGE Problems occurred restoring workbench.
+!SUBENTRY 1 unknown 0 0 2014-03-06 11:47:35.189
+!MESSAGE OK
+!SUBENTRY 1 unknown 0 0 2014-03-06 11:47:35.189
+!MESSAGE OK
+!SUBENTRY 1 unknown 0 0 2014-03-06 11:47:35.189
+!MESSAGE OK
+!SUBENTRY 1 unknown 0 0 2014-03-06 11:47:35.189
+!MESSAGE OK
+!SUBENTRY 1 org.eclipse.ui 4 0 2014-03-06 11:47:35.189
+!MESSAGE Unable to restore perspective: Workspace - Nios II.
+!SUBENTRY 2 org.eclipse.ui 0 0 2014-03-06 11:47:35.189
+!MESSAGE Problems occurred restoring perspective.
+!SUBENTRY 3 org.eclipse.ui 0 0 2014-03-06 11:47:35.189
+!MESSAGE
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+!SUBENTRY 2 org.eclipse.ui 4 0 2014-03-06 11:47:35.190
+!MESSAGE Could not find view: org.eclipse.ui.internal.introview
+!SUBENTRY 1 unknown 0 0 2014-03-06 11:47:35.190
+!MESSAGE OK
+
+!ENTRY org.eclipse.cdt.core 1 0 2014-03-06 11:48:49.104
+!MESSAGE Indexed 'MCTest' (2 sources, 83 headers) in 0.56 sec: 2,297 declarations; 2,590 references; 0 unresolved inclusions; 2 syntax errors; 20 unresolved names (0.41%)
+!SESSION 2014-03-14 08:58:20.013 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:00:44.703
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:00:46.419
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:06:30.459
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:06:30.865
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:06:32.534
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:08:13.950
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:08:14.356
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:08:16.025
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:09.200
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:09.590
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:11.259
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:26.471
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:26.861
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:28.530
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:37.237
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:37.627
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:39.296
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:50.374
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:50.764
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:11:52.418
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:12:25.928
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:12:26.318
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:12:27.987
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:41:07.741
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:41:08.146
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:41:09.831
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:42:00.002
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:42:00.392
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:42:02.061
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:42:42.451
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:42:42.888
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:42:46.587
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --tcpport=auto --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:44:11.295
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY org.eclipse.cdt.debug.mi.core 4 42 2014-03-14 09:44:11.313
+!MESSAGE Internal Error
+!STACK 0
+org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: Inferior terminated[]
+ at org.eclipse.cdt.debug.mi.core.cdi.SharedLibraryManager.getMIShareds(SharedLibraryManager.java:123)
+ at org.eclipse.cdt.debug.mi.core.cdi.SharedLibraryManager.updateState(SharedLibraryManager.java:188)
+ at org.eclipse.cdt.debug.mi.core.cdi.SharedLibraryManager.update(SharedLibraryManager.java:136)
+ at org.eclipse.cdt.debug.mi.core.cdi.EventManager.processSuspendedEvent(EventManager.java:326)
+ at org.eclipse.cdt.debug.mi.core.cdi.EventManager.update(EventManager.java:100)
+ at java.util.Observable.notifyObservers(Unknown Source)
+ at org.eclipse.cdt.debug.mi.core.MISession.notifyObservers(MISession.java:791)
+ at org.eclipse.cdt.debug.mi.core.EventThread.run(EventThread.java:46)
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:44:11.752
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:44:13.421
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:45:17.882
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:45:19.567
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:45:58.474
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:45:58.864
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:46:00.534
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:46:30.409
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:46:30.799
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:46:32.468
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:47:03.202
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:47:03.592
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:47:05.261
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:48:23.465
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:48:23.871
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 09:48:25.540
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+!SESSION 2014-03-14 12:04:50.779 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 12:23:17.614
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:555)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 12:23:17.629
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:555)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:23:53.105
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:23:54.806
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:24:17.070
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:24:18.739
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:25:26.213
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:25:26.618
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:25:28.272
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:26:05.277
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:26:05.652
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:26:07.305
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:28:30.111
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:28:30.501
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:28:32.170
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:28:46.774
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:28:47.164
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:28:48.833
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:29:26.509
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:29:26.899
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:29:28.568
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:38:16.053
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:38:17.722
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:42:55.072
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:42:55.540
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:42:57.241
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:45:43.553
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:45:44.084
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:45:45.753
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:46:40.604
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:46:40.994
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:46:42.663
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:48:17.825
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:48:18.230
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 12:48:19.915
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:10:37.775
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:10:39.460
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:11:11.270
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:11:11.660
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:11:13.345
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:11:39.477
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:11:39.883
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:11:41.552
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:12:12.130
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:12:12.629
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:12:14.298
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:12:18.574
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:12:18.964
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:12:20.634
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:14:25.856
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:14:26.355
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:14:28.274
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:14:55.420
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:14:55.841
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:14:57.510
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:16:32.562
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:16:33.046
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:16:34.715
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:16:52.597
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:16:53.050
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:16:54.719
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:18:17.531
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:18:17.968
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:18:19.638
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:18:48.567
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:18:49.004
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:18:50.674
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:20:01.448
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:20:01.931
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:20:03.601
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:21:18.797
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:21:19.765
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:21:21.450
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:22:39.076
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:22:39.825
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:22:41.494
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:15.170
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:16.776
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:18.602
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:40.646
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:41.099
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:42.783
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:58.791
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:38:59.228
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:39:00.912
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:39:24.096
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:39:24.502
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:39:26.171
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:49:34.483
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:49:35.466
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:49:37.400
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:50:02.175
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:50:02.596
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 13:50:04.281
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:12:49.104
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 14:12:54.876
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:503)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 14:12:54.876
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:503)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 14:13:05.266
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:503)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 14:13:05.266
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:503)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 14:13:15.764
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:503)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 14:13:15.764
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:503)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SESSION 2014-03-14 14:14:17.328 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY org.eclipse.core.resources 2 10035 2014-03-14 14:14:20.885
+!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:14:34.862
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:14:36.563
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:14:57.718
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:14:58.124
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:14:59.777
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:15:15.725
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:15:16.131
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:15:17.800
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:15:37.712
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:15:38.118
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:15:39.787
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:16:49.235
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:16:49.688
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:16:51.357
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:17:21.020
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:17:21.457
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:17:23.127
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:17:44.956
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:17:45.362
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:17:47.016
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:18:33.217
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:18:33.654
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:18:35.448
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:19:18.576
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:19:19.028
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:19:20.698
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:20:02.701
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:20:03.122
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:20:04.776
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:20:31.330
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:20:31.767
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:20:33.421
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:21:16.762
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:21:17.230
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:21:18.899
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:21:43.425
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:21:43.909
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:21:45.563
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:14.614
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:15.051
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:16.720
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:33.228
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:33.649
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:35.318
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:48.862
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:49.252
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:22:50.921
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:23:32.670
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:23:33.123
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:23:34.808
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:24:33.437
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:24:33.905
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:24:35.574
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:25:25.716
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:25:26.184
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:25:27.853
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:07.620
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:08.057
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:09.726
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:18.387
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:18.792
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:20.461
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:36.656
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:37.078
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 14:26:38.747
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:14:20.580
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:14:22.272
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:14:23.932
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:15:11.891
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:20:28.566
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY org.eclipse.ui.console 4 2 2014-03-14 15:20:28.593
+!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.console".
+!STACK 0
+org.eclipse.swt.SWTException: Device is disposed
+ at org.eclipse.swt.SWT.error(SWT.java:4282)
+ at org.eclipse.swt.SWT.error(SWT.java:4197)
+ at org.eclipse.swt.SWT.error(SWT.java:4168)
+ at org.eclipse.swt.widgets.Display.error(Display.java:1258)
+ at org.eclipse.swt.widgets.Display.asyncExec(Display.java:709)
+ at org.eclipse.ui.internal.console.IOConsolePartitioner.setWaterMarks(IOConsolePartitioner.java:143)
+ at org.eclipse.ui.console.IOConsole.setWaterMarks(IOConsole.java:207)
+ at org.eclipse.debug.internal.ui.views.console.ProcessConsole.init(ProcessConsole.java:416)
+ at org.eclipse.ui.console.AbstractConsole.initialize(AbstractConsole.java:258)
+ at org.eclipse.ui.console.AbstractConsole$Lifecycle.consolesAdded(AbstractConsole.java:64)
+ at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.run(ConsoleManager.java:152)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.notify(ConsoleManager.java:175)
+ at org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(ConsoleManager.java:269)
+ at org.eclipse.ui.internal.console.ConsoleManager.addConsoles(ConsoleManager.java:231)
+ at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.launchChanged(ProcessConsoleManager.java:149)
+ at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:447)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:428)
+ at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:990)
+ at org.eclipse.debug.core.Launch.fireChanged(Launch.java:388)
+ at org.eclipse.debug.core.Launch.addProcess(Launch.java:351)
+ at org.eclipse.debug.core.model.RuntimeProcess.(RuntimeProcess.java:125)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate$Nios2RemoteProcess.(Nios2HardwareLaunchDelegate.java:1105)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate$3.(Nios2HardwareLaunchDelegate.java:548)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.stopProcessorProcess(Nios2HardwareLaunchDelegate.java:547)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:105)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.ui.console 4 120 2014-03-14 15:20:28.596
+!MESSAGE An exception occurred during console notification
+!STACK 0
+org.eclipse.swt.SWTException: Device is disposed
+ at org.eclipse.swt.SWT.error(SWT.java:4282)
+ at org.eclipse.swt.SWT.error(SWT.java:4197)
+ at org.eclipse.swt.SWT.error(SWT.java:4168)
+ at org.eclipse.swt.widgets.Display.error(Display.java:1258)
+ at org.eclipse.swt.widgets.Display.asyncExec(Display.java:709)
+ at org.eclipse.ui.internal.console.IOConsolePartitioner.setWaterMarks(IOConsolePartitioner.java:143)
+ at org.eclipse.ui.console.IOConsole.setWaterMarks(IOConsole.java:207)
+ at org.eclipse.debug.internal.ui.views.console.ProcessConsole.init(ProcessConsole.java:416)
+ at org.eclipse.ui.console.AbstractConsole.initialize(AbstractConsole.java:258)
+ at org.eclipse.ui.console.AbstractConsole$Lifecycle.consolesAdded(AbstractConsole.java:64)
+ at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.run(ConsoleManager.java:152)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.notify(ConsoleManager.java:175)
+ at org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(ConsoleManager.java:269)
+ at org.eclipse.ui.internal.console.ConsoleManager.addConsoles(ConsoleManager.java:231)
+ at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.launchChanged(ProcessConsoleManager.java:149)
+ at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:447)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:428)
+ at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:990)
+ at org.eclipse.debug.core.Launch.fireChanged(Launch.java:388)
+ at org.eclipse.debug.core.Launch.addProcess(Launch.java:351)
+ at org.eclipse.debug.core.model.RuntimeProcess.(RuntimeProcess.java:125)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate$Nios2RemoteProcess.(Nios2HardwareLaunchDelegate.java:1105)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate$3.(Nios2HardwareLaunchDelegate.java:548)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.stopProcessorProcess(Nios2HardwareLaunchDelegate.java:547)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:105)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.cdt.managedbuilder.core 4 0 2014-03-14 15:20:28.758
+!MESSAGE Workspace is closed.
+!STACK 0
+java.lang.IllegalStateException: Workspace is closed.
+ at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:399)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeExternalBuild(ExternalBuildRunner.java:207)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeBuild(ExternalBuildRunner.java:85)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:744)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:501)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:450)
+ at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
+ at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
+ at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
+ at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
+ at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
+ at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
+ at org.eclipse.core.internal.resources.Project.build(Project.java:114)
+ at org.eclipse.cdt.launch.AbstractCLaunchDelegate.buildForLaunch(AbstractCLaunchDelegate.java:615)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:822)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.core.resources 4 2 2014-03-14 15:20:28.760
+!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
+!STACK 1
+org.eclipse.core.runtime.CoreException: Workspace is closed.
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeExternalBuild(ExternalBuildRunner.java:251)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeBuild(ExternalBuildRunner.java:85)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:744)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:501)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:450)
+ at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
+ at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
+ at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
+ at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
+ at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
+ at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
+ at org.eclipse.core.internal.resources.Project.build(Project.java:114)
+ at org.eclipse.cdt.launch.AbstractCLaunchDelegate.buildForLaunch(AbstractCLaunchDelegate.java:615)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:822)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+Caused by: java.lang.IllegalStateException: Workspace is closed.
+ at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:399)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeExternalBuild(ExternalBuildRunner.java:207)
+ ... 23 more
+!SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 0 2014-03-14 15:20:28.760
+!MESSAGE Workspace is closed.
+!STACK 0
+java.lang.IllegalStateException: Workspace is closed.
+ at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:399)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeExternalBuild(ExternalBuildRunner.java:207)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeBuild(ExternalBuildRunner.java:85)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:744)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:501)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:450)
+ at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
+ at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
+ at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
+ at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
+ at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
+ at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
+ at org.eclipse.core.internal.resources.Project.build(Project.java:114)
+ at org.eclipse.cdt.launch.AbstractCLaunchDelegate.buildForLaunch(AbstractCLaunchDelegate.java:615)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:822)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 0 2014-03-14 15:20:28.760
+!MESSAGE Workspace is closed.
+!STACK 0
+java.lang.IllegalStateException: Workspace is closed.
+ at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:399)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeExternalBuild(ExternalBuildRunner.java:207)
+ at org.eclipse.cdt.managedbuilder.core.ExternalBuildRunner.invokeBuild(ExternalBuildRunner.java:85)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:744)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:501)
+ at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:450)
+ at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
+ at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
+ at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
+ at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
+ at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
+ at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
+ at org.eclipse.core.internal.resources.Project.build(Project.java:114)
+ at org.eclipse.cdt.launch.AbstractCLaunchDelegate.buildForLaunch(AbstractCLaunchDelegate.java:615)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:822)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.core.resources 4 2 2014-03-14 15:20:28.763
+!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
+!STACK 0
+java.lang.NullPointerException
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
+ at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
+ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
+ at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
+ at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:394)
+ at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
+ at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
+ at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
+ at org.eclipse.core.internal.resources.Project.build(Project.java:114)
+ at org.eclipse.cdt.launch.AbstractCLaunchDelegate.buildForLaunch(AbstractCLaunchDelegate.java:615)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:822)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.core.jobs 4 2 2014-03-14 15:20:28.765
+!MESSAGE An internal error occurred during: "Launching MCTest Nios II Hardware configuration".
+!STACK 0
+java.lang.NullPointerException
+ at org.eclipse.cdt.launch.AbstractCLaunchDelegate.finalLaunchCheck(AbstractCLaunchDelegate.java:738)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:835)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.core.jobs 2 2 2014-03-14 15:20:29.018
+!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.debug.internal.ui.DebugUIPlugin$8
+!SESSION 2014-03-14 15:20:48.329 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:21:05.618
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:21:07.294
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:21:58.631
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:21:59.064
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:22:00.713
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:22:55.374
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:22:55.841
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:22:57.489
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:54:36.241
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:54:38.333
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:54:40.553
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:56:30.718
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 15:56:35.868
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 15:56:35.872
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 15:56:51.667
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 15:56:51.670
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SESSION 2014-03-14 15:58:59.154 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY org.eclipse.cdt.launch 4 150 2014-03-14 15:59:16.567
+!MESSAGE Error starting process.
+!STACK 0
+java.io.IOException: Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+ at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:347)
+ at org.eclipse.cdt.utils.spawner.Spawner.(Spawner.java:89)
+ at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:89)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:370)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:96)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:70)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SUBENTRY 1 org.eclipse.cdt.launch 4 150 2014-03-14 15:59:16.568
+!MESSAGE Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+!STACK 0
+java.io.IOException: Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+ at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:347)
+ at org.eclipse.cdt.utils.spawner.Spawner.(Spawner.java:89)
+ at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:89)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:370)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:96)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:70)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY org.eclipse.cdt.launch 4 150 2014-03-14 15:59:26.946
+!MESSAGE Error starting process.
+!STACK 0
+java.io.IOException: Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+ at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:347)
+ at org.eclipse.cdt.utils.spawner.Spawner.(Spawner.java:89)
+ at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:89)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:370)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:96)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:70)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SUBENTRY 1 org.eclipse.cdt.launch 4 150 2014-03-14 15:59:26.946
+!MESSAGE Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+!STACK 0
+java.io.IOException: Cannot run program "C:\Users\gongal\Desktop\MCTEST\DE0-nano-HD\Software\MCTest\MCTest.elf": Launching failed
+ at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:347)
+ at org.eclipse.cdt.utils.spawner.Spawner.(Spawner.java:89)
+ at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:89)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:370)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:96)
+ at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:70)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:59:36.452
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:59:38.615
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:59:51.045
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:59:51.465
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 15:59:53.130
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:00:21.544
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:00:21.962
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:00:23.609
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:01:08.635
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:01:09.265
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:01:10.917
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:02:12.143
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:02:12.597
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:02:14.262
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:05:51.823
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:05:52.680
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:05:54.334
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:06:09.172
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:06:09.574
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:06:11.225
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:07:37.851
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:07:38.560
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:07:40.211
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:07:57.413
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:07:57.848
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:07:59.497
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:09:00.512
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:09:00.942
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:09:02.610
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:10:21.116
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:10:21.537
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:10:23.186
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:48:57.657
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 16:49:02.892
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 16:49:02.897
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SESSION 2014-03-14 16:52:20.565 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:52:35.117
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 16:52:36.764
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 16:59:38.137
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 16:59:38.141
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception: Connected system ID hash not found on target at expected base address.
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.assertTrue(SystemConsoleConnectionModel.java:645)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateSystemId(SystemConsoleConnectionModel.java:589)
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:511)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SESSION 2014-03-14 17:00:10.678 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 17:00:46.556
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:555)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+
+!ENTRY com.altera.sbtgui.launch 4 0 2014-03-14 17:00:46.564
+!MESSAGE Unable to validate connection settings.
+!STACK 0
+java.lang.Exception
+ at com.altera.embeddedsw.flash.model.internal.SystemConsoleConnectionModel.validateConnectionSettings(SystemConsoleConnectionModel.java:555)
+ at com.altera.sbtgui.launch.hardware.AbstractNios2CLaunchDelegate.launch(AbstractNios2CLaunchDelegate.java:115)
+ at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:98)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
+ at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
+ at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
+ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+!SESSION 2014-03-14 17:01:33.034 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:01:57.301
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:01:58.953
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:03:15.567
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:03:16.234
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:03:17.878
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:03:30.719
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:03:31.124
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:03:32.771
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:04:41.469
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:04:41.905
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:04:43.549
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:05:23.179
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:05:24.819
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:06:06.499
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:06:06.940
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:06:08.584
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:06:58.540
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:06:58.937
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:07:00.587
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:12:10.299
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:12:10.696
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-14 17:12:12.340
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/Desktop/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+!SESSION 2014-03-19 11:43:38.092 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-19 11:52:36.188
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-19 11:52:37.889
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-19 11:57:12.478
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-19 11:57:14.147
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+!SESSION 2014-03-20 16:01:01.325 -----------------------------------------------
+eclipse.buildId=M20120208-0800
+java.version=1.6.0_23
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
+Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:07:54.135
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:07:55.845
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:08:50.150
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:08:50.550
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:08:52.220
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:11:58.795
+!MESSAGE Terminated Launch with connection: 10USB-Blaster on localhost [USB-0]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:11:59.195
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:12:00.865
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:14:28.047
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --stop --sidp=0x20010a0 --id=0x0 --timestamp=1394124174]
+
+!ENTRY com.altera.sbtgui.launch 1 0 2014-03-20 18:14:29.707
+!MESSAGE Executing: [C:/altera/12.1sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --go --sidp=0x20010a0 --id=0x0 --timestamp=1394124174 /cygdrive/c/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf]
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.mylyn/repositories.xml.zip b/MCTEST/DE0-nano-HD/Software/.metadata/.mylyn/repositories.xml.zip
new file mode 100644
index 00000000..00aeb130
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.mylyn/repositories.xml.zip differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.codan.ui/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.codan.ui/dialog_settings.xml
new file mode 100644
index 00000000..39970e81
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.codan.ui/dialog_settings.xml
@@ -0,0 +1,4 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/.log b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/.log
new file mode 100644
index 00000000..e4f0eacb
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/.log
@@ -0,0 +1,15 @@
+*** SESSION Mar 06, 2014 10:00:43.86 -------------------------------------------
+*** SESSION Mar 06, 2014 11:47:32.49 -------------------------------------------
+*** SESSION Mar 10, 2014 16:30:59.48 -------------------------------------------
+*** SESSION Mar 14, 2014 08:58:25.89 -------------------------------------------
+*** SESSION Mar 14, 2014 14:14:22.06 -------------------------------------------
+*** SESSION Mar 14, 2014 15:20:52.72 -------------------------------------------
+*** SESSION Mar 14, 2014 15:59:07.38 -------------------------------------------
+*** SESSION Mar 14, 2014 16:52:23.75 -------------------------------------------
+*** SESSION Mar 14, 2014 17:00:13.53 -------------------------------------------
+*** SESSION Mar 14, 2014 17:01:44.06 -------------------------------------------
+*** SESSION Mar 19, 2014 11:41:31.61 -------------------------------------------
+*** SESSION Mar 19, 2014 11:43:44.43 -------------------------------------------
+*** SESSION Mar 20, 2014 12:42:31.63 -------------------------------------------
+*** SESSION Mar 20, 2014 16:00:43.08 -------------------------------------------
+*** SESSION Mar 20, 2014 16:01:05.21 -------------------------------------------
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/MCTest.1394125448030.pdom b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/MCTest.1394125448030.pdom
new file mode 100644
index 00000000..e8cbb12b
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/MCTest.1394125448030.pdom differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/MCTest_bsp.1394125444538.pdom b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/MCTest_bsp.1394125444538.pdom
new file mode 100644
index 00000000..1044c055
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.core/MCTest_bsp.1394125444538.pdom differ
diff --git a/MCandWifiTestDE0/Software/MCandWifiTestDE0/obj/default/.force_relink b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/.log
similarity index 100%
rename from MCandWifiTestDE0/Software/MCandWifiTestDE0/obj/default/.force_relink
rename to MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/.log
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/MCTest.sc b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/MCTest.sc
new file mode 100644
index 00000000..448d748d
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/MCTest.sc
@@ -0,0 +1,461 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/MCTest_bsp.sc b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/MCTest_bsp.sc
new file mode 100644
index 00000000..e55f22c2
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/MCTest_bsp.sc
@@ -0,0 +1,437 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
@@ -0,0 +1 @@
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp
@@ -0,0 +1 @@
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/MCTest.build.log b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/MCTest.build.log
new file mode 100644
index 00000000..626a824e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/MCTest.build.log
@@ -0,0 +1,10 @@
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/MCTest_bsp.build.log b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/MCTest_bsp.build.log
new file mode 100644
index 00000000..0afb54d1
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/MCTest_bsp.build.log
@@ -0,0 +1,7 @@
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml
new file mode 100644
index 00000000..d0a35072
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/dialog_settings.xml
@@ -0,0 +1,17 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log
new file mode 100644
index 00000000..86d2df6d
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log
@@ -0,0 +1,7618 @@
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+MotorHandler.cpp:36: warning: format '%s' expects type 'char*', but argument 2 has type 'alt_up_rs232_dev*'
+Info: Linking MCTest.elf
+MotorHandler.cpp:36: warning: format '%s' expects type 'char*', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+Info: Linking MCTest.elf
+MotorHandler.cpp:36: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+MotorHandler.cpp:36: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+MotorHandler.cpp:34: error: expected `;' before '__builtin_stwio'
+MotorHandler.cpp:37: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+MotorHandler.cpp:37: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+Info: Linking MCTest.elf
+MotorHandler.cpp:37: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+MotorHandler.cpp:37: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+MotorHandler.cpp:37: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+Info: Compiling main.cpp to obj/default/main.o
+MotorHandler.cpp:37: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+MotorHandler.cpp:36: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+MotorHandler.cpp:36: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+Info: Compiling main.cpp to obj/default/main.o
+MotorHandler.cpp:36: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+MotorHandler.cpp:36: warning: format '%d' expects type 'int', but argument 2 has type 'alt_up_rs232_dev*'
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+main.cpp: In function 'void mc_task(void*)':
+Info: Linking MCTest.elf
+main.cpp:71: warning: converting to non-pointer type 'int' from NULL
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+main.cpp:71: warning: NULL used in arithmetic
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+ 0 [main] perl 2228 child_info_fork::abort: C:\altera\12.1sp1\quartus\bin\cygwin\bin\cyggcc_s-1.dll: Loaded to different address: parent(0x2B0000) != child(0x3B0000)
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp:148: error: no 'void MotorHandler::resetMC()' member function declared in class 'MotorHandler'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp:148: error: no 'void MotorHandler::resetMC()' member function declared in class 'MotorHandler'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+main.cpp: In function 'void mc_task(void*)':
+main.cpp:79: error: 'OSTimeDlyHMS' was not declared in this scope
+make: *** [obj/default/main.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+Compiling altera_up_avalon_rs232.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 140 KBytes program size (code + initialized data).
+Info: 16236 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp:102: error: variable or field 'move' declared void
+MotorHandler.cpp:102: error: 'int MotorHandler::move' is not a static member of 'class MotorHandler'
+MotorHandler.cpp:102: error: 'MotorDirection' was not declared in this scope
+MotorHandler.cpp:102: error: 'Speed' was not declared in this scope
+MotorHandler.cpp:102: error: 'Description' was not declared in this scope
+MotorHandler.cpp:102: error: initializer expression list treated as compound expression
+MotorHandler.cpp:102: error: expected ',' or ';' before '{' token
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.h:64: error: 'void MotorHandler::move(char, char, char*)' cannot be overloaded
+MotorHandler.h:37: error: with 'void MotorHandler::move(char, char, char*)'
+MotorHandler.cpp: In member function 'void MotorHandler::forward()':
+MotorHandler.cpp:65: error: 'MOTOR_BOTH_FORWARD' was not declared in this scope
+MotorHandler.cpp: In member function 'void MotorHandler::backward()':
+MotorHandler.cpp:73: error: 'MOTOR_BOTH_BACKWARD' was not declared in this scope
+MotorHandler.cpp: In member function 'void MotorHandler::left()':
+MotorHandler.cpp:81: error: 'MOTOR_MOTOR1_FORWARD' was not declared in this scope
+MotorHandler.cpp: In member function 'void MotorHandler::right()':
+MotorHandler.cpp:88: error: 'MOTOR_MOTOR2_FORWARD' was not declared in this scope
+MotorHandler.cpp: In member function 'void MotorHandler::stop()':
+MotorHandler.cpp:95: error: 'MOTOR_MOTOR1_FORWARD' was not declared in this scope
+MotorHandler.cpp:96: error: 'MOTOR_MOTOR2_FORWARD' was not declared in this scope
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.h:64: error: 'void MotorHandler::move(char, char, char*)' cannot be overloaded
+MotorHandler.h:37: error: with 'void MotorHandler::move(char, char, char*)'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.h:64: error: 'void MotorHandler::move(char, char, char*)' cannot be overloaded
+MotorHandler.h:37: error: with 'void MotorHandler::move(char, char, char*)'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+obj/default/main.o: In function `mc_task(void*)':
+C:\Users\gongal\NewRepARCap\MCTEST\DE0-nano-HD\Software\MCTest/main.cpp:77: undefined reference to `MotorHandler::forward()'
+C:\Users\gongal\NewRepARCap\MCTEST\DE0-nano-HD\Software\MCTest/main.cpp:79: undefined reference to `MotorHandler::stop()'
+C:\Users\gongal\NewRepARCap\MCTEST\DE0-nano-HD\Software\MCTest/main.cpp:85: undefined reference to `MotorHandler::backward()'
+C:\Users\gongal\NewRepARCap\MCTEST\DE0-nano-HD\Software\MCTest/main.cpp:87: undefined reference to `MotorHandler::stop()'
+collect2: ld returned 1 exit status
+make: *** [MCTest.elf] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+obj/default/main.o: In function `mc_task(void*)':
+C:\Users\gongal\NewRepARCap\MCTEST\DE0-nano-HD\Software\MCTest/main.cpp:79: undefined reference to `MotorHandler::stop()'
+collect2: ld returned 1 exit status
+make: *** [MCTest.elf] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+main.cpp:79:16: error: invalid suffix "x05" on integer constant
+make: *** [obj/default/main.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 139 KBytes program size (code + initialized data).
+Info: 16237 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.h:38: error: 'string' has not been declared
+MotorHandler.h:38: error: 'string' has not been declared
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+MotorHandler.cpp:34: error: 'reset' was not declared in this scope
+MotorHandler.cpp: At global scope:
+MotorHandler.cpp:45: error: no 'void MotorHandler::configure()' member function declared in class 'MotorHandler'
+MotorHandler.cpp:97: error: no 'void MotorHandler::reset()' member function declared in class 'MotorHandler'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+Compiling altera_up_avalon_rs232.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Creating libucosii_bsp.a...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.h:38: error: 'string' has not been declared
+MotorHandler.h:38: error: 'string' has not been declared
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+MotorHandler.cpp:34: error: 'reset' was not declared in this scope
+MotorHandler.cpp: At global scope:
+MotorHandler.cpp:45: error: no 'void MotorHandler::configure()' member function declared in class 'MotorHandler'
+MotorHandler.cpp:97: error: no 'void MotorHandler::reset()' member function declared in class 'MotorHandler'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'Status MotorHandler::init()':
+MotorHandler.cpp:34: error: 'reset' was not declared in this scope
+MotorHandler.cpp: At global scope:
+MotorHandler.cpp:45: error: no 'void MotorHandler::configure()' member function declared in class 'MotorHandler'
+MotorHandler.cpp:97: error: no 'void MotorHandler::reset()' member function declared in class 'MotorHandler'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+MotorHandler.h: In function 'void mc_task(void*)':
+MotorHandler.h:53: error: 'void MotorHandler::move(char, char, char*)' is private
+main.cpp:77: error: within this context
+MotorHandler.h:53: error: 'void MotorHandler::move(char, char, char*)' is private
+main.cpp:79: error: within this context
+make: *** [obj/default/main.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 139 KBytes program size (code + initialized data).
+Info: 16237 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:60: error: declaration of 'char motor' shadows a parameter
+MotorHandler.cpp:60: error: argument of type 'char (MotorHandler::)(std::string)' does not match 'char'
+MotorHandler.cpp:60: warning: unused variable 'motor'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:60: error: declaration of 'char motor' shadows a parameter
+MotorHandler.cpp:60: error: invalid conversion from 'char' to 'const char*'
+MotorHandler.cpp:60: error: initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:60: warning: unused variable 'motorC'
+MotorHandler.cpp: In member function 'char MotorHandler::interpretDirection(std::string, int)':
+MotorHandler.cpp:69: warning: control reaches end of non-void function
+MotorHandler.cpp: In member function 'char MotorHandler::interpretMotor(std::string)':
+MotorHandler.cpp:65: warning: control reaches end of non-void function
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 165 KBytes program size (code + initialized data).
+Info: 16211 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:60: warning: unused variable 'motorC'
+MotorHandler.cpp: In member function 'char MotorHandler::interpretMotor(std::string)':
+MotorHandler.cpp:65: error: 'MOTOR_lEFT_CHAR' was not declared in this scope
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:60: warning: unused variable 'motorC'
+MotorHandler.cpp: In member function 'char MotorHandler::interpretDirection(std::string, int)':
+MotorHandler.cpp:71: warning: control reaches end of non-void function
+MotorHandler.cpp: In member function 'char MotorHandler::interpretMotor(std::string)':
+MotorHandler.cpp:67: warning: control reaches end of non-void function
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 165 KBytes program size (code + initialized data).
+Info: 16211 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:60: warning: unused variable 'motorC'
+MotorHandler.cpp: In member function 'char MotorHandler::interpretDirection(std::string, int)':
+MotorHandler.cpp:73: warning: control reaches end of non-void function
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 165 KBytes program size (code + initialized data).
+Info: 16211 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:61: warning: unused variable 'Direction'
+MotorHandler.cpp: In member function 'char MotorHandler::interpretDirection(std::string, int)':
+MotorHandler.cpp:74: warning: control reaches end of non-void function
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 165 KBytes program size (code + initialized data).
+Info: 16211 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:61: warning: unused variable 'Direction'
+MotorHandler.cpp: In member function 'char MotorHandler::interpretDirection(std::string, int)':
+MotorHandler.cpp:76: error: expected ';' before '}' token
+MotorHandler.cpp:80: error: expected primary-expression before '}' token
+MotorHandler.cpp:80: error: expected `;' before '}' token
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:61: warning: unused variable 'Direction'
+MotorHandler.cpp: In member function 'char MotorHandler::interpretDirection(std::string, int)':
+MotorHandler.cpp:80: error: expected primary-expression before '}' token
+MotorHandler.cpp:80: error: expected `;' before '}' token
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:61: warning: unused variable 'Direction'
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 166 KBytes program size (code + initialized data).
+Info: 16210 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:62: error: cannot convert 'std::string' to 'const char*' for argument '1' to 'long int atol(const char*)'
+MotorHandler.cpp:63: error: no matching function for call to 'MotorHandler::move(char&, std::string&, const char [11])'
+MotorHandler.h:63: note: candidates are: void MotorHandler::move(char, char, char*)
+MotorHandler.cpp:62: warning: unused variable 'Speed'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:62: error: cannot convert 'std::string' to 'const char*' for argument '1' to 'long int atol(const char*)'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:62: error: cannot convert 'std::string' to 'const char*' for argument '1' to 'long int atol(const char*)'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:62: error: cannot convert 'std::string' to 'const char*' for argument '1' to 'long int atol(const char*)'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+c:\altera\12.1sp1\nios2eds\bin\gnu\h-i686-mingw32\bin\../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/include/stdlib.h: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+c:\altera\12.1sp1\nios2eds\bin\gnu\h-i686-mingw32\bin\../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/include/stdlib.h:117: error: too few arguments to function 'long int strtol(const char*, char**, int)'
+MotorHandler.cpp:62: error: at this point in file
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 167 KBytes program size (code + initialized data).
+Info: 16209 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 167 KBytes program size (code + initialized data).
+Info: 16209 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 167 KBytes program size (code + initialized data).
+Info: 16209 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:64: error: no matching function for call to 'MotorHandler::move(char&, int&, std::basic_string, std::allocator >&)'
+MotorHandler.h:63: note: candidates are: void MotorHandler::move(char, char, char*)
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::send(char, std::string)':
+MotorHandler.cpp:116: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime
+MotorHandler.cpp:116: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+MotorHandler.cpp:116: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+MotorHandler.cpp:125: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime
+MotorHandler.cpp:125: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+MotorHandler.cpp:125: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 168 KBytes program size (code + initialized data).
+Info: 16208 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest ****
+
+make clean
+[MCTest clean complete]
+
+**** Build Finished ****
+
+**** Clean-only build of configuration Nios II for project MCTest_bsp ****
+
+make clean
+[BSP clean complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+Compiling alt_alarm_start.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
+Compiling alt_busy_sleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_busy_sleep.o HAL/src/alt_busy_sleep.c
+Compiling alt_close.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
+Compiling alt_dcache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush.o HAL/src/alt_dcache_flush.c
+Compiling alt_dcache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
+Compiling alt_dcache_flush_no_writeback.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dcache_flush_no_writeback.o HAL/src/alt_dcache_flush_no_writeback.c
+Compiling alt_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev.o HAL/src/alt_dev.c
+Compiling alt_dev_llist_insert.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dev_llist_insert.o HAL/src/alt_dev_llist_insert.c
+Compiling alt_dma_rxchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_rxchan_open.o HAL/src/alt_dma_rxchan_open.c
+Compiling alt_dma_txchan_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_dma_txchan_open.o HAL/src/alt_dma_txchan_open.c
+Compiling alt_do_ctors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_ctors.o HAL/src/alt_do_ctors.c
+Compiling alt_do_dtors.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_do_dtors.o HAL/src/alt_do_dtors.c
+Compiling alt_environ.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_environ.o HAL/src/alt_environ.c
+Compiling alt_errno.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_errno.o HAL/src/alt_errno.c
+Compiling alt_exception_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_entry.o HAL/src/alt_exception_entry.S
+Compiling alt_exception_muldiv.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_muldiv.o HAL/src/alt_exception_muldiv.S
+Compiling alt_exception_trap.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_exception_trap.o HAL/src/alt_exception_trap.S
+Compiling alt_execve.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_execve.o HAL/src/alt_execve.c
+Compiling alt_exit.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_exit.o HAL/src/alt_exit.c
+Compiling alt_fcntl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fcntl.o HAL/src/alt_fcntl.c
+Compiling alt_fd_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_lock.o HAL/src/alt_fd_lock.c
+Compiling alt_fd_unlock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fd_unlock.o HAL/src/alt_fd_unlock.c
+Compiling alt_find_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_dev.o HAL/src/alt_find_dev.c
+Compiling alt_find_file.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_find_file.o HAL/src/alt_find_file.c
+Compiling alt_flash_dev.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_flash_dev.o HAL/src/alt_flash_dev.c
+Compiling alt_fork.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fork.o HAL/src/alt_fork.c
+Compiling alt_fs_reg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fs_reg.o HAL/src/alt_fs_reg.c
+Compiling alt_fstat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_fstat.o HAL/src/alt_fstat.c
+Compiling alt_get_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_get_fd.o HAL/src/alt_get_fd.c
+Compiling alt_getchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getchar.o HAL/src/alt_getchar.c
+Compiling alt_getpid.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_getpid.o HAL/src/alt_getpid.c
+Compiling alt_gettod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gettod.o HAL/src/alt_gettod.c
+Compiling alt_gmon.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_gmon.o HAL/src/alt_gmon.c
+Compiling alt_icache_flush.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush.o HAL/src/alt_icache_flush.c
+Compiling alt_icache_flush_all.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_icache_flush_all.o HAL/src/alt_icache_flush_all.c
+Compiling alt_iic.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic.o HAL/src/alt_iic.c
+Compiling alt_iic_isr_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_iic_isr_register.o HAL/src/alt_iic_isr_register.c
+Compiling alt_instruction_exception_entry.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_entry.o HAL/src/alt_instruction_exception_entry.c
+Compiling alt_instruction_exception_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_instruction_exception_register.o HAL/src/alt_instruction_exception_register.c
+Compiling alt_io_redirect.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_io_redirect.o HAL/src/alt_io_redirect.c
+Compiling alt_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_ioctl.o HAL/src/alt_ioctl.c
+Compiling alt_irq_entry.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_irq_entry.o HAL/src/alt_irq_entry.S
+Compiling alt_irq_handler.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_handler.o HAL/src/alt_irq_handler.c
+Compiling alt_irq_register.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_register.o HAL/src/alt_irq_register.c
+Compiling alt_irq_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_irq_vars.o HAL/src/alt_irq_vars.c
+Compiling alt_isatty.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_isatty.o HAL/src/alt_isatty.c
+Compiling alt_kill.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_kill.o HAL/src/alt_kill.c
+Compiling alt_link.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_link.o HAL/src/alt_link.c
+Compiling alt_load.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_load.o HAL/src/alt_load.c
+Compiling alt_log_macro.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_log_macro.o HAL/src/alt_log_macro.S
+Compiling alt_log_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_log_printf.o HAL/src/alt_log_printf.c
+Compiling alt_lseek.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_lseek.o HAL/src/alt_lseek.c
+Compiling alt_main.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_main.o HAL/src/alt_main.c
+Compiling alt_mcount.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_mcount.o HAL/src/alt_mcount.S
+Compiling alt_open.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_open.o HAL/src/alt_open.c
+Compiling alt_printf.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_printf.o HAL/src/alt_printf.c
+Compiling alt_putchar.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putchar.o HAL/src/alt_putchar.c
+Compiling alt_putstr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_putstr.o HAL/src/alt_putstr.c
+Compiling alt_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_read.o HAL/src/alt_read.c
+Compiling alt_release_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_release_fd.o HAL/src/alt_release_fd.c
+Compiling alt_remap_cached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_cached.o HAL/src/alt_remap_cached.c
+Compiling alt_remap_uncached.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_remap_uncached.o HAL/src/alt_remap_uncached.c
+Compiling alt_rename.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_rename.o HAL/src/alt_rename.c
+Compiling alt_sbrk.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_sbrk.o HAL/src/alt_sbrk.c
+Compiling alt_settod.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_settod.o HAL/src/alt_settod.c
+Compiling alt_software_exception.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/alt_software_exception.o HAL/src/alt_software_exception.S
+Compiling alt_stat.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_stat.o HAL/src/alt_stat.c
+Compiling alt_tick.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_tick.o HAL/src/alt_tick.c
+Compiling alt_times.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_times.o HAL/src/alt_times.c
+Compiling alt_uncached_free.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_free.o HAL/src/alt_uncached_free.c
+Compiling alt_uncached_malloc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_uncached_malloc.o HAL/src/alt_uncached_malloc.c
+Compiling alt_unlink.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_unlink.o HAL/src/alt_unlink.c
+Compiling alt_usleep.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_usleep.o HAL/src/alt_usleep.c
+Compiling alt_wait.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_wait.o HAL/src/alt_wait.c
+Compiling alt_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/alt_write.o HAL/src/alt_write.c
+Compiling altera_nios2_qsys_irq.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/altera_nios2_qsys_irq.o HAL/src/altera_nios2_qsys_irq.c
+Compiling crt0.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/crt0.o HAL/src/crt0.S
+Compiling os_cpu_a.S...
+nios2-elf-gcc -MP -MMD -c -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -Wa,-gdwarf2 -o obj/HAL/src/os_cpu_a.o HAL/src/os_cpu_a.S
+Compiling os_cpu_c.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/HAL/src/os_cpu_c.o HAL/src/os_cpu_c.c
+Compiling alt_env_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_env_lock.o UCOSII/src/alt_env_lock.c
+Compiling alt_malloc_lock.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/alt_malloc_lock.o UCOSII/src/alt_malloc_lock.c
+Compiling os_core.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_core.o UCOSII/src/os_core.c
+Compiling os_dbg.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_dbg.o UCOSII/src/os_dbg.c
+Compiling os_flag.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_flag.o UCOSII/src/os_flag.c
+Compiling os_mbox.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mbox.o UCOSII/src/os_mbox.c
+Compiling os_mem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mem.o UCOSII/src/os_mem.c
+Compiling os_mutex.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_mutex.o UCOSII/src/os_mutex.c
+Compiling os_q.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_q.o UCOSII/src/os_q.c
+Compiling os_sem.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_sem.o UCOSII/src/os_sem.c
+Compiling os_task.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_task.o UCOSII/src/os_task.c
+Compiling os_time.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_time.o UCOSII/src/os_time.c
+Compiling os_tmr.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/UCOSII/src/os_tmr.o UCOSII/src/os_tmr.c
+Compiling alt_sys_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/alt_sys_init.o alt_sys_init.c
+Compiling altera_avalon_jtag_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_fd.o drivers/src/altera_avalon_jtag_uart_fd.c
+Compiling altera_avalon_jtag_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_init.o drivers/src/altera_avalon_jtag_uart_init.c
+Compiling altera_avalon_jtag_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o drivers/src/altera_avalon_jtag_uart_ioctl.c
+Compiling altera_avalon_jtag_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_read.o drivers/src/altera_avalon_jtag_uart_read.c
+Compiling altera_avalon_jtag_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_jtag_uart_write.o drivers/src/altera_avalon_jtag_uart_write.c
+Compiling altera_avalon_sysid_qsys.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_sysid_qsys.o drivers/src/altera_avalon_sysid_qsys.c
+Compiling altera_avalon_timer_sc.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_sc.o drivers/src/altera_avalon_timer_sc.c
+Compiling altera_avalon_timer_ts.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_ts.o drivers/src/altera_avalon_timer_ts.c
+Compiling altera_avalon_timer_vars.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_timer_vars.o drivers/src/altera_avalon_timer_vars.c
+Compiling altera_avalon_uart_fd.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_fd.o drivers/src/altera_avalon_uart_fd.c
+Compiling altera_avalon_uart_init.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_init.o drivers/src/altera_avalon_uart_init.c
+Compiling altera_avalon_uart_ioctl.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_ioctl.o drivers/src/altera_avalon_uart_ioctl.c
+Compiling altera_avalon_uart_read.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_read.o drivers/src/altera_avalon_uart_read.c
+Compiling altera_avalon_uart_write.c...
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_avalon_uart_write.o drivers/src/altera_avalon_uart_write.c
+drivers/src/altera_up_avalon_rs232.c: In function 'alt_up_rs232_read_fd':
+Compiling altera_up_avalon_rs232.c...
+drivers/src/altera_up_avalon_rs232.c:110: warning: pointer targets in passing argument 2 of 'alt_up_rs232_read_data' differ in signedness
+nios2-elf-gcc -xc -MP -MMD -c -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/drivers/src/altera_up_avalon_rs232.o drivers/src/altera_up_avalon_rs232.c
+Creating libucosii_bsp.a...
+rm -f -f libucosii_bsp.a
+nios2-elf-ar -src libucosii_bsp.a obj/HAL/src/alt_alarm_start.o obj/HAL/src/alt_busy_sleep.o obj/HAL/src/alt_close.o obj/HAL/src/alt_dcache_flush.o obj/HAL/src/alt_dcache_flush_all.o obj/HAL/src/alt_dcache_flush_no_writeback.o obj/HAL/src/alt_dev.o obj/HAL/src/alt_dev_llist_insert.o obj/HAL/src/alt_dma_rxchan_open.o obj/HAL/src/alt_dma_txchan_open.o obj/HAL/src/alt_do_ctors.o obj/HAL/src/alt_do_dtors.o obj/HAL/src/alt_environ.o obj/HAL/src/alt_errno.o obj/HAL/src/alt_exception_entry.o obj/HAL/src/alt_exception_muldiv.o obj/HAL/src/alt_exception_trap.o obj/HAL/src/alt_execve.o obj/HAL/src/alt_exit.o obj/HAL/src/alt_fcntl.o obj/HAL/src/alt_fd_lock.o obj/HAL/src/alt_fd_unlock.o obj/HAL/src/alt_find_dev.o obj/HAL/src/alt_find_file.o obj/HAL/src/alt_flash_dev.o obj/HAL/src/alt_fork.o obj/HAL/src/alt_fs_reg.o obj/HAL/src/alt_fstat.o obj/HAL/src/alt_get_fd.o obj/HAL/src/alt_getchar.o obj/HAL/src/alt_getpid.o obj/HAL/src/alt_gettod.o obj/HAL/src/alt_gmon.o obj/HAL/src/alt_icache_flush.o obj/HAL/src/alt_icache_flush_all.o obj/HAL/src/alt_iic.o obj/HAL/src/alt_iic_isr_register.o obj/HAL/src/alt_instruction_exception_entry.o obj/HAL/src/alt_instruction_exception_register.o obj/HAL/src/alt_io_redirect.o obj/HAL/src/alt_ioctl.o obj/HAL/src/alt_irq_entry.o obj/HAL/src/alt_irq_handler.o obj/HAL/src/alt_irq_register.o obj/HAL/src/alt_irq_vars.o obj/HAL/src/alt_isatty.o obj/HAL/src/alt_kill.o obj/HAL/src/alt_link.o obj/HAL/src/alt_load.o obj/HAL/src/alt_log_macro.o obj/HAL/src/alt_log_printf.o obj/HAL/src/alt_lseek.o obj/HAL/src/alt_main.o obj/HAL/src/alt_mcount.o obj/HAL/src/alt_open.o obj/HAL/src/alt_printf.o obj/HAL/src/alt_putchar.o obj/HAL/src/alt_putstr.o obj/HAL/src/alt_read.o obj/HAL/src/alt_release_fd.o obj/HAL/src/alt_remap_cached.o obj/HAL/src/alt_remap_uncached.o obj/HAL/src/alt_rename.o obj/HAL/src/alt_sbrk.o obj/HAL/src/alt_settod.o obj/HAL/src/alt_software_exception.o obj/HAL/src/alt_stat.o obj/HAL/src/alt_tick.o obj/HAL/src/alt_times.o obj/HAL/src/alt_uncached_free.o obj/HAL/src/alt_uncached_malloc.o obj/HAL/src/alt_unlink.o obj/HAL/src/alt_usleep.o obj/HAL/src/alt_wait.o obj/HAL/src/alt_write.o obj/HAL/src/altera_nios2_qsys_irq.o obj/HAL/src/crt0.o obj/HAL/src/os_cpu_a.o obj/HAL/src/os_cpu_c.o obj/UCOSII/src/alt_env_lock.o obj/UCOSII/src/alt_malloc_lock.o obj/UCOSII/src/os_core.o obj/UCOSII/src/os_dbg.o obj/UCOSII/src/os_flag.o obj/UCOSII/src/os_mbox.o obj/UCOSII/src/os_mem.o obj/UCOSII/src/os_mutex.o obj/UCOSII/src/os_q.o obj/UCOSII/src/os_sem.o obj/UCOSII/src/os_task.o obj/UCOSII/src/os_time.o obj/UCOSII/src/os_tmr.o obj/alt_sys_init.o obj/drivers/src/altera_avalon_jtag_uart_fd.o obj/drivers/src/altera_avalon_jtag_uart_init.o obj/drivers/src/altera_avalon_jtag_uart_ioctl.o obj/drivers/src/altera_avalon_jtag_uart_read.o obj/drivers/src/altera_avalon_jtag_uart_write.o obj/drivers/src/altera_avalon_sysid_qsys.o obj/drivers/src/altera_avalon_timer_sc.o obj/drivers/src/altera_avalon_timer_ts.o obj/drivers/src/altera_avalon_timer_vars.o obj/drivers/src/altera_avalon_uart_fd.o obj/drivers/src/altera_avalon_uart_init.o obj/drivers/src/altera_avalon_uart_ioctl.o obj/drivers/src/altera_avalon_uart_read.o obj/drivers/src/altera_avalon_uart_write.o obj/drivers/src/altera_up_avalon_rs232.o
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::send(char, std::string)':
+MotorHandler.cpp:116: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime
+MotorHandler.cpp:116: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+MotorHandler.cpp:116: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+MotorHandler.cpp:125: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime
+Info: Compiling main.cpp to obj/default/main.o
+MotorHandler.cpp:125: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+MotorHandler.cpp:125: warning: format '%s' expects type 'char*', but argument 3 has type 'int'
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 168 KBytes program size (code + initialized data).
+Info: 16208 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:64: error: invalid conversion from 'const char*' to 'char*'
+MotorHandler.cpp:64: error: initializing argument 3 of 'void MotorHandler::move(char, char, char*)'
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+MotorHandler.cpp: In member function 'void MotorHandler::motorCommand(std::string, std::string, std::string)':
+MotorHandler.cpp:64: error: invalid conversion from 'const char*' to 'char*'
+MotorHandler.cpp:64: error: initializing argument 3 of 'void MotorHandler::move(char, char, char*)'
+MotorHandler.cpp: At global scope:
+MotorHandler.cpp:95: error: prototype for 'void MotorHandler::move(char, char, const char*)' does not match any in class 'MotorHandler'
+MotorHandler.h:63: error: candidate is: void MotorHandler::move(char, char, char*)
+MotorHandler.cpp: In member function 'void MotorHandler::move(char, char, const char*)':
+MotorHandler.cpp:98: error: invalid conversion from 'const char*' to 'char*'
+MotorHandler.cpp:98: error: initializing argument 2 of 'void MotorHandler::send(char, char*)'
+MotorHandler.cpp: At global scope:
+MotorHandler.cpp:109: error: prototype for 'void MotorHandler::send(char, const char*)' does not match any in class 'MotorHandler'
+MotorHandler.h:70: error: candidate is: void MotorHandler::send(char, char*)
+make: *** [obj/default/MotorHandler.o] Error 1
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling MotorHandler.cpp to obj/default/MotorHandler.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/MotorHandler.o MotorHandler.cpp
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 167 KBytes program size (code + initialized data).
+Info: 16209 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 168 KBytes program size (code + initialized data).
+Info: 16208 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 168 KBytes program size (code + initialized data).
+Info: 16208 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+Info: Compiling main.cpp to obj/default/main.o
+nios2-elf-gcc -xc++ -MP -MMD -c -I../MCTest_bsp//UCOSII/inc -I../MCTest_bsp//HAL/inc -I../MCTest_bsp/ -I../MCTest_bsp//drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -D__ucosii__ -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o obj/default/main.o main.cpp
+Info: Linking MCTest.elf
+nios2-elf-g++ -T'../MCTest_bsp//linker.x' -msys-crt0='../MCTest_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../MCTest_bsp/ -Wl,-Map=MCTest.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o MCTest.elf obj/default/MotorHandler.o obj/default/main.o -lm
+nios2-elf-insert MCTest.elf --thread_model ucosii --cpu_name cpu --qsys true --simulation_enabled false --id 0 --sidp 0x20010a0 --timestamp 1394124174 --stderr_dev jtag_uart_0 --stdin_dev jtag_uart_0 --stdout_dev jtag_uart_0 --sopc_system_name system --quartus_project_dir "C:/Users/gongal/NewRepARCap/MCTEST/DE0-nano-HD" --jdi C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/de0_nano_system.jdi --sopcinfo C:/Users/gongal/Desktop/MCTEST/DE0-nano-HD/system.sopcinfo
+Info: (MCTest.elf) 173 KBytes program size (code + initialized data).
+Info: 16203 KBytes free for stack + heap.
+Info: Creating MCTest.objdump
+nios2-elf-objdump --disassemble --syms --all-header --source MCTest.elf >MCTest.objdump
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest_bsp ****
+
+make all
+[BSP build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
+
+**** Build of configuration Nios II for project MCTest ****
+
+make all
+Info: Building ../MCTest_bsp/
+make --no-print-directory -C ../MCTest_bsp/
+[BSP build complete]
+[MCTest build complete]
+
+**** Build Finished ****
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1/a042d9cc8bb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1/a042d9cc8bb000131eb0f6c547a05c39
new file mode 100644
index 00000000..73c6d899
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1/a042d9cc8bb000131eb0f6c547a05c39
@@ -0,0 +1,73 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_CHAR 0x02 // motor 1 backward
+#define MOTOR_RIGHT_CHAR 0x03 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, string speed);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ char interpretMotor(string motor);
+ char interpretDirection(string direction, int motor);
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/15/209406a28fab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/15/209406a28fab001311dbfe770f133bca
new file mode 100644
index 00000000..eb79e77c
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/15/209406a28fab001311dbfe770f133bca
@@ -0,0 +1,148 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0,0,0,100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/17/80984a2087b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/17/80984a2087b000131eb0f6c547a05c39
new file mode 100644
index 00000000..52f532d2
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/17/80984a2087b000131eb0f6c547a05c39
@@ -0,0 +1,121 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motor = interpretMotor;
+}
+
+char MotorHandler::interpretMotor(string motor){
+
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/19/6014b7aa89b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/19/6014b7aa89b000131eb0f6c547a05c39
new file mode 100644
index 00000000..71cc9613
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/19/6014b7aa89b000131eb0f6c547a05c39
@@ -0,0 +1,134 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+ int Speed = atol(speed);
+ move(Direction, Speed, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/19/604849308faf0013110bf3236575307b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/19/604849308faf0013110bf3236575307b
new file mode 100644
index 00000000..5e7a6814
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/19/604849308faf0013110bf3236575307b
@@ -0,0 +1,159 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+// OSTimeDlyHMSM(0, 0, 10, 0);
+// motor->stop();
+// OSTimeDlyHMSM(0, 0, 3,0);
+// motor->left();
+// OSTimeDlyHMSM(0, 0, 10, 0);
+// motor->stop();
+// OSTimeDlyHMSM(0, 0, 3,0);
+// motor->backward();
+// OSTimeDlyHMSM(0, 0, 10,0);
+// motor->stop();
+// OSTimeDlyHMSM(0, 0, 3,0);
+// motor->right();
+// OSTimeDlyHMSM(0, 0, 10,0);
+// motor->stop();
+// OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1c/904774b1a8ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1c/904774b1a8ab001311f2ce252b4696cb
new file mode 100644
index 00000000..b62f2e1e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1c/904774b1a8ab001311f2ce252b4696cb
@@ -0,0 +1,144 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1f/30273bcb84b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1f/30273bcb84b000131eb0f6c547a05c39
new file mode 100644
index 00000000..36ba0f4d
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/1f/30273bcb84b000131eb0f6c547a05c39
@@ -0,0 +1,67 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, char);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/21/0083b9ffcdab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/21/0083b9ffcdab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..f0ea3902
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/21/0083b9ffcdab001312eeeea4d67ccb1b
@@ -0,0 +1,148 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 10, 0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/21/00c341948ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/21/00c341948ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..d6879252
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/21/00c341948ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, "Move Motor");
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char motorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(motorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/24/101f68e989b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/24/101f68e989b000131eb0f6c547a05c39
new file mode 100644
index 00000000..17ed2323
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/24/101f68e989b000131eb0f6c547a05c39
@@ -0,0 +1,135 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = speed.c_str()
+ move(directionByte, speedByte, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2b/7016b1fa87b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2b/7016b1fa87b000131eb0f6c547a05c39
new file mode 100644
index 00000000..b7d23ebd
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2b/7016b1fa87b000131eb0f6c547a05c39
@@ -0,0 +1,126 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else
+ return MOTOR_RIGHT_CHAR;
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2d/8042f23d86b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2d/8042f23d86b000131eb0f6c547a05c39
new file mode 100644
index 00000000..a940b7ba
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2d/8042f23d86b000131eb0f6c547a05c39
@@ -0,0 +1,70 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, char);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2d/908d65f7a8ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2d/908d65f7a8ab001311f2ce252b4696cb
new file mode 100644
index 00000000..57a7749b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2d/908d65f7a8ab001311f2ce252b4696cb
@@ -0,0 +1,152 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->backward();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->left();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->right();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2f/200a2c798bab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2f/200a2c798bab001311dbfe770f133bca
new file mode 100644
index 00000000..1098a755
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2f/200a2c798bab001311dbfe770f133bca
@@ -0,0 +1,74 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_MOTOR1_BACKWARD 0x40 // motor 1 backward
+#define MOTOR_MOTOR2_BACKWARD 0x60 // motor 2 backward
+#define MOTOR_MOTOR1_FORWARD 0x05 // motor 1 forward
+#define MOTOR_MOTOR2_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
+ void configure();
+ void test();
+ void reset();
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char *description);
+
+ /*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2f/d053080980b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2f/d053080980b000131eb0f6c547a05c39
new file mode 100644
index 00000000..1feadc9a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/2f/d053080980b000131eb0f6c547a05c39
@@ -0,0 +1,141 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_BOTH_FORWARD, "motor both forward");
+ //move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "motor both backward");
+ // move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+
+void MotorHandler::move(MotorDirection, Speed, Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/32/802b4cdd8aab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/32/802b4cdd8aab001311dbfe770f133bca
new file mode 100644
index 00000000..c579c551
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/32/802b4cdd8aab001311dbfe770f133bca
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+// IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+// OSTimeDlyHMSM(0, 0, 0, 100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/39/20587dfe8eab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/39/20587dfe8eab001311dbfe770f133bca
new file mode 100644
index 00000000..c306ca4b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/39/20587dfe8eab001311dbfe770f133bca
@@ -0,0 +1,143 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ motor->forward();
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ motor->reset();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3a/40cb6d9eb6ab00131274ac4b6fee418c b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3a/40cb6d9eb6ab00131274ac4b6fee418c
new file mode 100644
index 00000000..f5a8981b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3a/40cb6d9eb6ab00131274ac4b6fee418c
@@ -0,0 +1,145 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->right();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->right();
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3b/90912189acab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3b/90912189acab001311f2ce252b4696cb
new file mode 100644
index 00000000..3eb6a12c
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3b/90912189acab001311f2ce252b4696cb
@@ -0,0 +1,151 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->backward();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3b/c043e522a9ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3b/c043e522a9ab001311f2ce252b4696cb
new file mode 100644
index 00000000..b0629ed1
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3b/c043e522a9ab001311f2ce252b4696cb
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 2, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3c/b0f9dc1889b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3c/b0f9dc1889b000131eb0f6c547a05c39
new file mode 100644
index 00000000..7f29a5cc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3c/b0f9dc1889b000131eb0f6c547a05c39
@@ -0,0 +1,134 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+ char Speed = (char) atol(speed);
+ move(Direction, Speed, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3e/a00a96ec82b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3e/a00a96ec82b000131eb0f6c547a05c39
new file mode 100644
index 00000000..0a3dfb4f
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/3e/a00a96ec82b000131eb0f6c547a05c39
@@ -0,0 +1,60 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void motorCommand(string motor, string motorDirection, char);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/41/90d8fa1f8cb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/41/90d8fa1f8cb000131eb0f6c547a05c39
new file mode 100644
index 00000000..b8aa22bf
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/41/90d8fa1f8cb000131eb0f6c547a05c39
@@ -0,0 +1,147 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+// motor->move(0x05, 0x6F, "Left Motor Forward");
+// OSTimeDlyHMSM(0, 0, 5, 0);
+// motor->move(0x05,0x00, "Left Motor Stop");
+// OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/4b/c0363df27fb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/4b/c0363df27fb000131eb0f6c547a05c39
new file mode 100644
index 00000000..81b2ea3a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/4b/c0363df27fb000131eb0f6c547a05c39
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_BOTH_FORWARD, "motor both forward");
+ //move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "motor both backward");
+ // move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/4d/d016a3e28faf0013110bf3236575307b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/4d/d016a3e28faf0013110bf3236575307b
new file mode 100644
index 00000000..841a456f
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/4d/d016a3e28faf0013110bf3236575307b
@@ -0,0 +1,159 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+ motor->left();
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+ motor->backward();
+ OSTimeDlyHMSM(0, 0, 5,0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+ motor->right();
+ OSTimeDlyHMSM(0, 0,5,0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/55/e005066a87b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/55/e005066a87b000131eb0f6c547a05c39
new file mode 100644
index 00000000..20fee504
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/55/e005066a87b000131eb0f6c547a05c39
@@ -0,0 +1,121 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorC = interpretMotor(motor);
+}
+
+char MotorHandler::interpretMotor(string motor){
+
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/56/3025ad5481b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/56/3025ad5481b000131eb0f6c547a05c39
new file mode 100644
index 00000000..aea166ab
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/56/3025ad5481b000131eb0f6c547a05c39
@@ -0,0 +1,104 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/59/60df3899adab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/59/60df3899adab001311f2ce252b4696cb
new file mode 100644
index 00000000..96c89928
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/59/60df3899adab001311f2ce252b4696cb
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_BOTH_FORWARD, "both motors forward");
+// move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "both motors backward");
+// move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 2, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5a/309b4201a6ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5a/309b4201a6ab001311f2ce252b4696cb
new file mode 100644
index 00000000..55322778
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5a/309b4201a6ab001311f2ce252b4696cb
@@ -0,0 +1,145 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->reset();
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5a/e0f12e4bcdab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5a/e0f12e4bcdab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..2ba5cd44
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5a/e0f12e4bcdab001312eeeea4d67ccb1b
@@ -0,0 +1,148 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 200);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5c/e05bd365a9ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5c/e05bd365a9ab001311f2ce252b4696cb
new file mode 100644
index 00000000..e146dcbf
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/5c/e05bd365a9ab001311f2ce252b4696cb
@@ -0,0 +1,152 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+// motor->forward();
+// OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->backward();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->left();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ motor->right();
+ OSTimeDlyHMSM(0, 0, 2,0 );
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/61/70c97b7080b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/61/70c97b7080b000131eb0f6c547a05c39
new file mode 100644
index 00000000..041fb450
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/61/70c97b7080b000131eb0f6c547a05c39
@@ -0,0 +1,159 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+// motor->left();
+// OSTimeDlyHMSM(0, 0, 5, 0);
+// motor->stop();
+// OSTimeDlyHMSM(0, 0, 3,0);
+ motor->backward();
+ OSTimeDlyHMSM(0, 0, 5,0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+// motor->right();
+// OSTimeDlyHMSM(0, 0,5,0);
+// motor->stop();
+// OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/64/4090373e83b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/64/4090373e83b000131eb0f6c547a05c39
new file mode 100644
index 00000000..6d1d4c31
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/64/4090373e83b000131eb0f6c547a05c39
@@ -0,0 +1,102 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/66/20496af988b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/66/20496af988b000131eb0f6c547a05c39
new file mode 100644
index 00000000..de916d92
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/66/20496af988b000131eb0f6c547a05c39
@@ -0,0 +1,133 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+ move(Direction, speed, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/66/80badd09c5ab001312b0c9eb155e9cea b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/66/80badd09c5ab001312b0c9eb155e9cea
new file mode 100644
index 00000000..fe712a22
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/66/80badd09c5ab001312b0c9eb155e9cea
@@ -0,0 +1,76 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_BOTH_FORWARD 0x01 // both motor forward
+#define MOTOR_BOTH_BACKWARD 0x00 //both motor backward
+#define MOTOR_MOTOR1_BACKWARD 0x40 // motor 1 backward
+#define MOTOR_MOTOR2_BACKWARD 0x60 // motor 2 backward
+#define MOTOR_MOTOR1_FORWARD 0x05 // motor 1 forward
+#define MOTOR_MOTOR2_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x7F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
+ void configure();
+ void test();
+ void reset();
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char *description);
+
+ /*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/67/d0be64b5acab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/67/d0be64b5acab001311f2ce252b4696cb
new file mode 100644
index 00000000..1165a646
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/67/d0be64b5acab001311f2ce252b4696cb
@@ -0,0 +1,76 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_BOTH_FORWARD 0x01 // both motor forward
+#define MOTOR_BOTH_BACKWARD 0x00 //both motor backward
+#define MOTOR_MOTOR1_BACKWARD 0x40 // motor 1 backward
+#define MOTOR_MOTOR2_BACKWARD 0x60 // motor 2 backward
+#define MOTOR_MOTOR1_FORWARD 0x05 // motor 1 forward
+#define MOTOR_MOTOR2_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
+ void configure();
+ void test();
+ void reset();
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char *description);
+
+ /*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/69/c063f2b386b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/69/c063f2b386b000131eb0f6c547a05c39
new file mode 100644
index 00000000..6e7508b4
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/69/c063f2b386b000131eb0f6c547a05c39
@@ -0,0 +1,118 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ if(motor.compare(MOTOR_LEFT) == 0){
+
+ }
+ else if (motor.compare(MOTOR_RIGHT) == 0){
+
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6a/d06e4d69a6ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6a/d06e4d69a6ab001311f2ce252b4696cb
new file mode 100644
index 00000000..d94125ca
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6a/d06e4d69a6ab001311f2ce252b4696cb
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 2, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6d/b08b19358aab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6d/b08b19358aab001311dbfe770f133bca
new file mode 100644
index 00000000..6d74e7d4
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6d/b08b19358aab001311dbfe770f133bca
@@ -0,0 +1,143 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->configure();
+ } else {
+ printf( ", error]\n");
+ }
+ motor->forward();
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6e/2089764780b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6e/2089764780b000131eb0f6c547a05c39
new file mode 100644
index 00000000..cef219b4
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/6e/2089764780b000131eb0f6c547a05c39
@@ -0,0 +1,74 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void move(char , char, char *);
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
+ void configure();
+ void test();
+ void reset();
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char *description);
+
+ /*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/20c1611887b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/20c1611887b000131eb0f6c547a05c39
new file mode 100644
index 00000000..aa22ceb0
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/20c1611887b000131eb0f6c547a05c39
@@ -0,0 +1,122 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ if(motor.compare(MOTOR_LEFT) == 0){
+
+ }
+ else if (motor.compare(MOTOR_RIGHT) == 0){
+
+ }
+}
+
+char MotorHandler::interpretMotor(string motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/8097b03f8ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/8097b03f8ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..11d84477
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/8097b03f8ab000131eb0f6c547a05c39
@@ -0,0 +1,135 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/c0e8dececcab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/c0e8dececcab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..f5a8981b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/c0e8dececcab001312eeeea4d67ccb1b
@@ -0,0 +1,145 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->right();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->right();
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/e008c4bfb6ab00131274ac4b6fee418c b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/e008c4bfb6ab00131274ac4b6fee418c
new file mode 100644
index 00000000..bb836177
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7/e008c4bfb6ab00131274ac4b6fee418c
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "both motors backward");
+// move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/75/f005280880b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/75/f005280880b000131eb0f6c547a05c39
new file mode 100644
index 00000000..34221b9f
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/75/f005280880b000131eb0f6c547a05c39
@@ -0,0 +1,76 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_BOTH_FORWARD 0x01 // both motor forward
+#define MOTOR_BOTH_BACKWARD 0x00 //both motor backward
+#define MOTOR_MOTOR1_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_MOTOR2_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_MOTOR1_FORWARD 0x05 // motor 1 forward
+#define MOTOR_MOTOR2_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
+ void configure();
+ void test();
+ void reset();
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char *description);
+
+ /*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/76/50acbc028bab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/76/50acbc028bab001311dbfe770f133bca
new file mode 100644
index 00000000..33180630
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/76/50acbc028bab001311dbfe770f133bca
@@ -0,0 +1,156 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/79/c079a6ba88b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/79/c079a6ba88b000131eb0f6c547a05c39
new file mode 100644
index 00000000..cb405a01
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/79/c079a6ba88b000131eb0f6c547a05c39
@@ -0,0 +1,132 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7b/50114b32a9ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7b/50114b32a9ab001311f2ce252b4696cb
new file mode 100644
index 00000000..0cb9bfdb
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7b/50114b32a9ab001311f2ce252b4696cb
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_BOTH_FORWARD, "motor 1 forward");
+// move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "motor 1 backward");
+// move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 2, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7b/903d0f0083b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7b/903d0f0083b000131eb0f6c547a05c39
new file mode 100644
index 00000000..8fb64857
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/7b/903d0f0083b000131eb0f6c547a05c39
@@ -0,0 +1,61 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void motorCommand(string motor, string motorDirection, char);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8/20ed070eceab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8/20ed070eceab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..258547c4
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8/20ed070eceab001312eeeea4d67ccb1b
@@ -0,0 +1,149 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 10, 0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+ motor->left();
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8/605896c9c4ab001312b0c9eb155e9cea b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8/605896c9c4ab001312b0c9eb155e9cea
new file mode 100644
index 00000000..463feb0c
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8/605896c9c4ab001312b0c9eb155e9cea
@@ -0,0 +1,145 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->left();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->left();
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/81/a0e1f59ea3ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/81/a0e1f59ea3ab001311f2ce252b4696cb
new file mode 100644
index 00000000..b42867b8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/81/a0e1f59ea3ab001311f2ce252b4696cb
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/82/70fb55208db000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/82/70fb55208db000131eb0f6c547a05c39
new file mode 100644
index 00000000..62cd82f0
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/82/70fb55208db000131eb0f6c547a05c39
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->motorCommand("left", "forward", "120");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->motorCommand("left", "forward", "0");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/83/3000e79387b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/83/3000e79387b000131eb0f6c547a05c39
new file mode 100644
index 00000000..24cf9826
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/83/3000e79387b000131eb0f6c547a05c39
@@ -0,0 +1,125 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorC = interpretMotor(motor);
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else
+ return MOTOR_RIGHT_CHAR;
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8b/60e18c37a5ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8b/60e18c37a5ab001311f2ce252b4696cb
new file mode 100644
index 00000000..c579c551
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8b/60e18c37a5ab001311f2ce252b4696cb
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+// IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+// OSTimeDlyHMSM(0, 0, 0, 100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8b/c0a24436cdab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8b/c0a24436cdab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..962c427b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8b/c0a24436cdab001312eeeea4d67ccb1b
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 200);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8d/109cba1188b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8d/109cba1188b000131eb0f6c547a05c39
new file mode 100644
index 00000000..12502929
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8d/109cba1188b000131eb0f6c547a05c39
@@ -0,0 +1,132 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else
+
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8d/a0b7c8788fab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8d/a0b7c8788fab001311dbfe770f133bca
new file mode 100644
index 00000000..5b1cc4c9
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/8d/a0b7c8788fab001311dbfe770f133bca
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ motor->reset();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/92/1092edfdccab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/92/1092edfdccab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..61b14366
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/92/1092edfdccab001312eeeea4d67ccb1b
@@ -0,0 +1,76 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_BOTH_FORWARD 0x01 // both motor forward
+#define MOTOR_BOTH_BACKWARD 0x00 //both motor backward
+#define MOTOR_MOTOR1_BACKWARD 0x40 // motor 1 backward
+#define MOTOR_MOTOR2_BACKWARD 0x60 // motor 2 backward
+#define MOTOR_MOTOR1_FORWARD 0x05 // motor 1 forward
+#define MOTOR_MOTOR2_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x1F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
+ void configure();
+ void test();
+ void reset();
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char *description);
+
+ /*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/94/208cd3228bab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/94/208cd3228bab001311dbfe770f133bca
new file mode 100644
index 00000000..5c980acc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/94/208cd3228bab001311dbfe770f133bca
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/97/60763cb286b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/97/60763cb286b000131eb0f6c547a05c39
new file mode 100644
index 00000000..3fcbe078
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/97/60763cb286b000131eb0f6c547a05c39
@@ -0,0 +1,70 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, string speed);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/9a/809283ee8fab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/9a/809283ee8fab001311dbfe770f133bca
new file mode 100644
index 00000000..f938b4e0
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/9a/809283ee8fab001311dbfe770f133bca
@@ -0,0 +1,148 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0,0,0,100);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/9f/a0987b9e8fab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/9f/a0987b9e8fab001311dbfe770f133bca
new file mode 100644
index 00000000..b42867b8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/9f/a0987b9e8fab001311dbfe770f133bca
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/a0/1067168480b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/a0/1067168480b000131eb0f6c547a05c39
new file mode 100644
index 00000000..15822862
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/a0/1067168480b000131eb0f6c547a05c39
@@ -0,0 +1,147 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->move(0x05, 0x6F, "Left Motor Forward");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/a8/804380f08ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/a8/804380f08ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..73c6d899
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/a8/804380f08ab000131eb0f6c547a05c39
@@ -0,0 +1,73 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_CHAR 0x02 // motor 1 backward
+#define MOTOR_RIGHT_CHAR 0x03 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, string speed);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ char interpretMotor(string motor);
+ char interpretDirection(string direction, int motor);
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ab/9017dacba8ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ab/9017dacba8ab001311f2ce252b4696cb
new file mode 100644
index 00000000..321d9d5c
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ab/9017dacba8ab001311f2ce252b4696cb
@@ -0,0 +1,152 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMS(0,3,0);
+ motor->backward();
+ OSTimeDlyHMS(0,3,0);
+ motor->left();
+ OSTimeDlyHMS(0,3,0);
+ motor->right();
+ OSTimeDlyHMS(0,3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b0/80e0236dcdab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b0/80e0236dcdab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..3da071db
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b0/80e0236dcdab001312eeeea4d67ccb1b
@@ -0,0 +1,148 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 2, 0);
+ motor->stop();
+ OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b1/20df12738aab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b1/20df12738aab001311dbfe770f133bca
new file mode 100644
index 00000000..5c980acc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b1/20df12738aab001311dbfe770f133bca
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b1/404259d289b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b1/404259d289b000131eb0f6c547a05c39
new file mode 100644
index 00000000..3142b74c
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b1/404259d289b000131eb0f6c547a05c39
@@ -0,0 +1,134 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str());
+ move(Direction, Speed, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b6/80476fca8bb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b6/80476fca8bb000131eb0f6c547a05c39
new file mode 100644
index 00000000..e3d177c2
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b6/80476fca8bb000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, (motor.append(motorDirection)).c_str());
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char motorDirection, char speed,char *description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(motorDirection, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b7/109197de89b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b7/109197de89b000131eb0f6c547a05c39
new file mode 100644
index 00000000..ac8966bc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b7/109197de89b000131eb0f6c547a05c39
@@ -0,0 +1,134 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str());
+ move(directionByte, speedByte, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b7/80e834ca89b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b7/80e834ca89b000131eb0f6c547a05c39
new file mode 100644
index 00000000..37f9bffe
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b7/80e834ca89b000131eb0f6c547a05c39
@@ -0,0 +1,134 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+ int Speed = strtol(speed.c_str());
+ move(Direction, Speed, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b9/00b495f98ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b9/00b495f98ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..39c1d5eb
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b9/00b495f98ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, motor.append(motorDirection));
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char motorDirection, char speed, string description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(motorDirection, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/bb/c06a659a8ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/bb/c06a659a8ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..961579bb
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/bb/c06a659a8ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, "Move Motor");
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char motorDirection,char speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(motorDirection, Description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/bb/d07b9920a5ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/bb/d07b9920a5ab001311f2ce252b4696cb
new file mode 100644
index 00000000..1b1cc181
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/bb/d07b9920a5ab001311f2ce252b4696cb
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 2, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c/30127d3ca5ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c/30127d3ca5ab001311f2ce252b4696cb
new file mode 100644
index 00000000..a4ca5f31
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c/30127d3ca5ab001311f2ce252b4696cb
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->reset();
+ OSTimeDlyHMSM(0, 0, 2, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c0/70a2a9c484b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c0/70a2a9c484b000131eb0f6c547a05c39
new file mode 100644
index 00000000..ce30a82f
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c0/70a2a9c484b000131eb0f6c547a05c39
@@ -0,0 +1,63 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, char);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c0/b04c73878bb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c0/b04c73878bb000131eb0f6c547a05c39
new file mode 100644
index 00000000..270fc7bd
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c0/b04c73878bb000131eb0f6c547a05c39
@@ -0,0 +1,73 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_CHAR 0x02 // motor 1 backward
+#define MOTOR_RIGHT_CHAR 0x03 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, string speed);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ char interpretMotor(string motor);
+ char interpretDirection(string direction, int motor);
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, string description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message,string description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c3/30564cffb5ab00131274ac4b6fee418c b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c3/30564cffb5ab00131274ac4b6fee418c
new file mode 100644
index 00000000..6e88f939
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c3/30564cffb5ab00131274ac4b6fee418c
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "both motors backward");
+// move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 2, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c3/900852258cb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c3/900852258cb000131eb0f6c547a05c39
new file mode 100644
index 00000000..73ea65e7
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c3/900852258cb000131eb0f6c547a05c39
@@ -0,0 +1,147 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->motorCommand("left", "forward", "120");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->motorCommand("left", "forward", 0);
+
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c4/2008f7bf8ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c4/2008f7bf8ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..772ee589
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c4/2008f7bf8ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, "Move Motor");
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char motorDirection, char speed, char *description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(motorDirection, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c5/203f2dc487b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c5/203f2dc487b000131eb0f6c547a05c39
new file mode 100644
index 00000000..a3d1959a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c5/203f2dc487b000131eb0f6c547a05c39
@@ -0,0 +1,125 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else
+ return MOTOR_RIGHT_CHAR;
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c7/d055eeff87b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c7/d055eeff87b000131eb0f6c547a05c39
new file mode 100644
index 00000000..598279b8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c7/d055eeff87b000131eb0f6c547a05c39
@@ -0,0 +1,132 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1)
+ }
+ else
+
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c04256a48aab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c04256a48aab001311dbfe770f133bca
new file mode 100644
index 00000000..bd12fc02
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c04256a48aab001311dbfe770f133bca
@@ -0,0 +1,143 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->configure();
+ } else {
+ printf( ", error]\n");
+ }
+ motor->forward();
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ motor->reset();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c05bffb98fab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c05bffb98fab001311dbfe770f133bca
new file mode 100644
index 00000000..03b7d997
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/c9/c05bffb98fab001311dbfe770f133bca
@@ -0,0 +1,149 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0,0,0,100);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0,0,0,100);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ce/20b52902cdab001312eeeea4d67ccb1b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ce/20b52902cdab001312eeeea4d67ccb1b
new file mode 100644
index 00000000..c63be517
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ce/20b52902cdab001312eeeea4d67ccb1b
@@ -0,0 +1,145 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ce/60ad733680b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ce/60ad733680b000131eb0f6c547a05c39
new file mode 100644
index 00000000..f8870e20
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ce/60ad733680b000131eb0f6c547a05c39
@@ -0,0 +1,141 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_BOTH_FORWARD, "motor both forward");
+ //move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "motor both backward");
+ // move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d1/b0fae17387b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d1/b0fae17387b000131eb0f6c547a05c39
new file mode 100644
index 00000000..4b8fdaff
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d1/b0fae17387b000131eb0f6c547a05c39
@@ -0,0 +1,123 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorC = interpretMotor(motor);
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_lEFT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d3/6098c7748ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d3/6098c7748ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..16c8ec9a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d3/6098c7748ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, "Move Motor");
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d3/d06ecd3087b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d3/d06ecd3087b000131eb0f6c547a05c39
new file mode 100644
index 00000000..2d5e43f6
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d3/d06ecd3087b000131eb0f6c547a05c39
@@ -0,0 +1,121 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motor = interpretMotor(motor);
+}
+
+char MotorHandler::interpretMotor(string motor){
+
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d4/20f0fd8ca6ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d4/20f0fd8ca6ab001311f2ce252b4696cb
new file mode 100644
index 00000000..ef421c9a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d4/20f0fd8ca6ab001311f2ce252b4696cb
@@ -0,0 +1,144 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->reset();
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d6/70c7a90a83b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d6/70c7a90a83b000131eb0f6c547a05c39
new file mode 100644
index 00000000..3475db7e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d6/70c7a90a83b000131eb0f6c547a05c39
@@ -0,0 +1,147 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->move(0x05, 0x6F, "Left Motor Forward");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->move(0x05,0x00, "Left Motor Stop");
+ OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d7/d04964ca8fab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d7/d04964ca8fab001311dbfe770f133bca
new file mode 100644
index 00000000..240db666
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d7/d04964ca8fab001311dbfe770f133bca
@@ -0,0 +1,150 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0,0,0,100);
+
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0,0,0,100);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d9/1065f39eadab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d9/1065f39eadab001311f2ce252b4696cb
new file mode 100644
index 00000000..93286b07
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/d9/1065f39eadab001311f2ce252b4696cb
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "both motors forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_BOTH_BACKWARD, "both motors backward");
+// move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 2,0 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 2, 100);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/da/a00da7f68cb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/da/a00da7f68cb000131eb0f6c547a05c39
new file mode 100644
index 00000000..4f4bde0d
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/da/a00da7f68cb000131eb0f6c547a05c39
@@ -0,0 +1,146 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->motorCommand("left", "forward", "120");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->motorCommand("left", "forward", 0);
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/dc/a0c102178aab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/dc/a0c102178aab001311dbfe770f133bca
new file mode 100644
index 00000000..9f1cb4dc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/dc/a0c102178aab001311dbfe770f133bca
@@ -0,0 +1,150 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::resetMC(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e0/b04553c682b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e0/b04553c682b000131eb0f6c547a05c39
new file mode 100644
index 00000000..0410b154
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e0/b04553c682b000131eb0f6c547a05c39
@@ -0,0 +1,66 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+#include "Status.h"
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void move(char , char, char *);
+ void forward();
+ void backward();
+ void right();
+ void left();
+ void stop();
+ void configure();
+ void test();
+ void reset();
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e2/908d7f8880b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e2/908d7f8880b000131eb0f6c547a05c39
new file mode 100644
index 00000000..85e0d5d5
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e2/908d7f8880b000131eb0f6c547a05c39
@@ -0,0 +1,147 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->move(0x05, 0x6F, "Left Motor Forward");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->move(00x05,0x00, "Left Motor Stop");
+ OSTimeDlyHMSM(0, 0, 3,0);
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e6/704940608db000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e6/704940608db000131eb0f6c547a05c39
new file mode 100644
index 00000000..813192d0
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e6/704940608db000131eb0f6c547a05c39
@@ -0,0 +1,147 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->motorCommand("left", "forward", "120");
+ motor->motorCommand("right","forward", "120");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ motor->motorCommand("left", "forward", "0");
+ OSTimeDlyHMSM(0, 0, 5, 0);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e9/104d085ea6ab001311f2ce252b4696cb b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e9/104d085ea6ab001311f2ce252b4696cb
new file mode 100644
index 00000000..43a93c20
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e9/104d085ea6ab001311f2ce252b4696cb
@@ -0,0 +1,145 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->reset();
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ motor->reset();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e9/80459c918ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e9/80459c918ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..16c8ec9a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/e9/80459c918ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, "Move Motor");
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/eb/10550b8687b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/eb/10550b8687b000131eb0f6c547a05c39
new file mode 100644
index 00000000..6af9709d
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/eb/10550b8687b000131eb0f6c547a05c39
@@ -0,0 +1,123 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorC = interpretMotor(motor);
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/eb/4076ad858ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/eb/4076ad858ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..632e271b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/eb/4076ad858ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ char speedByte = (char)strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, "Move Motor");
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ec/a0a6123f86b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ec/a0a6123f86b000131eb0f6c547a05c39
new file mode 100644
index 00000000..abcf8bef
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ec/a0a6123f86b000131eb0f6c547a05c39
@@ -0,0 +1,107 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+void MotorHandler::motorCommand(string motor, string motorDirection, char speed){
+
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f0/d0cce1968bb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f0/d0cce1968bb000131eb0f6c547a05c39
new file mode 100644
index 00000000..a807feb7
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f0/d0cce1968bb000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, motor.append(motorDirection));
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char motorDirection, char speed, string description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(motorDirection, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, string description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f1/80f527f289b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f1/80f527f289b000131eb0f6c547a05c39
new file mode 100644
index 00000000..d9304ba0
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f1/80f527f289b000131eb0f6c547a05c39
@@ -0,0 +1,135 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = speed.c_str()
+ move(directionByte, speedByte, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f3/c0fb870e90ab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f3/c0fb870e90ab001311dbfe770f133bca
new file mode 100644
index 00000000..7465a18a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f3/c0fb870e90ab001311dbfe770f133bca
@@ -0,0 +1,147 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+ OSTimeDlyHMSM(0, 0, 0, 100);
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/0094590289b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/0094590289b000131eb0f6c547a05c39
new file mode 100644
index 00000000..51807661
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/0094590289b000131eb0f6c547a05c39
@@ -0,0 +1,134 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char Direction = interpretDirection(motorDirection, int(motorID));
+ char Speed = (char) atol(speed);
+ move(Direction, speed, "Move Motor");
+}
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char MotorDirection,char Speed,char * Description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(MotorDirection, Description);
+ send(Speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/b087af2a8aab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/b087af2a8aab001311dbfe770f133bca
new file mode 100644
index 00000000..60e0dcab
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/b087af2a8aab001311dbfe770f133bca
@@ -0,0 +1,150 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, MOTOR_ENABLE);
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/f07459e08faf0013110bf3236575307b b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/f07459e08faf0013110bf3236575307b
new file mode 100644
index 00000000..898881b9
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/f8/f07459e08faf0013110bf3236575307b
@@ -0,0 +1,153 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+// TESTING
+
+void MotorHandler::test() {
+ send(MOTOR_START_BYTE, "test start");
+}
+
+// MOTOR CONTROL
+
+/*
+ * Move rover forward by activating both motors.
+ */
+void MotorHandler::forward() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Move rover backward by activating both motor backwards.
+ */
+void MotorHandler::backward() {
+ move(MOTOR_MOTOR1_BACKWARD, "motor 1 backward");
+ move(MOTOR_MOTOR2_BACKWARD, "motor 2 backward");
+}
+
+/*
+ * Turn rover left.
+ */
+void MotorHandler::left() {
+ move(MOTOR_MOTOR1_FORWARD, "motor 1 forward");
+}
+
+/*
+ * Turn rover right.
+ */
+void MotorHandler::right() {
+ move(MOTOR_MOTOR2_FORWARD, "motor 2 forward");
+}
+
+/*
+ * Stop the rover.
+ */
+void MotorHandler::stop() {
+ move(MOTOR_MOTOR1_FORWARD, MOTOR_STOP_SPEED, "motor 1 stop");
+ move(MOTOR_MOTOR2_FORWARD, MOTOR_STOP_SPEED, "motor 2 stop");
+}
+
+// MOTOR CONTROL HELPERS
+
+/*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char *description) {
+ move(direction, MOTOR_CONST_SPEED, description);
+}
+
+/*
+ * Moves in the given direction and speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed - the speed to move at, i.e. MOTOR_CONST_SPEED or MOTOR_STOP_SPEED
+ * @param description - the string description of the movement, for debugging
+ */
+void MotorHandler::move(char direction, char speed, char *description) {
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(direction, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fa/802150f28ab000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fa/802150f28ab000131eb0f6c547a05c39
new file mode 100644
index 00000000..1a9492d7
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fa/802150f28ab000131eb0f6c547a05c39
@@ -0,0 +1,136 @@
+/*
+ * MotorHandler.cpp
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+
+#include
+#include
+
+#include "altera_avalon_pio_regs.h"
+#include "includes.h"
+#include "system.h"
+
+#include "MotorHandler.h"
+
+#define WRITE_FIFO_EMPTY 0x80
+#define MOTOR_ENABLE 1
+#define MOTOR_RESET 0
+
+// ALLOCATION
+MotorHandler::MotorHandler() {}
+MotorHandler::~MotorHandler() {}
+
+
+// INITIALIZATION
+
+/*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+Status MotorHandler::init() {
+ // Enable the motor controller.
+ reset();
+ // Open the serial device to send commands to the motor controller.
+ motor_dev = alt_up_rs232_open_dev(RS232_MOTOR_NAME);
+ //printf("%d", motor_dev);
+ if (motor_dev == NULL) {
+ return ERR_MOTOR_OPEN;
+ } else {
+ return OK;
+ }
+}
+
+void MotorHandler::configure(){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_CHANGE_CONFIGURATION, "change configuration");
+ send(0X01, "2 MOTOR CONFIG");
+ printf("\n");
+}
+
+//Command Interpreter
+/*
+ * Interprets the command from the network handler and sends move commands
+ * @param motor The motor to move eg. Left or Right
+ * @param motorDirection The direction of the given motor to move
+ * @param speed The speed the motor is to move
+ */
+void MotorHandler::motorCommand(string motor, string motorDirection, string speed){
+ char motorID = interpretMotor(motor);
+ char directionByte = interpretDirection(motorDirection, int(motorID));
+ int speedByte = strtol(speed.c_str(), NULL, 0);
+ move(directionByte, speedByte, motor.append(motorDirection));
+}
+
+
+char MotorHandler::interpretMotor(string motor){
+ if(motor.compare(MOTOR_LEFT) == 0){
+ return MOTOR_LEFT_CHAR;
+ }
+ else{
+ return MOTOR_RIGHT_CHAR;
+ }
+}
+
+char MotorHandler::interpretDirection(string direction, int motor){
+ if(direction.compare(MOTOR_FORWARD) == 0){
+ return (char) (motor*2 + 1);
+ }
+ else{
+ return (char) (motor*2);
+ }
+}
+
+// MOTOR CONTROL
+
+/*Moves the given motor in specified direction by Motor Direction with specified
+ * Speed
+ * @param MotorDirection Motor and direction to move
+ * @param Speed the speed to move at
+ * @param string description of motor movement
+ */
+
+void MotorHandler::move(char motorDirection, char speed, char *description){
+ send(MOTOR_START_BYTE, "start");
+ send(MOTOR_DEVICE_TYPE, "device");
+ send(motorDirection, description);
+ send(speed, "speed");
+ printf("\n");
+}
+
+// MOTOR CONTROL HELPERS
+/*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+void MotorHandler::send(char message, char *description) {
+ alt_u32 write_space;
+ // Check for write space.
+ write_space = alt_up_rs232_get_available_space_in_write_FIFO(motor_dev);
+ if (write_space >= WRITE_FIFO_EMPTY) {
+ // If space, write.
+ int status = alt_up_rs232_write_data(motor_dev, message);
+ printf("MotorHandler [message: 0x%02x, description: %s", message, description);
+ // Log errors.
+ if (status == OK) {
+ printf("]\n");
+ } else {
+ printf(", error: cannot write]\n");
+ }
+ } else {
+ // If no space, wait and retry.
+ printf("MotorHandler [message: 0x%02x, description: %s, error: no write space; retrying]\n", message, description);
+ OSTimeDlyHMSM(0, 0, 0, 10);
+ send(message, description);
+ }
+}
+
+void MotorHandler::reset(){
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 0);
+ OSTimeDlyHMSM(0, 0, 0,200 );
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ OSTimeDlyHMSM(0, 0, 0, 200);
+}
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fb/30a25d7eb6ab00131274ac4b6fee418c b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fb/30a25d7eb6ab00131274ac4b6fee418c
new file mode 100644
index 00000000..c63be517
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fb/30a25d7eb6ab00131274ac4b6fee418c
@@ -0,0 +1,145 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->forward();
+ } else {
+ printf( ", error]\n");
+ }
+ while(1){
+ motor->forward();
+
+ }
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fd/80ecaa098aab001311dbfe770f133bca b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fd/80ecaa098aab001311dbfe770f133bca
new file mode 100644
index 00000000..b12b44c8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/fd/80ecaa098aab001311dbfe770f133bca
@@ -0,0 +1,143 @@
+/*************************************************************************
+ * ARCap
+ * Amshu Gongal, Kenan Kigunda
+ * February 18, 2014
+ **************************************************************************
+ * Description: *
+ * Prototype testing for infrared and mc.
+ **************************************************************************/
+
+#include
+#include "includes.h"
+#include "altera_avalon_pio_regs.h"
+#include "altera_avalon_uart_regs.h"
+#include "sys/alt_irq.h"
+#include "alt_types.h"
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+
+#include "MotorHandler.h"
+#include "Status.h"
+
+/* Task stacks */
+#define TASK_STACKSIZE 2048
+OS_STK ir_task_stk[TASK_STACKSIZE];
+OS_STK mc_task_stk[TASK_STACKSIZE];
+/* Task priorities */
+#define IR_TASK_PRIORITY 2
+#define MC_TASK_PRIORITY 1
+
+
+#define SW_READ 1
+#define SW_WRITE 2
+#define WRITE_FIFO_EMPTY 0x80
+#define READ_FIFO_EMPTY 0x0
+OS_EVENT *SWQ;
+OS_EVENT *RS232Q;
+INT8U err;
+
+
+/* Error status */
+#define OK 0
+
+/* Message queues */
+#define WAIT_FOREVER 0
+
+// ==== INFRARED ====
+
+/* Infrared message queue */
+#define IR_MAX_MESSAGES 4
+int ir_messages[IR_MAX_MESSAGES];
+OS_EVENT *ir_queue;
+
+/* Infrared messages */
+// Together these avoid passing 0 to the queue (which is not allowed since queue messages cannot be null)
+// and invert pushbutton input (since the pushbutton returns 0 when it is pushed down).
+#define IR_QUEUE_SEND_BASE 1 // Use: IR_QUEUE_SEND_BASE + IORD
+#define IR_QUEUE_RECEIVE_BASE 2 // Use: IR_QUEUE_RECEIVE_BASE - OSQPend
+
+
+MotorHandler *motor= new MotorHandler();
+
+
+// ==== mc
+
+#define mc_GUARD_TIME 1
+
+void mc_task(void *pdata)
+{
+ printf("mc task\n");
+ printf("MotorHandler [init");
+ if (motor->init() == OK) {
+ printf("]\n\n");
+ motor->configure();
+ } else {
+ printf( ", error]\n");
+ }
+ motor->forward();
+}
+
+
+
+// ==== GENERAL
+
+void queue_init() {
+ ir_queue = OSQCreate((void**)&ir_messages, IR_MAX_MESSAGES);
+}
+
+/* The main function creates the LCD task, registers the edge counter polling interrupt,
+ * and starts the OS. */
+int main(void)
+{
+ int status = OK;
+ // Initialize components.
+ queue_init();
+ IOWR_ALTERA_AVALON_PIO_DATA(PIO_MOTOR_RST_BASE, 1);
+ // Create the mc task.
+ OSTaskCreateExt(mc_task,
+ NULL,
+ &mc_task_stk[TASK_STACKSIZE - 1],
+ MC_TASK_PRIORITY,
+ MC_TASK_PRIORITY,
+ mc_task_stk,
+ TASK_STACKSIZE,
+ NULL,
+ 0);
+
+ if (status == OK) {
+ OSStart();
+ }
+
+ return 0;
+}
+
+/******************************************************************************
+ * *
+ * License Agreement *
+ * *
+ * Copyright (c) 2004 Altera Corporation, San Jose, California, USA. *
+ * All rights reserved. *
+ * *
+ * Permission is hereby granted, free of charge, to any person obtaining a *
+ * copy of this software and associated documentation files (the "Software"), *
+ * to deal in the Software without restriction, including without limitation *
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, *
+ * and/or sell copies of the Software, and to permit persons to whom the *
+ * Software is furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included in *
+ * all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
+ * DEALINGS IN THE SOFTWARE. *
+ * *
+ * This agreement shall be governed in all respects by the laws of the State *
+ * of California and by the laws of the United States of America. *
+ * Altera does not recommend, suggest or require that this reference design *
+ * file be used in conjunction or combination with any other product. *
+ ******************************************************************************/
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ff/1016f66b87b000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ff/1016f66b87b000131eb0f6c547a05c39
new file mode 100644
index 00000000..cc12705f
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ff/1016f66b87b000131eb0f6c547a05c39
@@ -0,0 +1,73 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_BACKWARD 0x04 // motor 1 backward
+#define MOTOR_RIGHT_BACKWARD 0x06 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, string speed);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ char interpretMotor(string motor);
+ char interpretDirection(string direction, int motor);
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, char *description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ff/a0b2d6008bb000131eb0f6c547a05c39 b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ff/a0b2d6008bb000131eb0f6c547a05c39
new file mode 100644
index 00000000..4289b2ef
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.history/ff/a0b2d6008bb000131eb0f6c547a05c39
@@ -0,0 +1,73 @@
+/*
+ * MotorHandler.h
+ *
+ * Created on: 2014-03-03
+ * Author: Amshu Gongal
+ */
+
+#ifndef MOTORHANDLER_H_
+#define MOTORHANDLER_H_
+
+#include "altera_up_avalon_rs232.h"
+#include "altera_up_avalon_rs232_regs.h"
+#include
+using namespace std;
+#include
+#include "Status.h"
+
+//Commands from network handler
+#define MOTOR_LEFT "left"
+#define MOTOR_RIGHT "right"
+#define MOTOR_FORWARD "forward"
+#define MOTOR_BACKWARD "backward"
+
+
+// Motor messages are LSB first
+#define MOTOR_START_BYTE 0x80
+#define MOTOR_DEVICE_TYPE 0x00
+#define MOTOR_LEFT_CHAR 0x02 // motor 1 backward
+#define MOTOR_RIGHT_CHAR 0x03 // motor 2 backward
+#define MOTOR_LEFT_FORWARD 0x05 // motor 1 forward
+#define MOTOR_RIGHT_FORWARD 0x07 // motor 2 forward
+#define MOTOR_CONST_SPEED 0x5F
+#define MOTOR_STOP_SPEED 0x00
+#define MOTOR_CHANGE_CONFIGURATION 0X02
+
+class MotorHandler {
+public:
+ MotorHandler();
+ virtual ~MotorHandler();
+
+ /*
+ * Initializes this handler.
+ * @return OK if the handler was initialized without error
+ */
+ Status init();
+ void reset();
+ void configure();
+ void motorCommand(string motor, string motorDirection, string speed);
+
+private:
+ /* The device used to send serial commands to the motor controller. */
+ alt_up_rs232_dev *motor_dev;
+
+ char interpretMotor(string motor);
+ char interpretDirection(string direction, int motor);
+
+ /*
+ * Moves in the given direction at constant speed.
+ * @param direction - the motor and direction to move in, e.g. MOTOR_MOTOR1_FORWARD
+ * @param speed speed of the motor
+ * @param description - the string description of the movement, for debugging
+ */
+ void move(char direction, char speed, string description);
+
+ /*
+ * Sends a byte-length message to the motor controller.
+ * @param message - the message to send
+ * @param description - the string description of the message, for debugging
+ */
+ void send(char message, char *description);
+};
+
+#endif /* MOTORHANDLER_H_ */
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest/.indexes/history.index b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest/.indexes/history.index
new file mode 100644
index 00000000..a7b8dcda
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest/.indexes/history.index differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest/.indexes/properties.index b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest/.indexes/properties.index
new file mode 100644
index 00000000..b9af512c
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest/.indexes/properties.index differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest_bsp/.indexes/4b/de/properties.index b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest_bsp/.indexes/4b/de/properties.index
new file mode 100644
index 00000000..131be2af
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest_bsp/.indexes/4b/de/properties.index differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest_bsp/.indexes/properties.index b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest_bsp/.indexes/properties.index
new file mode 100644
index 00000000..fa71ef8f
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.projects/MCTest_bsp/.indexes/properties.index differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
new file mode 100644
index 00000000..25cb955b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index
new file mode 100644
index 00000000..fd32bc3d
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
new file mode 100644
index 00000000..6b2aaa76
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/15.tree b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/15.tree
new file mode 100644
index 00000000..76911dac
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.root/15.tree differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
new file mode 100644
index 00000000..586b9dca
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.altera.sbtgui.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.altera.sbtgui.ui.prefs
new file mode 100644
index 00000000..53911d7b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.altera.sbtgui.ui.prefs
@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+newSoftwareExampleWizardPage.defaultLocation=C\:\\Users\\gongal\\Desktop\\MCTEST\\DE0-nano-HD\\software\\MCTest
+newSoftwareExampleWizardPage.sopcinfoFile=C\:\\Users\\gongal\\Desktop\\MCTEST\\DE0-nano-HD\\system.sopcinfo
+newSoftwareExampleWizardPage2.newBspLocation=C\:\\Users\\gongal\\Desktop\\MCTEST\\DE0-nano-HD\\software\\MCTest_bsp
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.codan.core.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.codan.core.prefs
new file mode 100644
index 00000000..a4367a1a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.codan.core.prefs
@@ -0,0 +1,65 @@
+eclipse.preferences.version=1
+org.eclipse.cdt.codan.checkers.errnoreturn=Warning
+org.eclipse.cdt.codan.checkers.errnoreturn.params={implicit\=>false}
+org.eclipse.cdt.codan.checkers.errreturnvalue=Error
+org.eclipse.cdt.codan.checkers.errreturnvalue.params={}
+org.eclipse.cdt.codan.checkers.noreturn=Error
+org.eclipse.cdt.codan.checkers.noreturn.params={implicit\=>false}
+org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation=Error
+org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem=Error
+org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem=Error
+org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={no_break_comment\=>"no break",last_case_param\=>true,empty_case_param\=>false}
+org.eclipse.cdt.codan.internal.checkers.CatchByReference=Warning
+org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={unknown\=>false,exceptions\=>()}
+org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem=Error
+org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem=-Warning
+org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.InvalidArguments=Error
+org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem=Error
+org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem=Error
+org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem=Error
+org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker=-Info
+org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={pattern\=>"^[a-z]",macro\=>true,exceptions\=>()}
+org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.OverloadProblem=Error
+org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem=Error
+org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem=-Warning
+org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem=-Warning
+org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={}
+org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={macro\=>true,exceptions\=>()}
+org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={paramNot\=>false}
+org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={else\=>false,afterelse\=>false}
+org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
+org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={macro\=>true}
+org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={macro\=>true}
+org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem=Warning
+org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={macro\=>true,exceptions\=>("@(\#)","$Id")}
+org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem=Error
+org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>false,RUN_ON_INC_BUILD\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
diff --git a/MCandWifiTestDE0/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCandWifiTestDE0.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCTest.prefs
similarity index 100%
rename from MCandWifiTestDE0/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCandWifiTestDE0.prefs
rename to MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCTest.prefs
diff --git a/MCandWifiTestDE0/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCandWifiTestDE0_bsp.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCTest_bsp.prefs
similarity index 100%
rename from MCandWifiTestDE0/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCandWifiTestDE0_bsp.prefs
rename to MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prj-MCTest_bsp.prefs
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs
new file mode 100644
index 00000000..aa2411de
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.debug.core.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.cdt.debug.core.cDebug.default_source_containers=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.dsf.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.dsf.ui.prefs
new file mode 100644
index 00000000..2c7c1b9e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.dsf.ui.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+useAnnotationsPrefPage=true
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs
new file mode 100644
index 00000000..ef48238a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.managedbuilder.core.prefs
@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+properties/MCTest.null.1908109194/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1313019385=\#\r\n\#Thu Mar 20 18\:14\:27 MDT 2014\r\ncdt.managedbuild.tool.gnu.archiver.cygwin.base.717095381\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:14\\\:27 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.859345917\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:08\\\:34 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\naltera.nios2.mingw.gcc4.1776960957\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:14\\\:27 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\ncdt.managedbuild.tool.gnu.c.compiler.cygwin.base.934764304\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:14\\\:27 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.1895613923\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:08\\\:34 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\ncdt.managedbuild.tool.gnu.assembler.cygwin.base.202883\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:14\\\:27 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.432263907\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:08\\\:34 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\ncdt.managedbuild.tool.gnu.cpp.linker.cygwin.base.693532699\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:14\\\:27 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.libs.5994935\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:08\\\:34 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\ncdt.managedbuild.tool.gnu.c.linker.cygwin.base.578433618\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:14\\\:27 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\npreference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1313019385\=\\\#\\r\\n\\\#Thu Mar 20 16\\\:35\\\:29 MDT 2014\\r\\nrcState\\\=0\\r\\nrebuildState\\\=false\\r\\n\r\ncdt.managedbuild.tool.gnu.cpp.compiler.cygwin.base.716178441\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:14\\\:27 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.prefbase.toolchain.1347684262\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:08\\\:34 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\n
+properties/MCTest_bsp.null.358070528/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.958572236=\#\r\n\#Thu Mar 20 18\:11\:58 MDT 2014\r\ncdt.managedbuild.tool.gnu.cpp.compiler.cygwin.base.75388100\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:11\\\:58 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\npreference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.958572236\=\\\#\\r\\n\\\#Thu Mar 20 16\\\:35\\\:30 MDT 2014\\r\\nrcState\\\=0\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.1798688243\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:04\\\:08 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.libs.1502734174\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:04\\\:08 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.1701878894\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:04\\\:08 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\ncdt.managedbuild.tool.gnu.cpp.linker.cygwin.base.1583429292\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:11\\\:58 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\ncdt.managedbuild.tool.gnu.archiver.cygwin.base.1529282876\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:11\\\:58 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.prefbase.toolchain.2022390371\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:04\\\:08 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\ncdt.managedbuild.tool.gnu.assembler.cygwin.base.1885572208\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:11\\\:58 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\ncdt.managedbuild.tool.gnu.c.linker.cygwin.base.294816111\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:11\\\:58 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\norg.eclipse.cdt.build.core.settings.holder.1161124930\=\\\#\\r\\n\\\#Thu Mar 06 10\\\:04\\\:08 MST 2014\\r\\nrebuildState\\\=true\\r\\n\r\naltera.nios2.mingw.gcc4.382324477\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:11\\\:58 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\ncdt.managedbuild.tool.gnu.c.compiler.cygwin.base.549290588\=\\\#\\r\\n\\\#Thu Mar 20 18\\\:11\\\:58 MDT 2014\\r\\nrebuildState\\\=false\\r\\n\r\n
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs
new file mode 100644
index 00000000..0451f542
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.mylyn.ui.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.mylyn.cdt.ui.run.count.3_3_0=1
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
new file mode 100644
index 00000000..bd28f849
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
@@ -0,0 +1,6 @@
+content_assist_disabled_computers=org.eclipse.cdt.ui.parserProposalCategory\u0000org.eclipse.cdt.ui.textProposalCategory\u0000
+eclipse.preferences.version=1
+spelling_locale=en_GB
+spelling_locale_initialized=true
+useAnnotationsPrefPage=true
+useQuickDiffPrefPage=true
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 00000000..a7fb09f3
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+description.autobuilding=false
+eclipse.preferences.version=1
+version=1
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs
new file mode 100644
index 00000000..2d3da00a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.core.prefs
@@ -0,0 +1,7 @@
+//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.applicationLaunchType=org.eclipse.cdt.dsf.gdb.launch.localCLaunch,debug;org.eclipse.cdt.cdi.launch.localCLaunch,run
+//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.attachLaunchType=org.eclipse.cdt.dsf.gdb.launch.attachCLaunch,debug
+//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.postmortemLaunchType=org.eclipse.cdt.dsf.gdb.launch.coreCLaunch,debug
+//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.remoteApplicationLaunchType=org.eclipse.rse.remotecdt.dsf.debug,debug
+eclipse.preferences.version=1
+org.eclipse.debug.core.USE_STEP_FILTERS=false
+prefWatchExpressions=\r\n\r\n
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
new file mode 100644
index 00000000..0c71d7dc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\r\n\r\n
+pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=\r\n
+preferredDetailPanes=DefaultDetailPane\:DefaultDetailPane|
+preferredTargets=org.eclipse.cdt.debug.ui.toggleCBreakpointTarget\:org.eclipse.cdt.debug.ui.toggleCBreakpointTarget|
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs
new file mode 100644
index 00000000..497e2e35
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.epp.usagedata.recording.last-upload=1395250897361
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs
new file mode 100644
index 00000000..43e97e40
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+mylyn.attention.migrated=true
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs
new file mode 100644
index 00000000..8d462a6c
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs
new file mode 100644
index 00000000..f9e585ba
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+pref_first_startup=false
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs
new file mode 100644
index 00000000..56cd496f
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.team.ui.first_time=false
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
new file mode 100644
index 00000000..61f3bb8b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+overviewRuler_migration=migrated_3.1
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
new file mode 100644
index 00000000..a9cf7bfe
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
@@ -0,0 +1,8 @@
+IMPORT_FILES_AND_FOLDERS_RELATIVE=true
+IMPORT_FILES_AND_FOLDERS_TYPE=23,1
+PROBLEMS_FILTERS_MIGRATE=true
+TASKS_FILTERS_MIGRATE=true
+eclipse.preferences.version=1
+platformState=1370561326246
+quickStart=false
+tipsAndTricks=true
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
new file mode 100644
index 00000000..08076f23
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+showIntro=false
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
new file mode 100644
index 00000000..dc1a5a0b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
@@ -0,0 +1,4 @@
+ENABLED_DECORATORS=com.altera.sbtgui.project.decorator.bsp\:true,com.altera.sbtgui.project.nios2builddecorator\:true,org.eclipse.cdt.ui.indexedFiles\:false,org.eclipse.cdt.managedbuilder.ui.excludedFile\:true,org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator\:true,org.eclipse.mylyn.context.ui.decorator.interest\:true,org.eclipse.mylyn.tasks.ui.decorators.task\:true,org.eclipse.mylyn.team.ui.changeset.decorator\:true,org.eclipse.rse.core.virtualobject.decorator\:true,org.eclipse.rse.core.binary.executable.decorator\:true,org.eclipse.rse.core.script.executable.decorator\:true,org.eclipse.rse.core.java.executable.decorator\:true,org.eclipse.rse.core.library.decorator\:true,org.eclipse.rse.core.link.decorator\:true,org.eclipse.rse.subsystems.error.decorator\:true,org.eclipse.team.cvs.ui.decorator\:true,org.eclipse.ui.LinkedResourceDecorator\:true,org.eclipse.ui.VirtualResourceDecorator\:true,org.eclipse.ui.ContentTypeDecorator\:true,org.eclipse.ui.ResourceFilterDecorator\:false,
+UIActivities.org.eclipse.cdt.debug.cdigdbActivity=true
+UIActivities.org.eclipse.cdt.debug.dsfgdbActivity=true
+eclipse.preferences.version=1
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.core/.launches/MCTest.elf.launch b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.core/.launches/MCTest.elf.launch
new file mode 100644
index 00000000..dd9e8254
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.core/.launches/MCTest.elf.launch
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.core/.launches/New_configuration.launch b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.core/.launches/New_configuration.launch
new file mode 100644
index 00000000..5e057436
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.core/.launches/New_configuration.launch
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml
new file mode 100644
index 00000000..eaa04965
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.ui/dialog_settings.xml
@@ -0,0 +1,11 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
new file mode 100644
index 00000000..495ab682
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.debug.ui/launchConfigurationHistory.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload0.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload0.csv
new file mode 100644
index 00000000..2842d3ea
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload0.csv
@@ -0,0 +1,276 @@
+what,kind,bundleId,bundleVersion,description,time
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394125246935
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394125246936
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394125246936
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394125246936
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394125246937
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394125246937
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394125246937
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394125246937
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394125246938
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394125246938
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394125246939
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394125246940
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394125246941
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394125246941
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394125246941
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394125246942
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394125246942
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394125246942
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394125246943
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394125246943
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394125246943
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394125246944
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394125246944
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394125246944
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394125246945
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394125246945
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394125246946
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394125246946
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394125246946
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394125246946
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394125246947
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394125246947
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394125246947
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394125246947
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394125246948
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394125246948
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394125246948
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394125246949
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394125246949
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394125246949
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394125246950
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394125246950
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394125246950
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394125246950
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394125246951
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394125246951
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394125246951
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394125246952
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394125246952
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394125246952
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394125246952
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394125246952
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394125246953
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394125246953
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394125246953
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394125246954
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394125246954
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394125246954
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394125246954
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394125246955
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394125246955
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394125246955
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394125246956
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394125246956
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394125246957
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394125246957
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394125246957
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394125246958
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394125246958
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394125246959
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394125246959
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394125246959
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394125246960
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394125246960
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394125246960
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394125246961
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394125246961
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394125246961
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394125246961
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394125246962
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394125246962
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394125246962
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394125246963
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394125246963
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394125246963
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394125246964
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394125246964
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394125246964
+started,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394125246964
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394125246965
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394125246965
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394125246965
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394125246965
+os,sysinfo,,,"win32",1394125246967
+arch,sysinfo,,,"x86",1394125246967
+ws,sysinfo,,,"win32",1394125246967
+locale,sysinfo,,,"en_CA",1394125246967
+processors,sysinfo,,,"8",1394125246967
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394125246967
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394125246967
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394125246967
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394125246967
+java.specification.version,sysinfo,,,"1.6",1394125246967
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394125246967
+java.version,sysinfo,,,"1.6.0_23",1394125246967
+java.vm.info,sysinfo,,,"mixed mode",1394125246967
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394125246967
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394125246967
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394125246967
+java.vm.specification.version,sysinfo,,,"1.0",1394125246967
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394125246967
+java.vm.version,sysinfo,,,"19.0-b09",1394125246967
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125271890
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394125274434
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394125274498
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394125274594
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394125274599
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394125274599
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394125274600
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394125444348
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394125444377
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394125445329
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394125445968
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125456990
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.newWizard",1394125457004
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125494928
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125501944
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394125521523
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394125521526
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125526030
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125533724
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125533738
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125534856
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125535416
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125538840
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125540742
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125541744
+executed,command,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring.commands.deleteResources",1394125541747
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1394125541748
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125541751
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125545508
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394125546968
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125546991
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125547045
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394125547474
+activated,view,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.internal.introview",1394125548688
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125548706
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.window.maximizePart",1394125549625
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125586342
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.findReplace",1394125586355
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125607751
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394125675712
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394125704081
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394125707662
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125707926
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125715933
+started,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394125718685
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.window.maximizePart",1394125742160
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394125744012
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125749773
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125749802
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125763089
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394125770176
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394125773176
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125773440
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125776497
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125776505
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125780297
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125781093
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125782277
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125794324
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125804707
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394125805825
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394125818335
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394125818376
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394125834725
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125838642
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125842344
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394125844969
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394125845764
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125846027
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125848263
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394125852637
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125857864
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125858302
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125871880
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394125876199
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394125886253
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394125887729
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125887994
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125890207
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394125932134
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125939260
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125943596
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125944291
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125944966
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125945699
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394125948557
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394126038427
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394126039462
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394126046735
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394126051077
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394126088469
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394126090361
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394126101437
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394126103193
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126107884
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126110078
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126110876
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126167177
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126213744
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126224701
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126224709
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126226564
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126228552
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126229486
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126235028
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126235039
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126236067
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126236684
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126239816
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126239827
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126240947
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126241546
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126245267
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126249048
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126249082
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126272947
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126281392
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126282966
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126312202
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126315665
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394126324288
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394126328122
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126332066
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126333524
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394126333974
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126338228
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394126340376
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126340930
+executed,command,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring.commands.renameResource",1394126340933
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.rename",1394126340933
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126340949
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126340977
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126344705
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126346516
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126347410
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126350549
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126350550
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126351473
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126351647
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126351676
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126357837
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394126358539
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126358804
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126361990
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126363183
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126377726
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126378926
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126379511
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126389330
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126390115
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126390632
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126391340
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126391905
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126392644
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126394898
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126394909
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126395968
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126396509
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126397857
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126407021
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126407202
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126407230
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394126409980
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload1.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload1.csv
new file mode 100644
index 00000000..91ffd257
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload1.csv
@@ -0,0 +1,251 @@
+what,kind,bundleId,bundleVersion,description,time
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126410245
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126411804
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126414527
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126414710
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394126442838
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126443105
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126444660
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126445204
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394126445887
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126446171
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126447701
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126462617
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126468362
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394126470008
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126481280
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394126481700
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126481972
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126484926
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126492425
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394126506499
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126565826
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394126579618
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126579883
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126581391
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126585214
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126586628
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126591625
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126594056
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394126599560
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394126610174
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126614396
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126642695
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394126643459
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126643732
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126645226
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394126652949
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126658256
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126659701
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394126659705
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126660881
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126662947
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126667326
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126671137
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126673234
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126682267
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126724004
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126724633
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394126743908
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126760447
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394126780681
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126781601
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126782938
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.window.maximizePart",1394126794329
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.window.maximizePart",1394126795178
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394126796518
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394126820263
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394126826457
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394126875545
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394126885201
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1394126889219
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1394126890858
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1394126891779
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126897383
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126910528
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126915625
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126916287
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126916824
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394126941607
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126986377
+executed,command,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.edit.text.showInformation",1394126986381
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394126987726
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394127000083
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394127036554
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127037267
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394127037506
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127038362
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394127038554
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394127040375
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127042777
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127044351
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127047590
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394127070332
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127657666
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127873883
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394127878864
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127884003
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127885852
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394127894896
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127894976
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127895054
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127922164
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394127928510
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394127928520
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394127929891
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394127930032
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394127930038
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127942115
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127948468
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127956003
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394127991587
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394127994118
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394127996366
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394127998650
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127998831
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394127998859
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128002389
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128006217
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128007011
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128011579
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128027920
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128032511
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128043614
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128061536
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128069982
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128074751
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128077864
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394128079141
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128079349
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128089856
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128099455
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128125913
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128127069
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128127341
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128129654
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128142947
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128143790
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128144062
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128146355
+executed,command,,,"AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.cdt.internal.ui.text.correction.CSelectRulerAction",1394128153186
+executed,command,,,"AUTOGEN:::org.eclipse.ui.texteditor.ruler.actions/org.eclipse.cdt.internal.ui.text.correction.CSelectRulerAction",1394128154141
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128157636
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128158390
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128162984
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128173563
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128188084
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128189831
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128190105
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128191654
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128196332
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128196744
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128197011
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128203304
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128207304
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128208054
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128212630
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128218263
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128225444
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128227015
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128228219
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128228244
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128230365
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128232078
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128238421
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394128251241
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394128255215
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128257855
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128258722
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128259007
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128261342
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128264987
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128265738
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128270325
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128275902
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128281984
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128285903
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128289175
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128297177
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128297941
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128297966
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128306997
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128338240
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128340128
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128362193
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128367263
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128386607
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128386877
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128388373
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128391098
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128391727
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128391991
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128394292
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128395919
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128402128
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128406315
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128422472
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128423256
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128423529
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128425822
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128427666
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128428416
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128433018
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128446053
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128450637
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128452165
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128454772
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128455193
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128455463
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128457712
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128460119
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128460863
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128465477
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128472285
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128476342
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128477138
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128478082
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128478818
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128480075
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128512020
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128512773
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128517390
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128518590
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128523548
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394128529900
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394128531514
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128532904
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128534908
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128535177
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128537523
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128539533
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128540283
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128544926
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128559444
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128564041
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128572384
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128577015
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128578313
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128592770
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128593724
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128598863
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128598917
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128600704
+error,log,,,"Exception in org.eclipse.ui.internal.PageLayout.stackView: org.eclipse.ui.PartInitException: Could not create view: org.eclipse.cdt.debug.ui.DisassemblyView",1394128600712
+error,log,,,"Exception in org.eclipse.ui.internal.PageLayout.stackView: org.eclipse.ui.PartInitException: Could not create view: org.eclipse.cdt.debug.ui.DisassemblyView",1394128600714
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394128600868
+opened,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394128600924
+opened,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.VariableView",1394128600976
+activated,perspective,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui.debugPerspective",1394128601010
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394128606459
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.Resume",1394128606611
+opened,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394128612470
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394128612493
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394128615462
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.Terminate",1394128615595
+error,log,,,"Internal Error",1394128615623
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128616016
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128616977
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394128617669
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.asm.AsmEditor",1394128622024
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394128628956
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394128629675
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload10.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload10.csv
new file mode 100644
index 00000000..beb47647
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload10.csv
@@ -0,0 +1,276 @@
+what,kind,bundleId,bundleVersion,description,time
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394837547708
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394837547708
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394837547709
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394837547709
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394837547709
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394837547710
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394837547710
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394837547711
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394837547711
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394837547711
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394837547712
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394837547712
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394837547713
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394837547713
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394837547713
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394837547714
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394837547714
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394837547714
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394837547714
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394837547715
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394837547715
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394837547715
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394837547716
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394837547716
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394837547716
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394837547717
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394837547717
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394837547718
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394837547718
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394837547719
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394837547719
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394837547719
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394837547720
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394837547720
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394837547720
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394837547720
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394837547721
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394837547721
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394837547721
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394837547722
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394837547722
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394837547723
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394837547723
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394837547723
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394837547724
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394837547724
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394837547724
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394837547725
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394837547725
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394837547725
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394837547725
+os,sysinfo,,,"win32",1394837547727
+arch,sysinfo,,,"x86",1394837547727
+ws,sysinfo,,,"win32",1394837547727
+locale,sysinfo,,,"en_CA",1394837547727
+processors,sysinfo,,,"8",1394837547727
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394837547727
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394837547727
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394837547727
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394837547727
+java.specification.version,sysinfo,,,"1.6",1394837547727
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394837547727
+java.version,sysinfo,,,"1.6.0_23",1394837547727
+java.vm.info,sysinfo,,,"mixed mode",1394837547727
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394837547727
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394837547727
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394837547727
+java.vm.specification.version,sysinfo,,,"1.0",1394837547727
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394837547727
+java.vm.version,sysinfo,,,"19.0-b09",1394837547727
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394837547805
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394837547957
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394837547985
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837550883
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837551934
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394837552970
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394837552976
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394837554804
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394837555161
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394837555165
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394837555165
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394837555166
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394837555172
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394837555201
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394837573379
+error,log,,,"Unable to validate connection settings.",1394837978139
+error,log,,,"Unable to validate connection settings.",1394837978143
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837978156
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837979908
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394837980921
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837988589
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837989528
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394837997210
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837997282
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838001037
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394838001044
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838002425
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838003469
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394838003536
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838003628
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394838003779
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394838003779
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394838003779
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394838003779
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394838003779
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394838003780
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394838003780
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394838003780
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394838003780
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394838003780
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394838003780
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394838003780
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1394838003780
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.search,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.search",1394838003781
+stopped,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394838003781
+stopped,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394838003781
+stopped,bundle,org.eclipse.cdt.gdb.ui,7.0.0.201202111925,"org.eclipse.cdt.gdb.ui",1394838003781
+stopped,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394838003781
+stopped,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394838003781
+stopped,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394838003781
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.traditional,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.traditional",1394838003781
+stopped,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394838003781
+stopped,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394838003781
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.ui,1.0.1.201202152032,"org.eclipse.linuxtools.cdt.autotools.ui",1394838003782
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394838003782
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394838017522
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394838017523
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394838017523
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394838017523
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394838017524
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394838017524
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394838017525
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394838017525
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394838017526
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394838017526
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394838017526
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394838017526
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394838017527
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394838017527
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394838017528
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394838017528
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394838017528
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394838017528
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394838017529
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394838017529
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394838017530
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394838017530
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394838017530
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394838017531
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394838017531
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394838017531
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394838017532
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394838017532
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394838017533
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394838017533
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394838017533
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394838017534
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394838017534
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394838017535
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394838017535
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394838017536
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394838017536
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394838017536
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394838017537
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394838017537
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394838017537
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394838017537
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394838017538
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394838017538
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394838017538
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394838017539
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394838017539
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394838017539
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394838017540
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394838017540
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394838017540
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394838017540
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394838017541
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394838017541
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394838017541
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394838017541
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394838017542
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394838017542
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394838017542
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394838017543
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394838017543
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394838017544
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394838017544
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394838017545
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394838017545
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394838017545
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394838017545
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394838017545
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394838017546
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394838017546
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394838017546
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394838017547
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394838017547
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394838017548
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394838017548
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394838017548
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394838017549
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394838017549
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394838017550
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394838017550
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394838017550
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394838017551
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394838017551
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394838017552
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394838017552
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394838017552
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394838017552
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394838017553
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394838017553
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394838017553
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394838017554
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394838017554
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394838017555
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394838017555
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394838017555
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394838017556
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394838017556
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394838017556
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394838017556
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394838017556
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394838017557
+os,sysinfo,,,"win32",1394838017558
+arch,sysinfo,,,"x86",1394838017558
+ws,sysinfo,,,"win32",1394838017558
+locale,sysinfo,,,"en_CA",1394838017558
+processors,sysinfo,,,"8",1394838017558
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394838017558
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394838017558
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394838017558
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838017558
+java.specification.version,sysinfo,,,"1.6",1394838017558
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838017558
+java.version,sysinfo,,,"1.6.0_23",1394838017558
+java.vm.info,sysinfo,,,"mixed mode",1394838017558
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394838017558
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394838017558
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838017558
+java.vm.specification.version,sysinfo,,,"1.0",1394838017558
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838017558
+java.vm.version,sysinfo,,,"19.0-b09",1394838017558
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394838040304
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394838040307
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838040357
+error,log,,,"Unable to validate connection settings.",1394838046562
+error,log,,,"Unable to validate connection settings.",1394838046565
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838046580
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838047615
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838048816
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838049830
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394838049878
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838049924
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394838050165
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394838050256
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394838050256
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394838050257
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394838050257
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394838050257
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394838050257
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394838050257
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394838050257
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394838050257
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394838050257
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394838050258
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394838050258
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1394838050259
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.search,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.search",1394838050259
+stopped,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394838050260
+stopped,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394838050260
+stopped,bundle,org.eclipse.cdt.gdb.ui,7.0.0.201202111925,"org.eclipse.cdt.gdb.ui",1394838050261
+stopped,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394838050261
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload11.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload11.csv
new file mode 100644
index 00000000..e08dfe7e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload11.csv
@@ -0,0 +1,266 @@
+what,kind,bundleId,bundleVersion,description,time
+stopped,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394838050261
+stopped,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394838050261
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.traditional,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.traditional",1394838050262
+stopped,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394838050262
+stopped,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394838050262
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.ui,1.0.1.201202152032,"org.eclipse.linuxtools.cdt.autotools.ui",1394838050263
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394838050263
+stopped,bundle,org.eclipse.cdt.managedbuilder.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.ui",1394838050264
+stopped,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394838050264
+stopped,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394838050264
+stopped,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394838050264
+stopped,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394838050264
+stopped,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394838050264
+stopped,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394838050264
+stopped,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394838050264
+stopped,bundle,com.altera.sbtgui.flash.plugin,12.1.1.243,"com.altera.sbtgui.flash.plugin",1394838050269
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394838108033
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394838108033
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394838108034
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394838108034
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394838108034
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394838108035
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394838108035
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394838108036
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394838108036
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394838108036
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394838108037
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394838108037
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394838108037
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394838108038
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394838108038
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394838108039
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394838108039
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394838108039
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394838108039
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394838108040
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394838108040
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394838108040
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394838108041
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394838108041
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394838108042
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394838108042
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394838108042
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394838108043
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394838108043
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394838108043
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394838108044
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394838108044
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394838108045
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394838108045
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394838108046
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394838108046
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394838108046
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394838108047
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394838108047
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394838108047
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394838108048
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394838108048
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394838108048
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394838108048
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394838108049
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394838108049
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394838108049
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394838108050
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394838108050
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394838108050
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394838108050
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394838108051
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394838108051
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394838108051
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394838108051
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394838108052
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394838108052
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394838108052
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394838108053
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394838108053
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394838108054
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394838108054
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394838108055
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394838108055
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394838108055
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394838108055
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394838108055
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394838108056
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394838108056
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394838108057
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394838108057
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394838108057
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394838108058
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394838108058
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394838108058
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394838108059
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394838108059
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394838108060
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394838108060
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394838108061
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394838108061
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394838108061
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394838108062
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394838108062
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394838108062
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394838108062
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394838108062
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394838108063
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394838108063
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394838108063
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394838108064
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394838108064
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394838108065
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394838108065
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394838108065
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394838108066
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394838108066
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394838108066
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394838108066
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394838108067
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394838108067
+os,sysinfo,,,"win32",1394838108068
+arch,sysinfo,,,"x86",1394838108068
+ws,sysinfo,,,"win32",1394838108068
+locale,sysinfo,,,"en_CA",1394838108068
+processors,sysinfo,,,"8",1394838108068
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394838108068
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394838108068
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394838108068
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838108068
+java.specification.version,sysinfo,,,"1.6",1394838108068
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838108068
+java.version,sysinfo,,,"1.6.0_23",1394838108068
+java.vm.info,sysinfo,,,"mixed mode",1394838108068
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394838108068
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394838108068
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838108068
+java.vm.specification.version,sysinfo,,,"1.0",1394838108068
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394838108068
+java.vm.version,sysinfo,,,"19.0-b09",1394838108068
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394838115475
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394838115477
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838115534
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838117204
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394838117342
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394838117347
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394838117347
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394838117348
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394838117354
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394838117377
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838174786
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838174829
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838188384
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838191066
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838191346
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838193682
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838195948
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838196932
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838201499
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838211822
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838216394
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838241567
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838244755
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838244786
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394838253551
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838261987
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838267322
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838268423
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838272839
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394838274060
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838274427
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838276269
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838276539
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838279053
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838281818
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838282607
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838287188
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838323872
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838328462
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838344570
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394838349274
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394838354464
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394838356148
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838361844
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838362200
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838362470
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838364730
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838366876
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838367638
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838372241
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838392212
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838396934
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838397497
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838397778
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838400036
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838404177
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838404440
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838405938
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838418883
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838419636
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838424240
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394838447958
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838453905
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838454531
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838454812
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838456992
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394838688005
+started,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394838695322
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838699832
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838701163
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838701427
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838703764
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394838711932
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394838713457
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394838720660
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394838721848
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1394838723319
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394838723834
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394838724466
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838724740
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394838726972
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838730641
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394838731394
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394838735972
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394839584571
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394839586321
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394839586430
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394839586511
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394839586604
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394839586605
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394839586605
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394839587605
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394839587605
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394839587605
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394839587605
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394839587605
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394839587606
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394839587606
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394839587606
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394839587606
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1394839587606
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.search,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.search",1394839587607
+stopped,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394839587607
+stopped,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394839587607
+stopped,bundle,org.eclipse.cdt.gdb.ui,7.0.0.201202111925,"org.eclipse.cdt.gdb.ui",1394839587607
+stopped,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394839587607
+stopped,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394839587607
+stopped,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394839587607
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.traditional,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.traditional",1394839587608
+stopped,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394839587608
+stopped,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394839587608
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.ui,1.0.1.201202152032,"org.eclipse.linuxtools.cdt.autotools.ui",1394839587609
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394839587609
+stopped,bundle,org.eclipse.cdt.managedbuilder.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.ui",1394839587610
+stopped,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394839587610
+stopped,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394839587610
+stopped,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394839587610
+stopped,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394839587610
+stopped,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394839587610
+stopped,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394839587610
+stopped,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394839587610
+stopped,bundle,com.altera.sbtgui.flash.plugin,12.1.1.243,"com.altera.sbtgui.flash.plugin",1394839587610
+stopped,bundle,com.altera.sbtgui.gprof,12.1.1.243,"com.altera.sbtgui.gprof",1394839587611
+stopped,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394839587611
+stopped,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394839587611
+stopped,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394839587611
+stopped,bundle,org.eclipse.compare.win32,1.0.200.I20110510-0800,"org.eclipse.compare.win32",1394839587611
+stopped,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394839587611
+stopped,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394839587611
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload12.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload12.csv
new file mode 100644
index 00000000..dfdad533
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload12.csv
@@ -0,0 +1,260 @@
+what,kind,bundleId,bundleVersion,description,time
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1395250896238
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1395250896238
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1395250896238
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1395250896238
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395250896238
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1395250896238
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395250896238
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1395250896238
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395250896238
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1395250896238
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1395250896238
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1395250896238
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1395250896238
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1395250896238
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1395250896238
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1395250896238
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1395250896238
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1395250896238
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1395250896238
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1395250896238
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1395250896238
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1395250896238
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1395250896238
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1395250896238
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1395250896238
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1395250896238
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1395250896238
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1395250896238
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1395250896238
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1395250896238
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1395250896238
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1395250896238
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1395250896238
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1395250896238
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1395250896238
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1395250896253
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1395250896253
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1395250896253
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1395250896253
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1395250896253
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1395250896253
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1395250896253
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1395250896253
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1395250896253
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1395250896253
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1395250896253
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1395250896253
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1395250896253
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1395250896253
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1395250896253
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1395250896253
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1395250896253
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1395250896253
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1395250896253
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1395250896316
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1395250896316
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1395250896316
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1395250896316
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1395250896316
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1395250896316
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1395250896316
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1395250896316
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1395250896316
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1395250896316
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1395250896316
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1395250896316
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1395250896316
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1395250896316
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1395250896316
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1395250896316
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1395250896316
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1395250896316
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1395250896316
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1395250896316
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1395250896316
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1395250896316
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1395250896316
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1395250896316
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1395250896316
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1395250896316
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1395250896316
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1395250896316
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1395250896316
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1395250896316
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1395250896316
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1395250896316
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1395250896316
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1395250896316
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1395250896316
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1395250896331
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1395250896331
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1395250896331
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1395250896331
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1395250896331
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1395250896331
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395250896331
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1395250896331
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1395250896331
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1395250896331
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1395250896331
+os,sysinfo,,,"win32",1395250896331
+arch,sysinfo,,,"x86",1395250896331
+ws,sysinfo,,,"win32",1395250896331
+locale,sysinfo,,,"en_CA",1395250896331
+processors,sysinfo,,,"8",1395250896331
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1395250896331
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1395250896331
+java.specification.name,sysinfo,,,"Java Platform API Specification",1395250896331
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395250896331
+java.specification.version,sysinfo,,,"1.6",1395250896331
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1395250896331
+java.version,sysinfo,,,"1.6.0_23",1395250896331
+java.vm.info,sysinfo,,,"mixed mode",1395250896331
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1395250896331
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1395250896331
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395250896331
+java.vm.specification.version,sysinfo,,,"1.0",1395250896331
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1395250896331
+java.vm.version,sysinfo,,,"19.0-b09",1395250896331
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395250896472
+started,bundle,org.eclipse.epp.usagedata.ui,1.3.1.R201106061540,"org.eclipse.epp.usagedata.ui",1395250897361
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395250897455
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395250899467
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395250902433
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1395250909749
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1395250909905
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395250911793
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395250917659
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.import",1395250917659
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.import",1395250917659
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395250931246
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395250932416
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1395250932463
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395250932510
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1395251028248
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1395251028248
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1395251028248
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1395251028248
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395251028248
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1395251028248
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395251028248
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1395251028248
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395251028248
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1395251028248
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1395251028248
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1395251028248
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1395251028248
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1395251028248
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1395251028248
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1395251028248
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1395251028248
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1395251028248
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1395251028248
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1395251028248
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1395251028248
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1395251028248
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1395251028248
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1395251028248
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1395251028248
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1395251028248
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1395251028248
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1395251028248
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1395251028248
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1395251028248
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1395251028248
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1395251028248
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1395251028248
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1395251028248
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1395251028248
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1395251028263
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1395251028263
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1395251028263
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1395251028263
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1395251028263
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1395251028263
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1395251028263
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1395251028263
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1395251028263
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1395251028263
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1395251028263
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1395251028263
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1395251028263
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1395251028263
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1395251028263
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1395251028263
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1395251028263
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1395251028263
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1395251028263
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1395251028263
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1395251028263
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1395251028263
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1395251028263
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1395251028263
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1395251028263
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1395251028263
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1395251028263
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1395251028263
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1395251028263
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1395251028263
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1395251028263
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1395251028263
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1395251028263
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1395251028263
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1395251028263
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1395251028263
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1395251028263
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1395251028263
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1395251028263
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1395251028263
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1395251028263
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1395251028263
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1395251028263
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1395251028263
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1395251028263
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1395251028263
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1395251028263
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1395251028263
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1395251028279
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1395251028279
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1395251028279
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1395251028279
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1395251028279
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1395251028279
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1395251028279
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1395251028279
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1395251028279
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1395251028279
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1395251028279
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1395251028279
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395251028279
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395251028279
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1395251028279
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1395251028279
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1395251028279
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1395251028279
+os,sysinfo,,,"win32",1395251028279
+arch,sysinfo,,,"x86",1395251028279
+ws,sysinfo,,,"win32",1395251028279
+locale,sysinfo,,,"en_CA",1395251028279
+processors,sysinfo,,,"8",1395251028279
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1395251028279
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1395251028279
+java.specification.name,sysinfo,,,"Java Platform API Specification",1395251028279
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395251028279
+java.specification.version,sysinfo,,,"1.6",1395251028279
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1395251028279
+java.version,sysinfo,,,"1.6.0_23",1395251028279
+java.vm.info,sysinfo,,,"mixed mode",1395251028279
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1395251028279
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1395251028279
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395251028279
+java.vm.specification.version,sysinfo,,,"1.0",1395251028279
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1395251028279
+java.vm.version,sysinfo,,,"19.0-b09",1395251028279
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251029964
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251031087
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251031118
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251032101
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1395251032117
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload13.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload13.csv
new file mode 100644
index 00000000..dd0b9be8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload13.csv
@@ -0,0 +1,268 @@
+what,kind,bundleId,bundleVersion,description,time
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251032460
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251032491
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251033489
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251034613
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251035549
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251035580
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251035580
+activated,view,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.internal.introview",1395251036219
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251036219
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395251037296
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1395251039511
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251041445
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251042537
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1395251042537
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1395251042834
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251042849
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251044269
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1395251044831
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1395251044831
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1395251044831
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251044877
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251047701
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251055127
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251058839
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251463941
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251487823
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251490039
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251490070
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395251493440
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1395251493596
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395251496638
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251496903
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251498370
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251498386
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1395251508308
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395251525407
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395251527669
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395251528168
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251528465
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251530852
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395251532131
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251535361
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251536359
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1395251542678
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1395251545798
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251545891
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251545969
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251549215
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251554644
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1395251554659
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395251556079
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1395251556266
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1395251556266
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1395251556313
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251608174
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.opendecl",1395251611403
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251611434
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251611465
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395251630981
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251639328
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251640123
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1395251762135
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1395251769873
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251771682
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395251778375
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251778531
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251778562
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251782587
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251783430
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251786019
+started,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1395251799966
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395251823055
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395251823804
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251824084
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251826003
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395251826128
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395251826877
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395251827751
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251828016
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395251830293
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395251832431
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1395251833180
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395251837815
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395252735657
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395253182144
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395253190611
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395253202904
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395253204666
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395258029974
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395258030801
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395258030848
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395258032751
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395258032882
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1395258033077
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1395258033077
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1395258033077
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395258034076
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1395258034076
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395258034076
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395258034076
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395258034076
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395258034076
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1395258034076
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1395258034076
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1395258034076
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1395258034091
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1395340956424
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1395340956424
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1395340956424
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1395340956424
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395340956424
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1395340956424
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395340956424
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1395340956424
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395340956424
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1395340956424
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1395340956424
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1395340956424
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1395340956424
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1395340956424
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1395340956424
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1395340956424
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1395340956424
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1395340956424
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1395340956424
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1395340956434
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1395340956434
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1395340956434
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1395340956434
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1395340956434
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1395340956434
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1395340956434
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1395340956434
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1395340956434
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1395340956434
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1395340956434
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1395340956434
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1395340956434
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1395340956434
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1395340956434
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1395340956434
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1395340956434
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1395340956434
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1395340956434
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1395340956434
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1395340956434
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1395340956434
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1395340956434
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1395340956434
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1395340956434
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1395340956434
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1395340956434
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1395340956434
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1395340956444
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1395340956444
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1395340956444
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1395340956444
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1395340956444
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1395340956444
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1395340956444
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1395340956484
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1395340956484
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1395340956484
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1395340956484
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1395340956484
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1395340956484
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1395340956484
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1395340956484
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1395340956484
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1395340956484
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1395340956484
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1395340956484
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1395340956484
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1395340956484
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1395340956484
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1395340956484
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1395340956484
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1395340956484
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1395340956484
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1395340956484
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1395340956484
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1395340956484
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1395340956484
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1395340956484
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1395340956484
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1395340956494
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1395340956494
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1395340956494
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1395340956494
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1395340956494
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1395340956494
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1395340956494
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1395340956494
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1395340956494
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1395340956494
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1395340956494
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1395340956494
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1395340956494
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1395340956494
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1395340956494
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1395340956494
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395340956494
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395340956494
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1395340956494
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1395340956494
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1395340956494
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1395340956494
+os,sysinfo,,,"win32",1395340956494
+arch,sysinfo,,,"x86",1395340956494
+ws,sysinfo,,,"win32",1395340956494
+locale,sysinfo,,,"en_CA",1395340956494
+processors,sysinfo,,,"8",1395340956494
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1395340956494
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1395340956494
+java.specification.name,sysinfo,,,"Java Platform API Specification",1395340956494
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395340956494
+java.specification.version,sysinfo,,,"1.6",1395340956494
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1395340956494
+java.version,sysinfo,,,"1.6.0_23",1395340956494
+java.vm.info,sysinfo,,,"mixed mode",1395340956494
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1395340956494
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1395340956494
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395340956494
+java.vm.specification.version,sysinfo,,,"1.0",1395340956494
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1395340956494
+java.vm.version,sysinfo,,,"19.0-b09",1395340956494
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395340958164
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395340964454
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395340968374
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395340990744
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341001074
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341378322
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341379482
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341380412
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341381622
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341381632
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341383242
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1395341383302
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395341383372
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1395341383642
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1395341383732
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1395341383782
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1395352847167
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1395352847167
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1395352847167
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1395352847167
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395352847167
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1395352847167
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395352847167
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1395352847167
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395352847167
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1395352847167
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1395352847177
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1395352847177
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1395352847177
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1395352847177
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1395352847177
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1395352847177
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1395352847177
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1395352847177
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1395352847177
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1395352847177
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1395352847177
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1395352847177
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1395352847177
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1395352847177
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1395352847177
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload14.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload14.csv
new file mode 100644
index 00000000..a9e553be
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload14.csv
@@ -0,0 +1,266 @@
+what,kind,bundleId,bundleVersion,description,time
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1395352847177
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1395352847177
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1395352847177
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1395352847177
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1395352847177
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1395352847177
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1395352847177
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1395352847177
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1395352847177
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1395352847187
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1395352847187
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1395352847187
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1395352847187
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1395352847187
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1395352847187
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1395352847197
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1395352847197
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1395352847197
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1395352847197
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1395352847197
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1395352847197
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1395352847197
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1395352847197
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1395352847197
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1395352847197
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1395352847197
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1395352847197
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1395352847197
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1395352847197
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1395352847197
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1395352847197
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1395352847197
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1395352847197
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1395352847197
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1395352847197
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1395352847197
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1395352847197
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1395352847197
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1395352847197
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1395352847207
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1395352847207
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1395352847207
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1395352847207
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1395352847207
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1395352847207
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1395352847207
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1395352847207
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1395352847207
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1395352847207
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1395352847207
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1395352847207
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1395352847207
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1395352847207
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1395352847207
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1395352847207
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1395352847207
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1395352847207
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1395352847207
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1395352847207
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1395352847207
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1395352847207
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1395352847207
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1395352847207
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1395352847207
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1395352847207
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1395352847217
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1395352847217
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1395352847217
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1395352847217
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1395352847217
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395352847217
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395352847217
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1395352847217
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1395352847217
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1395352847217
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1395352847217
+os,sysinfo,,,"win32",1395352847217
+arch,sysinfo,,,"x86",1395352847217
+ws,sysinfo,,,"win32",1395352847217
+locale,sysinfo,,,"en_CA",1395352847217
+processors,sysinfo,,,"8",1395352847217
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1395352847217
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1395352847217
+java.specification.name,sysinfo,,,"Java Platform API Specification",1395352847217
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352847217
+java.specification.version,sysinfo,,,"1.6",1395352847217
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352847217
+java.version,sysinfo,,,"1.6.0_23",1395352847217
+java.vm.info,sysinfo,,,"mixed mode",1395352847217
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1395352847217
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1395352847217
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352847217
+java.vm.specification.version,sysinfo,,,"1.0",1395352847217
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352847217
+java.vm.version,sysinfo,,,"19.0-b09",1395352847217
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352849817
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352849867
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395352854917
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395352857737
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395352858817
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1395352858867
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395352858937
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1395352859167
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1395352859217
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1395352859257
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1395352859257
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1395352859267
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395352859267
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1395352859267
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395352859267
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395352859267
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395352859267
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395352859267
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1395352859267
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1395352859267
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1395352869285
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1395352869285
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1395352869285
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1395352869285
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395352869285
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1395352869285
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395352869285
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1395352869285
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395352869285
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1395352869285
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1395352869285
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1395352869285
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1395352869285
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1395352869285
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1395352869285
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1395352869285
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1395352869285
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1395352869285
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1395352869285
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1395352869295
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1395352869295
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1395352869295
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1395352869295
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1395352869295
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1395352869295
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1395352869295
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1395352869295
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1395352869295
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1395352869295
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1395352869295
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1395352869295
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1395352869295
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1395352869295
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1395352869295
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1395352869295
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1395352869295
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1395352869295
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1395352869295
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1395352869295
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1395352869295
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1395352869295
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1395352869295
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1395352869295
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1395352869295
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1395352869295
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1395352869305
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1395352869305
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1395352869305
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1395352869305
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1395352869305
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1395352869305
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1395352869305
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1395352869305
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1395352869315
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1395352869315
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1395352869315
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1395352869315
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1395352869315
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1395352869315
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1395352869315
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1395352869315
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1395352869315
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1395352869315
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1395352869315
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1395352869315
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1395352869315
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1395352869315
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1395352869315
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1395352869315
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1395352869315
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1395352869315
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1395352869315
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1395352869315
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1395352869315
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1395352869315
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1395352869315
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1395352869315
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1395352869315
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1395352869325
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1395352869325
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1395352869325
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1395352869325
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1395352869325
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1395352869325
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1395352869325
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1395352869325
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1395352869325
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1395352869325
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1395352869325
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1395352869325
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1395352869325
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1395352869325
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1395352869325
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1395352869325
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1395352869325
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395352869325
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395352869325
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1395352869325
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1395352869325
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1395352869325
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1395352869325
+os,sysinfo,,,"win32",1395352869325
+arch,sysinfo,,,"x86",1395352869325
+ws,sysinfo,,,"win32",1395352869325
+locale,sysinfo,,,"en_CA",1395352869325
+processors,sysinfo,,,"8",1395352869325
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1395352869325
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1395352869325
+java.specification.name,sysinfo,,,"Java Platform API Specification",1395352869325
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352869325
+java.specification.version,sysinfo,,,"1.6",1395352869325
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352869325
+java.version,sysinfo,,,"1.6.0_23",1395352869325
+java.vm.info,sysinfo,,,"mixed mode",1395352869325
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1395352869325
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1395352869325
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352869325
+java.vm.specification.version,sysinfo,,,"1.0",1395352869325
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1395352869325
+java.vm.version,sysinfo,,,"19.0-b09",1395352869325
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395352869475
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352871485
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352871525
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395352890425
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352890625
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352921465
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352921505
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352922505
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352923925
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352923955
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352925745
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352927595
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352943415
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395352947575
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1395353031886
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395353031946
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1395353035376
+started,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1395353035386
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395353128416
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395353129926
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395353139436
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395353149966
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1395353160166
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395353161056
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395353166226
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395353200466
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395353317853
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395353319537
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395353335059
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395354133138
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload15.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload15.csv
new file mode 100644
index 00000000..b1f23aab
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload15.csv
@@ -0,0 +1,276 @@
+what,kind,bundleId,bundleVersion,description,time
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354135698
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354136308
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395354203289
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354293551
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354296891
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354298161
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354301171
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395354308351
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354330041
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354344302
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354345842
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354592784
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354622234
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354627314
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354640225
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354673715
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395354734825
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395354739326
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395354741316
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395354741476
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395354742136
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395354911818
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1395354917408
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395354920738
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395354927678
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1395354927948
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395354927978
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395354931448
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395354932278
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395354933768
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395354934028
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395354935878
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354961109
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395354969039
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395354970349
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395354970519
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395354971249
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395354971539
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395354973199
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1395354996959
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395354999149
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395355046720
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395355047210
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355047480
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355049040
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355049900
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395355059090
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355059350
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355060890
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395355075260
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395355076050
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355076320
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1395355078170
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1395355078170
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1395355078170
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355081000
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355081170
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395355144081
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395355144831
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355145101
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355146811
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395355176971
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395355177851
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355178121
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355179671
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395355184371
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395355185321
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355185591
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355189021
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355189031
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355192751
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355194531
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395355204751
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395355205381
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355230271
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355231131
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355231431
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355253362
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395355253362
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355254612
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355329922
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355330892
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355331872
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355335432
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355349923
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355356043
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355372753
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355374733
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355401053
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355403243
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355425793
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355432313
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395355526925
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355574756
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355861964
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355863344
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355875734
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395355883554
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355952828
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355973979
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355974479
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355977169
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395355985530
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355988380
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355998150
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355998720
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395355999400
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356029691
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356035461
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356046191
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356046601
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356048181
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356106362
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395356147093
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395356147483
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356147813
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356149653
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356169544
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356170494
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1395356170494
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356170824
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356171194
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356171734
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356173794
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356196864
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356204014
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356208834
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356210114
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395356211284
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395356212234
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356212494
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356214084
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395356215554
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395356223965
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395356243955
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395356244675
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356244935
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356245565
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395356245695
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356246845
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356250475
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395356254855
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395356258635
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1395356259645
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395356261745
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395356263365
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395356275846
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356276106
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356278526
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356279036
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395356282716
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395356288446
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395356315006
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395356348238
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395356468681
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395357003297
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395357014317
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357014667
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357019107
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357075748
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357084538
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357105518
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357123898
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357445002
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357469012
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357473782
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357479122
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357481252
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395357523763
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395357523943
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395357526083
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357626054
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395357636274
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357637954
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395357638164
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395357705245
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357733075
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395357831376
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357832046
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395357834246
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395357840767
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357878207
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357931767
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357948428
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395357954618
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357955998
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395357974668
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358002748
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358003478
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358003758
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358005368
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358016028
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358017198
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358017478
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358019048
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358023918
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358024638
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358043719
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358044549
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358044819
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358047619
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358048129
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358051819
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395358069819
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395358087829
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358117379
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358118599
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358119939
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358122399
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395358124109
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395358129039
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358139720
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395358142761
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358142971
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395358145081
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358145741
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358146031
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358147591
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358156261
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358157401
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358157661
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358160861
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358160871
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358161161
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395358180511
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358186731
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358188091
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358188351
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358190941
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358209981
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358290972
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358292542
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358292812
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358295412
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395358329962
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358382433
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358383833
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358384093
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358385713
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358391223
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358391823
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358392113
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358393693
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395358405063
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395358405493
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395358405863
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395358406233
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395358406623
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358421083
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358422173
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358422443
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358425123
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358425633
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358429393
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358704486
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358711236
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358770808
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358789418
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358795468
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358809788
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358819578
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358819838
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358821458
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358824778
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358826788
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358827048
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358828588
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358843219
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358852869
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395358862549
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395358863399
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358863669
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358865209
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358873209
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358874299
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload2.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload2.csv
new file mode 100644
index 00000000..45003ffc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload2.csv
@@ -0,0 +1,254 @@
+what,kind,bundleId,bundleVersion,description,time
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394128630307
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394128632196
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394128636836
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394128637908
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.Terminate",1394128646348
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128649468
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128653097
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128653115
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128653140
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128656051
+started,bundle,org.eclipse.ui.externaltools,3.2.0.v20111007_r372,"org.eclipse.ui.externaltools",1394128657475
+started,bundle,org.eclipse.core.externaltools,1.0.100.v20111007_r372,"org.eclipse.core.externaltools",1394128657556
+error,log,,,"Error in final launch sequence",1394128659324
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128659340
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128661317
+error,log,,,"Error in final launch sequence",1394128671027
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128671035
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128673205
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394128675619
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128675627
+closed,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394128675633
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128678595
+activated,perspective,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui.cPerspective",1394128678595
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.perspectives.showPerspective",1394128678610
+executed,command,,,"com.altera.sbtgui.ui.cPerspective",1394128678610
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128688780
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128692734
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128694235
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.opendecl",1394128725443
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128725486
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128725515
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128729440
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128729440
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.asm.AsmEditor",1394128730892
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128734850
+closed,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.asm.AsmEditor",1394128734850
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128746225
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128768128
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128774058
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128775117
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128775387
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128777802
+error,log,,,"Error starting process.",1394128780221
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128780226
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128787818
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128791049
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128791796
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128796387
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128812355
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128819295
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128821056
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128855565
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128857032
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394128861717
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128862672
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128862949
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128865256
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128874064
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128874334
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128875822
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128881456
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128883037
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394128884569
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128885070
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128885855
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128890441
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128933024
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128934705
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128936432
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394128946962
+opened,view,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.views.TaskList",1394128947070
+activated,view,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.views.TaskList",1394128947097
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128950739
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394128951497
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128956090
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128965631
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128971437
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394128988332
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394128996312
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129010707
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394129011455
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129016022
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129037723
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394129049843
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394129051279
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129051551
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129053902
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129055295
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394129069863
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129070179
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129071636
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394129075019
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129079640
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129096412
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394129104638
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394129105472
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129105754
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129108032
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129116833
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394129117581
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129122217
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129132013
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394129142731
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394129144991
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129146714
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129150395
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129162587
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129172317
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394129174515
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129174804
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129176276
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129177764
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394129178464
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394129178995
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129179271
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129181575
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129184327
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129198870
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394129243790
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129429565
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129430926
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394129430934
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394129430940
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129432040
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129434180
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129436793
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394129447709
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394131160362
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394131164177
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394131164179
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394131164913
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131165178
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131167495
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131169937
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131171428
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394131171432
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131172527
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131174672
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131178713
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131182532
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394131223454
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131224887
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131225911
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394131225918
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131226066
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394131226219
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394131226219
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394131226219
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394131326222
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394131326225
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394131326225
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394131326225
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394131326225
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394131326225
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394131326225
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394131326225
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394131326225
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1394131326237
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.search,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.search",1394131326256
+stopped,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394131326256
+stopped,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394131326256
+stopped,bundle,org.eclipse.cdt.gdb.ui,7.0.0.201202111925,"org.eclipse.cdt.gdb.ui",1394131326284
+stopped,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394131326284
+stopped,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394131326284
+stopped,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394131326284
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.traditional,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.traditional",1394131326285
+stopped,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394131326285
+stopped,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394131326285
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.ui,1.0.1.201202152032,"org.eclipse.linuxtools.cdt.autotools.ui",1394131326287
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394131326287
+stopped,bundle,org.eclipse.cdt.managedbuilder.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.ui",1394131326288
+stopped,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394131326288
+stopped,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394131326288
+stopped,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394131326288
+stopped,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394131326288
+stopped,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394131326288
+stopped,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394131326288
+stopped,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394131326288
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394131656280
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394131656401
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394131656402
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394131656402
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394131656402
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394131656403
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394131656403
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394131656403
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394131656403
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394131656404
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394131656404
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394131656405
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394131656405
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394131656406
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394131656406
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394131656406
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394131656406
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394131656407
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394131656407
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394131656408
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394131656408
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394131656408
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394131656409
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394131656409
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394131656409
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394131656410
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394131656410
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394131656410
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394131656411
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394131656411
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394131656412
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394131656412
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394131656412
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394131656413
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394131656413
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394131656413
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394131656414
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394131656414
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394131656414
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394131656415
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394131656415
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394131656415
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394131656415
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394131656416
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394131656416
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394131656416
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394131656417
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394131656417
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394131656417
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394131656418
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394131656418
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394131656418
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394131656419
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394131656419
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394131656419
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394131656419
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394131656420
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394131656420
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394131656421
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394131656421
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394131656422
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394131656422
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394131656422
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394131656422
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394131656423
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394131656423
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394131656423
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394131656424
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394131656424
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394131656425
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394131656425
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394131656425
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394131656426
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394131656426
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394131656427
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload3.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload3.csv
new file mode 100644
index 00000000..c0d378e8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload3.csv
@@ -0,0 +1,265 @@
+what,kind,bundleId,bundleVersion,description,time
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394131656427
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394131656427
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394131656428
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394131656428
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394131656429
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394131656429
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394131656429
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394131656429
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394131656430
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394131656430
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394131656430
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394131656431
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394131656431
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394131656432
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394131656432
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394131656432
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394131656432
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394131656433
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394131656433
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394131656433
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394131656433
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394131656433
+os,sysinfo,,,"win32",1394131656435
+arch,sysinfo,,,"x86",1394131656435
+ws,sysinfo,,,"win32",1394131656435
+locale,sysinfo,,,"en_CA",1394131656435
+processors,sysinfo,,,"8",1394131656435
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394131656435
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394131656435
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394131656435
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394131656435
+java.specification.version,sysinfo,,,"1.6",1394131656435
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394131656435
+java.version,sysinfo,,,"1.6.0_23",1394131656435
+java.vm.info,sysinfo,,,"mixed mode",1394131656435
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394131656435
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394131656435
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394131656435
+java.vm.specification.version,sysinfo,,,"1.0",1394131656435
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394131656435
+java.vm.version,sysinfo,,,"19.0-b09",1394131656435
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394131656451
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394131656471
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394131718443
+started,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394131718762
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394131726242
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394131726410
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131739346
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131740648
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394131740653
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394131740937
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131740948
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131741682
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394131741987
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394131741990
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394131741990
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394131741991
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131742077
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131744140
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131748362
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131752196
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394131753576
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394131759941
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131764237
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131767617
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394131770055
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394131771404
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394131775617
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394131775619
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394131777870
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131789095
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131806799
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394131806807
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131811582
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131839989
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131842883
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131923940
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.window.preferences",1394131923945
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394131926569
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131926839
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131928414
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394131930548
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131935487
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131945022
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.window.preferences",1394131945026
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131947903
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131949075
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394131949078
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131949353
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131949369
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131950243
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131952326
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131956504
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394131960250
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394132868631
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394133339022
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394133341996
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394133343086
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394133343158
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394133343249
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394133343624
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394133343624
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394490663337
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394490663337
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394490663337
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394490663337
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394490663337
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394490663337
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394490663337
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394490663337
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394490663337
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394490663337
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394490663337
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394490663337
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394490663337
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394490663337
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394490663337
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394490663337
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394490663337
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394490663337
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394490663337
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394490663337
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394490663337
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394490663337
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394490663337
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394490663337
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394490663337
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394490663337
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394490663337
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394490663337
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394490663337
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394490663337
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394490663337
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394490663337
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394490663337
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394490663337
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394490663352
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394490663352
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394490663352
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394490663352
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394490663352
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394490663352
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394490663352
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394490663352
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394490663352
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394490663352
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394490663352
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394490663352
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394490663352
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394490663352
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394490663352
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394490663352
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394490663352
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394490663352
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394490663352
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394490663352
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394490663352
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394490663352
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394490663352
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394490663352
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394490663352
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394490663352
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394490663352
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394490663352
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394490663352
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394490663352
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394490663352
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394490663352
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394490663352
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394490663352
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394490663352
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394490663352
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394490663352
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394490663352
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394490663352
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394490663352
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394490663368
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394490663368
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394490663368
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394490663368
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394490663368
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394490663368
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394490663368
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394490663368
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394490663368
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394490663368
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394490663368
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394490663368
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394490663368
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394490663368
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394490663368
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394490663368
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394490663368
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394490663368
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394490663368
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394490663368
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394490663368
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394490663368
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394490663368
+os,sysinfo,,,"win32",1394490663368
+arch,sysinfo,,,"x86",1394490663368
+ws,sysinfo,,,"win32",1394490663368
+locale,sysinfo,,,"en_CA",1394490663368
+processors,sysinfo,,,"8",1394490663368
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394490663368
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394490663368
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394490663368
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394490663368
+java.specification.version,sysinfo,,,"1.6",1394490663368
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394490663368
+java.version,sysinfo,,,"1.6.0_23",1394490663368
+java.vm.info,sysinfo,,,"mixed mode",1394490663368
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394490663368
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394490663368
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394490663368
+java.vm.specification.version,sysinfo,,,"1.0",1394490663368
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394490663368
+java.vm.version,sysinfo,,,"19.0-b09",1394490663368
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394490663727
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394490664444
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394490665755
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394490665786
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394490678983
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394490679171
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394490679202
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394490819430
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394490819695
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491142835
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491150463
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491151617
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491152787
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491154737
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491156001
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491157623
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491158949
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394491159012
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394491159090
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394491159171
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394491159283
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394809109763
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394809109763
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394809109763
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394809109763
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394809109763
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394809109763
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394809109778
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394809109778
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394809109778
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394809109778
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394809109778
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394809109778
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394809109778
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394809109778
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394809109778
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394809109778
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394809109778
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394809109778
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394809109778
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394809109778
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394809109778
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394809109778
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394809109778
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394809109778
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394809109778
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload4.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload4.csv
new file mode 100644
index 00000000..8f3039f4
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload4.csv
@@ -0,0 +1,251 @@
+what,kind,bundleId,bundleVersion,description,time
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394809109778
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394809109778
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394809109778
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394809109778
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394809109778
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394809109778
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394809109778
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394809109778
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394809109778
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394809109778
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394809109778
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394809109778
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394809109778
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394809109778
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394809109778
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394809109778
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394809109778
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394809109778
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394809109778
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394809109778
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394809109778
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394809109778
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394809109778
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394809109778
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394809109778
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394809109778
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394809109841
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394809109841
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394809109841
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394809109841
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394809109841
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394809109841
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394809109841
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394809109841
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394809109841
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394809109841
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394809109841
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394809109841
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394809109841
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394809109841
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394809109841
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394809109841
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394809109841
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394809109841
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394809109841
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394809109841
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394809109841
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394809109841
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394809109841
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394809109841
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394809109841
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394809109841
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394809109841
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394809109841
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394809109841
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394809109841
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394809109841
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394809109841
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394809109841
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394809109841
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394809109841
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394809109841
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394809109841
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394809109856
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394809109872
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394809109872
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394809109872
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394809109872
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394809109872
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394809109872
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394809109872
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394809109872
+os,sysinfo,,,"win32",1394809109872
+arch,sysinfo,,,"x86",1394809109872
+ws,sysinfo,,,"win32",1394809109872
+locale,sysinfo,,,"en_CA",1394809109872
+processors,sysinfo,,,"8",1394809109872
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394809109872
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394809109872
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394809109872
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394809109872
+java.specification.version,sysinfo,,,"1.6",1394809109872
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394809109872
+java.version,sysinfo,,,"1.6.0_23",1394809109872
+java.vm.info,sysinfo,,,"mixed mode",1394809109872
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394809109872
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394809109872
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394809109872
+java.vm.specification.version,sysinfo,,,"1.0",1394809109872
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394809109872
+java.vm.version,sysinfo,,,"19.0-b09",1394809109872
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394809110137
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394809110839
+started,bundle,org.eclipse.epp.usagedata.ui,1.3.1.R201106061540,"org.eclipse.epp.usagedata.ui",1394809110886
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809111011
+opened,view,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.views.ProblemView",1394809113616
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809118857
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809122385
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809122432
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394809147750
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809148702
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809168888
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809177624
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809178435
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809178934
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809185861
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394809191742
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809201242
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394809201757
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809201757
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394809204284
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394809204549
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394809207856
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394809207856
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394809207856
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394809207856
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809207872
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809213207
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809215968
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809217279
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394809217279
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809217575
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809219759
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809220040
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809222255
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809226779
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809230632
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809234282
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394809238151
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394809238151
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394809242769
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809244609
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394809244750
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394809244765
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809259634
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809306480
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809343483
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394809436411
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394809436458
+started,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394809440389
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809447846
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809447892
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809478546
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809481947
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1394809492289
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809493475
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809496080
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394809498280
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809502242
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809503178
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809503459
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809505081
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809510089
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809510744
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809511462
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809511727
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809512710
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809513006
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809514566
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809515876
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809518934
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809520010
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809520900
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809526235
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809528980
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809530384
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809533114
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809533879
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809534144
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809537123
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809537139
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809540961
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394809546015
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394809554158
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394809555983
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394809558199
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809566123
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809569072
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809569758
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809583611
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809586356
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809586621
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809589055
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809590818
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394809591567
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809596217
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809608323
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394809685901
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809687585
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809688412
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809688693
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809691002
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809694309
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394809695058
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809699708
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809720706
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.opendecl",1394809731626
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809731657
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809731688
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809742561
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809752389
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809759799
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809770235
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809797394
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809798190
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809799266
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809799953
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809805818
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809810217
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809824538
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809830294
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809831667
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1394809842119
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394809844241
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394809847454
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.indent",1394809849794
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394809853226
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.selectAll",1394809854802
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394809858967
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.indent",1394809861338
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809865784
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809869543
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394809870292
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809874959
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809879545
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809881635
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809881916
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809883460
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809886814
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394809887579
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809892230
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394809898329
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809903011
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394809911466
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809916039
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809925040
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809928597
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809929907
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809930188
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809932528
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809946271
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394809947020
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394809951671
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809973261
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394809981123
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394809982449
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394809982855
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809983136
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394809985257
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394809985398
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload5.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload5.csv
new file mode 100644
index 00000000..46b8ac9b
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload5.csv
@@ -0,0 +1,266 @@
+what,kind,bundleId,bundleVersion,description,time
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810003525
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810004414
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810012151
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810021574
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810023867
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810035645
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810048436
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810049029
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394810083817
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394810085720
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394810127314
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810128422
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394810129342
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394810604921
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811572207
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811584484
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811618913
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811619568
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394811628741
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811629833
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394811639021
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394811639458
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811668099
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394811668879
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811673546
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811694995
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811698240
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811715182
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811720345
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394811721094
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811725760
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811751734
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811762841
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394811763746
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394811766587
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811769006
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811769068
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811771049
+opened,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.VariableView",1394811771174
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394811771237
+opened,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811771315
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.debugPerspective",1394811771330
+opened,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811771502
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811774840
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394811774981
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394811775714
+executed,command,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.commands.StepOver",1394811776619
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811785308
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811787304
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811788116
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811788630
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811789317
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811789660
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811790362
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811791189
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811797850
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811802779
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811803325
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811803669
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811804371
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811804698
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811805275
+activated,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811805556
+activated,view,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.debug.ui.disassembly.view",1394811820423
+closed,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811820423
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394811824401
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811824401
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.perspectives.showPerspective",1394811824416
+executed,command,,,"com.altera.sbtgui.ui.cPerspective",1394811824416
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811835071
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394811839845
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811841701
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394811844228
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394811844634
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394811846194
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811846474
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811848846
+error,log,,,"Internal Error",1394811851345
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811851346
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811851705
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394811852470
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811857089
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811863173
+opened,view,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui.DebugView",1394811863204
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811863236
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811865092
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811870053
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394811874483
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394811876137
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394811884093
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811895278
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811898351
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394811907882
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394811911408
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394811913436
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394811913841
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811917835
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394811918599
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811923297
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811945948
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1394811947976
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394811951876
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394811954060
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811958818
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394811959582
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811964217
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394811976416
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1394811978475
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394811980971
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394811981564
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811983592
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394811986322
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811990752
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394811991517
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394811996152
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394812019006
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812019286
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812020831
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394812024310
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394812028814
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394812039017
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394812042168
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394812043369
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812043650
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812046130
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812076727
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812076930
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812077117
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812077289
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812077476
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812077663
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812077835
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812078006
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812078194
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812078381
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812078584
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812078833
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812079067
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812079270
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812079473
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812079676
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812079878
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812080097
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812080300
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812080518
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812080846
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812081111
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812081735
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812085011
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812085494
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812085853
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812086306
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812086774
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812087117
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812087507
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394812087850
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812089738
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812090096
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812090362
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812090596
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812090830
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812091048
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812091360
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812091656
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812091984
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1394812092390
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394812095868
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394812096399
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812096664
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812098973
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394812103824
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394812104573
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394812109224
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812172028
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812240245
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812242741
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812244364
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394812244566
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394812244979
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394812244979
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394812244979
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394812245962
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394812245962
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394812245962
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394812245962
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394812245962
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394812245962
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394812245977
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394812245977
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394812245977
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394820302433
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394820302433
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394820302433
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394820302433
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394820302433
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394820302433
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394820302433
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394820302433
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394820302433
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394820302433
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394820302433
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394820302433
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394820302433
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394820302433
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394820302433
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394820302433
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394820302433
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394820302433
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394820302433
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394820302433
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394820302433
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394820302433
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394820302433
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394820302433
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394820302433
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394820302433
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394820302433
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394820302433
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394820302433
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394820302433
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394820302433
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394820302433
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394820302433
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394820302433
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394820302433
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394820302433
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394820302433
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394820302448
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394820302448
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394820302448
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394820302448
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394820302448
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394820302448
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394820302448
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394820302448
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394820302448
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394820302448
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394820302448
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394820302448
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394820302448
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394820302448
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394820302448
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394820302448
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394820302448
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394820302479
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394820302479
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394820302479
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394820302479
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394820302479
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394820302479
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394820302479
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394820302479
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394820302479
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394820302479
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394820302479
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394820302479
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394820302479
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394820302479
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394820302479
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394820302479
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394820302479
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394820302479
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394820302495
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394820302495
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394820302495
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload6.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload6.csv
new file mode 100644
index 00000000..abeaf1db
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload6.csv
@@ -0,0 +1,276 @@
+what,kind,bundleId,bundleVersion,description,time
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394820302495
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394820302495
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394820302495
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394820302495
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394820302495
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394820302495
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394820302495
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394820302495
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394820302495
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394820302495
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394820302495
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394820302495
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394820302495
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394820302495
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394820302495
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394820302495
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394820302495
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394820302511
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394820302511
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394820302511
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394820302511
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394820302511
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394820302511
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394820302511
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394820302511
+os,sysinfo,,,"win32",1394820302511
+arch,sysinfo,,,"x86",1394820302511
+ws,sysinfo,,,"win32",1394820302511
+locale,sysinfo,,,"en_CA",1394820302511
+processors,sysinfo,,,"8",1394820302511
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394820302511
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394820302511
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394820302511
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394820302511
+java.specification.version,sysinfo,,,"1.6",1394820302511
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394820302511
+java.version,sysinfo,,,"1.6.0_23",1394820302511
+java.vm.info,sysinfo,,,"mixed mode",1394820302511
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394820302511
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394820302511
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394820302511
+java.vm.specification.version,sysinfo,,,"1.0",1394820302511
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394820302511
+java.vm.version,sysinfo,,,"19.0-b09",1394820302511
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394820302667
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394820351619
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394820478369
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394820481567
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394820485405
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394820493813
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394820498649
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394820498649
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394821145613
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821148998
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821149030
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394821153663
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821163508
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821163539
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394821167892
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394821184134
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821185476
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394821192403
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821194212
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821344962
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821345945
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821346725
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821349190
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821353261
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821370172
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821385757
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394821387411
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394821387458
+error,log,,,"Unable to validate connection settings.",1394821397629
+error,log,,,"Unable to validate connection settings.",1394821397629
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821397645
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821418799
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394821424962
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821425087
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821431670
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821433012
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394821433152
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394821433168
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394821433168
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394821433168
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394821433168
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394821433230
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821446851
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821452234
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821457023
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394821457787
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821462423
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821512282
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394821513499
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394821518194
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394821522547
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821526572
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394821526837
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821527164
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821527305
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394821527305
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821531956
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394821561050
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821561346
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821562859
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394821566354
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821571020
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821579522
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821593250
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821596386
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821622797
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821623764
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821626104
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821627415
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821639801
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394821648927
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1394821651127
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394821659083
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394821669161
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394821670237
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394821670658
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394821678193
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821682109
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394821697085
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394821701952
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821702233
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821704666
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821710454
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394821711218
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821715838
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394821727866
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821732532
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394821745480
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394821756977
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394821758865
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821759146
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821761423
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821766852
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394821767601
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394821772252
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394821915823
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822070220
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822071824
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822078256
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822078430
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822081703
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822084507
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822085703
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822087267
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822087951
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822089707
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822090470
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822103057
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822106020
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822158362
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822158826
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822169195
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394822170396
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394822170489
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822173173
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822176948
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822183094
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822184467
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394822184467
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822184779
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822185138
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822185746
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822187821
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822193172
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822195449
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822266179
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822266210
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822266210
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822267833
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822270719
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822287551
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822293183
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822294181
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394822294602
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822295928
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394822296755
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822301421
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822559270
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822572686
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822572701
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822575478
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394822576289
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822580987
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822603841
+started,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394822607975
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394822611329
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1394822611407
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394822646709
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822657208
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822665679
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822675694
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394822677145
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822680374
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822685225
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822695318
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822695896
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394822704164
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822707767
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822711464
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822713586
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822715084
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822719171
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394822721433
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394822722650
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822722946
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822728562
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822733367
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394822744786
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822749468
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822789013
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394822793943
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394822794473
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394822795815
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822796096
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822798358
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822800947
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394822801712
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822806363
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822822602
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822825363
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394822854707
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1394822858404
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1394822858560
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394822867202
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394822867467
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394822868528
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822868825
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394822871180
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394822893301
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822898184
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394822898948
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822903614
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822928917
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822938106
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394822942458
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394822944845
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1394822947388
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394822962379
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822964860
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1394822972285
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1394822974001
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394822979742
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394823910011
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394823977636
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394823979425
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824212613
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824237729
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824238509
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824243159
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824272378
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824277013
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824300600
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824305251
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824323456
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394824327481
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394824332301
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824332598
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824332644
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824333331
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824333331
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824337982
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824339682
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824344333
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824387326
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824396109
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394824401725
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824416045
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824418978
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394824460396
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824460692
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824463173
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload7.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload7.csv
new file mode 100644
index 00000000..5866ff35
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload7.csv
@@ -0,0 +1,251 @@
+what,kind,bundleId,bundleVersion,description,time
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824466230
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824467088
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824471989
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824496559
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824501209
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824593763
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824598415
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824613767
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824618435
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824673161
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824674971
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824677623
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824695113
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824697906
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824698686
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824703337
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824729706
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824734389
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824751661
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1394824782803
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394824783973
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394824793584
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394824795612
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824795893
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824798265
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824801806
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824802633
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824807284
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824816411
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824823634
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394824862276
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824862573
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394824874476
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394824874492
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824879702
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824880482
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824885149
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394824960543
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394824965178
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394825897494
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394825902301
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394825921816
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394825926467
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394825939930
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394825944596
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394825965204
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394825969870
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394826576433
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394826581100
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394826603314
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394828066095
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394828066095
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394828066095
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394828066095
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394828066095
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394828066095
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394828066095
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394828066095
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394828066095
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394828066095
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394828066095
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394828066095
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394828066095
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394828066095
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394828066095
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394828066095
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394828066095
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394828066095
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394828066095
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394828066095
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394828066095
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394828066095
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394828066095
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394828066095
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394828066095
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394828066095
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394828066095
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394828066095
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394828066095
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394828066095
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394828066095
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394828066095
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394828066095
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394828066095
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394828066111
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394828066111
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394828066111
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394828066111
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394828066111
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394828066111
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394828066111
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394828066111
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394828066111
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394828066111
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394828066111
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394828066111
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394828066111
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394828066111
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394828066111
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394828066111
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394828066111
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394828066111
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394828066111
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394828066111
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394828066111
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394828066111
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394828066111
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394828066111
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394828066111
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394828066111
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394828066111
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394828066111
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394828066111
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394828066111
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394828066111
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394828066111
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394828066111
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394828066111
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394828066111
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394828066111
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394828066111
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394828066111
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394828066111
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394828066126
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394828066126
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394828066126
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394828066126
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394828066126
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394828066126
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394828066126
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394828066126
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394828066126
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394828066126
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394828066126
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394828066126
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394828066126
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394828066126
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394828066126
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394828066126
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394828066126
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394828066126
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394828066126
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394828066126
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394828066126
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394828066126
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394828066126
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394828066126
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394828066126
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394828066126
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394828066126
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394828066126
+os,sysinfo,,,"win32",1394828066126
+arch,sysinfo,,,"x86",1394828066126
+ws,sysinfo,,,"win32",1394828066126
+locale,sysinfo,,,"en_CA",1394828066126
+processors,sysinfo,,,"8",1394828066126
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394828066126
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394828066126
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394828066126
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394828066126
+java.specification.version,sysinfo,,,"1.6",1394828066126
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394828066126
+java.version,sysinfo,,,"1.6.0_23",1394828066126
+java.vm.info,sysinfo,,,"mixed mode",1394828066126
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394828066126
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394828066126
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394828066126
+java.vm.specification.version,sysinfo,,,"1.0",1394828066126
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394828066126
+java.vm.version,sysinfo,,,"19.0-b09",1394828066126
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394828068498
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828068794
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828068794
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828070619
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394828072694
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394828072694
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828074738
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394828074909
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394828074925
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394828074925
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394828074925
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394828074925
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394828075159
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828098061
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828098826
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828103477
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828116833
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828121500
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828138820
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828143487
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828210390
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828215057
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828242175
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828246826
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828266049
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828270700
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828314356
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828319148
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828359746
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828364413
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828370311
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828370342
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828375101
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828375132
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394828391202
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394828391983
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828392263
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828394635
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828403044
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828403809
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828408491
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828432454
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828437120
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828477947
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828482598
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828504611
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828509278
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828535769
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828540435
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828554351
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828559033
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828569954
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828574636
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828590174
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394828604605
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394828607382
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828607647
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828610034
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828613029
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828613840
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828618538
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828647992
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394828658164
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394828661003
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828661284
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828663671
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828673827
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828674623
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828679321
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828691770
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394828714094
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394828717183
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394828719273
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828719539
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394828721894
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828726106
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828726902
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828731553
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828768759
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828773441
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload8.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload8.csv
new file mode 100644
index 00000000..0aeb1cdc
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload8.csv
@@ -0,0 +1,254 @@
+what,kind,bundleId,bundleVersion,description,time
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828779494
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828784161
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394828797780
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394828802446
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394829706075
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394829777896
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394829782587
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394831617062
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394831619132
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394831657555
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394831662984
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394831667584
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394831773107
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394831774211
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394831774265
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394831774443
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394832028378
+error,log,,,"Problems occurred when invoking code from plug-in: ""org.eclipse.ui.console"".",1394832028596
+error,log,,,"An exception occurred during console notification",1394832028598
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394832028636
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394832028637
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394832028637
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394832028637
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394832028638
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394832028638
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394832028638
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394832028638
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394832028638
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394832028651
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394832028651
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394832028651
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394832056875
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394832056876
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394832056876
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394832056876
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394832056877
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394832056877
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394832056878
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394832056878
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394832056878
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394832056878
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394832056879
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394832056879
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394832056879
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394832056880
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394832056880
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394832056881
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394832056881
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394832056881
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394832056881
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394832056882
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394832056882
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394832056883
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394832056883
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394832056883
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394832056884
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394832056884
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394832056885
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394832056885
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394832056886
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394832056886
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394832056886
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394832056887
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394832056888
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394832056888
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394832056889
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394832056889
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394832056889
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394832056890
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394832056890
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394832056891
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394832056891
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394832056891
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394832056892
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394832056892
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394832056892
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394832056893
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394832056893
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394832056894
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394832056894
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394832056894
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394832056895
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394832056895
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394832056895
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394832056896
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394832056896
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394832056896
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394832056897
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394832056897
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394832056898
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394832056898
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394832056899
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394832056899
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394832056900
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394832056900
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394832056901
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394832056901
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394832056901
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394832056901
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394832056902
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394832056902
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394832056902
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394832056903
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394832056903
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394832056904
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394832056904
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394832056904
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394832056905
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394832056905
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394832056906
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394832056906
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394832056906
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394832056907
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394832056908
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394832056908
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394832056908
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394832056908
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394832056909
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394832056909
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394832056910
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394832056910
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394832056911
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394832056911
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394832056911
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394832056912
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394832056912
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394832056912
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394832056913
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394832056913
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394832056913
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394832056913
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394832056913
+os,sysinfo,,,"win32",1394832056915
+arch,sysinfo,,,"x86",1394832056915
+ws,sysinfo,,,"win32",1394832056915
+locale,sysinfo,,,"en_CA",1394832056915
+processors,sysinfo,,,"8",1394832056915
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394832056915
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394832056915
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394832056915
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394832056915
+java.specification.version,sysinfo,,,"1.6",1394832056915
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394832056915
+java.version,sysinfo,,,"1.6.0_23",1394832056915
+java.vm.info,sysinfo,,,"mixed mode",1394832056915
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394832056915
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394832056915
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394832056915
+java.vm.specification.version,sysinfo,,,"1.0",1394832056915
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394832056915
+java.vm.version,sysinfo,,,"19.0-b09",1394832056915
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394832063794
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394832063796
+opened,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394832063859
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394832065519
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394832065662
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394832065667
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394832065668
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394832065668
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394832065676
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394832065701
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394832118977
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394832119772
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394832124384
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394832176541
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394832181151
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394833084799
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834048267
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834049836
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834063236
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834079599
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834084227
+error,log,,,"Unable to validate connection settings.",1394834195870
+error,log,,,"Unable to validate connection settings.",1394834195874
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834195887
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834198414
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834199291
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834204371
+error,log,,,"Unable to validate connection settings.",1394834211669
+error,log,,,"Unable to validate connection settings.",1394834211671
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834211677
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834213149
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394834216859
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394834221314
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834221386
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834244635
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834251927
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834260521
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394834262251
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394834262401
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834266512
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834269982
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834275052
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834283970
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394834283976
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834284267
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834284580
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834285155
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834287328
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834291524
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834292960
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834302163
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834303104
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834308768
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834308824
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834318867
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834324981
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394834324987
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834326911
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834328294
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394834328345
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834328496
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394834328648
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394834328649
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394834328649
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394834328649
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394834328649
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394834328649
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394834328649
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394834328649
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394834328649
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394834328650
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394834328650
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394834328650
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1394834328650
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.search,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.search",1394834328660
+stopped,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394834328660
+stopped,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394834328660
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394834351292
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394834351293
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394834351294
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394834351294
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394834351294
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394834351295
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394834351295
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394834351296
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394834351296
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394834351296
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394834351297
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394834351297
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394834351297
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394834351298
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394834351298
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394834351299
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394834351299
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394834351299
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394834351299
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394834351300
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394834351300
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394834351300
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394834351301
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394834351301
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394834351302
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload9.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload9.csv
new file mode 100644
index 00000000..8d2465de
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload9.csv
@@ -0,0 +1,279 @@
+what,kind,bundleId,bundleVersion,description,time
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394834351302
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394834351303
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394834351303
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394834351303
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394834351304
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394834351304
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394834351304
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394834351305
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394834351305
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394834351306
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394834351306
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394834351307
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394834351307
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394834351307
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394834351308
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394834351308
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394834351308
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394834351308
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394834351309
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394834351309
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394834351309
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394834351310
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394834351310
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394834351310
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394834351311
+started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1394834351311
+started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1394834351311
+started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1394834351311
+started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1394834351312
+started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1394834351312
+started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1394834351312
+started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1394834351313
+started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1394834351313
+started,bundle,org.eclipse.jgit,1.3.0.201202151440-r,"org.eclipse.jgit",1394834351313
+started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1394834351313
+started,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1394834351314
+started,bundle,org.eclipse.ltk.core.refactoring,3.5.201.r372_v20111101-0700,"org.eclipse.ltk.core.refactoring",1394834351314
+started,bundle,org.eclipse.ltk.ui.refactoring,3.6.0.v20110928-1453,"org.eclipse.ltk.ui.refactoring",1394834351315
+started,bundle,org.eclipse.mylyn.bugzilla.core,3.6.5.v20120123-0100,"org.eclipse.mylyn.bugzilla.core",1394834351315
+started,bundle,org.eclipse.mylyn.bugzilla.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.bugzilla.ui",1394834351316
+started,bundle,org.eclipse.mylyn.commons.identity,0.8.0.v20110608-1400,"org.eclipse.mylyn.commons.identity",1394834351316
+started,bundle,org.eclipse.mylyn.commons.net,3.6.0.v20110608-1400,"org.eclipse.mylyn.commons.net",1394834351316
+started,bundle,org.eclipse.mylyn.commons.ui,3.6.1.v20110720-0100,"org.eclipse.mylyn.commons.ui",1394834351316
+started,bundle,org.eclipse.mylyn.context.core,3.6.1.v20110720-0100,"org.eclipse.mylyn.context.core",1394834351317
+started,bundle,org.eclipse.mylyn.context.ui,3.6.1.v20120112-0100,"org.eclipse.mylyn.context.ui",1394834351317
+started,bundle,org.eclipse.mylyn.monitor.ui,3.6.0.v20110608-1400,"org.eclipse.mylyn.monitor.ui",1394834351317
+started,bundle,org.eclipse.mylyn.tasks.ui,3.6.5.v20120215-0100,"org.eclipse.mylyn.tasks.ui",1394834351318
+started,bundle,org.eclipse.mylyn.team.ui,3.6.1.v20110825-0100,"org.eclipse.mylyn.team.ui",1394834351318
+started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1394834351319
+started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1394834351319
+started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1394834351319
+started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1394834351320
+started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1394834351320
+started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1394834351321
+started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1394834351321
+started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1394834351321
+started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1394834351322
+started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1394834351322
+started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1394834351323
+started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1394834351323
+started,bundle,org.eclipse.ui.navigator,3.5.101.v20120106-1355,"org.eclipse.ui.navigator",1394834351323
+started,bundle,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.resources",1394834351323
+started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1394834351323
+started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1394834351324
+started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1394834351324
+started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1394834351325
+started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1394834351325
+started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1394834351325
+started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1394834351326
+started,bundle,com.altera.sbtgui.integration,12.1.1.243,"com.altera.sbtgui.integration",1394834351326
+started,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394834351326
+started,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394834351327
+started,bundle,com.altera.systemconsole,12.1.1.243,"com.altera.systemconsole",1394834351327
+started,bundle,com.altera.systemconsole.designs.plugin,12.1.1.243,"com.altera.systemconsole.designs.plugin",1394834351327
+started,bundle,com.altera.systemconsole.scripting,12.1.1.243,"com.altera.systemconsole.scripting",1394834351327
+started,bundle,com.altera.utilities,12.1.1.243,"com.altera.utilities",1394834351327
+os,sysinfo,,,"win32",1394834351329
+arch,sysinfo,,,"x86",1394834351329
+ws,sysinfo,,,"win32",1394834351329
+locale,sysinfo,,,"en_CA",1394834351329
+processors,sysinfo,,,"8",1394834351329
+java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1394834351329
+java.runtime.version,sysinfo,,,"1.6.0_23-b05",1394834351329
+java.specification.name,sysinfo,,,"Java Platform API Specification",1394834351329
+java.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394834351329
+java.specification.version,sysinfo,,,"1.6",1394834351329
+java.vendor,sysinfo,,,"Sun Microsystems Inc.",1394834351329
+java.version,sysinfo,,,"1.6.0_23",1394834351329
+java.vm.info,sysinfo,,,"mixed mode",1394834351329
+java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1394834351329
+java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1394834351329
+java.vm.specification.vendor,sysinfo,,,"Sun Microsystems Inc.",1394834351329
+java.vm.specification.version,sysinfo,,,"1.0",1394834351329
+java.vm.vendor,sysinfo,,,"Sun Microsystems Inc.",1394834351329
+java.vm.version,sysinfo,,,"19.0-b09",1394834351329
+opened,view,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.views.ProblemView",1394834351883
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394834355313
+error,log,,,"Error starting process.",1394834356569
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834356580
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834359085
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834363758
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834365992
+error,log,,,"Error starting process.",1394834366948
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834366952
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834368219
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394834369114
+started,bundle,com.altera.sbtgui.core,12.1.1.243,"com.altera.sbtgui.core",1394834369315
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1394834369346
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834372418
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834373362
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394834374303
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834376318
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394834376493
+started,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394834376498
+started,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394834376498
+started,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394834376499
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394834376506
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394834376535
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834391391
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834392184
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834396802
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834422663
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834427286
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834469970
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834474578
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834533298
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834537936
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394834736248
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394834743546
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394834746995
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834747270
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834749621
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834752207
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834753386
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834757980
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834770273
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834774886
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834828906
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834841058
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394834842654
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394834842693
+opened,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394834846182
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1394834846215
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1394834851377
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394834853523
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834853793
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394834856097
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834858231
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834859259
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834863872
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834878546
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834883151
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394834941662
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394834946288
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1394835022237
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1394835026859
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394835096593
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837334354
+error,log,,,"Unable to validate connection settings.",1394837342894
+error,log,,,"Unable to validate connection settings.",1394837342898
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837342903
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837345799
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837380859
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837392660
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1394837394053
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837397651
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837400985
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837410904
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837412552
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394837412556
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837412840
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837413145
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837413676
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837415843
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837421626
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837425430
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837436136
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837437094
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394837445188
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837445269
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837445350
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837447724
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837459466
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394837459471
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837462505
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837463955
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1394837463959
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837464238
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837465143
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837465688
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837467368
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837473896
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837478022
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1394837483118
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837483382
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837485454
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837489770
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837490726
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837496907
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837527170
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1394837527175
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837529244
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837530325
+started,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1394837530934
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1394837533516
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1394837533672
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1394837533672
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1394837533672
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1394837533672
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1394837533672
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1394837533672
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394837533672
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394837533672
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394837533672
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1394837533673
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1394837533673
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1394837533673
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1394837533673
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.search,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.search",1394837533674
+stopped,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1394837533674
+stopped,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1394837533674
+stopped,bundle,org.eclipse.cdt.gdb.ui,7.0.0.201202111925,"org.eclipse.cdt.gdb.ui",1394837533674
+stopped,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1394837533674
+stopped,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1394837533674
+stopped,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394837533674
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.traditional,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.traditional",1394837533685
+stopped,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1394837533685
+stopped,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394837533685
+activated,perspective,com.altera.sbtgui.ui,,"com.altera.sbtgui.ui.cPerspective",1394837547691
+started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1394837547691
+started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1394837547692
+started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1394837547692
+started,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1394837547692
+started,bundle,org.eclipse.cdt.codan.core,2.0.0.201202111925,"org.eclipse.cdt.codan.core",1394837547693
+started,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1394837547693
+started,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1394837547694
+started,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1394837547694
+started,bundle,org.eclipse.cdt.core,5.3.2.201202111925,"org.eclipse.cdt.core",1394837547694
+started,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1394837547695
+started,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1394837547695
+started,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1394837547695
+started,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1394837547696
+started,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1394837547696
+started,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1394837547697
+started,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1394837547697
+started,bundle,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui",1394837547697
+started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1394837547697
+started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1394837547698
+started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1394837547698
+started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1394837547698
+started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1394837547699
+started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1394837547699
+started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1394837547699
+started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1394837547700
+started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1394837547700
+started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1394837547701
+started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1394837547701
+started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1394837547701
+started,bundle,org.eclipse.core.variables,3.2.500.v20110928-1503,"org.eclipse.core.variables",1394837547701
+started,bundle,org.eclipse.debug.core,3.7.1.v20111129-2031,"org.eclipse.debug.core",1394837547702
+started,bundle,org.eclipse.debug.ui,3.7.102.v20111129-1423_r372,"org.eclipse.debug.ui",1394837547703
+started,bundle,org.eclipse.egit.core,1.3.0.201202151440-r,"org.eclipse.egit.core",1394837547703
+started,bundle,org.eclipse.egit.ui,1.3.0.201202151440-r,"org.eclipse.egit.ui",1394837547704
+started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1394837547704
+started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1394837547704
+started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1394837547705
+started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1394837547705
+started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1394837547705
+started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1394837547705
+started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1394837547706
+started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1394837547706
+started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1394837547706
+started,bundle,org.eclipse.equinox.p2.engine,2.1.1.R37x_v20111003,"org.eclipse.equinox.p2.engine",1394837547707
+started,bundle,org.eclipse.equinox.p2.metadata,2.1.0.v20110815-1419,"org.eclipse.equinox.p2.metadata",1394837547707
+started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1394837547707
+started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1394837547708
+started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1394837547708
+started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1394837547708
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv
new file mode 100644
index 00000000..bf2be229
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv
@@ -0,0 +1,259 @@
+what,kind,bundleId,bundleVersion,description,time
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1395358874309
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358874589
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358874889
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358875459
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358877519
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358894259
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358977830
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395358985650
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359094816
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395359104967
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359107247
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359121857
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359122127
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359123787
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359160082
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359173732
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359194273
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359194623
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359205495
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359212425
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359219238
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359222551
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359225502
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359226143
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359227106
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359228989
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359229255
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359232550
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359232558
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359236303
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359260456
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359263168
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359263472
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359289545
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359357186
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359357496
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359357766
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359360416
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359446256
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359474596
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359476246
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359476526
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359479166
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.rename.element",1395359492446
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.rename.element",1395359497526
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.rename.element",1395359505006
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359509356
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.text.contentAssist.proposals",1395359553886
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359572396
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359573146
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359573416
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359575006
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359580626
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359607386
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395359646896
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359653826
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395359656646
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359656866
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359669066
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395359672336
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395359675946
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395359676096
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395359676256
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359681226
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395359682986
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359688586
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359688846
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359691656
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359692166
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359695866
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359734606
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359735426
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359741236
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359741496
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359742986
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359747236
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359747496
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359748976
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359753356
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359754286
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.cleanAction",1395359754286
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359754556
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359754866
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359755426
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359757416
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359761936
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359765616
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359787296
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359864836
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359873196
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359873616
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359873916
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359874266
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359874566
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359874996
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359875576
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1395359883377
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1395359883727
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1395359884147
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1395359884587
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1395359889477
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359896247
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359897577
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395359898327
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359899007
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359899377
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359899697
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359900007
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359900417
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395359900717
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.redo",1395359905177
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359907077
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395359907807
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395359932967
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395359948307
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359948597
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359950267
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359959367
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395359960837
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395359993857
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395360006768
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395360019448
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395360020008
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360020278
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360021878
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395360022938
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395360023508
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395360024848
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360025108
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360027858
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360028358
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360028538
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395360028718
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395360052178
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.cut",1395360109249
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360110319
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360110539
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360110769
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360110979
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360111199
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360111409
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360111609
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360111809
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360111989
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360112209
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360112409
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360112619
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360112819
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360113039
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360113249
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360113479
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360113869
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360118339
+executed,command,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.edit.text.c.toggle.comment",1395360122069
+executed,command,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.edit.text.smartEnter",1395360151109
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395360162979
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360168139
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360169839
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395360170819
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.delete",1395360170979
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395360171939
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395360172939
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360173209
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360175859
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360432512
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360448635
+activated,view,org.eclipse.ui.navigator.resources,3.4.300.v20110928-1505,"org.eclipse.ui.navigator.ProjectExplorer",1395360450165
+started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1395360450325
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360454785
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360455735
+started,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1395360461175
+started,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1395360464245
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360464335
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360464415
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360468175
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360472695
+executed,command,,,"com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchShortcut.run",1395360472705
+opened,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395360474035
+started,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1395360474205
+started,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1395360474205
+started,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1395360474255
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395360504690
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395360523160
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395360524810
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360525090
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360527710
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395360530500
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1395360531320
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395360536343
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395360557473
+executed,command,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.edit.text.smartEnter",1395360586163
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360587473
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.undo",1395360587823
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395360593073
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360602994
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360604994
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360617084
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360619254
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360636174
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360638184
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360645174
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360647294
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360660104
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360662404
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360670204
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360672864
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360682214
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.copy",1395360694274
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.edit.paste",1395360695914
+executed,command,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.file.save",1395360700305
+executed,command,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.project.buildAll",1395360713045
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360713325
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360716035
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395360719145
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1395360719975
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395360725048
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360859287
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395360865097
+activated,editor,org.eclipse.cdt.ui,5.3.2.201202111925,"org.eclipse.cdt.ui.editor.CEditor",1395360865107
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395360867997
+activated,view,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console.ConsoleView",1395360868817
+activated,view,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch.hardware.ByteStreamConsoleView",1395360873930
+deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395361762160
+activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395361763260
+closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1395361763590
+stopped,bundle,org.eclipse.cdt.build.crossgcc,1.0.2.201202111925,"org.eclipse.cdt.build.crossgcc",1395361763750
+stopped,bundle,org.eclipse.cdt.codan.checkers.ui,1.0.0.201202111925,"org.eclipse.cdt.codan.checkers.ui",1395361763750
+stopped,bundle,com.altera.debug.cdi.gdb.plugin,12.1.1.243,"com.altera.debug.cdi.gdb.plugin",1395361763750
+stopped,bundle,com.altera.sbtgui.launch,12.1.1.243,"com.altera.sbtgui.launch",1395361764750
+stopped,bundle,com.altera.sbtgui.ui,12.1.1.243,"com.altera.sbtgui.ui",1395361764750
+stopped,bundle,com.altera.sbtgui.project,12.1.1.243,"com.altera.sbtgui.project",1395361764750
+stopped,bundle,org.eclipse.cdt.codan.checkers,1.0.1.201202111925,"org.eclipse.cdt.codan.checkers",1395361764750
+stopped,bundle,org.eclipse.cdt.codan.ui.cxx,2.0.0.201202111925,"org.eclipse.cdt.codan.ui.cxx",1395361764750
+stopped,bundle,org.eclipse.cdt.codan.core.cxx,1.0.0.201202111925,"org.eclipse.cdt.codan.core.cxx",1395361764750
+stopped,bundle,org.eclipse.cdt.launch.remote,2.3.0.201202111925,"org.eclipse.cdt.launch.remote",1395361764750
+stopped,bundle,org.eclipse.cdt.debug.mi.ui,6.1.1.201202111925,"org.eclipse.cdt.debug.mi.ui",1395361764750
+stopped,bundle,org.eclipse.cdt.debug.mi.core,7.1.1.201202111925,"org.eclipse.cdt.debug.mi.core",1395361764750
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.memorybrowser,1.2.100.201202111925,"org.eclipse.cdt.debug.ui.memory.memorybrowser",1395361764750
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.search,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.search",1395361764760
+stopped,bundle,org.eclipse.cdt.dsf.gdb.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.gdb.ui",1395361764760
+stopped,bundle,org.eclipse.cdt.dsf.ui,2.2.1.201202111925,"org.eclipse.cdt.dsf.ui",1395361764760
+stopped,bundle,org.eclipse.cdt.gdb.ui,7.0.0.201202111925,"org.eclipse.cdt.gdb.ui",1395361764770
+stopped,bundle,org.eclipse.cdt.dsf.gdb,4.0.2.201202111925,"org.eclipse.cdt.dsf.gdb",1395361764770
+stopped,bundle,org.eclipse.cdt.launch,7.0.0.201202111925,"org.eclipse.cdt.launch",1395361764770
+stopped,bundle,org.eclipse.cdt.debug.ui,7.1.2.201202111925,"org.eclipse.cdt.debug.ui",1395361764770
+stopped,bundle,org.eclipse.cdt.debug.ui.memory.traditional,1.2.1.201202111925,"org.eclipse.cdt.debug.ui.memory.traditional",1395361764770
+stopped,bundle,org.eclipse.cdt.dsf,2.2.0.201202111925,"org.eclipse.cdt.dsf",1395361764770
+stopped,bundle,org.eclipse.cdt.debug.core,7.1.0.201202111925,"org.eclipse.cdt.debug.core",1395361764770
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.ui,1.0.1.201202152032,"org.eclipse.linuxtools.cdt.autotools.ui",1395361764770
+stopped,bundle,org.eclipse.linuxtools.cdt.autotools.core,1.0.2.201202152032,"org.eclipse.linuxtools.cdt.autotools.core",1395361764770
+stopped,bundle,org.eclipse.cdt.managedbuilder.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.ui",1395361764770
+stopped,bundle,org.eclipse.cdt.make.ui,7.1.2.201202111925,"org.eclipse.cdt.make.ui",1395361764770
+stopped,bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.gnu.ui",1395361764770
+stopped,bundle,org.eclipse.cdt.msw.build,1.0.0.201202111925,"org.eclipse.cdt.msw.build",1395361764770
+stopped,bundle,org.eclipse.cdt.managedbuilder.core,8.0.2.201202111925,"org.eclipse.cdt.managedbuilder.core",1395361764770
+stopped,bundle,org.eclipse.cdt.make.core,7.1.2.201202111925,"org.eclipse.cdt.make.core",1395361764770
+stopped,bundle,org.eclipse.cdt.mylyn.ui,3.6.0.v20110608-1400,"org.eclipse.cdt.mylyn.ui",1395361764770
+stopped,bundle,org.eclipse.cdt.codan.ui,2.0.1.201202111925,"org.eclipse.cdt.codan.ui",1395361764770
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2014/3/10/refactorings.history b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2014/3/10/refactorings.history
new file mode 100644
index 00000000..30d6289e
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2014/3/10/refactorings.history
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2014/3/10/refactorings.index b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2014/3/10/refactorings.index
new file mode 100644
index 00000000..ea8a74ea
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/.workspace/2014/3/10/refactorings.index
@@ -0,0 +1 @@
+1394125541216 Delete resource 'MCTest/hello_ucosii.c'
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/MCTest/2014/3/10/refactorings.history b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/MCTest/2014/3/10/refactorings.history
new file mode 100644
index 00000000..a854c243
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/MCTest/2014/3/10/refactorings.history
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/MCTest/2014/3/10/refactorings.index b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/MCTest/2014/3/10/refactorings.index
new file mode 100644
index 00000000..19ec165a
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.core.refactoring/.refactorings/MCTest/2014/3/10/refactorings.index
@@ -0,0 +1 @@
+1394126340390 Rename resource 'main.c'
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml
new file mode 100644
index 00000000..27eb4040
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml
@@ -0,0 +1,7 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.search/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
new file mode 100644
index 00000000..185c38cf
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.search/dialog_settings.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml
new file mode 100644
index 00000000..50f1edb3
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml
@@ -0,0 +1,5 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
new file mode 100644
index 00000000..fd83f4c8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
@@ -0,0 +1,12 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
new file mode 100644
index 00000000..ff036516
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
new file mode 100644
index 00000000..0aeff155
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
@@ -0,0 +1,14 @@
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
new file mode 100644
index 00000000..a9f126df
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
@@ -0,0 +1,633 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
new file mode 100644
index 00000000..55df44c8
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/MCTEST/DE0-nano-HD/Software/.metadata/version.ini b/MCTEST/DE0-nano-HD/Software/.metadata/version.ini
new file mode 100644
index 00000000..c51ff745
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/.metadata/version.ini
@@ -0,0 +1 @@
+org.eclipse.core.runtime=1
\ No newline at end of file
diff --git a/MCTEST/DE0-nano-HD/Software/MCTest/.cproject b/MCTEST/DE0-nano-HD/Software/MCTest/.cproject
new file mode 100644
index 00000000..a8e07771
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/MCTest/.cproject
@@ -0,0 +1,508 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ make
+
+ mem_init_install
+ true
+ false
+ false
+
+
+ make
+
+ mem_init_generate
+ true
+ false
+ false
+
+
+ make
+
+ help
+ true
+ false
+ false
+
+
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/MCTest/.force_relink b/MCTEST/DE0-nano-HD/Software/MCTest/.force_relink
new file mode 100644
index 00000000..e69de29b
diff --git a/MCTEST/DE0-nano-HD/Software/MCTest/.project b/MCTEST/DE0-nano-HD/Software/MCTest/.project
new file mode 100644
index 00000000..40854e92
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/MCTest/.project
@@ -0,0 +1,96 @@
+
+
+ MCTest
+
+
+
+
+
+ com.altera.sbtgui.project.makefileBuilder
+
+
+
+
+ com.altera.sbtgui.project.makefileBuilder
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+ ?name?
+
+
+
+ org.eclipse.cdt.make.core.append_environment
+ true
+
+
+ org.eclipse.cdt.make.core.autoBuildTarget
+ all
+
+
+ org.eclipse.cdt.make.core.buildArguments
+
+
+
+ org.eclipse.cdt.make.core.buildCommand
+ make
+
+
+ org.eclipse.cdt.make.core.buildLocation
+ ${workspace_loc://MCTest}
+
+
+ org.eclipse.cdt.make.core.cleanBuildTarget
+ clean
+
+
+ org.eclipse.cdt.make.core.contents
+ org.eclipse.cdt.make.core.activeConfigSettings
+
+
+ org.eclipse.cdt.make.core.enableAutoBuild
+ false
+
+
+ org.eclipse.cdt.make.core.enableCleanBuild
+ true
+
+
+ org.eclipse.cdt.make.core.enableFullBuild
+ true
+
+
+ org.eclipse.cdt.make.core.fullBuildTarget
+ all
+
+
+ org.eclipse.cdt.make.core.stopOnError
+ true
+
+
+ org.eclipse.cdt.make.core.useDefaultBuildCmd
+ true
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+ org.eclipse.cdt.core.ccnature
+ com.altera.sbtgui.project.SBTGUINature
+ com.altera.sbtgui.project.SBTGUIAppNature
+ com.altera.sbtgui.project.SBTGUIManagedNature
+
+
diff --git a/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf b/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf
new file mode 100644
index 00000000..0751821a
Binary files /dev/null and b/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.elf differ
diff --git a/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.map b/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.map
new file mode 100644
index 00000000..4b71647c
--- /dev/null
+++ b/MCTEST/DE0-nano-HD/Software/MCTest/MCTest.map
@@ -0,0 +1,4687 @@
+Archive member included because of file (symbol)
+
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ obj/default/main.o (std::allocator::allocator())
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ obj/default/MotorHandler.o (std::string::c_str() const)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(atomicity.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (__gnu_cxx::__exchange_and_add(int volatile*, int))
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(class_type_info.o)
+ obj/default/MotorHandler.o (vtable for __cxxabiv1::__class_type_info)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_personality.o)
+ obj/default/MotorHandler.o (__gxx_personality_sj0)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_terminate.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_personality.o) (__cxxabiv1::__terminate(void (*)()))
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_term_handler.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_terminate.o) (__cxxabiv1::__terminate_handler)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_catch.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_personality.o) (__cxa_end_catch)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(del_op.o)
+ obj/default/MotorHandler.o (operator delete(void*))
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_throw.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_personality.o) (__cxa_rethrow)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(si_class_type_info.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(class_type_info.o) (vtable for __cxxabiv1::__si_class_type_info)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(tinfo.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(class_type_info.o) (std::type_info::__is_pointer_p() const)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_alloc.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_throw.o) (__cxa_free_exception)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(new_op.o)
+ obj/default/main.o (operator new(unsigned long))
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (std::__throw_logic_error(char const*))
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(ios_failure.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o) (std::ios_base::failure::~failure())
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o) (std::runtime_error::what() const)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_exception.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(ios_failure.o) (std::exception::~exception())
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_call.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_personality.o) (__cxa_call_terminate)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(new_handler.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(new_op.o) (__new_handler)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_globals.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_personality.o) (__cxa_get_globals_fast)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_unex_handler.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_terminate.o) (__cxxabiv1::__unexpected_handler)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_typeid.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o) (vtable for std::bad_typeid)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_cast.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o) (vtable for std::bad_cast)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(unwind-sjlj.o)
+ obj/default/MotorHandler.o (_Unwind_SjLj_Register)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-abort.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_personality.o) (abort)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-malloc.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(del_op.o) (free)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-mallocr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-malloc.o) (_malloc_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-memchr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (memchr)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-memcmp.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (memcmp)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-memcpy.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (memcpy)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-memmove.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (memmove)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-memset.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (memset)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-printf.o)
+ obj/default/MotorHandler.o (printf)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-putchar.o)
+ obj/default/MotorHandler.o (putchar)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-puts.o)
+ obj/default/MotorHandler.o (puts)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-sbrkr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-mallocr.o) (_sbrk_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-signal.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-abort.o) (raise)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-signalr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-signal.o) (_getpid_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-strlen.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o) (strlen)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-strtol.o)
+ obj/default/MotorHandler.o (strtol)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-printf.o) (___vfprintf_internal_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-wsetup.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__swsetup_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-ctype_.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-strtol.o) (__ctype_ptr)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (_dtoa_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fflush.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (_fflush_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-findfp.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__sinit)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-freer.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-malloc.o) (_free_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fvwrite.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-puts.o) (__sfvwrite_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fwalk.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fflush.o) (_fwalk_reent)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-impure.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-malloc.o) (_impure_ptr)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-int_errno.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-sbrkr.o) (errno)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-locale.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (_localeconv_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-makebuf.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-wsetup.o) (__smakebuf_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-mprec.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (_Bfree)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-putc.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-putchar.o) (_putc_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-reallocr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fvwrite.o) (_realloc_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-s_isinfd.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__isinfd)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-s_isnand.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__isnand)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-stdio.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-findfp.o) (__sclose)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-strcmp.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-locale.o) (strcmp)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-wbuf.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-putc.o) (__swbuf_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-writer.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-stdio.o) (_write_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-callocr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-mprec.o) (_calloc_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-closer.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-stdio.o) (_close_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fclose.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-findfp.o) (fclose)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fstatr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-makebuf.o) (_fstat_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-isattyr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-makebuf.o) (_isatty_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-lseekr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-stdio.o) (_lseek_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-readr.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-stdio.o) (_read_r)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_udivdi3.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__udivdi3)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_umoddi3.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__umoddi3)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_addsub_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__subdf3)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_mul_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__muldf3)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_div_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__divdf3)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_eq_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__eqdf2)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_ne_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__nedf2)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_gt_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__gtdf2)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_ge_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__gedf2)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_lt_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__ltdf2)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_si_to_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__floatsidf)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_df_to_si.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__fixdfsi)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_thenan_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_addsub_df.o) (__thenan_df)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_usi_to_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-dtoa.o) (__floatunsidf)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(lib2-divmod.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-vfprintf.o) (__divsi3)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_muldi3.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_mul_df.o) (__muldi3)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_clz.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_udivdi3.o) (__clz_tab)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_clzsi2.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_si_to_df.o) (__clzsi2)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_pack_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_addsub_df.o) (__pack_d)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_unpack_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_addsub_df.o) (__unpack_d)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_fpcmp_parts_df.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a(_eq_df.o) (__fpcmp_parts_d)
+../MCTest_bsp/\libucosii_bsp.a(alt_close.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-closer.o) (close)
+../MCTest_bsp/\libucosii_bsp.a(alt_dev.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_close.o) (alt_fd_list)
+../MCTest_bsp/\libucosii_bsp.a(alt_errno.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_close.o) (alt_errno)
+../MCTest_bsp/\libucosii_bsp.a(alt_exit.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-abort.o) (_exit)
+../MCTest_bsp/\libucosii_bsp.a(alt_fstat.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-fstatr.o) (fstat)
+../MCTest_bsp/\libucosii_bsp.a(alt_getpid.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-signalr.o) (getpid)
+../MCTest_bsp/\libucosii_bsp.a(alt_isatty.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-isattyr.o) (isatty)
+../MCTest_bsp/\libucosii_bsp.a(alt_kill.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-signalr.o) (kill)
+../MCTest_bsp/\libucosii_bsp.a(alt_load.o)
+ ../MCTest_bsp//obj/HAL/src/crt0.o (alt_load)
+../MCTest_bsp/\libucosii_bsp.a(alt_lseek.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-lseekr.o) (lseek)
+../MCTest_bsp/\libucosii_bsp.a(alt_main.o)
+ ../MCTest_bsp//obj/HAL/src/crt0.o (alt_main)
+../MCTest_bsp/\libucosii_bsp.a(alt_read.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-readr.o) (read)
+../MCTest_bsp/\libucosii_bsp.a(alt_release_fd.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_close.o) (alt_release_fd)
+../MCTest_bsp/\libucosii_bsp.a(alt_sbrk.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-sbrkr.o) (sbrk)
+../MCTest_bsp/\libucosii_bsp.a(alt_write.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-writer.o) (write)
+../MCTest_bsp/\libucosii_bsp.a(alt_env_lock.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (alt_envsem)
+../MCTest_bsp/\libucosii_bsp.a(alt_malloc_lock.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-mallocr.o) (__malloc_lock)
+../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (OSInit)
+../MCTest_bsp/\libucosii_bsp.a(os_dbg.o)
+ ../MCTest_bsp/\libucosii_bsp.a(os_core.o) (OSDebugInit)
+../MCTest_bsp/\libucosii_bsp.a(os_flag.o)
+ ../MCTest_bsp/\libucosii_bsp.a(os_core.o) (OS_FlagInit)
+../MCTest_bsp/\libucosii_bsp.a(os_mem.o)
+ ../MCTest_bsp/\libucosii_bsp.a(os_core.o) (OS_MemInit)
+../MCTest_bsp/\libucosii_bsp.a(os_q.o)
+ obj/default/main.o (OSQCreate)
+../MCTest_bsp/\libucosii_bsp.a(os_sem.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (OSSemCreate)
+../MCTest_bsp/\libucosii_bsp.a(os_task.o)
+ obj/default/main.o (OSTaskCreateExt)
+../MCTest_bsp/\libucosii_bsp.a(os_time.o)
+ ../MCTest_bsp/\libucosii_bsp.a(os_core.o) (OSTimeDly)
+../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (alt_irq_init)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_fd.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o) (altera_avalon_jtag_uart_read_fd)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_init.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o) (altera_avalon_jtag_uart_init)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_ioctl.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_fd.o) (altera_avalon_jtag_uart_ioctl)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_read.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_fd.o) (altera_avalon_jtag_uart_read)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_write.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_fd.o) (altera_avalon_jtag_uart_write)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_timer_sc.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o) (alt_avalon_timer_sc_init)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_uart_fd.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o) (altera_avalon_uart_read_fd)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_uart_init.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o) (altera_avalon_uart_init)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_uart_read.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_uart_fd.o) (altera_avalon_uart_read)
+../MCTest_bsp/\libucosii_bsp.a(altera_avalon_uart_write.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_uart_fd.o) (altera_avalon_uart_write)
+../MCTest_bsp/\libucosii_bsp.a(altera_up_avalon_rs232.o)
+ obj/default/MotorHandler.o (alt_up_rs232_get_available_space_in_write_FIFO)
+../MCTest_bsp/\libucosii_bsp.a(alt_alarm_start.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_init.o) (alt_alarm_start)
+../MCTest_bsp/\libucosii_bsp.a(alt_dcache_flush_all.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_load.o) (alt_dcache_flush_all)
+../MCTest_bsp/\libucosii_bsp.a(alt_dev_llist_insert.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o) (alt_dev_llist_insert)
+../MCTest_bsp/\libucosii_bsp.a(alt_do_ctors.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (_do_ctors)
+../MCTest_bsp/\libucosii_bsp.a(alt_do_dtors.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (_do_dtors)
+../MCTest_bsp/\libucosii_bsp.a(alt_find_dev.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_up_avalon_rs232.o) (alt_find_dev)
+../MCTest_bsp/\libucosii_bsp.a(alt_icache_flush_all.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_load.o) (alt_icache_flush_all)
+../MCTest_bsp/\libucosii_bsp.a(alt_io_redirect.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (alt_io_redirect)
+../MCTest_bsp/\libucosii_bsp.a(alt_irq_register.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_init.o) (alt_irq_register)
+../MCTest_bsp/\libucosii_bsp.a(alt_irq_vars.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_irq_register.o) (alt_irq_active)
+../MCTest_bsp/\libucosii_bsp.a(alt_open.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_io_redirect.o) (open)
+../MCTest_bsp/\libucosii_bsp.a(alt_tick.o)
+ ../MCTest_bsp/\libucosii_bsp.a(altera_avalon_jtag_uart_init.o) (_alt_tick_rate)
+../MCTest_bsp/\libucosii_bsp.a(altera_nios2_qsys_irq.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_sys_init.o) (altera_nios2_qsys_irq_init)
+../MCTest_bsp/\libucosii_bsp.a(os_cpu_a.o)
+ ../MCTest_bsp/\libucosii_bsp.a(os_core.o) (OSIntCtxSw)
+../MCTest_bsp/\libucosii_bsp.a(os_cpu_c.o)
+ ../MCTest_bsp/\libucosii_bsp.a(os_task.o) (OSTaskStkInit)
+../MCTest_bsp/\libucosii_bsp.a(alt_find_file.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_open.o) (alt_find_file)
+../MCTest_bsp/\libucosii_bsp.a(alt_get_fd.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_open.o) (alt_get_fd)
+../MCTest_bsp/\libucosii_bsp.a(alt_icache_flush.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_icache_flush_all.o) (alt_icache_flush)
+../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_irq_register.o) (alt_irq_entry)
+../MCTest_bsp/\libucosii_bsp.a(alt_irq_handler.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_irq_register.o) (alt_irq_handler)
+../MCTest_bsp/\libucosii_bsp.a(alt_exception_entry.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o) (alt_exception)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-atexit.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (atexit)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-exit.o)
+ ../MCTest_bsp/\libucosii_bsp.a(alt_main.o) (exit)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-__atexit.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-atexit.o) (__register_exitproc)
+c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-__call_atexit.o)
+ c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-exit.o) (__call_exitprocs)
+
+Allocating common symbols
+Common symbol size file
+
+alt_irq 0x100 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_handler.o)
+OSLockNesting 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSRunning 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSIdleCtr 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSPrioHighRdy 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+errno 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-int_errno.o)
+alt_heapsem 0x4 ../MCTest_bsp/\libucosii_bsp.a(alt_malloc_lock.o)
+OSFlagTbl 0x370 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSPrioCur 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTCBList 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+alt_fd_list_lock 0x4 ../MCTest_bsp/\libucosii_bsp.a(alt_dev.o)
+OSMemTbl 0xc30 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTickStepState 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTaskStatStk 0x800 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSCtxSwCtr 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSIdleCtrMax 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTCBFreeList 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSCPUUsage 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTaskCtr 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSMemFreeList 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSQTbl 0x1e0 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTCBHighRdy 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSQFreeList 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSRdyGrp 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+_atexit0 0x190 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a(lib_a-atexit.o)
+OSRdyTbl 0x3 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSEventFreeList 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSIntNesting 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTCBCur 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTime 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTaskIdleStk 0x800 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSEventTbl 0xb40 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTCBTbl 0x510 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSFlagFreeList 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSStatRdy 0x1 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+OSTCBPrioTbl 0x54 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+alt_envsem 0x4 ../MCTest_bsp/\libucosii_bsp.a(alt_env_lock.o)
+OSIdleCtrRun 0x4 ../MCTest_bsp/\libucosii_bsp.a(os_core.o)
+
+Discarded input sections
+
+ .group 0x00000000 0x8 obj/default/MotorHandler.o
+ .group 0x00000000 0x8 obj/default/MotorHandler.o
+ .group 0x00000000 0x8 obj/default/MotorHandler.o
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(class_type_info.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(class_type_info.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(class_type_info.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(si_class_type_info.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(si_class_type_info.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(si_class_type_info.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(tinfo.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(tinfo.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(tinfo.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(functexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(ios_failure.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(ios_failure.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(ios_failure.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt11range_errorD0Ev
+ 0x00000000 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt11range_errorD1Ev
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt14overflow_errorD0Ev
+ 0x00000000 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt14overflow_errorD1Ev
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt15underflow_errorD0Ev
+ 0x00000000 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt15underflow_errorD1Ev
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt12domain_errorD0Ev
+ 0x00000000 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt12domain_errorD1Ev
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt16invalid_argumentD0Ev
+ 0x00000000 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt16invalid_argumentD1Ev
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt12length_errorD0Ev
+ 0x00000000 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt12length_errorD1Ev
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt12out_of_rangeD0Ev
+ 0x00000000 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .text._ZNSt12out_of_rangeD1Ev
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTVSt15underflow_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTISt15underflow_error
+ 0x00000000 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTSSt15underflow_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTVSt14overflow_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTISt14overflow_error
+ 0x00000000 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTSSt14overflow_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTVSt11range_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTISt11range_error
+ 0x00000000 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTSSt11range_error
+ 0x00000000 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTVSt12out_of_range
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTISt12out_of_range
+ 0x00000000 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTSSt12out_of_range
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTVSt12length_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTISt12length_error
+ 0x00000000 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTSSt12length_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTVSt16invalid_argument
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTISt16invalid_argument
+ 0x00000000 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTSSt16invalid_argument
+ 0x00000000 0x18 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTVSt12domain_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTISt12domain_error
+ 0x00000000 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .rodata._ZTSSt12domain_error
+ 0x00000000 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(stdexcept.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_exception.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_exception.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_exception.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_exception.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_exception.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(eh_exception.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(new_handler.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(new_handler.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(new_handler.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_typeid.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_typeid.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_typeid.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_cast.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_cast.o)
+ .group 0x00000000 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(bad_cast.o)
+
+Memory Configuration
+
+Name Origin Length Attributes
+reset 0x01000000 0x00000020
+sdram 0x01000020 0x00ffffe0
+*default* 0x00000000 0xffffffff
+
+Linker script and memory map
+
+LOAD ../MCTest_bsp//obj/HAL/src/crt0.o
+LOAD obj/default/MotorHandler.o
+LOAD obj/default/main.o
+LOAD c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a
+LOAD c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libm.a
+LOAD c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a
+START GROUP
+LOAD c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libc.a
+LOAD c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a
+LOAD ../MCTest_bsp/\libucosii_bsp.a
+END GROUP
+LOAD c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2\libgcc.a
+ 0x01000000 __alt_mem_sdram = 0x1000000
+
+.entry 0x01000000 0x20
+ *(.entry)
+ .entry 0x01000000 0x20 ../MCTest_bsp//obj/HAL/src/crt0.o
+ 0x01000000 __reset
+
+.exceptions 0x01000020 0x1a0
+ 0x01000020 PROVIDE (__ram_exceptions_start, ABSOLUTE (.))
+ 0x01000020 . = ALIGN (0x20)
+ *(.irq)
+ *(.exceptions.entry.label)
+ .exceptions.entry.label
+ 0x01000020 0x0 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o)
+ 0x01000020 alt_irq_entry
+ .exceptions.entry.label
+ 0x01000020 0x0 ../MCTest_bsp/\libucosii_bsp.a(alt_exception_entry.o)
+ 0x01000020 alt_exception
+ *(.exceptions.entry.user)
+ *(.exceptions.entry)
+ .exceptions.entry
+ 0x01000020 0x54 ../MCTest_bsp/\libucosii_bsp.a(alt_exception_entry.o)
+ *(.exceptions.irqtest.user)
+ *(.exceptions.irqtest)
+ .exceptions.irqtest
+ 0x01000074 0x10 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o)
+ *(.exceptions.irqhandler.user)
+ *(.exceptions.irqhandler)
+ .exceptions.irqhandler
+ 0x01000084 0x4 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o)
+ *(.exceptions.irqreturn.user)
+ *(.exceptions.irqreturn)
+ .exceptions.irqreturn
+ 0x01000088 0x4 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o)
+ *(.exceptions.notirq.label)
+ .exceptions.notirq.label
+ 0x0100008c 0x0 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o)
+ *(.exceptions.notirq.user)
+ *(.exceptions.notirq)
+ .exceptions.notirq
+ 0x0100008c 0x8 ../MCTest_bsp/\libucosii_bsp.a(alt_exception_entry.o)
+ *(.exceptions.soft.user)
+ *(.exceptions.soft)
+ *(.exceptions.unknown.user)
+ *(.exceptions.unknown)
+ .exceptions.unknown
+ 0x01000094 0x4 ../MCTest_bsp/\libucosii_bsp.a(alt_exception_entry.o)
+ *(.exceptions.exit.label)
+ .exceptions.exit.label
+ 0x01000098 0x0 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_entry.o)
+ .exceptions.exit.label
+ 0x01000098 0x0 ../MCTest_bsp/\libucosii_bsp.a(alt_exception_entry.o)
+ *(.exceptions.exit.user)
+ *(.exceptions.exit)
+ .exceptions.exit
+ 0x01000098 0x54 ../MCTest_bsp/\libucosii_bsp.a(alt_exception_entry.o)
+ *(.exceptions)
+ .exceptions 0x010000ec 0xd4 ../MCTest_bsp/\libucosii_bsp.a(alt_irq_handler.o)
+ 0x010000ec alt_irq_handler
+ 0x010001c0 PROVIDE (__ram_exceptions_end, ABSOLUTE (.))
+ 0x01000020 PROVIDE (__flash_exceptions_start, LOADADDR (.exceptions))
+
+.text 0x010001c0 0x20c40
+ 0x010001c0 PROVIDE (stext, ABSOLUTE (.))
+ *(.interp)
+ *(.hash)
+ *(.dynsym)
+ *(.dynstr)
+ *(.gnu.version)
+ *(.gnu.version_d)
+ *(.gnu.version_r)
+ *(.rel.init)
+ *(.rela.init)
+ *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
+ *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
+ *(.rel.fini)
+ *(.rela.fini)
+ *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
+ *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
+ *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
+ *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
+ *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
+ *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
+ *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
+ *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
+ *(.rel.ctors)
+ *(.rela.ctors)
+ *(.rel.dtors)
+ *(.rela.dtors)
+ *(.rel.got)
+ *(.rela.got)
+ *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*)
+ *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*)
+ *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*)
+ *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*)
+ *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*)
+ *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
+ *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*)
+ *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)
+ *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
+ *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+ *(.rel.plt)
+ *(.rela.plt)
+ *(.rel.dyn)
+ *(.init)
+ *(.plt)
+ *(.text .stub .text.* .gnu.linkonce.t.*)
+ .text 0x010001c0 0x4c ../MCTest_bsp//obj/HAL/src/crt0.o
+ 0x010001c0 _start
+ .text 0x0100020c 0x6f4 obj/default/MotorHandler.o
+ 0x0100020c MotorHandler::MotorHandler()
+ 0x0100023c MotorHandler::MotorHandler()
+ 0x0100026c MotorHandler::reset()
+ 0x010002d8 MotorHandler::send(char, char const*)
+ 0x010003b4 MotorHandler::move(char, char, char const*)
+ 0x0100043c MotorHandler::configure()
+ 0x010004a8 MotorHandler::interpretDirection(std::string, int)
+ 0x01000534 MotorHandler::interpretMotor(std::string)
+ 0x01000598 MotorHandler::motorCommand(std::string, std::string, std::string)
+ 0x010007a4 MotorHandler::init()
+ 0x01000810 MotorHandler::~MotorHandler()
+ 0x01000860 MotorHandler::~MotorHandler()
+ 0x010008b0 MotorHandler::~MotorHandler()
+ .text 0x01000900 0x1988 obj/default/main.o
+ 0x01000a5c queue_init()
+ 0x01000a94 main
+ 0x01000b14 mc_task(void*)
+ .text 0x01002288 0x0 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ .text._ZNSaIcEC1Ev
+ 0x01002288 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x01002288 std::allocator::allocator()
+ .text._ZNSaIcED2Ev
+ 0x0100228c 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x0100228c std::allocator::~allocator()
+ .text._ZNSaIcEC2ERKS_
+ 0x01002290 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x01002290 std::allocator::allocator(std::allocator const&)
+ .text._ZNSaIwEC2Ev
+ 0x01002294 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x01002294 std::allocator::allocator()
+ .text._ZNSaIwED1Ev
+ 0x01002298 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x01002298 std::allocator::~allocator()
+ .text._ZNSaIwEC1ERKS_
+ 0x0100229c 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x0100229c std::allocator::allocator(std::allocator const&)
+ .text._ZNSaIwEC2ERKS_
+ 0x010022a0 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x010022a0 std::allocator::allocator(std::allocator const&)
+ .text._ZNSaIcEC1ERKS_
+ 0x010022a4 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x010022a4 std::allocator::allocator(std::allocator const&)
+ .text._ZNSaIwEC1Ev
+ 0x010022a8 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x010022a8 std::allocator::allocator()
+ .text._ZNSaIwED2Ev
+ 0x010022ac 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x010022ac std::allocator::~allocator()
+ .text._ZNSaIcEC2Ev
+ 0x010022b0 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x010022b0 std::allocator::allocator()
+ .text._ZNSaIcED1Ev
+ 0x010022b4 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(allocator-inst.o)
+ 0x010022b4 std::allocator::~allocator()
+ .text 0x010022b8 0x0 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ .text._ZNSt11char_traitsIcE2eqERKcS2_
+ 0x010022b8 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010022b8 std::char_traits::eq(char const&, char const&)
+ .text._ZNKSs7_M_dataEv
+ 0x010022c8 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010022c8 std::string::_M_data() const
+ .text._ZNSs7_M_dataEPc
+ 0x010022d0 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010022d0 std::string::_M_data(char*)
+ .text._ZNKSs6_M_repEv
+ 0x010022dc 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010022dc std::string::_M_rep() const
+ .text._ZNKSs9_M_ibeginEv
+ 0x010022e8 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010022e8 std::string::_M_ibegin() const
+ .text._ZNKSs7_M_iendEv
+ 0x010022f0 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010022f0 std::string::_M_iend() const
+ .text._ZNKSs8_M_limitEmm
+ 0x01002300 0x18 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002300 std::string::_M_limit(unsigned long, unsigned long) const
+ .text._ZNKSs11_M_disjunctEPKc
+ 0x01002318 0x1c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002318 std::string::_M_disjunct(char const*) const
+ .text._ZNSs12_S_empty_repEv
+ 0x01002334 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002334 std::string::_S_empty_rep()
+ .text._ZNSsC1Ev
+ 0x01002340 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002340 std::basic_string, std::allocator >::basic_string()
+ .text._ZNKSs5beginEv
+ 0x01002350 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002350 std::string::begin() const
+ .text._ZNKSs3endEv
+ 0x01002358 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002358 std::string::end() const
+ .text._ZNKSs4sizeEv
+ 0x01002368 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002368 std::string::size() const
+ .text._ZNKSs8max_sizeEv
+ 0x01002374 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002374 std::string::max_size() const
+ .text._ZNKSs8capacityEv
+ 0x01002380 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002380 std::string::capacity() const
+ .text._ZNKSs4dataEv
+ 0x0100238c 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100238c std::string::data() const
+ .text._ZNKSs13get_allocatorEv
+ 0x01002394 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002394 std::string::get_allocator() const
+ .text._ZNSs12_Alloc_hiderC1EPcRKSaIcE
+ 0x0100239c 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100239c std::string::_Alloc_hider::_Alloc_hider(char*, std::allocator const&)
+ .text._ZNSs4_Rep12_S_empty_repEv
+ 0x010023a4 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023a4 std::string::_Rep::_S_empty_rep()
+ .text._ZNKSs4_Rep12_M_is_leakedEv
+ 0x010023b0 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023b0 std::string::_Rep::_M_is_leaked() const
+ .text._ZNKSs4_Rep12_M_is_sharedEv
+ 0x010023bc 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023bc std::string::_Rep::_M_is_shared() const
+ .text._ZNSs4_Rep13_M_set_leakedEv
+ 0x010023c8 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023c8 std::string::_Rep::_M_set_leaked()
+ .text._ZNSs4_Rep15_M_set_sharableEv
+ 0x010023d4 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023d4 std::string::_Rep::_M_set_sharable()
+ .text._ZNSs4_Rep26_M_set_length_and_sharableEm
+ 0x010023dc 0x14 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023dc std::string::_Rep::_M_set_length_and_sharable(unsigned long)
+ .text._ZNSs4_Rep10_M_refdataEv
+ 0x010023f0 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023f0 std::string::_Rep::_M_refdata()
+ .text._ZSt6searchIPKcS1_PFbRS0_S2_EET_S5_S5_T0_S6_T1_
+ 0x010023f8 0x14c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010023f8 char const* std::search(char const*, char const*, char const*, char const*, bool (*)(char const&, char const&))
+ .text._ZN9__gnu_cxxeqIPcSsEEbRKNS_17__normal_iteratorIT_T0_EES7_
+ 0x01002544 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002544 bool __gnu_cxx::operator==(__gnu_cxx::__normal_iterator const&, __gnu_cxx::__normal_iterator const&)
+ .text._ZNSs12_Alloc_hiderC2EPcRKSaIcE
+ 0x01002554 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002554 std::string::_Alloc_hider::_Alloc_hider(char*, std::allocator const&)
+ .text._ZNSs4_Rep10_M_refcopyEv
+ 0x0100255c 0xbc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100255c std::string::_Rep::_M_refcopy()
+ .text._ZNKSs15_M_check_lengthEmmPKc
+ 0x01002618 0x38 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002618 std::string::_M_check_length(unsigned long, unsigned long, char const*) const
+ .text._ZNKSs8_M_checkEmPKc
+ 0x01002650 0x2c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002650 std::string::_M_check(unsigned long, char const*) const
+ .text._ZNSs9_M_assignEPcmc
+ 0x0100267c 0x2c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100267c std::string::_M_assign(char*, unsigned long, char)
+ .text._ZNSs7_M_moveEPcPKcm
+ 0x010026a8 0x18 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010026a8 std::string::_M_move(char*, char const*, unsigned long)
+ .text._ZNSs7_M_copyEPcPKcm
+ 0x010026c0 0x18 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010026c0 std::string::_M_copy(char*, char const*, unsigned long)
+ .text._ZNKSs5c_strEv
+ 0x010026d8 0x8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010026d8 std::string::c_str() const
+ .text._ZNKSsixEm
+ 0x010026e0 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010026e0 std::string::operator[](unsigned long) const
+ .text._ZNKSs17find_first_not_ofEPKcmm
+ 0x010026ec 0xa4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010026ec std::string::find_first_not_of(char const*, unsigned long, unsigned long) const
+ .text._ZNKSs4findEPKcmm
+ 0x01002790 0x94 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002790 std::string::find(char const*, unsigned long, unsigned long) const
+ .text._ZNKSs2atEm
+ 0x01002824 0x30 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002824 std::string::at(unsigned long) const
+ .text._ZNKSs5emptyEv
+ 0x01002854 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002854 std::string::empty() const
+ .text._ZNKSs6lengthEv
+ 0x01002864 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002864 std::string::length() const
+ .text._ZNKSs4findERKSsm
+ 0x01002870 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002870 std::string::find(std::string const&, unsigned long) const
+ .text._ZNKSs17find_first_not_ofERKSsm
+ 0x0100287c 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100287c std::string::find_first_not_of(std::string const&, unsigned long) const
+ .text._ZNKSs5rfindEPKcmm
+ 0x01002888 0xa8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002888 std::string::rfind(char const*, unsigned long, unsigned long) const
+ .text._ZNKSs5rfindEPKcm
+ 0x01002930 0x50 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002930 std::string::rfind(char const*, unsigned long) const
+ .text._ZNKSs5rfindERKSsm
+ 0x01002980 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002980 std::string::rfind(std::string const&, unsigned long) const
+ .text._ZNSsC2Ev
+ 0x0100298c 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100298c std::basic_string, std::allocator >::basic_string()
+ .text._ZN9__gnu_cxxeqIPKcSsEEbRKNS_17__normal_iteratorIT_T0_EES8_
+ 0x0100299c 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100299c bool __gnu_cxx::operator==(__gnu_cxx::__normal_iterator const&, __gnu_cxx::__normal_iterator const&)
+ .text._ZNKSs5rfindEcm
+ 0x010029ac 0x64 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010029ac std::string::rfind(char, unsigned long) const
+ .text._ZNKSs12find_last_ofEcm
+ 0x01002a10 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002a10 std::string::find_last_of(char, unsigned long) const
+ .text._ZNKSs16find_last_not_ofEcm
+ 0x01002a20 0x58 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002a20 std::string::find_last_not_of(char, unsigned long) const
+ .text._ZNKSs17find_first_not_ofEcm
+ 0x01002a78 0x64 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002a78 std::string::find_first_not_of(char, unsigned long) const
+ .text._ZNSs4_Rep9_S_createEmmRKSaIcE
+ 0x01002adc 0x130 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002adc std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&)
+ .text._ZNSs4_Rep10_M_destroyERKSaIcE
+ 0x01002c0c 0x4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002c0c std::string::_Rep::_M_destroy(std::allocator const&)
+ .text._ZNSs4_Rep10_M_disposeERKSaIcE
+ 0x01002c10 0x64 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002c10 std::string::_Rep::_M_dispose(std::allocator const&)
+ .text._ZNKSs12find_last_ofEPKcmm
+ 0x01002c74 0xe4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002c74 std::string::find_last_of(char const*, unsigned long, unsigned long) const
+ .text._ZNKSs12find_last_ofERKSsm
+ 0x01002d58 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002d58 std::string::find_last_of(std::string const&, unsigned long) const
+ .text._ZNKSs13find_first_ofEPKcmm
+ 0x01002d64 0x88 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002d64 std::string::find_first_of(char const*, unsigned long, unsigned long) const
+ .text._ZNKSs13find_first_ofERKSsm
+ 0x01002dec 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002dec std::string::find_first_of(std::string const&, unsigned long) const
+ .text._ZNKSs4findEcm
+ 0x01002df8 0x68 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002df8 std::string::find(char, unsigned long) const
+ .text._ZNKSs13find_first_ofEcm
+ 0x01002e60 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002e60 std::string::find_first_of(char, unsigned long) const
+ .text._ZNKSs16find_last_not_ofEPKcmm
+ 0x01002e70 0xe0 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002e70 std::string::find_last_not_of(char const*, unsigned long, unsigned long) const
+ .text._ZNKSs16find_last_not_ofERKSsm
+ 0x01002f50 0xc c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002f50 std::string::find_last_not_of(std::string const&, unsigned long) const
+ .text._ZNKSs7compareERKSs
+ 0x01002f5c 0x60 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002f5c std::string::compare(std::string const&) const
+ .text._ZNKSs4findEPKcm
+ 0x01002fbc 0x50 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01002fbc std::string::find(char const*, unsigned long) const
+ .text._ZNKSs7compareEPKc
+ 0x0100300c 0x7c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100300c std::string::compare(char const*) const
+ .text._ZNKSs16find_last_not_ofEPKcm
+ 0x01003088 0x50 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003088 std::string::find_last_not_of(char const*, unsigned long) const
+ .text._ZNKSs17find_first_not_ofEPKcm
+ 0x010030d8 0x50 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010030d8 std::string::find_first_not_of(char const*, unsigned long) const
+ .text._ZNKSs12find_last_ofEPKcm
+ 0x01003128 0x50 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003128 std::string::find_last_of(char const*, unsigned long) const
+ .text._ZNKSs13find_first_ofEPKcm
+ 0x01003178 0x50 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003178 std::string::find_first_of(char const*, unsigned long) const
+ .text._ZNKSs4rendEv
+ 0x010031c8 0x10 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010031c8 std::string::rend() const
+ .text._ZNKSs6rbeginEv
+ 0x010031d8 0x18 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010031d8 std::string::rbegin() const
+ .text._ZNSs12_S_constructEmcRKSaIcE
+ 0x010031f0 0xc0 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010031f0 std::string::_S_construct(unsigned long, char, std::allocator const&)
+ .text._ZNSsC1EmcRKSaIcE
+ 0x010032b0 0x3c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010032b0 std::basic_string, std::allocator >::basic_string(unsigned long, char, std::allocator const&)
+ .text._ZNSsC2EmcRKSaIcE
+ 0x010032ec 0x3c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010032ec std::basic_string, std::allocator >::basic_string(unsigned long, char, std::allocator const&)
+ .text._ZNSsC1ERKSaIcE
+ 0x01003328 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003328 std::basic_string, std::allocator >::basic_string(std::allocator const&)
+ .text._ZNSsC2ERKSaIcE
+ 0x0100335c 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x0100335c std::basic_string, std::allocator >::basic_string(std::allocator const&)
+ .text._ZNKSs7compareEmmPKcm
+ 0x01003390 0x90 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003390 std::string::compare(unsigned long, unsigned long, char const*, unsigned long) const
+ .text._ZNKSs7compareEmmPKc
+ 0x01003420 0xc8 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003420 std::string::compare(unsigned long, unsigned long, char const*) const
+ .text._ZNKSs7compareEmmRKSsmm
+ 0x010034e8 0xc0 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010034e8 std::string::compare(unsigned long, unsigned long, std::string const&, unsigned long, unsigned long) const
+ .text._ZNKSs7compareEmmRKSs
+ 0x010035a8 0xa0 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010035a8 std::string::compare(unsigned long, unsigned long, std::string const&) const
+ .text._ZNSs4_Rep8_M_cloneERKSaIcEm
+ 0x01003648 0x9c c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003648 std::string::_Rep::_M_clone(std::allocator const&, unsigned long)
+ .text._ZNSs4_Rep7_M_grabERKSaIcES2_
+ 0x010036e4 0x104 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010036e4 std::string::_Rep::_M_grab(std::allocator const&, std::allocator const&)
+ .text._ZNKSs4copyEPcmm
+ 0x010037e8 0x88 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010037e8 std::string::copy(char*, unsigned long, unsigned long) const
+ .text._ZNSs13_S_copy_charsEPcPKcS1_
+ 0x01003870 0x20 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003870 std::string::_S_copy_chars(char*, char const*, char const*)
+ .text._ZNSs13_S_copy_charsEPcS_S_
+ 0x01003890 0x20 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003890 std::string::_S_copy_chars(char*, char*, char*)
+ .text._ZNSs12_S_constructIPcEES0_T_S1_RKSaIcESt20forward_iterator_tag
+ 0x010038b0 0xc4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010038b0 char* std::string::_S_construct(char*, char*, std::allocator const&, std::forward_iterator_tag)
+ .text._ZNSsC2IPcEET_S1_RKSaIcE
+ 0x01003974 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003974 std::basic_string, std::allocator >::basic_string(char*, char*, std::allocator const&)
+ .text._ZNSsC1ERKSsmmRKSaIcE
+ 0x010039a8 0x60 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x010039a8 std::basic_string, std::allocator >::basic_string(std::string const&, unsigned long, unsigned long, std::allocator const&)
+ .text._ZNSsC2ERKSsmmRKSaIcE
+ 0x01003a08 0x60 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003a08 std::basic_string, std::allocator >::basic_string(std::string const&, unsigned long, unsigned long, std::allocator const&)
+ .text._ZNSsC1ERKSsmm
+ 0x01003a68 0xec c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003a68 std::basic_string, std::allocator >::basic_string(std::string const&, unsigned long, unsigned long)
+ .text._ZNKSs6substrEmm
+ 0x01003b54 0x40 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003b54 std::string::substr(unsigned long, unsigned long) const
+ .text._ZNSsC2ERKSsmm
+ 0x01003b94 0xec c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003b94 std::basic_string, std::allocator >::basic_string(std::string const&, unsigned long, unsigned long)
+ .text._ZNSsC1IPcEET_S1_RKSaIcE
+ 0x01003c80 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003c80 std::basic_string, std::allocator >::basic_string(char*, char*, std::allocator const&)
+ .text._ZNSs13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIS_SsEES2_
+ 0x01003cb4 0x20 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003cb4 std::string::_S_copy_chars(char*, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator)
+ .text._ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag
+ 0x01003cd4 0xc4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003cd4 char* std::string::_S_construct(char const*, char const*, std::allocator const&, std::forward_iterator_tag)
+ .text._ZNSsC2IPKcEET_S2_RKSaIcE
+ 0x01003d98 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003d98 std::basic_string, std::allocator >::basic_string(char const*, char const*, std::allocator const&)
+ .text._ZNSsC1EPKcmRKSaIcE
+ 0x01003dcc 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003dcc std::basic_string, std::allocator >::basic_string(char const*, unsigned long, std::allocator const&)
+ .text._ZNSsC2EPKcmRKSaIcE
+ 0x01003e00 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003e00 std::basic_string, std::allocator >::basic_string(char const*, unsigned long, std::allocator const&)
+ .text._ZNSsC1IPKcEET_S2_RKSaIcE
+ 0x01003e34 0x34 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003e34 std::basic_string, std::allocator >::basic_string(char const*, char const*, std::allocator const&)
+ .text._ZNSsC1EPKcRKSaIcE
+ 0x01003e68 0x60 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003e68 std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)
+ .text._ZNSsC2EPKcRKSaIcE
+ 0x01003ec8 0x60 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003ec8 std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)
+ .text._ZNSs13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIPKcSsEES4_
+ 0x01003f28 0x20 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003f28 std::string::_S_copy_chars(char*, __gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator)
+ .text._ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSsEEEES2_T_S4_RKSaIcESt20forward_iterator_tag
+ 0x01003f48 0xb4 c:/altera/12.1sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/lib\libstdc++.a(string-inst.o)
+ 0x01003f48 char* std::string::_S_construct<__gnu_cxx::__normal_iterator >(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator