Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Component Metric in BOM and Flashing Problems #28

Open
piKolin opened this issue Nov 19, 2024 · 9 comments
Open

Incorrect Component Metric in BOM and Flashing Problems #28

piKolin opened this issue Nov 19, 2024 · 9 comments

Comments

@piKolin
Copy link

piKolin commented Nov 19, 2024

Description of the Issue

  1. BOM Error:

    • The BOM contains inconsistent information for the capacitors C3 and C5:
      • In bom.xlsx, it specifies the incorrect part name:
        Capacitor 0603_22uF_20%_6.3V_X5R - SMD/SMT ROHS.
      • In bom.xlsx, it specifies the correct MPN:
        CL10A226MQ8NRNC
      • In bom.html, it specifies the correct footprint:
        C_1206_3216Metric, which does not match the provided part name in bom.xlsx.
  2. Flashing Problems:

    • After assembling the board following the provided BOM, I tried flashing the firmware:
      • Using the precompiled binary Code/ESPHome/Initial firmware/firmware_espbell-lite.bin, the ESP repeatedly attempts to connect to the Wi-Fi SSID HATEST (which is unknown to me).
        The log shows the following loop:

        [I][wifi:277]: WiFi Connecting to 'HATEST'...
        [W][wifi:591]: Error while connecting to network.
        [W][wifi:627]: Restarting WiFi adapter...
        
      • If I flash the firmware generated from the Code/ESPHome/espbell-lite.yaml file, the ESP enters a constant exception loop, and the device fails to boot properly.

Log Excerpt (Precompiled Binary)

espbell-lite_precompiled_binary.log
espbell-lite_yaml_binary.log

@PricelessToolkit
Copy link
Owner

Hi,

  1. I will check the BOM discrepancies you reported for capacitors C3 and C5 and update the documentation accordingly. Thanks for pointing it out!

  2. Regarding the flashing issue, "HATEST" is my test network, so please don't use the precompiled binary. Instead, generate a new firmware from your YAML configuration. I recommend using this method:

    • Plug the device into your computer.
    • Genereate your Frimware file from "ESPHome" Click "Update" then "Plug into this computer" and "Download project"
    • Then flash the firmware via WebSerial. ESPHome Web
    • Don't use espflasher.exe; .
    • If the problem persist try erasing memory with Arduino IDE

@piKolin
Copy link
Author

piKolin commented Nov 19, 2024

Hi,
Thank you for the detailed explanation! I'll give it a try tomorrow as it's already late here.
I'll get back to you with the results once I've tested it.

Thanks again! :)

@piKolin
Copy link
Author

piKolin commented Nov 20, 2024

Hello,

I followed the steps you provided and tested with several boards (I assembled 5), but I keep encountering the same error every time. I’m attaching the logs for reference.

Do you know what might be causing this issue? Is there any other test I can try?

Thank you!

logs.txt

@PricelessToolkit
Copy link
Owner

If the precompiled binary works and doesn't enter the weird reboot loop, it likely indicates a compilation error. Please try the attached frimware. To connect ESPBell to your WiFi, use a hotspot.
espbell-lite.zip

@piKolin
Copy link
Author

piKolin commented Nov 20, 2024

Hello,

It still doesn’t work. I tried installing the attached firmware on 2 boards, but no luck. I’ve tested both with ESPHomeWeb and using esptool.

Here’s the output from esptool:
esptool.py v4.8.1
Found 1 serial ports
Serial port COM7
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 80
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00068fff...
Compressed 427824 bytes to 298038...
Wrote 427824 bytes (298038 compressed) at 0x00000000 in 26.6 seconds (effective 128.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

It doesn’t create a hotspot and generates the attached logs.

I’m unsure what else to try at this point...

logs.txt

@PricelessToolkit
Copy link
Owner

  1. Please take a photo of the front of the ESPBell (it might be a pull-up resistor issue).
  2. Does the precompiled binary from GitHub also fail to create a hotspot?
  3. Can you try uploading a blank Arduino sketch and check the serial output?
  4. Your programmer is " 3.3v TTL" ?
  5. I can't think of anything else at the moment...

@PricelessToolkit
Copy link
Owner

PS: Enable "Erase befor upload" if exist in Arduino IDE

@piKolin
Copy link
Author

piKolin commented Nov 20, 2024

Hi,

  1. Please take a photo of the front of the ESPBell (it might be a pull-up resistor issue).

photo_2024-11-20_12-52-50

  1. Does the precompiled binary from GitHub also fail to create a hotspot?

Yes, none of the binaries I’ve tested create a hotspot (the attached one, the repository one, and my custom one). Additionally, the YAML with my ESPHome configuration doesn’t connect to the configured Wi-Fi either.

  1. Can you try uploading a blank Arduino sketch and check the serial output?

I’ve tested the LED blink sketch, and it works (i mean xD). However, the serial output doesn’t provide any logs (nothing meaningful is printed).

  1. Your programmer is "3.3v TTL"?

Yes, it’s configurable between 3.3v and 5v, but the jumper is set to 3.3v.

Once the binary is flashed, does the ESPBell require 3.3v or 5v through the socket for power? I’m using 3.3v...

Thanks again for your support!

@PricelessToolkit
Copy link
Owner

PricelessToolkit commented Nov 23, 2024

Yes, it requires a 5v tough default connector " On programming header is marked 3v3"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants