Skip to content
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

[AE-49] Chopped up video output from the Nicla Vision #660

Open
aliphys opened this issue Apr 11, 2023 · 1 comment
Open

[AE-49] Chopped up video output from the Nicla Vision #660

aliphys opened this issue Apr 11, 2023 · 1 comment
Labels

Comments

@aliphys
Copy link
Contributor

aliphys commented Apr 11, 2023

The data sent from CameraCaptureRawBytes.ino sketch uploaded to a Nicla Vision board is displayed as chopped up output in Processing 4.2 by the CameraRawBytesVisualizer.pde sketch.

image

Testing with the OpenMV IDE results in a smooth 20 FPS video feed, suggesting that the Nicla Vision board in question is healthy.

image

Compile
PS C:\Users\user\AppData\Local\Temp\.arduinoIDE-unsaved2023311-38456-1j6f6yl.zru7\CameraCaptureRawBytes> arduino-cli compile -b arduino:mbed_nicla:nicla_vision
Sketch uses 134312 bytes (6%) of program storage space. Maximum is 1966080 bytes.
Global variables use 54464 bytes (10%) of dynamic memory, leaving 469160 bytes for local variables. Maximum is 523624 bytes.

Used library Version Path
Camera       1.0     C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nicla\4.0.2\libraries\Camera
GC2145               C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nicla\4.0.2\libraries\GC2145
Used platform      Version Path
arduino:mbed_nicla 4.0.2   C:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nicla\4.0.2

Upload
PS C:\Users\user\AppData\Local\Temp\.arduinoIDE-unsaved2023311-38456-1j6f6yl.zru7\CameraCaptureRawBytes> arduino-cli upload -p COM35 --fqbn arduino:mbed_nicla:nicla_vision
TOUCH: error during reset: opening port at 1200bps: Invalid serial port
dfu-util 0.10-dev

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Opening DFU capable USB device...
Device ID 2341:035f
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash   "
Downloading element to address = 0x08040000, size = 136668
Erase           [=========================] 100%       136668 bytes
Erase    done.
Download        [=========================] 100%       136668 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state
@aliphys aliphys added bug Something isn't working Camera Video windows labels Apr 11, 2023
@aliphys aliphys changed the title [AE-49] Chopped up output from the Nicla Vision [AE-49] Chopped up video output from the Nicla Vision Apr 11, 2023
@aliphys aliphys added the nicla label Apr 11, 2023
@aliphys
Copy link
Contributor Author

aliphys commented Apr 11, 2023

Some research 🔍 :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant