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

Error when flashing Z-Stack_3.x.0_coordinator_20240710 #513

Closed
adamlc opened this issue Aug 27, 2024 · 2 comments
Closed

Error when flashing Z-Stack_3.x.0_coordinator_20240710 #513

adamlc opened this issue Aug 27, 2024 · 2 comments

Comments

@adamlc
Copy link

adamlc commented Aug 27, 2024

I have just flashed Z-Stack_3.x.0_coordinator_20240710 to my Sonoff Dongle. I got the following error, but saying that it appears to have upgraded and everything is still working!

docker run --rm \
>     --device /dev/ttyUSB0:/dev/ttyUSB0 \
>     -e FIRMWARE_URL=https://github.com/Koenkk/Z-Stack-firmware/releases/download/Z-Stack_3.x.0_coordinator_20240710/CC1352P2_CC2652P_launchpad_coordinator_20240710.zip \
>     ckware/ti-cc-tool -ewv -p /dev/ttyUSB0 --bootloader-sonoff-usb
Downloading firmware from https://github.com/Koenkk/Z-Stack-firmware/releases/download/Z-Stack_3.x.0_coordinator_20240710/CC1352P2_CC2652P_launchpad_coordinator_20240710.zip
Firmware source: 'CC1352P2_CC2652P_launchpad_coordinator_20240710.zip'
Firmware file:   'CC1352P2_CC2652P_launchpad_coordinator_20240710.hex'
sonoff
Opening port /dev/ttyUSB0, baud 500000
Reading data from CC1352P2_CC2652P_launchpad_coordinator_20240710.hex
Firmware file: Intel Hex
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:25:7C:AE:5E
    Performing mass erase
Erasing all main bank flash sectors
    Erase done
Writing 360448 bytes starting at address 0x00000000
Write 104 bytes at 0x00057F988
    Write done
Verifying by comparing CRC32 calculations.
    Verified (match: 0xd9dd0124)
ERROR: int() can't convert non-string with explicit base

Firmware shown in Z2M:

image

@Koenkk
Copy link
Owner

Koenkk commented Aug 27, 2024

ERROR: int() can't convert non-string with explicit base

I also got this, looks like a bug in CC2538-bsl, I suggest opening an issue there (firmware is flashed correctly)

@Koenkk Koenkk closed this as completed Aug 27, 2024
@agross
Copy link

agross commented Aug 31, 2024

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

3 participants