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

Port of CCLoader as a utility driver #9970

Merged
merged 1 commit into from
Nov 24, 2020
Merged

Conversation

Staars
Copy link
Contributor

@Staars Staars commented Nov 24, 2020

Description:

This is a port of the well known utility 'CCLoader', which usually needs a separate programmer device.
Now everything is done OTA. It is possible to connect all needed wires to a CC25xx and update/change the device firmware inside Tasmota.
For the first version the pins of the debugging interface are hardcoded (line 129-131 in the driver).
After start the driver reports the found chip in the console and WebUI. A firmware file (.bin-format) can be chosen in the usual place of the Tasmota-Web-UI. Report progress is shown in the console.

A possible scenario is to connect a CC253x for Zigbee, compile the ccloader with Tasmota, do FW upgrade and then flash the final Tasmota binary.

Checklist:

  • The pull request is done against the latest dev branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works on Tasmota core ESP8266 V.2.7.4.7
  • The code change is tested and works on Tasmota core ESP32 V.1.0.4.2
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@arendst arendst merged commit e79b1dd into arendst:development Nov 24, 2020
@s-hadinger
Copy link
Collaborator

Super nice!

@MattWestb
Copy link

Now Tasmota and Zigpy / ZHA can updating the firmware "in house" and Z2M cant. Also Z2M is recommending reflashing the CC-253X then it having corrupting the internal settings in the NVR (that is happening of with Z2M) instead deleting it with NCP commands :-))

Great work for Z2T !!

I think its working for the CC-254X (BT) modules 2 or ?

@Staars
Copy link
Contributor Author

Staars commented Nov 25, 2020

It should work with the BT modules too. I ordered a CC2640 device for testing, to see if it can also work with the CC26xx. We‘ll see.

@Staars Staars deleted the ccloader branch November 26, 2020 08:54
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

Successfully merging this pull request may close these issues.

4 participants