Code Monkey home page Code Monkey logo

Comments (6)

Ananyaaynana avatar Ananyaaynana commented on July 17, 2024 1

Okay I will raise a new issue.
I closed the cutecom application before flashing. The error persists.

from bms-c1.

martinjaeger avatar martinjaeger commented on July 17, 2024

Thanks for posting this issue.

I could not reproduce the behavior with latest main firmware on a BMS C1 v0.3.3 board with 4s cells. Once the BMS goes into undervoltage state the TP6 stays at around 0V all the time and only goes up again after the battery voltage rises above the reconnect threshold.

Which firmware version did you use?

from bms-c1.

Ananyaaynana avatar Ananyaaynana commented on July 17, 2024

Thank you for the reply.

The firmware version is v23.0-0-g99d48b0.

Of the two boards only this board has this issue. The other board is working as intended.

from bms-c1.

martinjaeger avatar martinjaeger commented on July 17, 2024

Did you also try with the most recent firmware?

Also: If it appears only on one board, it may actually be a hardware issue.

from bms-c1.

Ananyaaynana avatar Ananyaaynana commented on July 17, 2024

Follow-up: Live Data Not Publishing, and Board Shutdown Issue with Latest Firmware

Issue:
I tried updating to the latest firmware version "v23.1-1-g55c2ea2-dirty," but encountered two issues:

Live data is not being published on Cutecom.
The board shuts down when attempting to flash the code and can only be turned on using the S2 button.

Steps Taken:

To address the live data issue, I created an overlay file (as in https://libre.solar/bms-firmware/src/dev/customization.html) in the app folder with the following code:
{
chosen {
thingset,serial = &usb_serial;
};
}

I then built and flashed the code using the "west flash" command. When attempting to monitor the board using the "west espressif monitor" command, I encountered the following output:
Screenshot from 2023-11-10 18-45-03

Additionally, when I tried to flash the code again, red and green leds turn off but there is voltage at the bat+, bat-, pack+ and pack-. When the leds are off the "west espressif monitor"command gives this:
Screenshot from 2023-11-10 19-18-07

On exiting the espressif monitor not able to flash code again. On holding down the S2 button the leds turn back on after blinking for a few seconds:
Screenshot from 2023-11-10 18-46-00

I would appreciate any guidance on resolving these issues. Specifically, I need help with:

1) Diagnosing and resolving the issue with live data not being published on Cutecom.
2) Understanding why the board is shutting down during code flashing and how to prevent this from happening.

Additional Information:

Board Model:  Libre Solar BMS C1 (v0.3)
Firmware Version: v23.1-1-g55c2ea2-dirty.

from bms-c1.

martinjaeger avatar martinjaeger commented on July 17, 2024

If an issue is unrelated to the topic of this issue, please open a new one.

Live data publication on the USB serial is now disabled by default. As mentioned in the release notes, the Zephyr shell is now exposed to the USB serial. In order to enable publication messages on the shell, enable it here.

Regarding your problem with flashing: Did you keep the serial monitoring on while you tried to flash (espressif monitor or CuteCom)? That's not possible, as flashing uses the same serial interface.

from bms-c1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.