-
Notifications
You must be signed in to change notification settings - Fork 22
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
Sonoff serial bootloader (SBL) toggle #138
Comments
Hi, Unfortunately, it is a mistake to use cc2652p.hex without configuration. It is a template only. SBL is not active there. Now, you need a XDS110 or similar JTAG flasher to upload a new firmware. |
Actually I found a bunch more people making the same mistake here - wouldn't it make sense to enable SBL in the template hex? |
It is useless because the SBL pin should be configured too, and it may change for different boards. I've updated README and added this caution. |
Isn't DIO_15 the default SBL pin for CC2652P? At least that's what it seems to be according to this table. |
Currently, SBL isn't activated at all in the template HEX file. Sorry. |
I understand - I'm suggesting to activate it in order to make it easier for others in the future. |
@janmashat Probably good new for you. SBL is enabled in the firmware, but the SBL function does not use any pins to activate it (Auto BSL). I know, there is a method to start flashing a firmware without pulling a pin. But I didn't try it myself yet. |
Hi, great project!
2 weeks ago I succesfully flashed cc2652p.hex by running:
Now I tried to upgrade to the new 2022-07-21 version by running the same command, however it failed with:
Is it possible that the config in cc2652p.hex isn't compatible with
--bootloader-sonoff-usb
?If that's the case, can it be added? And in the meantime I assume I'll need to open the case and hold some buttons to invoke SBL?
The text was updated successfully, but these errors were encountered: