Post Go back to editing

EVAL-ADICUP3029 + CN0565 suddenly being able to run example scripts

Thread Summary

The user encountered a 'No device found' exception when running cn0565_prod_tst.py with a new ADICUP3029 and CN0565 calibration board. The solution involved ensuring the correct COM port was used, uploading the firmware from cn0565 HEX.zip, and resetting the ADICUP3029 before configuring Tera Term and IIO Oscilloscope. The baud rate was set to 230400, and the DS2 light on the ADICUP3029 flashed once upon successful connection.
AI Generated Content
Category: Hardware
Product Number: EVAL-CN0565-ARDZ

# Description of Issue

Was using brand new adicup3029 and cn0565 with the provided calibration board attached to electrodes when suddenly the board stopped accepting the python scripts provided in pyadi-iio-0.0.20. I do not have access to an iio oscilloscope, but otherweise i have followed the steps outlined in  CN0565+ADICUP3029 : no device found and  RE: CN0565+ADICUP3029,Serial Connection Error! No device found 

upon opening terra-term to the COM PORT, flashing cn0565_aducm3029_fw_eit_ad5940_iio.hex I get the message

 

However when I try to run cn0565_prod_tst.py after disconnecting the terminal, I see the DS2 Light on my adicup3029 flash once, then I get a No device found exception.  

cn0565_prod_tst.py is configured as: 

    cn0565 = adi.cn0565(uri="serial:COM5,230400,8n1n")
Attached below are photos of my board(s):
Thank you in advance for your help.
Alex
Parents
  • UPDATE:

    Downloaded IIO Oscilloscope and flashed both cn0565.hex from the wiki and cn0565_aducm3029_fw_eit_ad5940_iio.hex from the github, got this screenshot both times

  • Hi  ,

    Did you change the COM port in cn0565_prod_tst.py to the COM port currently being used by the CN0565?

    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

  • Hi Michelle,

    Thanks this helped!

    Best, 

    Alex

Reply Children
No Data