After weeks of fighting I came to the conclusion that the
Arducam ecosystem is useless, and even counter-productive to me -- while its original goal was obviously the opposite.
These camera are sold to provide pictures to Arduinos and other microcontrollers. The Arduino does not have enough memory, so these boards embeds enough processing power (FPGA?) and on-board memory to bufferize it and allow for serialized data to be stored and then transferred on demand. This way, the Arduino can store on an SD, or send it over GSM as I needed.
Now, the hardware may be nice and promising, but the software is really bad in my opinion.
This is strange to me as the Arducam is a wellknown project, and it is costly: I paid
43€ on watterott for example!
But it did not help me work faster, on the contrary. I really had all kinds of problems with the software, trying to interface both on a Uno or on a Mega.
The examples are half-baked, the API code source and the entire library is bloated with tens of variants of boards (28MB zipped just for the Arduinos!). Even the links to source code examples on
some product page are broken. All in all, I consider that this somehow expensive camera is barely usable as it produces way too often invalid JPEG streams.