No data with default firmware!

Programmable Converter for RS-232 to CAN
Post Reply
Martincote418
Posts: 2
Joined: Sun 2. Feb 2025, 01:40

No data with default firmware!

Post by Martincote418 » Mon 3. Feb 2025, 14:45

Hello,

I'm new with PCS-RS-232. Expecting to receiving data out of the box! But nothing.

Default value is hard to find.

Default CAN speed = 125kbps, right?
Default serial speed = 57600 or 115200?? Please confirm
Default data bits = 8, 1 stop, no parity? Flow control? Please confirm

I tried many command in "PCAN-RS232_Commands.pdf" file, no replies. I confirmed that my serial (RS-232 to ttl USB) device is working. I've some garbage in the serial monitor when I turn off the PCAN-RS-232.

I downloaded and installed FlashMagic. It is unable to see the device signature or uploading new firmware. Yes I shorted the sboot jumper.

PCB v3.0 / 0614 / RZ

Can anyone point me in the right direction?

Regards

Martin

G.Lang
Support
Support
Posts: 166
Joined: Wed 22. Sep 2010, 14:58

Re: No data with default firmware!

Post by G.Lang » Tue 4. Feb 2025, 14:27

Hi Martin,,

the devices serial defaultspeed is 57600 and the default CAN speed is 125kbit/s -> see manual.
default.png
default.png (74.53 KiB) Viewed 8870 times

As a first step please try to establish a serial communication, in the example below i use the freeware "Hterm"
rs232_default values.png
rs232_default values.png (24.85 KiB) Viewed 8870 times

Please check the connection by pressing the "V", which read the devices firmware version, you should receive "V1012" if the connection is correctly established.
check_general_communication.png
check_general_communication.png (38.42 KiB) Viewed 8870 times

For an overview of the commands please download the "PEAK-DevPack - Development package for ARM-based products" from out website and go to the "Hardware\PCAN-RS-232\Examples\06_CAN_TO_SER_BY_COMMAND\help" folder where you find the "PCAN-RS232_Commands.pdf" with all necessary comands.

With the "Sn" command you can set the CAN speed (see page 16) and the "O" command opens the CAN port (see page 8) and then you you be albe to receive CAN data.

Please note that a CAN network must be correctly terminated otherwise you don´t receive any CAN data.

Martincote418
Posts: 2
Joined: Sun 2. Feb 2025, 01:40

Re: No data with default firmware!

Post by Martincote418 » Fri 7. Feb 2025, 19:03

Hey, thank you for the accurate informations!

I'm able to see CAN data on my PC side.

Regards

Martin

PS I have not been notified of your reply.

Post Reply