You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a simple HTTP server using Wi-Fi (and the add-on board). Code flashing is fine, but I suspect the /data files in the project are not being flashed to the board when the Dev Board Micro + Wireless Add-on is set on Arduino IDE.
Using the normal Dev Board Micro flashing the server works as intended, because the /data folder is flashed correctly.
Everytime I'm flashing using Sketch+Data option:
I'll put the code I'm using and the flash logs for both boards below.
Yeah, Show Sketch Folder puts me in the correct folder, and the file is there in the /data folder.
I found the /data folder is being "replaced"/"overwritten" by the /data folder inside the Arduino core libraries -> C:\Users\arthu\AppData\Local\Arduino15\packages\coral\hardware\coral_micro\1.0.1\variants\coral_micro_wifi\data
I tried putting the html file inside this folder and it was flashed correctly, but that's not supposed to work that way, I guess
I confirm this bug.
I have done a little analysis, here what I have found:
In file boards.txt, the key coral_micro_wifi.upload.pattern passes two times the option --data_dir:
The first time, as for the micro (i.e. without wifi), to pass the tensorflow data model
The second time, to pass the data dir inside the variants folder, I suppose to load some specific firmware to enable the WiFi
So, in the end, it seems that passing two times the same option, does not work, since the second occurrence overwrites the first occurrence
I have run the flashtool program, with --help to check this fact, but the option --data_dir is not listed. i suppose this is a customization of a tihrd-party tool, and who have done the customization has forgotten to describe this option in the help
To confirm the bug I have done two checks:
If I run the upload as is, then I see in the log that the files inside the data dir of variants is actually loaded, but not the model inside the project dir
If I remove the second occurrence of --data_dir, I see the model is loaded, the files inside data of variants are not loaded, and, in this case, without using the wifi, the tensorflow model works fine
I note the tags of this issue, and I suggest to change them, since it does not work regardless of the platform (I am using MacOS and Linux, the original reported of this issue Windows, and it is normal that this cannot work regardless of the platform).
Description
Good afternoon,
I'm trying to create a simple HTTP server using Wi-Fi (and the add-on board). Code flashing is fine, but I suspect the /data files in the project are not being flashed to the board when the Dev Board Micro + Wireless Add-on is set on Arduino IDE.
Using the normal Dev Board Micro flashing the server works as intended, because the /data folder is flashed correctly.
Everytime I'm flashing using Sketch+Data option:
I'll put the code I'm using and the flash logs for both boards below.
Dev Board Micro + Wireless Add-on -> CameraStreamingHttp using WiFi
Dev Board Micro -> CameraStreamingHttp without WiFi.zip
Is there something missing in Arduino IDE to flash the /data folder together?
Click to expand!
Issue Type
Bug
Operating System
Windows 10
Coral Device
Dev Board Micro
Other Devices
No response
Programming Language
C++
Relevant Log Output
The text was updated successfully, but these errors were encountered: