- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
shuvra1,
The files you provided in the previous post is EXACTLY the same as the ones you provided in the first post of this thread.
The Potentiostat.zip is NOT the original Olav Bjerke project. It has been altered.
If I can obtain the original project, I might be able to glean new information that might help you.
The main issue starts with the fact that you changed the VID and PID from the original settings to the settings used for the USB UART.
Based on this pic:
you are stating the original VID and PID are 0x04B5 and 0x0081 respectively.
All the parameters listed in the "Device Descriptors" are important to the USB communications used by the Python scripts.
I must note that I have limited experience in USB configuration. It would be best for someone else with more experience to weigh in on this issue.
Once a USB slave device is powered up on the USB bus, the PC looks for a '.inf' file where the VID and PID match. In this case, I changed the VID to 0x4B5 and the PID to 0x0081.
You will notice in a Device Manager snip, that the device "Potentiostat" shows up but the icon symbol on top of it () indicates it is not operational.
Reading the event for this device it indicates the read VID and PID but the Driver Name: equals null. (It could not identify the driver to use.)
Since it couldn't find the .inf file that matches the VID and PID, it couldn't determine which .sys driver file to load. (Sometimes a special .dll file is also used.)
This is why the original Olav Bjerke project files may be necessary. Beside setting the proper USB configuration data in the "Device Descriptor" the support files (.inf, .sys and possibly .dll) may be necessary to continue to move forward.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kindly provide your email id so that I can provide you that or else I should share that file tomorrow as zip file compatible. I need it.Please look in to it wisely. Highly obliged. Kindly share a screen shot & send me that file or project workspace of a psoc creator.
Install all ML package
Using. - pip install -
Mentioned in his thesis.
Combine all files in a common folder then shift +right click then open power shell window then write python Potentiostat_GUI.py press enter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where to place this code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
shuvra1,
Placing the CY_ISR(dacInterrupt) inside main.c as it is listed in the OB thesis pdf is just fine.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kindly fix the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kindly fix this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the USBFS problem has been occurred?? It is not executed properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
shuvra1,
I still cannot get the python environment to work. I am working on it.
By the way you mentioned:
"Install all ML package
Using. - pip install -
Mentioned in his thesis."
This is not true. The "ML package" and "Using pip" is NOT mentioned in his thesis.
Please DO NOT "scream" on this forum. This is not polite to those who wish to help.
People like myself are trying to help within the time and resources available.
The Python environment that needs to be established properly is a sophisticated system and the information provided in the OB thesis paper is fairly "light-weight". It primarily assumes the reader knows enough of the specifics on how to operate with Python.
Python is NOT one of my strengths. I've researched how to properly load the Python environment with mostly bad results.
I can understand that you are frustrated and ma be running into a time deadline. Have you consider getting help from a professional "paid" resource in Python expertise?
Usually when I hit a "brick wall" on an issue, I spend a lot of my time performing debugging session and experiments to identify the culprit factors. I do reach out to forums for ideas and assistance but I am not guaranteed answers.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Debugging is running what that means>?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Debugging is still running what that means>?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to reolve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
shuvra1,
This latest post indicates the CY8C5888LT-LP097 compiled successfully.
What problem are you trying to solve?
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check 2nd line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
shuvra1,
I'm running one of the later projects you provided on my CY8CKIT-059.
In debugger mode, my code gets past line 88 in main.c
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Continuing target program
The target program has stopped at: file: main.c line: 88 function: main address: 0x0000015A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Continuing target program
The target program has stopped at: file: main.c line: 88 function: main address: 0x0000015A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The target program has stopped at: file :main.c line: 00 function : main address. Continouing target program.
Please debugg & solve the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having the same kind of error .... Please let's resolve this.........