Modbus error after FW18 update - PickIt

Fragen und Antworten zur Software hinter EVSE-WiFi
Antworten
Courage2000
Beiträge: 24
Registriert: Do 11. Jun 2020, 22:39

Modbus error after FW18 update - PickIt

Beitrag von Courage2000 »

I've tried to upgrade one Simple EVSE WB (not DIN) with Pickit 4

I've used the file simple-evse1.1_modbus_rev18.X.production.unified.hex

All went fine (see attached log), BUT using the same SimpleEVSE WIFI v1.1.1 module I get now Modbus error in the interface.

I have a feeling that is the wrong FW (for the controller with Modbus HW Module).

P.S. The car is charging...
*****************************************************
Connecting to MPLAB PICkit 4...
Currently loaded versions:
Application version............00.06.87
Boot version...................01.00.00
Script version.................00.04.57
Script build number............f33c871d94
Tool pack version .............1.9.1163
Connecting to MPLAB PICkit 4...
Currently loaded versions:
Boot version...................01.00.00
Updating firmware application...
Connecting to MPLAB PICkit 4...
Currently loaded versions:
Application version............00.06.88
Boot version...................01.00.00
Script version.................00.04.57
Script build number............f33c871d94
Tool pack version .............1.9.1163
PICkit 4 is supplying power to the target (2,38 volts).
Target device PIC16F1825 found.
Device Revision Id = 0x4
Loading code from-------\simple-evse1.1_modbus_rev18.X.production.unified.hex...
2021-10-04 10:50:13 +0300 - Hex file loaded successfully.
2021-10-04 10:50:29 +0300 - Programming...
*****************************************************


Calculating memory ranges for operation...
Erasing...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x3bf
program memory: start address = 0x400, end address = 0xfff
program memory: start address = 0x1580, end address = 0x17ff
configuration memory
Programming/Verify complete
2021-10-04 10:50:34 +0300 - Programming complete
Dateianhänge
modbus2.jpeg
modbus2.jpeg (46.96 KiB) 2944 mal betrachtet
modbus1.jpeg
modbus1.jpeg (27.04 KiB) 2944 mal betrachtet
con2.jpeg
con2.jpeg (125.58 KiB) 2944 mal betrachtet
con1.jpeg
con1.jpeg (82.95 KiB) 2944 mal betrachtet

Courage2000
Beiträge: 24
Registriert: Do 11. Jun 2020, 22:39

Re: Modbus error after FW18 update - PickIt

Beitrag von Courage2000 »

Back to rev 15 - same problem

So NOW I know why is not working.
I've asked for Pickit FW, but is Bluetooth FW, for some reason.

I need something like evse-wb_modbus_rs485_rev15_20200323_unified_boot3.hex

Now I need to find a very old Android 6 phone ;(

Does anyone have a Pickit FW? for some reason I can't find one in my backup.

Courage2000
Beiträge: 24
Registriert: Do 11. Jun 2020, 22:39

Re: Modbus error after FW18 update - PickIt

Beitrag von Courage2000 »

Problem fixed, I needed to activate Modbus via button 5x push in the first 3 seconds.

This procedure should be documented step by step.

aiole
Beiträge: 1153
Registriert: Di 12. Mai 2020, 10:54

Re: Modbus error after FW18 update - PickIt

Beitrag von aiole »


Courage2000
Beiträge: 24
Registriert: Do 11. Jun 2020, 22:39

Re: Modbus error after FW18 update - PickIt

Beitrag von Courage2000 »

I've read a lot, but the information is scattered.
This is NOT about the WIFI module, but about the EVSE-WB/DIN controller.

I've managed to fix the "problem".

In the past, they sent me firmware with Modbus enabled by default.
The new rev18 firmware has Modbus disabled by default (as in manual).

Steps:

1. Write the new FW with Pickit or with HC-06 Bluetooth module (it needs android 6 - OLD)
2. Enable Modbus by pressing 5x on a button between AN and GND in the first 3 seconds from boot
3. Use EVSE Wifi / the android 6 app / the new android app (no FW update) to read and (re)write 2001 register (value 1) to make Modbus active permanent. (see controller manual)

Nice info here

That's it.
Dateianhänge
rev18.png
rev18.png (232.14 KiB) 2911 mal betrachtet

Antworten