Web Interface not displaying all Categories

Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Web Interface not displaying all Categories

Post by Stephen Darbey »

Hi there.

While diagnosing, why I am not getting a pwm for the gate driver boards, I decided to reflash the STM. Did so successfully but now the Web interface does not show all the options and I have a 'turning circle' on left hand side of the Toggle Category Visibility button and also below at the Show Gauges button.
I have gone through the usual troubleshooting methods like resetting, trying different browsers etc, but to no avail. Hopefully there is a simple fix.
Really enjoying this board building process but have to hold my hand up on this one.

Reflashing seems to have made my problem worse. Anybody had this problem and if so what did you do to fix it.

Thanks
Sdev
SDev
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Web Interface not displaying all Categories

Post by joromy »

I guess you read trough this tread.
viewtopic.php?f=5&t=8#p20

Some of your symptoms are solved in that tread..
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Thanks for reply Joromy.

I have read that thread but don't understand why it is happening now. Nothing has changed with the ESP8266, All I did was reflash the STM unit. The ESP was always OK.
I will however check this out from start to finish.
Thanks
Sdev
SDev
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Web Interface not displaying all Categories

Post by joromy »

I it same firmware version, that you had before?
You may have to update the ESP to, if it's newer version.
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
johu
Site Admin
Posts: 5893
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 176 times
Been thanked: 1096 times
Contact:

Re: Web Interface not displaying all Categories

Post by johu »

Wifi connection OK, but no parameters showing points to comm problem between ESP8266 and STM32. Either
  • The connection is interrupted
  • RX/TX swapped (not possible on socketed module)
  • STM32 is not running a firmware, i.e. green LED not blinking
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Thanks everyone.
Will check all & revert.
Sdev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

I can safely say that there is no green light on the STM, just a red led. My reflash of the unit must have messed it up. Will investigate

Sdev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Strange. I have just loaded up the foc.bin file and it has started flashing the green led again. Worst case is I am back where I started !! Brill

SDev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Hi There.

Still chasing the infamous PWM signals. All seems fine now otherwise. I have started to check all my ribbon cable connections and all seems fine with the exception of JP3, which is for the gate driver pcbs. Pin 1 and 4 are gnd and vcc. Pins 2 and 3 ?
On the main schematic there is the following JP3 pins 3,7,11 are TiM1_CH1N etc. and pins 2,6,10 are PAx_etc. It would be nice to have this layout similar to the JP4 instruction documentation. This is the most likely solution to my problem.
Can anyone tell me the pinouts to the Gate driver from JP3 in order to rule out any incorrect pinout issues.

Enjoying this Jigsaw immensely
SDev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Ok.
Have now corrected one of the cables to phase3 for the gate driver DOH!.
Still no sign of PWM. Will continue

Sdev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

After a few more hours absorbed and tinkering. I have it down to one error.
PWMSTUCK

SDev
SDev
User avatar
johu
Site Admin
Posts: 5893
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 176 times
Been thanked: 1096 times
Contact:

Re: Web Interface not displaying all Categories

Post by johu »

For pwmpol=0 all 6 PWM pins are expected low on start, and all high for pwmpol=1. Otherwise this error is generated
https://openinverter.org/wiki/Errors
Pinout: https://openinverter.org/wiki/File:Main ... out_v3.png
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Thanks Johannes.

I spotted this late last night. Never looked before on V3 as I have V2. At the risk of sounding silly. Should I see the PWM signals with my scope without connecting a udc. (ie in Test mode) or do I have to have something connected.

Thanks
Sdev
SDev
User avatar
johu
Site Admin
Posts: 5893
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 176 times
Been thanked: 1096 times
Contact:

Re: Web Interface not displaying all Categories

Post by johu »

Indeed no udc needed at all. You would even see it without igbts connected.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Pins 11,13,17 and 24 are treble checked and are tied high with 12V on psu. All other cabling checked again. The dreaded PWMSTUCK still appears. I am drawing 300mA with gate drivers and sense boards connected. The error is the same if I disconnect the three driver pcbs and the current falls accordingly. Inverter set to defaults and fslipspnt and ampnom set to 1.
Would there be any other condition that is causing this ?
SDev
SDev
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Web Interface not displaying all Categories

