HOWTO: Flashing ESP8266
- james@N52E01
- Posts: 144
- Joined: Wed Sep 18, 2019 7:02 am
- Has thanked: 2 times
- Been thanked: 3 times
Re: HOWTO: Flashing ESP8266
Dima and Arber I tried as you both suggested but still no luck unfortunately. Just to confirm, I am not using the -DEV board, it is the MOD-WIFI-ESP8266 with the UEXT header like your picture on the original post.
With these settings you posted above and an FTDI board connected as you originally posted, have you or Arber successfully managed to flash one of these boards with the latest Arduino IDE and esptool.py v2.6?
With these settings you posted above and an FTDI board connected as you originally posted, have you or Arber successfully managed to flash one of these boards with the latest Arduino IDE and esptool.py v2.6?
Re: HOWTO: Flashing ESP8266
Yes all the time. Only difference not using expensive FTDI (You will need USB to TTL not RS232 Serial) Prolific2303 or CH340 work. (-DEV) is in brackets IDE builds for both.james@N52E01 wrote: ↑Sat Mar 07, 2020 5:06 pm With these settings you posted above and an FTDI board connected as you originally posted, have you or Arber successfully managed to flash one of these boards with the latest Arduino IDE and esptool.py v2.6?
- jnsaff
- Posts: 176
- Joined: Fri Oct 18, 2019 7:42 am
- Location: Tallinn, Estonia
- Has thanked: 2 times
- Been thanked: 8 times
Re: HOWTO: Flashing ESP8266
I'm having a similar problem as well. I got the ESP8266 from Johannes so it should be fine. Then programmed the bootloader and stm32_sine.hex red led is on and green is blinking on the blue pill.
No parameters are showing but when I try to Display Error Memory I get:
Custom command 'json' gets
So it seems that they are communicating as from the forum search this error is something that the stm32_sine sends back. But TX may be messed up somehow? I believe my Blue Pills may be quite dodgy .. so would want to put the black pill on there instead but the pin labels are not exactly the same. Any ideas? Much appreciated!
No parameters are showing but when I try to Display Error Memory I get:
Code: Select all
Unknown command sequence
e��K�
Unknown command sequence
Code: Select all
Unknown command sequence
j��)
- jnsaff
- Posts: 176
- Joined: Fri Oct 18, 2019 7:42 am
- Location: Tallinn, Estonia
- Has thanked: 2 times
- Been thanked: 8 times
Re: HOWTO: Flashing ESP8266
I flashed another esp8266 with Dima's interface and no luck on either Blue Pill nor fully tested GS450h-VCU. On both I get the error: ' SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data:'.
Re: HOWTO: Flashing ESP8266
GS450h-VCU will not work with Johannes or my web-interface. You will need to flash this https://github.com/jamiejones85/ESP8266-WiFi-Interface. Blue-Pill was not tested by me.
This means wrong serial speed! 15200 is what you want.jnsaff wrote: ↑Mon Mar 16, 2020 9:20 pm No parameters are showing but when I try to Display Error Memory I get:Custom command 'json' getsCode: Select all
Unknown command sequence e��K� Unknown command sequence
Code: Select all
Unknown command sequence j��)
Re: HOWTO: Flashing ESP8266
FYI if the sketch and the SPIFFS will all fit on a 1MB chip (like Damien's interface for the GS450h) I was able to use the super cheap ESP-01. You don't have to solder pins, just connect 2 extra pins while flashing. It made it easy practice (especially when you are modding code like me) before having to move the solder around.
Re: HOWTO: Flashing ESP8266
How did you get the sketch and the spiffs to fit on the esp-01.slow67 wrote: ↑Wed Mar 25, 2020 5:37 am FYI if the sketch and the SPIFFS will all fit on a 1MB chip (like Damien's interface for the GS450h) I was able to use the super cheap ESP-01. You don't have to solder pins, just connect 2 extra pins while flashing. It made it easy practice (especially when you are modding code like me) before having to move the solder around.
What did you change to get it to work ?
I have a esp-01 here that I try to use.
Regards
/Per
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: HOWTO: Flashing ESP8266
I followed this post:
viewtopic.php?p=5048#p5048
But for step 6 I choose the "Generic ESP8266 module"
That worked for me.
I used FTDI Cable with RTS connected. That worked perfect.
But you need to keep the enable pin high all the time.
And when flashing pull the GPIO0 low
Regards
/Per
viewtopic.php?p=5048#p5048
But for step 6 I choose the "Generic ESP8266 module"
That worked for me.
I used FTDI Cable with RTS connected. That worked perfect.
But you need to keep the enable pin high all the time.
And when flashing pull the GPIO0 low
Regards
/Per
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: HOWTO: Flashing ESP8266
Hi ZK!
I'm using win10. It worked fine.
I created a FSBrower dierctory.
extracted Johannes FSBrowser project
In the FSBrowser dir I created a Data directory.
Moved all files except the FSBrowser.ino file into
Then opened the the .ino file.
First uploaded the sketch.
Waited for the a couple of seconds after reset of ESP
Then uploaded the Spiffs.
Then removed the flash pulldown.
That worked for me.
I'm using win10. It worked fine.
I created a FSBrower dierctory.
extracted Johannes FSBrowser project
In the FSBrowser dir I created a Data directory.
Moved all files except the FSBrowser.ino file into
Then opened the the .ino file.
First uploaded the sketch.
Waited for the a couple of seconds after reset of ESP
Then uploaded the Spiffs.
Then removed the flash pulldown.
That worked for me.
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: HOWTO: Flashing ESP8266
It sounds like your "Data" folder is empty, Johannes web interface folder structure does not reflect what is needed for Arduino IDE - ESP8266 SPIFFS Uploader.
make C:/FSB <-copy only FSBrowser.ino
make C:/FSB/Data <- Copy all files except FSBrowser.ino
make C:/FSB <-copy only FSBrowser.ino
make C:/FSB/Data <- Copy all files except FSBrowser.ino
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: HOWTO: Flashing ESP8266
You can try removing not essential files from /Data folder.
Code: Select all
gauge.min.js.gz
gauges.html
gauges.js
- jnsaff
- Posts: 176
- Joined: Fri Oct 18, 2019 7:42 am
- Location: Tallinn, Estonia
- Has thanked: 2 times
- Been thanked: 8 times
Re: HOWTO: Flashing ESP8266
So I solved this issue by soldering a new board and making sure I get a blue pill with a genuine STM32. Which of them was the actual culprit I don't know, but now I have the parameters in the web interface and everything works out of the box.
I know for sure that the first Blue Pills came with clone stm32 chips. I also can't rule out dodgy soldering first time round.
I know for sure that the first Blue Pills came with clone stm32 chips. I also can't rule out dodgy soldering first time round.
jnsaff wrote: ↑Mon Mar 16, 2020 9:20 pm I'm having a similar problem as well. I got the ESP8266 from Johannes so it should be fine. Then programmed the bootloader and stm32_sine.hex red led is on and green is blinking on the blue pill.
No parameters are showing but when I try to Display Error Memory I get:Custom command 'json' getsCode: Select all
Unknown command sequence e��K� Unknown command sequence
So it seems that they are communicating as from the forum search this error is something that the stm32_sine sends back. But TX may be messed up somehow? I believe my Blue Pills may be quite dodgy .. so would want to put the black pill on there instead but the pin labels are not exactly the same. Any ideas? Much appreciated!Code: Select all
Unknown command sequence j��)
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
- SciroccoEV
- Posts: 369
- Joined: Thu Oct 10, 2019 1:50 pm
- Location: Luton UK
- Been thanked: 15 times
-
- Posts: 921
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 318 times
- Been thanked: 194 times
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
-
- Posts: 921
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 318 times
- Been thanked: 194 times
Re: HOWTO: Flashing ESP8266
...
I bet you made the same mistake I did. There is supposed to be a blinking LED if you flash the firmware successfully.
Did you flash the bootloader file before you flashed the SINE or FOC file?
See my failures (and the previous forum page), if that's true:
viewtopic.php?p=5760#p5760
Re: HOWTO: Flashing ESP8266
post deleted
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah