zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

question about ti cc1352p-2

Open flower87lucky opened this issue 7 years ago • 115 comments

) zigbee2mqtt:info 2019-10-19T12:50:02: Starting zigbee-herdsman... zigbee2mqtt:error 2019-10-19T12:50:09: Error while starting zigbee-herdsman zigbee2mqtt:error 2019-10-19T12:50:09: Failed to start zigbee zigbee2mqtt:error 2019-10-19T12:50:09: Exiting... zigbee2mqtt:error 2019-10-19T12:50:09: Error: SRSP - SYS - version after 6000ms at Timeout.object.timer.setTimeout [as _onTimeout] (/app/node_modules/zigbee-herdsman/dist/utils/waitress.js:44:24) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-10-19T12_50_09_649Z-debug.log 2019-10-19T20:50:09: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT] 2019-10-19T20:50:09: PM2 log: App [npm:0] starting in -fork mode- 2019-10-19T20:50:09: PM2 log: App

flower87lucky avatar Oct 19 '19 12:10 flower87lucky

serial: /dev/ttyACM1 /dev/ttyACM0 /dev/serial/by-id/usb-Texas_Instruments_XDS110__02.03.00.18__Embed_with_CMSIS-DAP_L43000GM-if03 /dev/ttyAMA0 /dev/serial/by-id/usb-Texas_Instruments_XDS110__02.03.00.18__Embed_with_CMSIS-DAP_L43000GM-if00 input:

flower87lucky avatar Oct 19 '19 12:10 flower87lucky

"serial": { "port": "/dev/ttyACM0" }, "advanced": { "pan_id": 6758, "channel": 15,

flower87lucky avatar Oct 19 '19 12:10 flower87lucky

I got the same error message with my 2652R board :-( I also tried to change panid and channel in my configuration.

https://pastebin.com/KuNRvwnG

hdo avatar Oct 19 '19 18:10 hdo

-

bertran1 avatar Oct 20 '19 12:10 bertran1

Can you try with

"serial": {
"port": null,
},

Koenkk avatar Oct 20 '19 20:10 Koenkk

Can you try with

"serial": {
"port": null,
},

Thanks.null is not allowed in Zigbee2mqtt Hass.io Add-on .I used Zigbee2mqtt Hass.io Add-on,maybe it may not support at present. I try to install ZigBee 2mqtt directly

flower87lucky avatar Oct 20 '19 22:10 flower87lucky

Can you try with

"serial": {
"port": null,
},

I'm worried if I flash the firmware in the wrong way? After cc1352p-2 flashed the firmware, I press reset key and it has no effect.

flower87lucky avatar Oct 21 '19 03:10 flower87lucky

  • Can you try the steps from https://www.zigbee2mqtt.io/information/zigbee2mqtt_fails_to_start.html
  • Can you make a screenshot when flashing via Flash programmer v2?

Koenkk avatar Oct 21 '19 06:10 Koenkk

  • Can you try the steps from https://www.zigbee2mqtt.io/information/zigbee2mqtt_fails_to_start.html
  • Can you make a screenshot when flashing via Flash programmer v2?

@Koenkk

I still have the problem that i need to soft reset first (via button press) to start the firmware.

Do you know how to disable this behaviour?

Little change request:

Let the green LED light up when firmware has loaded for quick check ;-)

hdo avatar Oct 21 '19 06:10 hdo

  • Can you try the steps from https://www.zigbee2mqtt.io/information/zigbee2mqtt_fails_to_start.html
  • Can you make a screenshot when flashing via Flash programmer v2?

Image 2

pi@raspberrypi:~ $ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Oct 21 14:23 usb-Texas_Instruments_XDS110__02.03.00.18__Embed_with_CMSIS-DAP_L43000GM-if00 -> ../../ttyACM0
lrwxrwxrwx 1 root root 13 Oct 21 14:23 usb-Texas_Instruments_XDS110__02.03.00.18__Embed_with_CMSIS-DAP_L43000GM-if03 -> ../../ttyACM1
pi@raspberrypi:~ $ test -w /dev/ttyACM0 && echo success || echo failure
success
pi@raspberrypi:~ $ test -w /dev/ttyACM1 && echo success || echo failure
success
pi@raspberrypi:~ $ 

flower87lucky avatar Oct 21 '19 06:10 flower87lucky

  • Can you try the steps from https://www.zigbee2mqtt.io/information/zigbee2mqtt_fails_to_start.html
  • Can you make a screenshot when flashing via Flash programmer v2?

DE2C8A3E876723407674E0E21AA6EAD3 When I connect to raspiberry pi 4b+ ,only the green led on.

flower87lucky avatar Oct 21 '19 06:10 flower87lucky

@fredrikgk chip revision C is an older revision, right? Is it binary compatible with the E revision?

Koenkk avatar Oct 21 '19 07:10 Koenkk

@fredrikgk chip revision C is an older revision, right? Is it binary compatible with the E revision?

@Koenkk How to fix binary to compatible,thanks.

flower87lucky avatar Oct 21 '19 07:10 flower87lucky

@flower87lucky , @Koenkk , IC revision C is deprecated and not supported. SW is not binary compatible between rev. C and rev. E.

The only alternative is to order a new LaunchPad.

fredrikgk avatar Oct 21 '19 08:10 fredrikgk

@fredrikgk

BTW Do you have an idea why i need to soft reset (via button press) each time after USB plug to start the firmware?

hdo avatar Oct 21 '19 08:10 hdo

@fredrikgk

BTW Do you have an idea why i need to soft reset (via button press) each time after USB plug to start the firmware?

I agree you.

flower87lucky avatar Oct 21 '19 08:10 flower87lucky

@fredrikgk thanks, I will close this.

Koenkk avatar Oct 21 '19 11:10 Koenkk

@fredrikgk

BTW Do you have an idea why i need to soft reset (via button press) each time after USB plug to start the firmware?

I got caught out with the need for soft reset too. (and thanks for your assistance with this in the z2m issue @hdo)

I agree with your suggestion that either/both of the following would be good:

  • No need for soft reset on plug in of device
  • One of the LEDs on the MCU side will be used to indicate status or "success"

@Koenkk are either of these doable? should I raise an issue on the zstack fw repo?

james-fry avatar Oct 28 '19 15:10 james-fry

@james-fry

This is not a simple task. I compiled a custom firmware version with LED support and that is also not a good indicator for this problem. I learned the firmware is loading correctly. However the culprit is the onbard debugger of the launchpad. On my Intel NUC i need the soft reset but not on my raspberry pi. There seems to be an issue with the usb handshake or something like this. I don't have any issues using the UART so that's why i think it's the usb part. The UART have other issues though (sending leading ZERO in some circumstances).

hdo avatar Oct 28 '19 16:10 hdo

Thanks for the info @hdo I am also on intel so maybe that is why I also need the reset, but its not a big deal when you know you need to do this.

james-fry avatar Oct 28 '19 17:10 james-fry