Closed Hans68 closed 5 years ago
It is enough to build and upload wifi or ble. The complete build and upload is if you want to try both together. I will check the error for Upload System Image under wifi.
No, it is not possible. ttgo-t-eight is an all-in-one board with a bigger display, the battery interface and 3 buttons. PSRAM is not yet used.
Thanks a lot, understood, but how can I try wifi and BLE togehter, I learnt only one option will work at the same time?
It works but it is not stable due to heap memory size. You can upload wifi firmware, make the configuration, upload wifi and ble, use it. Do not open the web config interface with wifi+ble otherwise it will reboot.
Great response time ! My preferred solution would be: Only BLE Midi (NoWiFi Midi, no USB midi etc.) Configuration via WiFi or USB Interface (Node MCU -USB- Interface) with new flashing. This would help to configurate and afterwards operate it in BLE without new flashing. Is there anything planned for the future?
The next improvements will be:
Thank you! Sorry, I meant of course Configuration via WiFi or USB Interface (Node MCU -USB- Interface) without new flashing.
The latest improvments can solve your issue.
Thank you !! I have been testing the different Build options. Running the overall Build I got several error messages, see attached copy. If I run the specific Builds, everything is goining fine without error. I had no time yet to test upload. What is esp32dev for resp. ttgo-t-eight ? Is this the combined function of WiFi and BLE ? Is it functioning now? What's about "Upload File System Image" ? Is it substituted by "Upload and monitor" ?
Did you updated to Plafformio Core 4.0? esp32dev is for generic esp32 board with wifi+ble esp32doit-devkit-v1 is for doit-devkit-v1 board with wifi+ble esp32doit-devkit-v1-ble is only ble esp32doit-devkit-v1-wifi is only wifi ttgo-t-eight is for ttgo-t-eight board with wifi+ble ttgo-t-eight-ble is ony ble ttgo-t-eight-wifi is only wifi
If you don't have doit or ttgo board I suggest esp32dev. wifi+ble is working fine is you are not using webconfig. I suggest to boot in wifi mode (istructions are in the README), make configuration via webconfig and reboot in wifi+ble
Cheers
Thanks, your response time is outstanding !! Yes, I have Platformio Core 4.0.0 and I have esp32doit-devkit-v1. I wait to receive ttgo-t-eight within the next days. Cheers
Hi, I am back for testing ! With the latest build I had problems with the configuration files in the browser window, see attached copy. The same effect I had with older versions when I forgot to "upload file system image". The a.m. behaviour happens with both HW versions, with ESP32 dev. kit and with TTGO-T-EIGHT. If I go back to the version, which you can see in the second attached picture, configuration file in Browser is as it should be. In addition I have a new effect, which is most probably independant of your build versions, but it surprises me: On my ESP32 Dev. Kit I have to press Boot button when "Connecting ....." appears on the PIO terminal window. This was not necessary before. Perhaps you have a hint for me. Best regards Hans
Did you try to reset it to factory default? I recently moved from EEPROM library to Preferences library for saving configuration.
I tried everything you recommended and I used ESP32-Dev. Kit and TTGO-T-Eight, still the same problem: Config Files are shown in browser as if I wouldn't have uploaded File System Image. (see attached photo) Cheers
It looks like that bootstrap files are not present. Did you uploaded File System Image? Click Options and try a different WebUI Theme.
Yes as already mentioned, file system image is loaded and if I go back to a previous build (see my comment 5 days ago), config tables are shown correctly. That is why I don't believe that it is a browser issue.
Did you try to change the WebUI Theme under Options?
Can you send a screenshot of Chrome Inspector? I think there are some errors there.
I got some problems as I am using German version of Chrome, so I can not directly find these wordings like WebUI and Chrome Inspector, but: It worked before with my I-phone browser, my Android browser, and with Fire Fox. Now, non of these Browsers are working!
Am Mi., 31. Juli 2019 um 13:55 Uhr schrieb alf45tar < notifications@github.com>:
Can you send a screenshot of Chrome Inspector? I think there are some errors there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alf45tar/PedalinoMini/issues/7?email_source=notifications&email_token=ALR3NU33NPKW6UPTJ4CB3OTQCF4TJA5CNFSM4H3Z7TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3HAA4A#issuecomment-516817008, or mute the thread https://github.com/notifications/unsubscribe-auth/ALR3NU65XI2IKAPJRNDYRILQCF4TJANCNFSM4H3Z7TKA .
I just recognized, that with the new builds, I have no "Device:" shown on the display. With the old version (end of june) which I tried for testing again, I get a "Device: 2512CF4A". As already told, with the version where I get the Device Name, Config Files in Browser are o.k.. Please see attached photos.
Can you send me the output in the serial console during boot?
As I am not yet very skilled with Platformio, please give me some more detailled steps what to do. I will be out of home now for 4 days and can be back on Monday afternoon. Thanks and Cheers
Am Do., 1. Aug. 2019 um 08:26 Uhr schrieb alf45tar <notifications@github.com
:
Can you send me the output in the serial console during boot?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alf45tar/PedalinoMini/issues/7?email_source=notifications&email_token=ALR3NUYY2SV5VSP6RVMBHCTQCJ62BA5CNFSM4H3Z7TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3JOSZQ#issuecomment-517138790, or mute the thread https://github.com/notifications/unsubscribe-auth/ALR3NU4XTNGO3FLHH4JHJALQCJ62BANCNFSM4H3Z7TKA .
Are these the printouts you asked for ?? "SW Version working" is app from end of June "SW version not working" is the newest build SW Version 5 working.pdf SW Version new not working.pdf
Thank you for the console messages log. I think your problem is related to Non Volatile Storage initialization. I recently moved from EEPROM library to Preferences library for saving configuration but it request a reset it to factory default.
Here the procedure: https://github.com/alf45tar/PedalinoMini#booting-modes
I will fix my code to perform a automatic NVS initialization on first boot.
Thanks alf45tar
Thanks !I did already Reset to Factory default last week with no result. I tried it before and after upload. At what status do you recommend to do it?But I think best is to wait for your update.CheersHansVon Samsung-Tablet gesendet -------- Ursprüngliche Nachricht --------Von: alf45tar notifications@github.com Datum: 06.08.19 13:25 (GMT+01:00) An: alf45tar/PedalinoMini PedalinoMini@noreply.github.com Cc: Hans68 hackl.johann@gmail.com, Author author@noreply.github.com Betreff: Re: [alf45tar/PedalinoMini] Build and Upload (#7) Thank you for the console messages log. I think your problem is related to Non Volatile Storage initialization. I recently moved from EEPROM library to Preferences library for saving configuration but it request a reset it to factory default. Here the procedure: https://github.com/alf45tar/PedalinoMini#booting-modes I will fix my code to perform a automatic NVS initialization on first boot. Thanks alf45tar
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/alf45tar/PedalinoMini/issues/7?email_source=notifications\u0026email_token=ALR3NU5DESBS3CGUW2GIMH3QDFNTVA5CNFSM4H3Z7TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3U2LHQ#issuecomment-518628766", "url": "https://github.com/alf45tar/PedalinoMini/issues/7?email_source=notifications\u0026email_token=ALR3NU5DESBS3CGUW2GIMH3QDFNTVA5CNFSM4H3Z7TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3U2LHQ#issuecomment-518628766", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
I just uploaded the requested updates. Try again and let us know.
Unfortunately no improvement ! Please find attached printout.
Cheers
Am Mi., 7. Aug. 2019 um 19:28 Uhr schrieb alf45tar <notifications@github.com
:
I just uploaded the requested updates. Try again and let us know.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alf45tar/PedalinoMini/issues/7?email_source=notifications&email_token=ALR3NU74MYXUEXSLVZ6KPDLQDMA5RA5CNFSM4H3Z7TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZEM3A#issuecomment-519194220, or mute the thread https://github.com/notifications/unsubscribe-auth/ALR3NU7HVWRDMDNBDPQDPZLQDMA5RANCNFSM4H3Z7TKA .
Also no improvment with ttgo-t-eight concerning this issue.
Unfortunately no improvement ! Please find attached printout. Cheers Am Mi., 7. Aug. 2019 um 19:28 Uhr schrieb alf45tar <notifications@github.com … : I just uploaded the requested updates. Try again and let us know. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#7?email_source=notifications&email_token=ALR3NU74MYXUEXSLVZ6KPDLQDMA5RA5CNFSM4H3Z7TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZEM3A#issuecomment-519194220>, or mute the thread https://github.com/notifications/unsubscribe-auth/ALR3NU7HVWRDMDNBDPQDPZLQDMA5RANCNFSM4H3Z7TKA .
There is no attachment
Did you solved? If not check the log during reset to factory default. It is clear indicated if the reset has been completed.
No, it is not solved as already stated on August, 7th. Please find attached log during reset to factory default. Cheers
Am Mo., 19. Aug. 2019 um 08:18 Uhr schrieb alf45tar < notifications@github.com>:
Did you solved? If not check the log during reset to factory default. It is clear indicated if the reset has been completed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alf45tar/PedalinoMini/issues/7?email_source=notifications&email_token=ALR3NU5BZKQ2WGVPKR5BVKTQFI3MRA5CNFSM4H3Z7TKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4R2ELA#issuecomment-522428972, or mute the thread https://github.com/notifications/unsubscribe-auth/ALR3NU5FOAYFB5RNS54EDKLQFI3MRANCNFSM4H3Z7TKA .
Just checked latest build: Latest commit 324cb4e 21 hours ago This is not working, neither with ESP32 dev kit nor with ttgo-t-eight. I only get a display showing an E, sometimes quickly changing to F, see attached photo.
Sorry but there is no attachment.
The E and the F are ok. The 6 pedals are named A to F by default but you can change the name via webconfig. If E or F is appering suddently is because there is no pull-resistor as shown is Schematic Sheet 2.
Which is your pedal configuration?
Thanks, I only had pull-up resistors on VP and VN as shown in "PedalinoMini_bb.png". This picture shows also my test configuration. The additional pull-up resistors solved the problem of displaying E/F, but the problem of not showing the device name and the configuration files in the right way remains. Attached the log after reset. 2019-08-20 dev kit wifi.pdf
PedalinoMini_bb.png is an old image. I will delete it soon.
I don't need the log after reset but the log during the reset. It should looks like this one:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wpdrv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:928 ho 0 tail 12 room 4 load:0x40078000,len:8424 ho 0 tail 12 room 4 load:0x40080400,len:5868 entry 0x4008069c ChipRevision 1, CPU Freq 240 MHz, SDK Version v3.2-18-g977854975 Flash Size 4194304, Flash Speed 80000000 Hz Internal Total Heap 233496, Internal Free Heap 206724 PSRAM Total Heap 4194252, PSRAM Free Heap 4194252 ____ ._ . . ___ . . ____ __ \ __ | _/ | | || __ __ / \ || __ || / / __ / \ \ \ | // \ / |_ \ | | | |/ \ / \ / \ / | |/ | | / / | | / \ / \ \ \ | | \ // // | / | || | | ( <> ) Y \ | | \ | ( ( | |/ Y \ ) ) |_| \ > |( /__/|| /__/__| /|| /| \ \ |__|_| / / / \/ \/ \/ \/ \/ \/ _\ \/ /__/ (c) 2018-2019 alf45star https://github.com/alf45tar/PedalinoMini
Hostname: 8E2DE6B4 Bluetooth Classic disabled: 15348 bytes released Internal Total Heap 248880, Internal Free Heap 222072 PSRAM Total Heap 4194252, PSRAM Free Heap 4194252 ###################################################################################################################### Reset EEPROM to factory default Updating NVS ... done
Updating NVS ... done [NVS][Global][SSID]: [NVS][Global][Password]: Updating NVS ... done
Updating NVS ... done
Updating NVS ... done
Updating NVS ... done
Updating NVS ... done [NVS][Global][Blynk Token]: Updating NVS Profile A ... done Updating NVS Profile B ... done Updating NVS Profile C ... done Reading NVS Global ... done USB MIDI started DIN MIDI started BLE MIDI service advertising started SYSTEM_EVENT_WIFI_READY SYSTEM_EVENT_STA_START SmartConfig started
I hope this is what you need
You never reset to factory default your board. I don’t see the following lines in your log.
###################################################################################################################### Reset EEPROM to factory default
Please follow the procedure or let me know what is not clear.
I did this Reset to Factory default several times, but I am not sure if it is important to do it during the reset process is running. Give me a hint please when to do it.
Reset to factory default
DO IT board Press and release EN button and immediately after press and hold BOOT button.
TTGO board Press and release POWER button and immediately after press and hold CENTER button.
In both cases keep pressed BOOT (or CENTER) button at least for 15 seconds or look into log for wording "Reset EEPROM to factory default". While you keep pressed the BOOT (or CENTER) button there are also instruction on display and a progress bar. Keep pressed until the progress bar reach the end. If you release the button before the progress bar reach the end Pedalino will start in on of the supported boot mode.
Thanks, solved !! I always released the boot button when "reset to factory default" appeared in the OLED display. Your hint "Keep pressed until the progress bar reach the end. If you release the button before the progress bar reach the end Pedalino will start in on of the supported boot mode" I recommend to add this sentence under "Booting Modes".
First of all congratulations to this great project ! I have following questions: