PIP-4048MS and PIP-5048MS inverters

non-EV Solar, Wind and other renewable power sources
non-EV batteries and other energy storage stuff
Forum rules
Important!
This forum is for discussion of Non-EV matters.
User avatar
coulomb
Site Admin
Posts: 4749
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Re: PIP-4048MS and PIP-5048MS inverters

Post by coulomb »

Aneantisor wrote: Thu, 27 May 2021, 15:46 That's a lots of good news, your answer is above my hope.
Arrgh! I spoke too soon. @Aneantisor, please old off on any purchases for now; it turns out what while the bootstrap loader was successfully flash written to the new processor, it didn't actually allow another firmware to be loaded. So there must be a glitch in how I acquired the bootloader, causing it to crash when you attempt to load a new firmware.

I have some ideas on what to do next, but it will take me a few days at least, and it needs to be verified.

So sorry to dash your hope (hopefully, only temporarily).
MG ZS EV 2021 April 2021.
Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
1.4 kW solar with 1.2 kW Latronics inverter and FIT.
Patching PIP-4048/5048 inverter-chargers.
Aneantisor
Noobie
Posts: 5
Joined: Sun, 23 May 2021, 16:41
Real Name: Julien H

Re: PIP-4048MS and PIP-5048MS inverters

Post by Aneantisor »

Hummm, anyway, i keep ordering the xds110. it's only 20€ and then i'll have a JTAG.
As another way to think, is the bootloader absolutely needed as long as i'll have a JTAG programmer ?
Maybe i can write the firmware without the bootloader ?
For sure, it's a lot less easy for futures updates, but updates are maybe not necessary. there is already a big jump between 52.30 and 73.00e
User avatar
coulomb
Site Admin
Posts: 4749
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Re: PIP-4048MS and PIP-5048MS inverters

Post by coulomb »

Aneantisor wrote: Sat, 29 May 2021, 01:04 As another way to think, is the bootloader absolutely needed as long as i'll have a JTAG programmer ?
Maybe i can write the firmware without the bootloader ?
I didn't think of that, but it's true. It's actually quicker doing the actual flash programming of firmware with JTAG, a few seconds versus 8 minutes, once everything is set up.

And there will likely never be another factory firmware for PF0.8 models, and a newer patched firmware is unlikely. The only likely change would be from LC to LFP flavours, or possibly vice versa.
MG ZS EV 2021 April 2021.
Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
1.4 kW solar with 1.2 kW Latronics inverter and FIT.
Patching PIP-4048/5048 inverter-chargers.
Aneantisor
Noobie
Posts: 5
Joined: Sun, 23 May 2021, 16:41
Real Name: Julien H

Re: PIP-4048MS and PIP-5048MS inverters

Post by Aneantisor »

Hello,
Received xds110 today, i'm installing CCS right now.
Then, i'm waiting for your instruction, i'll need the pinout for 5v, 12v(reset) and gnd.
thank you
User avatar
coulomb
Site Admin
Posts: 4749
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Re: PIP-4048MS and PIP-5048MS inverters

Post by coulomb »

Great timing. Just yesterday I managed to extract the bootloader from the Axpert King (PIP-MK) that I have here for experimentation. I used a new technique for extracting the password, allowing me to extract the bootloader in one quick hit with JTAG.

I learned a few things. It seems that they use different passwords for different models, or possibly change them over time. Also, the bootloader was fairly different from the one we extracted a year or two ago from a different model. It looks like you have to match the bootloader with the reflash tool. That's one of those things that seems obvious in retrospect.

The good news is that this means that there is possibly nothing wrong with the bootloader that I have, I might just have to find the right reflash tool to use with it, possibly modifying the main firmware slightly to use the matching command.

Or maybe you could use the really old bootloader that I extracted from an early machine that had no password. It came with main firmware 52.02, not far off what you have now.

So one way or another, I can probably get you working.
MG ZS EV 2021 April 2021.
Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
1.4 kW solar with 1.2 kW Latronics inverter and FIT.
Patching PIP-4048/5048 inverter-chargers.
User avatar
coulomb
Site Admin
Posts: 4749
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Re: PIP-4048MS and PIP-5048MS inverters

Post by coulomb »

Aneantisor wrote: Mon, 07 Jun 2021, 21:04 I'll need the pinout for 5v, 12v(reset) and gnd.
Your control board will probably look a little different, but the power pinouts should be the same. Check that pins 8-11 connect together on the top of the board, to make sure you're oriented correctly.

Control Board power pins.jpg
Control Board power pins.jpg (341.79 KiB) Viewed 105 times
You will need to find some 2.54 mm spacing female connectors. 4 pins would be the bare minimum; I'd use at least 6 pins (pins 10-15 inclusive): 2 for GND, 2 for +12 V (only need to use 1 pin as the current is very low), and 2 for +5 V. 8 pins would be ideal (3 each for GND and +5V); 16 pins means you are less likely to get the position of the connector wrong.

See this post for more details.
MG ZS EV 2021 April 2021.
Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
1.4 kW solar with 1.2 kW Latronics inverter and FIT.
Patching PIP-4048/5048 inverter-chargers.
Aneantisor
Noobie
Posts: 5
Joined: Sun, 23 May 2021, 16:41
Real Name: Julien H

Re: PIP-4048MS and PIP-5048MS inverters

Post by Aneantisor »

hi, i've done the connector, lightly tried xds110, but without a DSP connected CCS reported some issue... hope this is because there was no DSP connected.
you spoke about extracting the password, i hope you can explain how to.
I'll have to write some file too.
I'll need a hex file ? or i need all the source ? (both would be great, i would love to look how it is done).
User avatar
coulomb
Site Admin
Posts: 4749
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Re: PIP-4048MS and PIP-5048MS inverters

Post by coulomb »

Aneantisor wrote: Wed, 09 Jun 2021, 16:12 hi, i've done the connector, lightly tried xds110, but without a DSP connected CCS reported some issue... hope this is because there was no DSP connected.
Yes, without a DSP, it won't connect, so you won't get far.
you spoke about extracting the password, i hope you can explain how to.
I'm hoping that since it's a clone, you won't need a password.
I'll have to write some file too.
Hopefully, I'll be able to provide what you need.
I'll need a hex file ?
Believe it or not, an assembly language file consisting almost entirely of ".word" pseudo-ops. Basically, many define-word-constant statements.
or i need all the source ?
Real men don't need source code ;)
Actually, source code would be nice, but it can't practically be obtained, at least with current technology.

Bug me by private message if I forget and/or take too long.
MG ZS EV 2021 April 2021.
Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
1.4 kW solar with 1.2 kW Latronics inverter and FIT.
Patching PIP-4048/5048 inverter-chargers.
User avatar
coulomb
Site Admin
Posts: 4749
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Re: PIP-4048MS and PIP-5048MS inverters

Post by coulomb »

Post by @GioArca67 moved here.
MG ZS EV 2021 April 2021.
Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
1.4 kW solar with 1.2 kW Latronics inverter and FIT.
Patching PIP-4048/5048 inverter-chargers.
GioArca67
Noobie
Posts: 10
Joined: Thu, 08 Apr 2021, 20:41

Re: PIP-4048MS and PIP-5048MS inverters

Post by GioArca67 »

Hi there.
Up to Australian regulations which Residual Circuit Breaker do you choose for a 16A socket on the out line of this inverter?
Is it allowed a residual current greater then 30mA?
The manufacturer suggested 100mA or more. Have you tried a regular 30mA? Are there unexpected trips?
Post Reply