Post Go back to editing

CN0565 serial connection error

Category: Software
Product Number: ADuCM3029

I have the aducm3029 and the cn0565 electrical impedance tomography unit, and am running into issues in the setup process. I am attempting to run the example scripts cn0565_example_single.py and cn0565_example.py, but am getting a device not found error, as below:

I am unsure of what is causing this issue, and I have verified that the baud rate and serial terminal information are correct, as well as verified that the physical cable is not the issue. Additionally, I am running into the error [Unable to create Local IIO context : Function not implemented (40)] when running the command iio_info, and the following text when running iio_info -u serial:/dev/tty.usbmodem1102,115200,8n1n:

ERROR: sp_blocking_read_next has timedout
ERROR: READ LINE: -60
Unable to create IIO context serial:/dev/tty.usbmodem1102,115200,8n1n: timed out (60)

These errors seem to me like the program is unable to identify the device connected, and I don't know how to approach solving this issue from here. Previously, I was able to execute the command line interpreter demo, after which I thought that the board and my device were able to successfully communicate with each other. Any ideas on how to solve this issue are welcome.

Parents
  • Hi  ,

    You may try uploading this firmware cn0565 HEX.zip in your ADICUP3029 and make sure to reset the ADICUP3029 first before following the steps below.

    In Tera Term, you may follow these steps:

    1. Open Tera Term.
    2. Choose the COM port where the ADICUP3029 is connected. Make sure it's labeled as "mbed Serial Port".
    3. In the Ribbon, go to Setup Tab and click Serial Port. Connect in the speed of 115200. 
    4. In the Setup Tab, click Terminal and set new line receive to AUTO.
    5. Press the reset button on ADICUP3029 and you should see this message below.

    After configuring in Tera Term, you may now connect to IIO Oscilloscope by following the steps below:

    1. Open IIO Oscilloscope. Note: Make sure to close the Tera Term terminal first.
    2. Select Serial and choose the correct serial port.
    3. Change the baud rate to 230400.
    4. Press the reset button on ADICUP3029 and then click on the Refresh Button on the lower corner.
    5. The IIO context description and attributes, IIO devices should appear. 
    6. You may now click the Connect button to connect.

    After successfully establishing connection, you may now run some example scripts in the command terminal.

    Note: Make sure to close all open application that communicates with the same serial port.

    Let me know if this works for you.

    Regards,
    Michelle

Reply
  • Hi  ,

    You may try uploading this firmware cn0565 HEX.zip in your ADICUP3029 and make sure to reset the ADICUP3029 first before following the steps below.

    In Tera Term, you may follow these steps:

    1. Open Tera Term.
    2. Choose the COM port where the ADICUP3029 is connected. Make sure it's labeled as "mbed Serial Port".
    3. In the Ribbon, go to Setup Tab and click Serial Port. Connect in the speed of 115200. 
    4. In the Setup Tab, click Terminal and set new line receive to AUTO.
    5. Press the reset button on ADICUP3029 and you should see this message below.

    After configuring in Tera Term, you may now connect to IIO Oscilloscope by following the steps below:

    1. Open IIO Oscilloscope. Note: Make sure to close the Tera Term terminal first.
    2. Select Serial and choose the correct serial port.
    3. Change the baud rate to 230400.
    4. Press the reset button on ADICUP3029 and then click on the Refresh Button on the lower corner.
    5. The IIO context description and attributes, IIO devices should appear. 
    6. You may now click the Connect button to connect.

    After successfully establishing connection, you may now run some example scripts in the command terminal.

    Note: Make sure to close all open application that communicates with the same serial port.

    Let me know if this works for you.

    Regards,
    Michelle

Children
No Data