This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to update motor controller arduino
#4
(2019-10-04, 05:03 PM)svkatielee Wrote:
(2019-10-04, 01:35 AM)seandepagnier Wrote: You can of course upload the new version by typing "make upload" in pypilot/arduino/motor

Will it update over the isolated serial link? Can I simply ssh into the tinypilot and type this?

Or do I open the controller, connect USB to the nano, and to a system that has a keyboard and display and the code in order to "type make upload"?

It will update over the isolated link but you need to apply power to the controller just as you upload, or press reset button right at upload.   You can also wire a usb uart adaptor to the isolated serial link.

Otherwise, it's possible to use the usb port of the nano, the controller should not be powered.

You can type the command 'make upload' from the directory at least on openplotter.   I don't have the avr toolchain installed on tinypilot.  Maybe in the future it will, but for now it's better to use a linux system with avr-gcc and avrdude to update the controller
Reply


Messages In This Thread
RE: How to update motor controller arduino - by seandepagnier - 2019-10-05, 12:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)