Seite 1 von 1

Modbus error after FW18 update - PickIt

Verfasst: Mo 4. Okt 2021, 13:22
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

Re: Modbus error after FW18 update - PickIt

Verfasst: Mo 4. Okt 2021, 14:06
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.

Re: Modbus error after FW18 update - PickIt

Verfasst: Di 5. Okt 2021, 18:56
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.

Re: Modbus error after FW18 update - PickIt

Verfasst: Di 5. Okt 2021, 20:42
von aiole

Re: Modbus error after FW18 update - PickIt

Verfasst: Di 5. Okt 2021, 20:51
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.