-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atmel Studio Compatible? #10
Comments
Hi MadTooler, Good question. Studio support was not the intention here, but it should be possible to setup an "External Tool" in Studio which makes it call pyupdi. I will give it a try myself when I have some time. pyupdi should work on any OS where Python can access a CDC/Virtual COM port. Its tested on py27 only. Tiny414 is not in there, but tweak the parameters in device.py and it will work - all of these parts have essentially the same UPDI interface. |
Thanks! I will tinker around when I have a few PCBs made up and see what happens. Please update any results that you may find. |
Have you got it working? I have been trying but could not get it to work. And the command I used is |
I have not had the opportunity to try. I may pick up on of the Ice programmers to save some time for now, but I would like to see this work for others to help extend the list of those developing. |
I have set up pyupdi as a Custom Programming Tool in Atmel Studio 7.0.1931 on Windows 7. Under Project -> Properties -> Tool select Custom Programming Tool and then add the command how to call pyupdi on your system. Both the serial port (e.g., COM22) and the device name (e.g., tiny412) need to be hardcoded. I would prefer to use the environment variable You can now program your device via Debug -> Start Without Debugging.
|
I finally am trying this for myself. Here is what I have: Windows 10, Atmel Studio 7.0.1931, attiny414 custom programming tool command: and I am getting the error: Also, I am not sure how/where to view the more indepth outputs... well, I added "-v" and I think I found something more useful:
|
Well, figured out it was throwing the error because of the "Atmel Studio" file location with a space in the folder name. Removed the space and it went a little further. Now I get this error that I assume is a port issue:
|
Each character sent should be received as well since RX and TX are joined with a resistor. The echo error suggests that data sent is not being read... |
I am using an FTDI based USB cable. I have had it attached to my scope the whole time and also have noticed no output. |
Further testing with the scope shows what appears as a single pulse low of about 85us with nothing further. With the 4.7k resistor, the RX side is above a volt (with 3.3 vcc). I tried a lower resistor to pull it further closer to the TX, but it still gives the same errors. THEN, I tried it on python 3.7. Same errors as with 2.7 with the 4.7k resistor. With a 3K resistor, Success! |
Ah, nice. |
Is your driver recognized by Atmel Studio?
I am unclear on running the driver. Will it work in Win 10 64b by simply running it from python?
Which version of python?
Any idea of this works with the new attiny414 family?
Thanks.
The text was updated successfully, but these errors were encountered: