All fixed for ESP8266 Core v3.0.2 and hopefully anything later.
Some cool tests you can do http://192.168.4.1/swd/hex?bootloader
Go to http://192.168.4.1/update and flash attached two files. See above posts two wire hardware mod required - both esp module and main board.
Search found 157 matches
- Mon Dec 13, 2021 7:44 pm
- Forum: User Interface
- Topic: SWD over ESP8266
- Replies: 11
- Views: 7961
- Wed Dec 08, 2021 8:05 pm
- Forum: User Interface
- Topic: SWD over ESP8266
- Replies: 11
- Views: 7961
Re: SWD over ESP8266
FYI, Latest Arduino ESP8266 Core Library v3.x does not work with SWD (Single Wire Debug) web interface flashing. They changed a lot how memory is handled, it crashes the esp and the web-server.
Use v2.7.4 for best results.
Use v2.7.4 for best results.
- Wed Dec 16, 2020 5:05 pm
- Forum: General
- Topic: Upload file types
- Replies: 3
- Views: 943
Re: Upload file types
Added as "Downloadable Files", any suggestions for other formats?
.cam360
.dwg
.dxf
.f3d
.fbx
.obj
.sldprt
.stl
.stp
.cam360
.dwg
.dxf
.f3d
.fbx
.obj
.sldprt
.stl
.stp
- Thu Dec 10, 2020 10:57 pm
- Forum: User Interface
- Topic: HOWTO: Flashing ESP8266
- Replies: 181
- Views: 63912
Re: HOWTO: Flashing ESP8266
No good, need TTL.
- Thu Dec 10, 2020 5:00 pm
- Forum: User Interface
- Topic: HOWTO: Flashing ESP8266
- Replies: 181
- Views: 63912
Re: HOWTO: Flashing ESP8266
You are using a USB-TTL adapter right?
- Mon Dec 07, 2020 5:28 pm
- Forum: User Interface
- Topic: HOWTO: Flashing ESP8266
- Replies: 181
- Views: 63912
Re: HOWTO: Flashing ESP8266
This is new revision with SWD mod
"src" folder must be inside C:\FSBrowser\
"sketch"? Do you have other .ino files open? Only "FSBrowser.ino" should be open, close others.
"src" folder must be inside C:\FSBrowser\
"sketch"? Do you have other .ino files open? Only "FSBrowser.ino" should be open, close others.
- Sun Nov 22, 2020 8:51 pm
- Forum: User Interface
- Topic: SWD over ESP8266
- Replies: 11
- Views: 7961
Re: SWD over ESP8266
Exciting news! SWD (Serial-Wire-Debugger) works now.
...code update coming soon to your web-interface
Need to connect GPIO4 and 5 from Olimex to CLK and DIO on SWD port.
...code update coming soon to your web-interface
Need to connect GPIO4 and 5 from Olimex to CLK and DIO on SWD port.
- Fri Nov 13, 2020 5:59 pm
- Forum: General
- Topic: 24-36-48v.. Server Power Supply C7000
- Replies: 3
- Views: 1377
Re: 24-36-48v.. Server Power Supply C7000
I've used 2x IBM (ARTESYN) for 24V. Isolation important! + a signal wire. (server power supplies do not turn on by themselves)
Here is info for the IBMs https://www.rcgroups.com/forums/showthr ... 42A-to-24V
Here is info for the IBMs https://www.rcgroups.com/forums/showthr ... 42A-to-24V
- Thu Nov 12, 2020 4:35 pm
- Forum: User Interface
- Topic: Sharing one ESP8266 between multiple STM32s
- Replies: 10
- Views: 6871
Re: Sharing one ESP8266 between multiple STM32s
You can upgrade to MOD-WIFI-ESP8266-DEV with "solder yourself" onboard option.
- Tue Nov 10, 2020 5:16 am
- Forum: User Interface
- Topic: Sharing one ESP8266 between multiple STM32s
- Replies: 10
- Views: 6871
Re: Sharing one ESP8266 between multiple STM32s
So much work ... for just a few $(dosh)
What about control from ESP side? Don't think Olimex has two UART channels. Other ESP modules (like WeMos) have two UART channels -> TX1/RX1 and TX2/RX2
Code: Select all
Serial.swap(); //Swaps UART Channel
- Sun Nov 01, 2020 8:57 pm
- Forum: User Interface
- Topic: HOWTO: Flashing ESP8266
- Replies: 181
- Views: 63912
Re: HOWTO: Flashing ESP8266
Strange, sounds like inverter has 'fastuart' but ESP does not know about it.
You can always set ESP8266:
And try again, maybe Blue-Pill cannot operate at 921600
You can always set ESP8266:
Code: Select all
bool fastUartAvailable = false;
- Sun Nov 01, 2020 6:15 pm
- Forum: Inverters / Motor Controllers
- Topic: Tool chain
- Replies: 18
- Views: 2854
Re: Tool chain
With Windows, you will need to install "Python" to build "libopencm3" + GCC + arm-none-eabi to build actual firmware.
It is not easy in Windows, I use a script to build.
It is not easy in Windows, I use a script to build.
- Sun Nov 01, 2020 6:07 pm
- Forum: User Interface
- Topic: HOWTO: Flashing ESP8266
- Replies: 181
- Views: 63912
Re: HOWTO: Flashing ESP8266
This tell you wrong TTL speed. Check speed with 'http://192.168.4.1/baud'
- Sat Sep 26, 2020 1:37 am
- Forum: User Interface
- Topic: Failed to update web interface
- Replies: 7
- Views: 5096
Re: Failed to update web interface
It looks like you uploaded something not from index.html but some github page? This is a tough spot to get out of without " Soldering GPIO0 to 0 " Arduino IDE with OTA (over-the-air) 1) Connect to ESP WiFi and choose Port as IP ESP_OTA.png 2) Install Arduino SPIFFS Uploader plug-in 3) Move...
- Fri Sep 18, 2020 1:41 am
- Forum: Inverters / Motor Controllers
- Topic: Autotune syncofs?
- Replies: 7
- Views: 1809
Re: Autotune syncofs?
I have a small "tweak" and idea! But I cannot visualize it. Maybe someone can explain in a "round" perspective how angle "looks like" relative to all those magnets. I know that it is calculated by: angle = (syncofs * 360 / 65536) but how to visualize that? Is this diagr...
- Fri Sep 18, 2020 1:31 am
- Forum: Inverters / Motor Controllers
- Topic: Send CAN message help
- Replies: 25
- Views: 5019
Re: Send CAN message help
Can I ask a bit shifted question, but parameter related ...When using baud rate 921600 in ESP module JSON parameters comes out fragmented (randomly) Is it possible to customize to use slightly lower (lets say 256000) baud rate?
- Mon Sep 07, 2020 8:24 pm
- Forum: Inverters / Motor Controllers
- Topic: Send CAN message help
- Replies: 25
- Views: 5019
Re: Send CAN message help
I thought index ids came from /include/param_prj.h
Something like "boost = 1" so something like: 1-1 = 0 (DEC) or 0x00 (HEX)? or is this completely off
Something like "boost = 1" so something like: 1-1 = 0 (DEC) or 0x00 (HEX)? or is this completely off
- Sat Sep 05, 2020 3:16 pm
- Forum: User Interface
- Topic: Gauge Update
- Replies: 16
- Views: 8000
Re: Gauge Update
So far the only real limitation I’m seeing are 20byte packets Yes I bumped into that as well, need to explore "stream" option. Otherwise every second you want to update you need to get a new "request/reply" is too slow. This example (without using JQuery): https://gist.github.co...
- Thu Sep 03, 2020 1:23 am
- Forum: User Interface
- Topic: Gauge Update
- Replies: 16
- Views: 8000
Re: Gauge Update
If interested there is already a good "crazy" starting point here -> https://github.com/dimecho/Open-Inverter-Dashboard
- Sun Aug 09, 2020 5:05 pm
- Forum: General
- Topic: Embarrassing Software Question
- Replies: 6
- Views: 2227
Re: Embarrassing Software Question
unit8 will result in slightly less compiled size. Think ATTiny chips. I think best practice is to use unit8 where possible. The catch: uint8 can only hold up to 255. So if you need larger integer you need to use uin16 Note: int16 will go negative, uint16 only positive. +---------------+------------...
- Thu Jun 18, 2020 1:13 pm
- Forum: Inverters / Motor Controllers
- Topic: Error when compiling source code
- Replies: 7
- Views: 1528
- Thu Jun 18, 2020 1:02 pm
- Forum: User Interface
- Topic: Universal WiFi Interface
- Replies: 79
- Views: 23233
Re: Universal WiFi Interface
There is an eeprom bug (I have a fix will push to GitHub soon) load this eeprom.ino with Arduino to erase EEPROM, then load the binary (or main arduino sketch) #include <EEPROM.h> void setup() { //Erase EEPROM to Default EEPROM.begin(1024); for (uint16_t i = 0 ; i < EEPROM.length() ; i++) { EEPROM.w...
- Sun Jun 14, 2020 12:30 am
- Forum: Inverters / Motor Controllers
- Topic: Error when compiling source code
- Replies: 7
- Views: 1528
Re: Error when compiling source code
I put together a script for Windows.
You will need:
1) Python3 to compile libopencm3 library (and use Johannes version)
2) GCC 4.8 for Windows
3) ARM Embedded compiler
4) MinGW
You will need:
1) Python3 to compile libopencm3 library (and use Johannes version)
2) GCC 4.8 for Windows
3) ARM Embedded compiler
4) MinGW
- Tue May 26, 2020 2:55 pm
- Forum: User Interface
- Topic: HOWTO: Flashing ESP8266
- Replies: 181
- Views: 63912
Re: HOWTO: Flashing ESP8266
Thank you! @celeron55 I was starting to feel discouraged ...again. Need one of them Johannes torque gloves.
- Sun May 24, 2020 11:54 pm
- Forum: User Interface
- Topic: Flashing .bin via web interface always corrupts?
- Replies: 5
- Views: 4565
Re: Flashing .bin via web interface always corrupts?
Did you try .hex?