CN0359 build source code

Hello,

I am working on building the CN0359 source code and am having issues. I have been able to program the board using j-trace with the provided bin file from the ADI website, but when I try to build the source code and program with the generated bin file the LCD stays blank and the excitation waveform is 10s of volts instead of the 1V when I program with the supplied bin file.

My development env is as follows.

Below is pretty old at this point. Current status is I have everything building in ubuntu on virtualbox and I can get a bin file to generate, but when I load it onto the CN0359 and reboot it the LCD stays blank and nothing happens. I have no idea how to debug this or what settings I should try to change. 

========================================================================================================================

Output from CDT Build Console

10:12:57 **** Incremental Build of configuration Release for project CN0359 ****
make -j4 all
'Building target: CN0359.elf'
'Invoking: Cross ARM C++ Linker'
arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -O3 -ffreestanding -fsingle-precision-constant -flto -g3 -T gcc_arm.ld -Xlinker --gc-sections -L"../ldscripts" -Wl,-Map,"CN0359.map" --specs=nano.specs -u _printf_float -u _scanf_float -o "CN0359.elf" ./source/system/cmsis/startup_ADuCM360.o ./source/system/cmsis/system_ADuCM360.o ./source/hal/drivers/ad8253.o ./source/hal/drivers/adc.o ./source/hal/drivers/buzzer.o ./source/hal/drivers/dac.o ./source/hal/drivers/dma.o ./source/hal/drivers/encoder.o ./source/hal/drivers/flash.o ./source/hal/drivers/lcd.o ./source/hal/drivers/pwm.o ./source/hal/drivers/uart.o ./source/hal/Exceptions.o ./source/hal/RTD.o ./source/hal/devices.o ./source/hal/syscalls.o ./source/hal/timer.o ./source/applications/dialog/AddressDialog.o ./source/applications/dialog/BaudRateDialog.o ./source/applications/dialog/CellConstantDialog.o ./source/applications/dialog/CoefficientDialog.o ./source/applications/dialog/ContrastDialog.o ./source/applications/dialog/Dialog.o ./source/applications/dialog/FirmwareDialog.o ./source/applications/dialog/FrequencyDialog.o ./source/applications/dialog/HoldTimeDialog.o ./source/applications/dialog/HomeDialog.o ./source/applications/dialog/SettingDialog.o ./source/applications/dialog/SetupTimeDialog.o ./source/applications/dialog/SplashDialog.o ./source/applications/dialog/VoltageDialog.o ./source/applications/command/cmd_cellconstant.o ./source/applications/command/cmd_coefficient.o ./source/applications/command/cmd_frequency.o ./source/applications/command/cmd_holdtime.o ./source/applications/command/cmd_poll.o ./source/applications/command/cmd_setuptime.o ./source/applications/command/cmd_voltage.o ./source/applications/main.o ./source/applications/message.o ./source/applications/uart_exec.o
'Finished building target: CN0359.elf'
' '
'Invoking: Cross ARM GNU Create Flash Image'
arm-none-eabi-objcopy -O binary "CN0359.elf" "CN0359.bin"
'Invoking: Cross ARM GNU Print Size'
arm-none-eabi-size --format=berkeley "CN0359.elf"
text data bss dec hex filename
76300 496 4116 80912 13c10 CN0359.elf
'Finished building: CN0359.siz'
'Finished building: CN0359.bin'
' '
' '

10:13:02 Build Finished. 0 errors, 0 warnings. (took 4s.331ms)

Also when I try to clean the project I get this error

10:27:39 **** Clean-only build of configuration Release for project CN0359 ****
make -j4 clean
rm -rf ./source/system/cmsis/startup_ADuCM360.o ./source/system/cmsis/system_ADuCM360.o ./source/hal/drivers/ad8253.o ./source/hal/drivers/adc.o ./source/hal/drivers/buzzer.o ./source/hal/drivers/dac.o ./source/hal/drivers/dma.o ./source/hal/drivers/encoder.o ./source/hal/drivers/flash.o ./source/hal/drivers/lcd.o ./source/hal/drivers/pwm.o ./source/hal/drivers/uart.o ./source/hal/Exceptions.o ./source/hal/RTD.o ./source/hal/devices.o ./source/hal/syscalls.o ./source/hal/timer.o ./source/applications/dialog/AddressDialog.o ./source/applications/dialog/BaudRateDialog.o ./source/applications/dialog/CellConstantDialog.o ./source/applications/dialog/CoefficientDialog.o ./source/applications/dialog/ContrastDialog.o ./source/applications/dialog/Dialog.o ./source/applications/dialog/FirmwareDialog.o ./source/applications/dialog/FrequencyDialog.o ./source/applications/dialog/HoldTimeDialog.o ./source/applications/dialog/HomeDialog.o ./source/applications/dialog/SettingDialog.o ./source/applications/dialog/SetupTimeDialog.o ./source/applications/dialog/SplashDialog.o ./source/applications/dialog/VoltageDialog.o ./source/applications/command/cmd_cellconstant.o ./source/applications/command/cmd_coefficient.o ./source/applications/command/cmd_frequency.o ./source/applications/command/cmd_holdtime.o ./source/applications/command/cmd_poll.o ./source/applications/command/cmd_setuptime.o ./source/applications/command/cmd_voltage.o ./source/applications/main.o ./source/applications/message.o ./source/applications/uart_exec.o CN0359.bin CN0359.siz ./source/system/cmsis/startup_ADuCM360.d ./source/system/cmsis/system_ADuCM360.d ./source/hal/drivers/ad8253.d ./source/hal/drivers/adc.d ./source/hal/drivers/buzzer.d ./source/hal/drivers/dac.d ./source/hal/drivers/dma.d ./source/hal/drivers/encoder.d ./source/hal/drivers/flash.d ./source/hal/drivers/lcd.d ./source/hal/drivers/pwm.d ./source/hal/drivers/uart.d ./source/hal/Exceptions.d ./source/hal/RTD.d ./source/hal/devices.d ./source/hal/syscalls.d ./source/hal/timer.d ./source/applications/dialog/AddressDialog.d ./source/applications/dialog/BaudRateDialog.d ./source/applications/dialog/CellConstantDialog.d ./source/applications/dialog/CoefficientDialog.d ./source/applications/dialog/ContrastDialog.d ./source/applications/dialog/Dialog.d ./source/applications/dialog/FirmwareDialog.d ./source/applications/dialog/FrequencyDialog.d ./source/applications/dialog/HoldTimeDialog.d ./source/applications/dialog/HomeDialog.d ./source/applications/dialog/SettingDialog.d ./source/applications/dialog/SetupTimeDialog.d ./source/applications/dialog/SplashDialog.d ./source/applications/dialog/VoltageDialog.d ./source/applications/command/cmd_cellconstant.d ./source/applications/command/cmd_coefficient.d ./source/applications/command/cmd_frequency.d ./source/applications/command/cmd_holdtime.d ./source/applications/command/cmd_poll.d ./source/applications/command/cmd_setuptime.d ./source/applications/command/cmd_voltage.d ./source/applications/main.d ./source/applications/message.d ./source/applications/uart_exec.d CN0359.elf
makefile:82: recipe for target 'clean' failed
process_begin: CreateProcess(NULL, rm -rf ./source/system/cmsis/startup_ADuCM360.o ./source/system/cmsis/system_ADuCM360.o ./source/hal/drivers/ad8253.o ./source/hal/drivers/adc.o ./source/hal/drivers/buzzer.o ./source/hal/drivers/dac.o ./source/hal/drivers/dma.o ./source/hal/drivers/encoder.o ./source/hal/drivers/flash.o ./source/hal/drivers/lcd.o ./source/hal/drivers/pwm.o ./source/hal/drivers/uart.o ./source/hal/Exceptions.o ./source/hal/RTD.o ./source/hal/devices.o ./source/hal/syscalls.o ./source/hal/timer.o ./source/applications/dialog/AddressDialog.o ./source/applications/dialog/BaudRateDialog.o ./source/applications/dialog/CellConstantDialog.o ./source/applications/dialog/CoefficientDialog.o ./source/applications/dialog/ContrastDialog.o ./source/applications/dialog/Dialog.o ./source/applications/dialog/FirmwareDialog.o ./source/applications/dialog/FrequencyDialog.o ./source/applications/dialog/HoldTimeDialog.o ./source/applications/dialog/HomeDialog.o ./source/applications/dialog/SettingDialog.o ./source/applications/dialog/SetupTimeDialog.o ./source/applications/dialog/SplashDialog.o ./source/applications/dialog/VoltageDialog.o ./source/applications/command/cmd_cellconstant.o ./source/applications/command/cmd_coefficient.o ./source/applications/command/cmd_frequency.o ./source/applications/command/cmd_holdtime.o ./source/applications/command/cmd_poll.o ./source/applications/command/cmd_setuptime.o ./source/applications/command/cmd_voltage.o ./source/applications/main.o ./source/applications/message.o ./source/applications/uart_exec.o CN0359.bin CN0359.siz ./source/system/cmsis/startup_ADuCM360.d ./source/system/cmsis/system_ADuCM360.d ./source/hal/drivers/ad8253.d ./source/hal/drivers/adc.d ./source/hal/drivers/buzzer.d ./source/hal/drivers/dac.d ./source/hal/drivers/dma.d ./source/hal/drivers/encoder.d ./source/hal/drivers/flash.d ./source/hal/drivers/lcd.d ./source/hal/drivers/pwm.d ./source/hal/drivers/uart.d ./source/hal/Exceptions.d ./source/hal/RTD.d ./source/hal/devices.d ./source/hal/syscalls.d ./source/hal/timer.d ./source/applications/dialog/AddressDialog.d ./source/applications/dialog/BaudRateDialog.d ./source/applications/dialog/CellConstantDialog.d ./source/applications/dialog/CoefficientDialog.d ./source/applications/dialog/ContrastDialog.d ./source/applications/dialog/Dialog.d ./source/applications/dialog/FirmwareDialog.d ./source/applications/dialog/FrequencyDialog.d ./source/applications/dialog/HoldTimeDialog.d ./source/applications/dialog/HomeDialog.d ./source/applications/dialog/SettingDialog.d ./source/applications/dialog/SetupTimeDialog.d ./source/applications/dialog/SplashDialog.d ./source/applications/dialog/VoltageDialog.d ./source/applications/command/cmd_cellconstant.d ./source/applications/command/cmd_coefficient.d ./source/applications/command/cmd_frequency.d ./source/applications/command/cmd_holdtime.d ./source/applications/command/cmd_poll.d ./source/applications/command/cmd_setuptime.d ./source/applications/command/cmd_voltage.d ./source/applications/main.d ./source/applications/message.d ./source/applications/uart_exec.d CN0359.elf, ...) failed.
make (e=2): The system cannot find the file specified.

make: [clean] Error 2 (ignored)
' '

10:27:40 Build Failed. 1 errors, 0 warnings. (took 510ms)

Should I be using a different IDE? Should I have specific settings in place? 

Any help would be appreciated!



Updated with current status
[edited by: rwatson at 10:21 PM (GMT -4) on 10 Sep 2020]