Search found 12 matches

by liviu2004
Wed 29. Jan 2020, 15:48
Forum: PCAN-Ethernet Gateway DR
Topic: EMC testing
Replies: 3
Views: 5517

Re: EMC testing

Thanks for the response. In the meantime, two vessels had to remove these units, unfortunate. Maybe PEAK will consider testing for marine, could be that the equipment design might be compliant already.
by liviu2004
Mon 13. Jan 2020, 15:33
Forum: PCAN-Ethernet Gateway DR
Topic: EMC testing
Replies: 3
Views: 5517

EMC testing

Hi PEAK Systems.

Can you please confirm if the PCAN-Ethernet Gateway DR is designed according marine bridge EMC environment? There are several applications where your product might be used but compliance with the rules is unclear.

As per attached document, Section 22, 23, 24, 25, 26, 27 but ...
by liviu2004
Fri 30. Aug 2019, 21:29
Forum: PCAN-USB
Topic: pcan usb no work
Replies: 2
Views: 4472

Re: pcan usb no work

I think his car is fitted with a gateway, so he won't see much on the OBD connector.

@ScottTorres, car makers are smarter now. Try to connect at a location for hscan direct access.
by liviu2004
Wed 28. Aug 2019, 21:22
Forum: PCAN-Router
Topic: For beginners, how to route one ID to another ID
Replies: 8
Views: 17373

Re: For beginners, how to route one ID to another ID

After some puzzling, more reverse engineering and change in the functional specification of my wishes, I'm happy to announce that PCAN-Router has been successfully loaded with correct firmware, and user expectations are met and exceeded. ;)
There are still declarations and data formats a bit ...
by liviu2004
Wed 28. Aug 2019, 12:03
Forum: PCAN-Router
Topic: For beginners, how to route one ID to another ID
Replies: 8
Views: 17373

Re: For beginners, how to route one ID to another ID

Thanks again, I am slow but I think I got it. Code prepared all for sending except there was nothing in the data part of the message. I believe it is now time for me to put things at work and see how it works.
by liviu2004
Tue 27. Aug 2019, 20:48
Forum: PCAN-Router
Topic: For beginners, how to route one ID to another ID
Replies: 8
Views: 17373

Re: For beginners, how to route one ID to another ID

Thanks for your reply and push forward. However, I adapted the code taken from downloads examples:

// catch ID 120h from CAN1 to modify the ID and message type
if ( RxMsg.Id == 0x120 && RxMsg.Type == CAN_MSG_STANDARD)
{
RxMsg.Id = 0x4ED8;
RxMsg.Type = CAN_MSG_EXTENDED;
}

// copy message ...
by liviu2004
Sat 24. Aug 2019, 09:53
Forum: PCAN-Router
Topic: For beginners, how to route one ID to another ID
Replies: 8
Views: 17373

Re: For beginners, how to route one ID to another ID

I hope this would be good, not sure how if syntax exactly works, I thought only one instruction if 1 but I might be wrong.


// catch ID 180h from CAN1 to modify the ID to 1E5h
if ( RxMsg.Id == 0x180 && RxMsg.Type == CAN_MSG_STANDARD)
{
RxMsg.Id = 0x1E5;
RxMsg.Type = CAN_MSG_STANDARD;

// copy ...
by liviu2004
Sat 24. Aug 2019, 08:41
Forum: PCAN-Router
Topic: For beginners, how to route one ID to another ID
Replies: 8
Views: 17373

Re: For beginners, how to route one ID to another ID

Overnight thinking, I guess my chosen code not only changes the ID of the message, but will route also all other messages from can1 to can2, which I don't want. In order to solve my acknowledgment problem, I want now to connect both can1 and can2 to the same car CAN network, so taking messages on ...
by liviu2004
Fri 23. Aug 2019, 22:11
Forum: PCAN-Router
Topic: For beginners, how to route one ID to another ID
Replies: 8
Views: 17373

Re: For beginners, how to route one ID to another ID

I'm so far making a main.c file.

I still have to sort out if this is correct and how I set 500 kb/s. And what about the can_user.c


#include "datatypes.h"
#include "can.h"
#include "can_user.h"
#include "hardware.h"
#include "crc_data.h"


// identifier is needed by PCANFlash.exe -> do not delete ...
by liviu2004
Fri 23. Aug 2019, 20:43
Forum: PCAN-Router
Topic: For beginners, how to route one ID to another ID
Replies: 8
Views: 17373

For beginners, how to route one ID to another ID

Hi, please bear with me, I need a kick to get the wheel rolling. Yes, beginner in all this.

Problem: I bought a corner lighting module, which looks to the HSCAN of a car, and turns on and off individually each fog light, based on input data engine running and steering angle sensor data. Nice ...