incompatible firmware

Universal Programmable Converter for CAN FD and CAN
dmedore
Posts: 5
Joined: Wed 9. Jun 2021, 05:27

incompatible firmware

Post by dmedore » Wed 9. Jun 2021, 05:36

I have successfully compiled code, but when trying to flash the firmware using PEAK-Flash it tells me that the firmware is incompatible
firmware.PNG
firmware.PNG (107.97 KiB) Viewed 13378 times

I am able to successfully compile and flash other projects that I have created. So what causes the firmware to be incompatible?

Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: incompatible firmware

Post by M.Heidemann » Wed 9. Jun 2021, 09:35

Hello,

have you deleted/Changed the following line in main.c?:
RouterFD_DND.png
RouterFD_DND.png (5.89 KiB) Viewed 13372 times
Also, are you sure you have the right hadware-example as a basis?

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

dmedore
Posts: 5
Joined: Wed 9. Jun 2021, 05:27

Re: incompatible firmware

Post by dmedore » Wed 9. Jun 2021, 13:19

Thanks! I got careless when deleting some of the example code, adding that back in resolved the issue.

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: incompatible firmware

Post by M.Heidemann » Wed 9. Jun 2021, 13:51

Hi,

Thank you for letting us know!

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

StefKCPerformance
Posts: 6
Joined: Thu 19. Oct 2023, 10:07

Re: incompatible firmware

Post by StefKCPerformance » Tue 24. Oct 2023, 14:42

I also have the problem that I get the message "Incompatible firmware". I have not deleted that line of code, however it is red underneath, i also get red messages from the crc_data.h. I think these things are related....Can somebody help me out?

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: incompatible firmware

Post by M.Maidhof » Tue 24. Oct 2023, 16:02

Hi,

please post a screenshot of the problem, showing which device you want to flash. Next, please compile one of our examples and try to flash it to your PCAN-Router FD. Does it show the same problem?

regards

Michael

StefKCPerformance
Posts: 6
Joined: Thu 19. Oct 2023, 10:07

Re: incompatible firmware

Post by StefKCPerformance » Tue 24. Oct 2023, 16:17

I have not written my own code yet, I was trying to put different examples on it for learning how it works, but even those don't work. I have the CAN TO USB adapter and the PCAN-Router (IPEH-002210-P 05525). Hope you understand my problem, if not please let me know.
Attachments
Schermafbeelding 2023-10-24 161507.png
Schermafbeelding 2023-10-24 161507.png (211.55 KiB) Viewed 11144 times

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: incompatible firmware

Post by PEAK-Support » Tue 24. Oct 2023, 22:44

If you follow the instructions in the package, you will get it work.
X hundreds of customers get it work, so why should it not work on your system.
Without seeing the compiler / linker output etc. we are not able to give you some help… sorry…
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

StefKCPerformance
Posts: 6
Joined: Thu 19. Oct 2023, 10:07

Re: incompatible firmware

Post by StefKCPerformance » Fri 27. Oct 2023, 11:06

I have tried to install the devpack according to the manual twice, but I still encounter the same issues where a significant portion of my code components are not recognized. From my perspective, there isn't much explanation beyond extracting the file to a local directory and running the VSCode file. The only part that doesn't work for me is executing the 'make' command via the terminal of VS Code. However, I am able to run the 'Make' command using CDM, and I get files in the .out directory with no error messages. I came across these instructions in the PCAN Router Documentation. Only when I try to upload it to my PCAN Router via the Flash software, I receive a message stating that my file is not compatible. Do you have any idea what might be causing this issue? Thank you in advance, Stef.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: incompatible firmware

Post by PEAK-Support » Fri 27. Oct 2023, 11:11

We do not know what exact you do different to x hundred other customers - where it work.
So we are sorry, always posting "it do not work" without any real and useful outputs is not very helpfullly...
So sorry - no we do not know what you do different / wrong.
We have a Video that shows the single steps - maybe that explains it better for you.
! Take care that, when using the PEAK-Flash Tool, that you want to flash a Device that is connected to the CAN Bus - not a local Device !
Screenshot 2023-10-27 112608.png
Screenshot 2023-10-27 112608.png (7.96 KiB) Viewed 11097 times
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Locked