Open MV CLI and OTA programming

Discussion related to "under the hood" OpenMV topics.
vongomben
Posts: 2
Joined: Tue Oct 23, 2018 10:41 am

Open MV CLI and OTA programming

Postby vongomben » Tue Oct 23, 2018 10:55 am

Hi OpenMV forums!

Are there any way to upload code on the cam using a Command Line Interface?
Are there any way to use the WIFI module to get programing Over The Air on the board?

Thanks in advace for your reply!
User avatar
kwagyeman
Posts: 3144
Joined: Sun May 24, 2015 2:10 pm

Re: Open MV CLI and OTA programming

Postby kwagyeman » Tue Oct 23, 2018 11:59 am

Hi, we almost have WiFi programming working however it's not robust enough for general use.

Anyway, if you want to upload code over the command line see the micropython repl control scripts. You can find these in the micropython github repo under tools. To enable the OpenMV Cam to be programmed over UART there's a configuration GUI in the IDE that you can use to set enable UART repl on startup which will do what you need.
Nyamekye,
rister
Posts: 14
Joined: Wed Oct 24, 2018 3:23 pm

Re: Open MV CLI and OTA programming

Postby rister » Wed Oct 24, 2018 11:18 pm

It is possible to get a link to the micropython repl control scripts?

thanks
vikebo
Posts: 1
Joined: Sat Jun 22, 2019 11:32 am

Re: Open MV CLI and OTA programming

Postby vikebo » Sat Jun 22, 2019 11:37 am

Hello,

Any progress on OTA programming using the WiFi shield?

By the way, this is a bit inconvenient when searching the forum:

"The following words in your search query were ignored because they are too common words: wifi."
User avatar
kwagyeman
Posts: 3144
Joined: Sun May 24, 2015 2:10 pm

Re: Open MV CLI and OTA programming

Postby kwagyeman » Sat Jun 22, 2019 12:52 pm

Um, so, it code work was completed but it doesn't work 100% reliably. Right now, my push is to get new driver support for the OV5640 out, the OV2640, and we have a DRAM version of the H7 coming soon. This will allow you to take high res 5MP still images and do AprilTags at Max res.

We also are starting on a Linux camera which will have wifi programming support via the IDE.

...

The low end Wifi adapters are quite hard to use for high data rate apps because they can't buffer an infinite amount of SPI data without the processor needing to do anything. Meaning that a lot of CPU time as to be spent polling the device which heavily impacts the processor.

...

Use the WiFi device as a UART for the OpenTerminal feature would probably be easy to get working however. But, we'd need some community help.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests