Flashing problem with particle-agent

Dear Particle,

I'm having trouble flashing my device (a Raspberry Pi) from the Web IDE. The error I get is a HTTP 500, with details:

{
  "ok": false,
  "code": 500,
  "errors": [
     "Default BuildTarget unknown device_id=7ab77e23960ec9e790b05254"
  ]
}

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.

Can you help?

Thanks,

It really is unsupported and will not work from the Web IDE.

Just out of curiousity, how did you get the .bin file? I didn't think you could cloud build for the old Pi platform anymore either.

I've compiled the firmware locally, using:

particle compile core .

Note: the command particle flash also compiles the firmware.

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.

Thanks. Is there any way to workaround this and manage to flash to a particle-agent Raspberry Pi?

There is no reasonable way to compile software for the old pi platform.

1 Like

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.

Thanks! I'm keen to see that Tachyon. Is there any way to be notified about its release, or about Particle products in general? Like a newsletter.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.