Forum: Mikrocontroller und Digitale Elektronik ALLPOWERS S2000 PRO Reparaturhilfe


von Lycaon68 (lycaon68)



Lesenswert?

Hello ALLPOWERS Freunde,

Zuerst danke fuer die Aufnahme in diesen Forum da ich selber auch Aerger 
mit mein eigener ALLPOWER 2000 Pro habe ...

Doch ich erlaube mir einen kleinen Beitrag zu leisten was den U16 DIL 8 
(3V 4M-BIT SERIAL FLASH MEMORY) Chip bettrift :

Datenblätter durch googlen mit Begriff "25Q40ETIG" suchen ... bei Mouser 
OK !

: Bearbeitet durch User
von Adrian L. (adrian_l)


Lesenswert?

Martin schrieb:
> Este un GigaDevice GD25Q40ETIG - cum ai ajuns la concluzia că e
> defect?
>in primul rind multumesc  pentru ajutor ce pot sa spun esee ca dupa extragere a 
disparut scurt din alimentari  adica nu mai existe scurt pe placa de baza


Martin schrieb:
> Raportează postarea  Citează textul selectat Răspunde Răspunde cu
> citatEdita Şterge
>
>
>
>       if (!have_newpost_anchor && (!topic_last_read_at ||
> topic_last_read_at < 1764171287000)) {
>         document.write('<a name="new" id="new"></a>');
>         have_newpost_anchor = true;
>       }

Lycaon68 schrieb:
> Salut prieteni ALLPOWERS,
>
> În primul rând, vă mulțumesc că m-ați acceptat pe acest forum, deoarece
> și eu
> am probleme cu propriul meu ALLPOWER 2000 Pro...
>
> Totuși, aș dori să contribui cu ceva legat de
> cipul U16 DIL 8 (memorie flash serială 3V 4M-BIT):
>
> Căutați fișe tehnice căutând pe Google „25Q40ETIG”... Mouser
> OK!

von Adrian L. (adrian_l)


Lesenswert?

Martin schrieb:
> Este un GigaDevice GD25Q40ETIG - cum ai ajuns la concluzia că e
> defect?
>in primul rind multumesc  pentru ajutor ce pot sa spun esee ca dupa extragere a 
disparut scurt din alimentari  adica nu mai existe scurt pe placa de baza


Martin schrieb:
> Raportează postarea  Citează textul selectat Răspunde Răspunde cu
> citatEdita Şterge
>
>
>
>       if (!have_newpost_anchor && (!topic_last_read_at ||
> topic_last_read_at < 1764171287000)) {
>         document.write('<a name="new" id="new"></a>');
>         have_newpost_anchor = true;
>       }

Lycaon68 schrieb:
> Salut prieteni ALLPOWERS,
>
> În primul rând, vă mulțumesc că m-ați acceptat pe acest forum, deoarece
> și eu
> am probleme cu propriul meu ALLPOWER 2000 Pro...
>
> Totuși, aș dori să contribui cu ceva legat de
> cipul U16 DIL 8 (memorie flash serială 3V 4M-BIT):
>
> Căutați fișe tehnice căutând pe Google „25Q40ETIG”... Mouser
> OK!

 ma bucur sa avem o discutie  dar nu il gasesc pentru cumparare

von Alex (kuzma2000)


Angehängte Dateien:

Lesenswert?

