I know the Particle Agent for Raspberry Pi is discontinued, but some parts are still working (connecting to Particle Cloud, ping device).
I've also tried to flash from the CLI, using:
particle flash <device_id> <compiled p_firmware>
The firmware flies over-the-air to the device, as I see a new output.bin in the device folder /var/lib/particle/devices/<device_id>. But the firmware.bin in the same folder doesn't get overwritten.
That's why the binary is rejected by the agent. It's built for the core platform, not the old raspberry pi platform, which is no longer supported by the cloud compilers. Even though that command is run by the Particle CLI, it still cloud compiles.
By the way, Iām using Raspberry Pi because of the camera module.
Do Particle devices support connecting a camera too? Where can I get info (or a tutorial) on this?
None of the current devices work particularly well with a camera, except for the 4D systems u-cam III which does compression on the camera module. An example of using this is TrackerCam. It works, but only at very low resolutions.
The Particle Tachyon might be what you're looking for. It's a Raspberry Pi form-factor and will support Pi camera modules. It's not available yet.