Search found 80 matches

by nubster
Sun Apr 09, 2023 7:09 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

You probably need to go back to an earlier version (5.00??) to find a pre-built version of the sin code (the only recent changes have been to the foc version)... You are using the johu fork of the ESP code aren't you https://github.com/Pete9008/esp32-web-interface/tree/johu ? The master version won...
by nubster
Fri Apr 07, 2023 7:12 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Yes, the ST-Link reports Flash size is 128KBytes (see attached pic), and I am indeed disconnecting the ST-Link and restarting the board before accessing the web interface. The red LED is flashing, which I thought indicated the STM32 is running properly, but maybe that isn't always the case. Yet when...
by nubster
Thu Apr 06, 2023 6:05 am
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Success! Erasing the STM32 seemed to be the final key that allowed me to program the ESP32, and I can now access the web interface! Thank you, guys!! Now I just need to figure out how to load and save the default parameters. When I upload the parameter file, message says it's loading them, but then ...
by nubster
Wed Apr 05, 2023 6:30 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Have you used the dongle for anything else, do you know whether it works? No idea. This is the first time I've ever tried using it, so point taken. I bought it a few months back for another project but didn't end up needing it. I'll test it as you suggest and keep the 10s timeout in mind. Oh, one t...
by nubster
Wed Apr 05, 2023 1:35 am
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