Hallo zusammen,
Ich bitte um Hilfe bei der Restaurierung des ALLPOWERS S2000 PRO.
Ich habe vor über 20 Jahren Deutsch gelernt, daher entschuldige ich mich 
für die schlechte Sprache.
Beim Anschließen der Drähte habe ich einen Fehler gemacht und die Drähte 
mit den P12- und P6-Steckern verwechselt.
Infolgedessen brannten der N32G455REL7 Prozessor und der GD25Q40ETIGR 
flash durch.
Ich habe diese Teile und den TM1521B Bildschirmcontroller bestellt.
Jetzt habe ich mehrere Prozessoren und USB-Sticks. TM1521B sind noch 
nicht angekommen. Ich habe einen originalen Segger j-link und einen 
Xgeku T56 Programmierer.
Ich habe Erfahrung in der Programmierung von flash, aber ich habe nicht 
viel mit Prozessoren gearbeitet.
Ich möchte versuchen, Prozessor und flash zu flashen.
Wenn es nicht funktioniert, suche ich nach demselben ALLPOWERS S2000 PRO 
(ich hoffe, sie haben die gleichen Platinen) und versuche, die Dumps vom 
Arbeitsboard zu zählen.
Ich habe diesen Thread gelesen und die hochgeladenen Dateien 
heruntergeladen. Aber ich habe ein paar Fragen.
1.  Hat jemand einen Dump für einen GD25Q40ETI-USB-Stick und einen 
Prozessor von derselben Platine? Ich verstehe nicht, was in GD25Q40ETI 
gespeichert ist.
2.  Um den Prozessor zu flashen, muss ich das Board vom Akku (P12) mit 
Strom versorgen, oder reichen 3,3 Volt vom Pad neben dem Prozessor aus?
3.  Kollegen haben drei Archive Allpowers_2000.rar, Allpowers 2000.zip 
und Allpowers_2000_2.zip gepostet. Ein Archiv enthält eine 
Allpowers_2000.mot Datei, die anderen 4 Dateien: flash.bin option.bin 
ram_plus.bin und ram.bin
Sind diese Dateien für ALLPOWERS S2000 PRO geeignet oder für ALLPOWERS 
S2000?
4.  Ist die .mot-Datei ein vollständiger Dump und der Rest sind separate 
Teile? Wenn ich j-link über Segger flashen will, welches Archiv sollte 
ich verwenden?
5.  Muss ich beim Flashen oder Lesen eines vollständigen Dumps die 
Hex-Adresse des Offsets angeben oder ändern?
6.  Wenn du in Teilen nähst, in welcher Reihenfolge?

von Fred F. (fred007)


Lesenswert?

Hi Alex,

All you need is the Allpowers_2000.mot this is for the S2000 pro 
version.

All you need to program is segger J Link.

You can get a new nations micro from Ali Express, I used this seller and 
these
a genuine nations micros: 
https://www.aliexpress.com/item/1005007691135701.html

Since these are new, you won't have to worry about options bytes.

The GD25Q40ETI is just an external ROM used to store battery and MPPT 
controller data - no need to program.

Look at my contributions earlier in this post on how to connect the UART 
diag port
(left of the processor daughter board).

Hope that helps,

Fred.

P.S. Be careful about ali express fake chips. The link I have given are 
genuine
as I have used them to fix some cooked S2000!

: Bearbeitet durch User
von Alex (kuzma2000)


Lesenswert?

Hi Fred!
Thanks for your quick reply.
Thanks a lot for the link. But I already bought the processors...
https://www.aliexpress.com/item/1005009637494005.html?spm=a2g0o.order_list.order_list_main.15.3c021802MbDtVK

The Chinese write that this is the original.
Let's check it out :)
I will try to assemble and flash it.

von Fred F. (fred007)


Lesenswert?

Hi Alex,


No worries, I pasted the uart info below (this thread is super long).

Also, forgot to say, you should use a use a 3.3V bench supply to program 
the N32G455REl once mounted. It does not need to be connected to the 
rest of the system
(safer). Once programmed, (carefully connect up to the system).
Also I found it helpful to connect the uart interface , this way you'll 
know that you
have a successful program. You will get the "RT" banner, just type 
"help", you'll
get a list of commands most useful especially "iap_reset".

Good luck,
Fred.

Hi,

