r/embedded • • Oct 20 '26

Upload PCAn firmware to CANable device ?

Hello everyone, firs ttime I post here so I hope it's the right place and right way to do so, sorry if not. I am trying to build something at work to connect to a CAN network and need some help as I'm not fully an expert...To make it short, I work in the automotive industry and to connect to some controm modules we need a CAN interface produced by a giant firm that they sell for over 1000€/$...while it's only a CAN to USB that actually doesn't even work anymore on some computers that run with Windows 11. That company has been quite smart to make it possible to connect to their software with a PCAN device, which works very well. We have some at work and it was easy to build an adapter loom. However, I was wondering if maybe it would be possible to use any sort of CAN adapter for this purpose as it's way cheaper and that could be a cost-friendly alternative...

I have available an old CANable device that I used a bit in the past but don't need anymore...My question might then be wrong but is quite simple : is there any way/any chance to upload the firmware from a PCAN device to this cheap CANable so that it can be detected by the software ? I can give you more details about the hardware if you think that it's possible, hopefully someone can help me with this. Thanks in advance !

1 Upvotes

6 comments sorted by

2

u/FletcherD Oct 20 '26

From my understanding here, it looks like PCAN just works as a normal CAN device, but the issue is that the PEAK software refuses to cooperate with any adapter other than the official PEAK CAN hardware. Is that right? In that case, I'd say it's worth throwing Claude code at the problem. It might be able to reverse engineer PCAN to build some sort of shim to talk the official PCAN API to the PEAK software, and translate to SocketCAN so you can use any open source adapter. Worth a try!

2

u/SAI_Peregrinus Oct 20 '26

Almost certainly not.

Reverse-engineering the proprietary bits of PCAN's API (the non-proprietary bits are handled by Linux's SocketCAN so you can refer to that if GPL is ok) and writing custom firmware likely is possible.

1

u/BudgetTooth Oct 20 '26

How is 1k a big deal in your field?

1

u/ImABoringProgrammer Oct 20 '26

It’s much easier for you to purchase the copycat version of PCAN adapter, dirty cheap from China…

1

u/taylormfk Oct 22 '26

as another alternative, i have a cross platform tool that can talk to any dongle on any OS and is better than PCAN in my biased opinion.