So I can't get it to go into programming mode via USB 5V at all. I tried unplugging the entire USB dongle and just the 5V pin to reset it, but it always boots back into normal mode for me. Maybe I'm doing something wrong. However, if I power the board via 12V, disconnect the USB 5V pin, and then fli...
by nubster
Tue Apr 04, 2023 9:31 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Some promising developments. I'm not sure what I did, but the monitor finally said, "waiting for download". I then tried to program it, but it failed with the same error as before. When I rechecked the monitor, it seemed to be back in normal mode again. This happened ~3 times in a row. Now...
by nubster
Tue Apr 04, 2023 8:44 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Sure! With 12V power to PIN13 and the 5V wire removed from the dongle: 3V3 PIN: 3.281 EN PIN: 3.280 IO0 PIN: 0.0 I still see the same monitor output and error when programming. No indication of waiting for download. I tried bridging the PROG jumper before and after powering the board, but I didn't s...
by nubster
Tue Apr 04, 2023 8:17 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Could you check the voltages on the 3V3 pin (2nd from top on the left), EN pin (3rd from top on left) and IO0 pin (bottom pin on right) with respect to ground (top left or top right pin) on the ESP32? Edit - best check on the ESP32 pins if possible, not the PCB connections (just in case of poor sol...
by nubster
Tue Apr 04, 2023 7:52 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Yeah, I tried swapping the TX/RX lines, but I got the same exact error.

Here is what I see:
Screen Shot 2023-04-04 at 12.45.30 PM.png
I noticed your monitor output indicates it is waiting for download, and mine does not. It feels like my issue is that it's just not going into programming mode.
by nubster
Tue Apr 04, 2023 7:33 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

I fixed the image in my post above so you can see how I wired it. I have RX->TX, TX->RX, etc. My USB adapter doesn't have an RTS pin. I am new to UART, but I understand this signal indicates when it's ready to send data... so I think I understand what you're saying. I am powering the board via the U...
by nubster
Tue Apr 04, 2023 7:22 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Just had a look at the schematic - no reset button so ignore the above. With pin1 and pin2 of the programming header linked it should power up into programming mode. Also bear in mind that rx and tx are swapped on the schematic so tx on the header actually goes to tx on the dongle (no crossover nee...
by nubster
Tue Apr 04, 2023 7:18 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Thanks for the quick reply, Pete! I'm unsure what you mean about the "reset line." What reset line exactly? Are you saying that somehow you can programmatically send a signal to a pin to trigger a reset instead of manually disconnecting/reconnecting the power? I don't see a reset pin on th...
by nubster
Tue Apr 04, 2023 6:07 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Ok, I had some time to try Pete's repo yesterday, but I keep getting the error: Failed to connect to ESP32: No serial data received when I try to run: pio run --target upload I'm using a 6-pin header + jumper to bridge PROG and GND per @johu's comment and confirmed the voltage is 0v when running. Af...
by nubster
Sun Apr 02, 2023 6:49 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

I use the port from Petes repo also and he has integrated my changes. The Bedz port didn't work for me. When programming new boards I use platformio. I have a cheap USB->TTL cable with a 5V pin. This can be used and via the SDU boards 3.3V regulator will power up the board. On the 6-pin header &quo...
by nubster
Sat Apr 01, 2023 5:26 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

Re: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

This may help https://openinverter.org/forum/viewtopic.php?p=52874#p52874 https://github.com/Bedz01/esp32-web-interface-port upload.sh from https://github.com/Pete9008/esp32-web-interface/tree/johu Ahh. Thank you guys, this makes way more sense. I'll give it a shot later today/tomorrow. Much apprec...
by nubster
Fri Mar 31, 2023 9:17 pm
Forum: Tesla
Topic: I damaged Tesla motor current Hall sensors
Replies: 5
Views: 781

Re: I damaged Tesla motor current Hall sensors

My understanding is that if you didn't destroy the actual sensors and only messed up the legs, then theoretically, you should be able to patch it if you have the skills. It won't be easy, but you could probably trim the legs down, clean up the board, and use a short length of wire or a 4-pin female ...
by nubster
Fri Mar 31, 2023 8:25 pm
Forum: Tesla
Topic: How to program ESP32 Web Interface on V8 SDU board? [SOLVED]
Replies: 33
Views: 2969

How to program ESP32 Web Interface on V8 SDU board? [SOLVED]

Hey all. Is there a guide for how I can go about programming the new ESP32-WROOM-32 wifi module with the web interface on a new/unprogrammed V8 board? I'm attempting to follow the readme: https://github.com/jsphuebner/esp8266-web-interface , but it seems very specific to ESP8266 wifi modules. The V8...
by nubster
Sun Mar 12, 2023 6:34 pm
Forum: Tesla
Topic: Lastest SDU Design Files? [SOLVED]
Replies: 4
Views: 919

Re: Lastest SDU Design Files? [SOLVED]

Thank you, good sir! :pray:
by nubster
Sun Mar 12, 2023 1:15 am
Forum: Tesla
Topic: Lastest SDU Design Files? [SOLVED]
Replies: 4
Views: 919

Re: Lastest SDU Design Files? [SOLVED]

Thanks, yes. They are excellent reads! I think I understood some of it. I just wasn't sure where to find the latest design files. I bought a couple of boards from the web store now. The first was a V6, but the last was a V7. I've been interested in learning how to build a board, so I went to Damien'...
by nubster
Sat Mar 11, 2023 8:59 pm
Forum: Tesla
Topic: Lastest SDU Design Files? [SOLVED]
Replies: 4
Views: 919

Lastest SDU Design Files? [SOLVED]

Can someone please confirm where the latest Tesla SDU design files can be found? I ordered a board from the shop recently and got a V7 board. Damien's GitHub has a V6, but Johannes has a fork with V7 (and now V8!) Is Johannees' repo the latest and greatest going forward? Are these the latest designs...
by nubster
Thu Mar 02, 2023 2:17 am
Forum: Tesla
Topic: Test if SDU inverter is good or not? [SOLVED]
Replies: 7
Views: 2518

Re: Test if SDU inverter is good or not? [SOLVED]

Perfect, thank you!
by nubster
Wed Mar 01, 2023 7:09 pm
Forum: Tesla
Topic: Test if SDU inverter is good or not? [SOLVED]
Replies: 7
Views: 2518

Test if SDU inverter is good or not? [SOLVED]

Is there a simple or recommended test I can perform on a Tesla SDU inverter before installing an OpenInverter logic board to ensure that the power electronics, etc are actually good? How can I ensure the inverter is actually good before swapping the logic boards? Thanks!!
by nubster
Wed Jan 04, 2023 1:35 am
Forum: Tesla
Topic: Tesla SDU main contactor not closing [SOLVED]
Replies: 34
Views: 6995

Re: Tesla SDU main contactor not closing [SOLVED]

Yep, it appears to be a connection problem. Opened it back up and connected everything and this time it went right into "Run" status as soon as I gave pin9 +12v. All the contactors did the right thing, and I can also put it into Forward/Reverse. Didn't change anything. After further testin...
by nubster
Tue Jan 03, 2023 9:21 pm
Forum: Tesla
Topic: Tesla SDU main contactor not closing [SOLVED]
Replies: 34
Views: 6995

Re: Tesla SDU main contactor not closing [SOLVED]

ok, time to open up the inverter (in case you closed it). Check for cold solder joint. between Pin 9 and the processor there is only R52, a 1k resistor. Please check its continuity as well. How about signals forward and reverse, do these change state when you apply 12v? OK, I'll open it back up and...
by nubster
Tue Jan 03, 2023 7:37 pm
Forum: Tesla
Topic: Tesla SDU main contactor not closing [SOLVED]
Replies: 34
Views: 6995

Re: Tesla SDU main contactor not closing [SOLVED]

absolutely. Does it change to "run"? Do you see din_start momentarily go "On"? Negative. din_start value does not change. Just to be sure I plotted it but it stays 0 the whole time when applying +12v to pin9. I'm directly touching the pin9 Molex harness wire to +12v (no switch)....