Search found 984 matches

by nicolaiB
17 Apr 2025, 12:18
Forum: Software
Topic: Code Example for ConCAN?
Replies: 12
Views: 942

Re: Code Example for ConCAN?

A while ago I developed a tool to make CAN testing easier. If you're interested you can get it from here: https://gist.github.com/nbuchwitz/eee269388816e4a6d84ad8fb24092573

The usage is pretty simple:

1. Copy the program to both devices
2. Start the script on one device in controller mode: ./can ...
by nicolaiB
17 Apr 2025, 12:10
Forum: Hardware
Topic: conCAN configuration with PICTORY
Replies: 7
Views: 4926

Re: conCAN configuration with PICTORY

Thanks for the detailed report. When I compare the data to the one you reported initially, I noticed that the baudrate differs (500000 vs 250000). Did you check that the baud matches on both ends?
by nicolaiB
16 Apr 2025, 20:09
Forum: CODESYS
Topic: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)
Replies: 4
Views: 384

Re: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)

Unfortunately not fornthe older library. Stretch was end of life in 2020 and even the lts support ended in 2022. Is there are particular reason why you cant update ro a recent os version?
by nicolaiB
16 Apr 2025, 19:20
Forum: Software
Topic: Code Example for ConCAN?
Replies: 12
Views: 942

Re: Code Example for ConCAN?

The permission errors are probably due to missing privileges. Call the program with sudo.
by nicolaiB
16 Apr 2025, 19:18
Forum: CODESYS
Topic: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)
Replies: 4
Views: 384

Re: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)

Codesys sp21 isnt supported (yet). We're about to publish a beta release with sp21 support soon
by nicolaiB
16 Apr 2025, 19:17
Forum: Software
Topic: start-config. fails to start
Replies: 13
Views: 1470

Re: start-config. fails to start

Great to hear that everything is working now! I f you have any further questions feel free to open another topic
by nicolaiB
16 Apr 2025, 08:51
Forum: Software
Topic: start-config. fails to start
Replies: 13
Views: 1470

Re: start-config. fails to start

Thanks from the kernel log and noticed that your kernel command line

[ 0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=B8:27:EB:F6:22:28 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg ...
by nicolaiB
16 Apr 2025, 00:56
Forum: Connectivity
Topic: replace_ios.conf funktioniert nicht
Replies: 2
Views: 255

Re: replace_ios.conf funktioniert nicht

string ist kein gültiger Format Bezeichner.

Aus der revpimodio2 Doku (siehe replace_io in https://revpimodio.org/en/doc2/io/) :

frm
struct() formatting (1 character) – According to Python preferences. https://docs.python.org/3/library/struct.html#format-characters

Du willst also vermutlich s bzw ...
by nicolaiB
16 Apr 2025, 00:51
Forum: Software
Topic: Code Example for ConCAN?
Replies: 12
Views: 942

Re: Code Example for ConCAN?

This code wont work. It uses hsrd coded vcan adapter and no physical interface.

From the guthub readme:

Hardcoded to use the vcan0 virtual CAN device.
by nicolaiB
15 Apr 2025, 14:06
Forum: Software
Topic: start-config. fails to start
Replies: 13
Views: 1470

Re: start-config. fails to start

What does

dmesg | grep -E '(serial|piControl|pibridge)'

print in case of failure and after a successful reset?