Post by yaroslav »

Perhaps this will help you, I have caused such an error too long PWM wires going to the hcpl3120 drivers
User avatar
johu
Site Admin
Posts: 5893
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 176 times
Been thanked: 1096 times
Contact:

Re: Web Interface not displaying all Categories

Post by johu »

What voltage do you measure on the 6 PWM lines right after "boot"? If non-zero the PWMSTUCK might point to an actual problem most likely caused by electrostatic discharge.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Thanks Johannes and Yaroslav.

The ribbon cable length for JP3 and JP4 is about 8 - 9 inches. JP5 is about 12 inches. I am pretty sure the two pins on each connector for the PWM is zero, however I will check with scope the exact measurement upon boot or startup. Do you feel there might be a spike triggering a fault. (ie an unintentional high)

Will revert and thanks for patience.
Sdev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Still no joy. I measure a spike of about 0.3 - 0.4 Volts upon switch on. This measurement is from pins 2,3,6,7,10 and 11 PWM pins on JP3. After boot and green light flashing the scope just reads zero on all.

I am coming around to the idea of an electrotatic discharge issue. STM unit or one of the ICs. ( They are socketed at least ).
SDev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

oops
Should have added that the cable from JP3 is disconnected. Still PWMSTUCK error appears when I Display error codes.
SDev
SDev
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

One other strange thing I have also noticed is that when I Show Gauges for TMPHS is that it Fluctuates wildly.
Almost completely stumped at this stage. ?

SDev
SDev
User avatar
Lee Malo
Posts: 47
Joined: Thu Mar 21, 2019 6:09 pm
Location: Gloucester MA , USA
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Lee Malo »

I am having the same PWMSTUCK code too . I got the board around November and been working on it with no success . The Motor will not work in manual mode for me and all of my parameters look good .

motor : SDU
The board is a V4 with 4.57 firmware
Poor quality lingers long after the cheap price is forgotten.
Stephen Darbey
Posts: 76
Joined: Tue Jan 15, 2019 10:49 pm
Location: Ireland
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Stephen Darbey »

Hi Lee.

Yes, it has certainly stopped my progress for nearly two months but I have been busy with other things. ( Life keeps getting in the way ).
Here is what I have done so far
1) Checked all cables and pinouts. ( Careful of JP5 pinout sequence is odd 2,1,4,3,6,5 etc, see errata). There was a problem here and I have corrected.
2) Double check all necessary pins are tied high to 12V on PSU, see list on wiki.
3) Reflashed STM32
4) Removed Connector for Gate drivers and scoped JP3 for all appropiate pinouts for the elusive 6 PWM's with Fslipspnt and Ampnom set to 1 and inverter in manual mode.
5) While scoping above I switched off and on to determine if a spike exists large enough to trigger PWMSTUCK as per Johannes idea ( Good Idea and was very hopeful).
I'm presently staring a Cul de Sac. Maybe I should order a new STM32 and hope !

Regards and hope above helps you.
SDev
SDev
User avatar
Lee Malo
Posts: 47
Joined: Thu Mar 21, 2019 6:09 pm
Location: Gloucester MA , USA
Been thanked: 2 times

Re: Web Interface not displaying all Categories

Post by Lee Malo »

I updated the software to 4.76 and now I am getting temp sensor codes, over current codes and stuck pwm . WTF . I have over 100 hours into this thing . Am I waiting my time with this ?? I dont know ?.....

Lee
Poor quality lingers long after the cheap price is forgotten.
User avatar
johu
Site Admin
Posts: 5893
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 176 times
Been thanked: 1096 times
Contact:

Re: Web Interface not displaying all Categories

Post by johu »

Hey Lee,

Things that will help people to help you:
- This is not a web interface problem, so this is not the place to post. It's not clear what hardware you're using, maybe SDU? Then go here: viewtopic.php?f=10&t=77
- Please acknowledge that the design is proven, people have received boards, hooked them up, and drove off. So either there is something wrong with your method or your particular piece of hardware
- If it could be the parameters, post the parameters
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply