Posts: 2
Threads: 1
Joined: Mar 2022
Reputation:
0
Hi Sean,
I love your work and purchased your pilot some months ago.
Do you plan to update your Tinypilot image anytime soon to benefits of your recent improvements ?
Thanks a lot !
Posts: 1
Threads: 0
Joined: Jan 2022
Reputation:
0
Hi Sean
Would you say that upgrading from Git is not a viable option? I have tried to follow the instructions set out elsewhere in these forums without success. I had to revert back to the 2021 image every time.
Kind regards
Posts: 140
Threads: 2
Joined: Jul 2020
Reputation:
4
2022-03-16, 09:32 AM
(This post was last modified: 2022-03-16, 09:34 AM by stelian.)
The best way to update the hat arduino firmware is to build this firmware on a standard Linux box ('make' inside arduino/hat), then copy the generated hat.hex to the rasbperry inside ~/.pypilot directory.
Then simply reboot (or sv restart pypilot_hat) and the firmware should be updated (look at logs inside /var/log/pypilot_hat/current).
However, I experienced errors while updating if my JLX display is connected during the update (they share the same SPI bus and there are probably some concurrent accesses to both devices). I planned to look into this but haven't got to it yet. Meanwhile, if you disconnect the display firmware updating will work.
Posts: 48
Threads: 4
Joined: Oct 2021
Reputation:
0
Hello Sean,
Also are there release notes somewhere about these unofficial versions of tinypilot?
Kind Regards,
Posts: 2,356
Threads: 21
Joined: Jun 2016
Reputation:
75
I can verify you can update the firmware with the display attached.. I always do this using "make upload" from pypilot/arduino/hat directory. You must be sure not to be running any pypilot or other processes which access the spi bus.
As for unofficial versions.. not really besides on this forum. If you mean the image from stelian which supports the pi4 and pizero 2? I am bogged down with boat projects and trying to fulfill orders from my store is like treading water which leaves me little time/energy. I do have big improvements planned and and a few algorithms implemented recently (although not well tested)
Posts: 140
Threads: 2
Joined: Jul 2020
Reputation:
4
2022-03-17, 09:23 AM
(This post was last modified: 2022-03-17, 09:23 AM by stelian.)
Hi Sean,
Regarding the firmware update: of course if you 'sv stop pypilot_hat' first, then 'make upload' will work.
I was talking about the code in hat/arduino.py that should allow automatic verify/upload if a new firmware is put inside ~/.pypilot/. This code does not work, unless you physically remove the display. It can probably be fixed by doing the verify/upload step before starting the ugfx work, and as I said, looking at this is on my TODO list...