nerooffers.blogg.se

Install and use coolterm
Install and use coolterm









install and use coolterm
  1. #INSTALL AND USE COOLTERM SERIAL#
  2. #INSTALL AND USE COOLTERM SOFTWARE#

RS-232 and RS-485 use the same pins for TX / RX on the MCU. But first we need a working firmware for the load. Just to clarify you need a straight through cable (like the one that comes with the Yes, we have most likely the same problem.

#INSTALL AND USE COOLTERM SOFTWARE#

With software for STM32s I could connect to the bootlader via RS-232 (connection is working )! But I couldn't extract the firmware, because read protection is active (maybe there is help: ). Pull Pin 9 on the RS-232 connector to high or short the output of the corresponding optocoupler, then power cycle the load. To prove the connections and the MCU are OK, I put the device into bootloader mode. U23 is causing noise too, so I added a capacitor on both sides afterwards. Of course I tied the usual suspects first: different PC, adapter, baudrate, device settings, software. Independent of Penguin36 I removed the isolator (U23) and connected a TTL converter directly. First I thought it's a noise problem (see ). On boot it also shows KP184 2020 (probably the firmware version) and the address. 04 PCBs have the same layout, hence the date code.

install and use coolterm

In your case Kunkin should remain silent judjing by the probing you already performed. 0x0730 is 1840 in decimal and identifies a Kunkin KP184 This is generic debug. Kunkin should answer promptly with 01 03 04 00 00 07 30 17 F8 as you can see on the underlying CoolTerm Window.

install and use coolterm

This ModBus command asks for 4 bytes from the Kunkin register memory address 0x001 that holds the device ID 7. You can use a space between each pair of digit for easier byte identification. Enter the ModBus command: 01 03 00 01 00 04 C9 15 and press the Send button. You will provide each byte in Hex format. Select Connection \ Send String option to send an Hex ModBus command to Kunkin. Select Connection \ Connect option to connect to the COM Port. Check Windows Control Panel \System \ Hardware Manager \ COM Ports for the COM Port names.

#INSTALL AND USE COOLTERM SERIAL#

Start CoolTerm and configure it for the Kunkin baudrate 8-N-1 and use your serial adapter COM port. Connect Kunkin and your serial adapter with a null modem cable 2-3 3-2 5-5 no shunts required on either side. Please make sure you have Kunkin KP184 configured for communication address 1 on the operating panel and record the configured baudrate to match with CoolTerm software configuration. You can collect additional debug information of why the communication is not starting: 1. If the previous test (loopback test) is successful and you are in the mood to throw some more jabs at this subject.











Install and use coolterm