This manual states that PCAN_ALLOW_ECHO_FRAMES is supported by PCAN-LAN devices if using the PCAN Basic API v 4.6.0+: https://www.peak-system.com/produktcd/D ... tation.pdf
The PCAN-Ethernet Gateway I'm using is hardware version 2.0 and has software version 2.11.1. Can this feature be used on my HW? If so, can it only be enabled with the API? I cannot find mention of "echo" in the user manual (https://www.peak-system.com/produktcd/P ... an_eng.pdf) or the developer documentation (https://www.peak-system.com/produktcd/P ... on_eng.pdf).
Ideally, I'd like to be able to enable logging echo frames with an http request or through the device's configuration file.
Thank you!
Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
-
- Posts: 3
- Joined: Wed 23. Aug 2023, 16:09
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
Hello,
Yes, echoing a *written* frame on CAN is possible but only with the PCAN-Ethernet Gateway FD.
The PCAN-Ethernet Gateway CAN 2.0 version you have can only do something like an internal loopback (the frame is copied into the controller Rx fifo only, but is not written on the wire).
Best regards,
Yes, echoing a *written* frame on CAN is possible but only with the PCAN-Ethernet Gateway FD.
The PCAN-Ethernet Gateway CAN 2.0 version you have can only do something like an internal loopback (the frame is copied into the controller Rx fifo only, but is not written on the wire).
Best regards,
— Stéphane
-
- Posts: 3
- Joined: Wed 23. Aug 2023, 16:09
Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
Ah, so when I write a frame, should I be able to read it back in my Rx data along with all of the other frames I receive from my device under test? Is there a special way to access the Rx FIFO? Do I need to enable this somehow?
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
Hi,
As you said, by using PCAN-Basic, or as written in https://www.peak-system.com/produktcd/P ... on_eng.pdf in page 19 as well as in page 23.
Best regards,
As you said, by using PCAN-Basic, or as written in https://www.peak-system.com/produktcd/P ... on_eng.pdf in page 19 as well as in page 23.
Best regards,
— Stéphane