CrossCore Embedded Studio ADuCM3029_test_project

Going for a simple test program of the Analog Devices Board EVAL-ADICUP3029.

I have selected the project ADuCM3029_test_project.

I am able to compile it and link it sucessfully. 

Upon entering the run and debug mode I get the message

====

Open On-Chip Debugger (Analog Devices CCES 2.9.0 OpenOCD 0.9.0-ga44a178) 0.9.0
Licensed under GNU GPL v2
Report bugs to <processor.tools.support@analog.com>
0
adapter speed: 1000 kHz
Info : transports supported by the debug adapter: "jtag", "swd"
Info : auto-select transport "jtag"
trst_only separate trst_push_pull
adspsc58x_init
adapter speed: 1000 kHz

Error: ICE-2000 emulator not found
Error: cannot connect to ICE-2000 emulator

====

Not sure at this point what is going wrong. 

I have tried various debug configurations without success for now. 

Could you help me locate the steps to run this simple test on this board

Thank you 

Jean-Pierre Sainfeld

Parents
  • +1
    •  Analog Employees 
    on Feb 21, 2021 12:22 AM 1 month ago

    Hi Jean,

    You have to change the interface to ARM CMSIS-DAP compliant adapter.

    You'll find the instructions on configuring the debugger for the EVAL-ADICUP3029 here: https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/tools/cces_user_guide#how_to_configure_the_debug_session_for_an_aducm3029_application

    Regards,

    Nikko

  • 0
    •  Analog Employees 
    on Feb 24, 2021 9:48 PM 1 month ago in reply to ACatapang

    Hi Jean-Pierre,

    To add to what Nikko said, you can also program the ADICUP3029 by copying .Hex files onto the DAPLINK drive (thats the drive name when you connect the ADICUP3029 to the PC)

    Try this file right here (https://github.com/analogdevicesinc/no-OS/releases/download/Latest/aducm_blinky_example.zip )  This is a simply blinky project and all you need to do is drag and drop it onto the DAPLINK drive 

    Once that is done the board should disconnect and then reconnect while programming.  After that happens you simply need to hit the reset button (S1) on the ADICUP3029 board and the program should run.

    Cheers,

    Brandon

  • Brandon,

    Thank you so much for your very kind assistance in guiding our steps. 

    I have followed successfully the steps to get the blinky_example build and dowloaded to the board. 

    I have few more steps I would like to complete before I move to the more complex examples for the PH sensors that we are trying to control. 

    1) In the project blinky-example, the file system.svc shows several add-ins that are not installed 

    - CMIS Core

    - GPIO Service for Cortex-M3

    - Interrupt Management Service for Cortex-M3

    - PWR Service for Cortex M3 

    When I try to add those add-ins the dialog shows an empty list of add-ins. I have tried several things to get it populated but so far without success. 

    If you could help me solve this issue it would be great 

    2) In order to experiment with some code modifications, I would like to use the printf function to display debugging information. I followed the code of DEBUG_RESULT and common_Fail and common_Perf. 

    If the symbol REDIRECT_OUTPUT_TO_UART is defined the adI_uart_write function is invoked. 

    The question is what is the port used for this uart and how is this port configured. 

    also when enabled the compile step fails with the file aid_uart_config.g No such file or directory. 

    How do I get those components included in the project.. 

    Tank you again for your very kind assistance. 

    Jean-Pierre 

Reply
  • Brandon,

    Thank you so much for your very kind assistance in guiding our steps. 

    I have followed successfully the steps to get the blinky_example build and dowloaded to the board. 

    I have few more steps I would like to complete before I move to the more complex examples for the PH sensors that we are trying to control. 

    1) In the project blinky-example, the file system.svc shows several add-ins that are not installed 

    - CMIS Core

    - GPIO Service for Cortex-M3

    - Interrupt Management Service for Cortex-M3

    - PWR Service for Cortex M3 

    When I try to add those add-ins the dialog shows an empty list of add-ins. I have tried several things to get it populated but so far without success. 

    If you could help me solve this issue it would be great 

    2) In order to experiment with some code modifications, I would like to use the printf function to display debugging information. I followed the code of DEBUG_RESULT and common_Fail and common_Perf. 

    If the symbol REDIRECT_OUTPUT_TO_UART is defined the adI_uart_write function is invoked. 

    The question is what is the port used for this uart and how is this port configured. 

    also when enabled the compile step fails with the file aid_uart_config.g No such file or directory. 

    How do I get those components included in the project.. 

    Tank you again for your very kind assistance. 

    Jean-Pierre 

Children
No Data