Use CP2101 UART to USB-A adapter, get them cheap from Ali Express
(e.g. https://www.aliexpress.com/item/1005009201036448.html)
Use "Putty" Serial console software (freeware -google "putty serial
console").

On the Nations MPU daughter board you will find the UART header pins.
They are screen printed as Gnd,TX,RX, 3.3v. you need to connect header
pins
to Gnd,TX and RX only (don't connect 3.3V).

Connect the cable as follows:
Nations MPU daughter board    CP2101
Gnd-------------------------->Gnd
TX--------------------------->RX
RX--------------------------->Tx
(don't connect 3.3v)

Run Putty in serial mode and select correct com port use baud
rate of 115200, click connect. This will open a second window.
You should see "RT thread 1.03 banner", then type "help" and
you will see a list of diagnostic routines.

For example, "dc_sw" will toggle the DC switch on the front panel and
"battery_data_debug" will show status on battery data coming from the
BMS.

Another useful one is "iap_reset", this will reset the MPU.

Hope that helps,

Fred.

Beitrag #7980086 wurde vom Autor gelöscht.
von Alex (kuzma2000)


Lesenswert?

Hallo!

Bitte helfen Sie mir zu verstehen, wie man sich mit der Platine unter 
Verwendung von Jlink verbindet.

Am Jlink gibt es Belegungen für SWD, Jtag und den UART-Modus.
Im Programm gibt es die Modi SWD, Jtag, FINE und cJtag.

Auf der Platine gibt es 2 Anschlüsse.
P2: 3.3, Rx, Tx, Gnd
P1: 3.3, DIO, Clc, Gnd
Das Signal NRST (Pin 7) ist nirgendwo herausgeführt.

Am Jlink gibt es im SWD-Modus die Kontakte:
SWIO
SWCL
SWO
Reset

Soweit ich es verstehe, muss man verbinden:
SWIO - DIO
SWCL - Clc
Aber wohin soll man SWO und Reset anschließen?

von Alex (kuzma2000)


Lesenswert?

Ich habe es herausgefunden. Der Prozessor blinkte. Es gab eine 
Nachricht, dass es unmöglich sei, einen Sektor aufzuzeichnen. Trotzdem 
hat die Lünette begonnen. Ich repariere es weiter.

von Alex (kuzma2000)



Lesenswert?

I restored the 3.3 volt power supply and the front panel started up.
But it does not "see" the battery BMS.
I lifted the cardboard covering the BMS. At first glance, I didn't see 
anything burnt.
Apparently, the battery BMS cable is connected to the MPPT controller 
cable, and from there, the signal returns to the board.
Now the error E07:01 is on the screen.
Both with all the wires fully connected and when starting simply by 
supplying power to the 50 volt connector via XT60.

The E07 error has already been mentioned in this thread, but I still 
don't understand if anyone has solved this problem.
Perhaps the Allpowers_2000.mot dump is not suitable for my board or 
cannot work with the battery BMS.
I want to try to make a copy from a similar S2000 Pro
Tell:
1. There's a copy of the thread, piece by piece. Has anyone flashed a 
processor this way? What's the sequence?
2. The processor is not locked, right?
2. Has anyone done a dump from the battery BMS and does it make sense to 
do so?
3. So, how do I reset the battery's BMS? There are no buttons, and 
disconnecting the positive cable didn't help.

von Alex (kuzma2000)


Lesenswert?

Hello!

I also have battery connection error E07.
I found the SP3485E chip on the display board.
You wrote that it is under the battery.
Is this chip on the back of the BMS board?

von Alex (kuzma2000)


Lesenswert?

Martin M. schrieb:
> Fred F. schrieb:
>> Hi,
>>
>> The Command "drv_rs486_receive_debug" shows raw data coming from BMS.
>> "pv_data_debug" for PV data and "ac_data_debug" for inverter.
>>
>> Use "iap_reset" to stop data stream, it's possible to type in console
>> while it's streaming.
>>
>> I wish I had working power stations so I could see what data looks like
>> on working power stations. Maybe people with working units could put up
>> data streams captured from their systems. I will help us unfortunate
>> people
>> with non working units to get some idea on what's happening in their
>> units.
>>
>> Also can we start sharing any further discoveries as to commands in the
>> UART console.
>>
>> Hope that helps.
>> Fred.
>
> Hi Fred, you were right, the problem with No battery data and error 701
> was indeed one of the rs485 trancivers, that on the battery to be exact.
> I replaced it and now i have battery data! Here it is:
>

Hello!

I also have battery connection error E07.
I found the SP3485E chip on the display board.
You wrote that it is under the battery.
Is this chip on the back of the BMS board?

von Alex (kuzma2000)


Lesenswert?

Hello!

Thanks everyone for your help!
The device is almost restored.
The board detected the battery and the E07 error disappeared.
The Bluetooth module doesn't work, but that's not a big deal.

von Lycaon68 (lycaon68)


Lesenswert?

Hallo zusammen,

Ich bitte auch um Hilfe bei der wieder Instandstellung eines ALLPOWERS 
S2000 PRO Power Einheit.

Ich versuche wie früher von Fred und Alex beschrieben eine Verbindung 
mit dem ausgebaute Display Board herzustellen leider ohne Erfolg !

Meine Verbindung sieht so aus :
1
Board P2        Silicon Labs CP210x USB to UART Bridge Converter
2
--------        ------------------------------------------------
3
+3.3V     <-->  +3.3V (Test: mit und ohne)
4
   Rx     <---     Tx
5
   Tx     --->     Rx
6
  Gnd     <-->    GND
7
8
Dann PUTTY gestartet und so eingestellt :
9
10
Serial       : COM4
11
Speed (baud) : 115200
12
Data Bits    : 8
13
Stop Bits    : 1
14
Parity       : None
15
Flow Control : None
Leider keine Verbindung, eine Fenster öffnet sich aber ohne Meldung !

Besten Dank im Voraus ...

von Alex (kuzma2000)


Angehängte Dateien:

Lesenswert?

Lycaon68 schrieb:

> Leider keine Verbindung, eine Fenster öffnet sich aber ohne Meldung !
>
> Besten Dank im Voraus ...

Hello.
I used Jlink and SWD mode. It's a different operating mode and a 
different connector.
You can power the display board by applying 24-50 volts to the connector 
highlighted in yellow.
Also check for the presence of 3.3V processor supply voltage on the 
middle leg of the stabilizer, highlighted in red.

von Alexander (alecxs)


Angehängte Dateien:

Lesenswert?

Lycaon68 schrieb:
> Board P2 Silicon Labs CP210x USB to UART Bridge Converter

Du brauchst das Teil hier.

Beitrag "Re: ALLPOWERS S2000 PRO Reparaturhilfe"

von Alex (kuzma2000)


Lesenswert?

Colleagues, I have another question about the Allpower 2000 Pro.

After the charge and discharge cycle, a problem appeared.
If the battery is discharged, after connecting the 220 volt cable, 
clicks are heard, there is an attempt to start (the screen blinks), but 
the station does not start.
I partially charged it through the PV input.

After that, I started it with the button, connected 220 volts and 
charging started.

Now the battery charge is 100%.
In the off state, after connecting 220 V, the station does not start.
(there are clicks, the screen is flashing)
If you turn it on (press the button for a few seconds), the station 
starts.
After that she determines 220.

Is this a problem with the soft starter on the inverter board or the 
secondary power supply unit?
Or is this a software error?
Or is this normal behavior for such stations?

von Lycaon68 (lycaon68)


Lesenswert?

1
Danke Alexander, und alle anderen Beiträger,
2
3
Ich habe vor einige Woche bereits dieses gleich aussehenden Interface bei ALI gekauft : J-Link V8 OBS ARM SWD Programmierer Debugger STM32
4
https://fr.aliexpress.com/item/1005005802567589.html? pm=a2g0o.order_list.order_list_main.11.7e5a5e5bkJUN3w&gatewayAdapt=glo2fra
5
6
USB Param. : (USB\VID_1366&PID_0101), und jetzt werde ich mal damit herumspielen.
7
8
Frage: Muss das ausgebauetes Board mit 24-50V DC wie Alex das beschrieben hat während des Programmieren gespiesen werden, und dann nur die SWD signale anschliessen ohne 3.3V ?
9
10
Board P1  <-->  Segger J-Link driver v2.70.8.0 unter Win11 
11
--------        --------------------------------------------------------------
12
Ohne 24-50V DC Zusatzspannung an P+/P- Anschluss !!!
13
14
          <-->  +3.3V (nicht angeschlossen : Keine Verbindung)
15
+3.3V     <-->  +3.3V (Angeschlossen : Verbindung IO)
16
SWCLK     <---  SWCLK
17
SWDIO     --->  SWDIO
18
  GND     <-->    GND
19
20
OK, Ich glaube ich habe eine VERBINDUNG GESCHAFT !
21
22
Siehe Folgendes : SEGGER JLink Commander v886 gestartet mit dem oben ernannte J-Link Interface und siehe da Infossssss ...
23
------------------------------------------------------
24
SEGGER J-Link Commander V8.86 (Compiled Nov 12 2025 12:25:00)
25
DLL version V8.86, compiled Nov 12 2025 12:24:06
26
27
Connecting to J-Link via USB...O.K.
28
Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
29
Hardware version: V7.00
30
J-Link uptime (since boot): N/A (Not supported by this model)
31
S/N: 20090928
32
License(s): RDI,FlashDL,FlashBP,JFlash,GDB
33
VTref=3.300V
34
35
Type "connect" to establish a target connection, '?' for help
36
J-Link>connect
37
Please specify device / core. <Default>: N32G455RE
38
Type '?' for selection dialog
39
Device>?
40
Please specify target interface:
41
  J) JTAG (Default)
42
  S) SWD
43
  T) cJTAG
44
TIF>S
45
Specify target interface speed [kHz]. <Default>: 4000 kHz
46
Speed>
47
Device "N32G455RE" selected.
48
49
Connecting to target via SWD
50
Found SW-DP with ID 0x2BA01477
51
DPv0 detected
52
CoreSight SoC-400 or earlier
53
Scanning AP map to find all available APs
54
AP[1]: Stopped AP scan as end of AP map has been reached
55
AP[0]: AHB-AP (IDR: 0x24770011, ADDR: 0x00000000)
56
Iterating through AP map to find AHB-AP to use
57
AP[0]: Core found
58
AP[0]: AHB-AP ROM base: 0xE00FF000
59
CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
60
Found Cortex-M4 r0p1, Little endian.
61
FPUnit: 6 code (BP) slots and 2 literal slots
62
CoreSight components:
63
ROMTbl[0] @ E00FF000
64
[0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
65
[0][1]: E0001000 CID B105E00D PID 003BB002 DWT
66
[0][2]: E0002000 CID B105E00D PID 002BB003 FPB
67
[0][3]: E0000000 CID B105E00D PID 003BB001 ITM
68
[0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
69
[0][5]: E0041000 CID B105900D PID 000BB925 ETM
70
Memory zones:
71
  Zone: "Default" Description: Default access mode
72
Cortex-M4 identified.
73
74
J-Link>ShowFWInfo
75
Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
76
Hardware: V7.00
77
J-Link>ShowHWStatus
78
VTref=3.300V
79
ITarget=0mA
80
TCK=0 TDI=0 TDO=1 TMS=0 TRES=1 TRST=0
81
Supported target interface speeds:
82
 - 16 MHz/n, (n>=4). => 4000kHz, 3200kHz, 2666kHz, ...
83
J-Link>
84
------------------------------------------------------
85
Es scheint das die FW vorhanden ist ... Aber keine Spüren von Display Lebenzeichnen !
86
Frage : Jetzt möchte ich wissen wie man die SW überprüfen, herauslesen und ev. neu beschreiben kann (ALLPOWERS_2000.mot-1310788) (mit SEGGER_JFlash_v886 oder weiterin SEGGER_JLink_Commander_v886) ...
87
88
So genug für heute, ich hoffe ein "ALLPOSERS" Guru can uns weiter helfen ...
89
Schönes Wochen Ende an alle.

von Alex (kuzma2000)



Lesenswert?

Hello!

Merry Christmas and Happy New Year to everyone!

I decided to write a post about my experience with AllPower 2000 Pro 
repairs.
Many thanks to everyone who helped me with the repair!

I think this information may be useful to someone in further repairs.

So, first one and then 2 more such devices were brought to me for 
repair.
Initially, they all had the same problem – missing 220 on the output 
connector.

Usually this indicates that one of the 2 fans per inverter is not 
working.
It is easy to identify the problem - after starting, one of them begins 
to rotate and stops.

The problem is that over time, moisture gets into the lower bearing (the 
one that is closer to the sticker), the process of its destruction 
begins and, in the end, the retaining ring that holds the shaft wears 
off.
The impeller shifts forward under the action of a spring, and the fan 
speed sensor stops working.

The repair is simple: you need to remove the fan, clean the hole, 
replace both bearings (outer diameter 8 mm, inner diameter 3 mm, height 
4 mm) and the retaining ring.
I bought EZO bearings and 3mm retaining rings in China. I recommend 
adding a little lubricant.
There are also stainless steel bearings, but I did not find them in this 
size.

In the first photo, the damaged bearing, a round retaining ring and an 
analogue.
To install a new retaining ring, you need a tube with an internal 
diameter of 3-3.5 mm.

The rest of the problems I had after I mixed up the wires from:
1. standby power supply from the battery (24 volts) and DC-DC inverter 
power cable 56 V 24
2. 24 volt cables from DC-DC inverter 56 V 24 (its output) and 56 volts 
from the battery.
It was a very bad day....

In the first case, I applied 24 volts to a 3.3 volt power line and 
burned the hell out of everything on it: the processor, flash drive, CAN 
and RS485 interfaces, Bluetooch transmitter and various logic circuits.

To fix all this, you need:
1. Processor and programmer.
2. Flash memory chip
3. CAN and RS485 Interface Controllers
4. 3.3 volt stabilizer
5. P channel mosfets in the SOT-23 package (some kind of analogue of the 
3401)
6. Resistors 2.2 ohm size 603

First, I replaced the processor and flash memory chip. I flashed the 
processor with a full dump, which is earlier in this topic. I have a 
J-link and have used it in SWD mode.
For the flashing, I used an external 3.3 volt power supply, as my 
colleagues advised earlier. But I think you can supply about 24 volts to 
the right power connector (56 from the battery) and, if the 3.3 volt 
stabilizer is working, you can work. But it did not work for me and I 
replaced the stabilizer.

The board started, but it didn't see the battery (error E07). The reason 
is that the RS485 interface controller (communication with the battery's 
BMS) and the 2.2 ohm resistor in its power circuit burned out.
The situation is similar with the CAN bus controller and the resistor in 
its power supply circuit.

After replacing these elements, the processor saw the battery.

But, there was a strange problem - in the off state, when connecting 220 
volts to the input, the board did not start. The relays clicked, the 
screen flashed and that's it. If you start the board first, and then 
apply 220, the charge began.

The reason for this behavior is constant 3.3 volts on enable line DC-DC 
supply (56 V to 24V)
The control circuit of this line is located under the screen. I had to 
goutweed the screen and replace 2 3401 FETs.

After that, the fee worked normally.

But I also burned the 12 volt😊 line

To repair it, I replaced the PWM controller NDP1415RB, 2 APG068N04G keys 
and 2 2.2 ohm resistors in the gate circuits.

5 volts began to appear on usb.

It turned out that another 3401 key next to the PWM controller burned 
out.

After his replacement, almost everything worked.

I didn't find the Bluetooch module. In fact, it is not needed.

With a 3 station discharge test cycle, I will notice the following:

1. One of the stations discharged the battery to 0 percent (another stop 
discharge process on 5 %). After applying 220 volts to the input, error 
E07 appeared. The station began charging. When the battery reaches 1 
percent, the error is gone.
Fans were repaired at this station.

2. At the second station, the connection with the battery periodically 
loses during charging (error E07). At the same time, the charge 
continues. After a while, the error disappeared

von Mike (mike86)


Lesenswert?

Herzlichen Glückwunsch!

Chip N32G455VEL7

Allpower AP-SS-009 (S2000) ohne Pro

Benötige Firmware für die Frontblende der Ladestation.

Allpower AP-SS-009 (S2000) ohne Pro.

Chip N32G455VEL7 ist neu.

Alt, defekt (Kurzschluss).

Die auf der Website angebotene Firmware funktioniert nicht.
Beim Drücken des Knopfes piept die Station, schaltet sich aber nicht 
ein.
Es wird auch kein Bild auf dem Display angezeigt.

Zum Programmieren verwende ich den J-Link Programmer.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.