Zolertia / contiki

Zolertia's Contiki repository
http://www.contiki-os.org/
Other
2 stars 4 forks source link

test-power-mgmt doesn't work #25

Closed manuwsn closed 4 years ago

manuwsn commented 4 years ago

Hello I try the power management test program on Zoul Remote rev b, but it doesn't work. It seems to be an I2C management trouble. Below the output (I just put debug flag on power-mgmt.c file) connecting to /dev/ttyUSB0 [OK] [INFO: Main ] Starting Contiki-NG-release/v4.4-65-gb991985-dirty [INFO: Main ] - Routing: RPL Lite [INFO: Main ] - Net: sicslowpan [INFO: Main ] - MAC: CSMA [INFO: Main ] - 802.15.4 PANID: 0xabcd [INFO: Main ] - 802.15.4 Default channel: 26 [INFO: Main ] Node ID: 25104 [INFO: Main ] Link-layer address: 0012.4b00.060d.6210 [INFO: Main ] Tentative link-local IPv6 address: fe80::212:4b00:60d:6210 [INFO: Zoul ] Zolertia RE-Mote revision B platform [INFO: Zoul ] Setting RTC from system date: 05 24 01 20 16 06 19 PM: enabled! PM: Error reading the registers PM: unexpected version 0x00

Zolertia commented 4 years ago

Hi manuwsn,

Can you provide us the serial number? Is a single board affected? Are you using native system or virtual environment? How are you connected the board?

Best regards,

Missatge de manuwsn notifications@github.com del dia dt., 28 de gen. 2020 a les 16:29:

Hello I try the power management test program on Zoul Remote rev b, but it doesn't work. It seems to be an I2C management trouble. Below the output (I just put debug flag on power-mgmt.c file) connecting to /dev/ttyUSB0 [OK] [INFO: Main ] Starting Contiki-NG-release/v4.4-65-gb991985-dirty [INFO: Main ] - Routing: RPL Lite [INFO: Main ] - Net: sicslowpan [INFO: Main ] - MAC: CSMA [INFO: Main ] - 802.15.4 PANID: 0xabcd [INFO: Main ] - 802.15.4 Default channel: 26 [INFO: Main ] Node ID: 25104 [INFO: Main ] Link-layer address: 0012.4b00.060d.6210 [INFO: Main ] Tentative link-local IPv6 address: fe80::212:4b00:60d:6210 [INFO: Zoul ] Zolertia RE-Mote revision B platform [INFO: Zoul ] Setting RTC from system date: 05 24 01 20 16 06 19 PM: enabled! PM: Error reading the registers PM: unexpected version 0x00

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/25?email_source=notifications&email_token=AABEROFQ75LRCAJAK27CHZ3RABFNVA5CNFSM4KMUMQR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJIH23A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEROB3NQECUWB2WRVYP5DRABFNVANCNFSM4KMUMQRQ .

--

Aitor Mejias

support@zolertia.com amejias@zolertia.com

[image: header-logo.png]

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

manuwsn commented 4 years ago

Hello,

Thanks for your response. I'm working on Remove Zoul rev B and rev B1. I'm working on contiki-ng and connected by USB.

The code from your Zolertia contiki-os github repository works well. So my motes are well designed as they can change to low power mode.

I suspect some miss configuration from me about rtcc as your version of contiki-OS use a "manual date" (result of the date linux command) but not the contiki-NG.

Thanks again and I will add a comment on my request to close the issue

Regards,

Emmanuel

De: "Devel" notifications@github.com À: "Zolertia/contiki" contiki@noreply.github.com Cc: "Emmanuel Nataf" emmanuel.nataf@loria.fr, "Author" author@noreply.github.com Envoyé: Lundi 3 Février 2020 13:05:52 Objet: Re: [Zolertia/contiki] test-power-mgmt doesn't work (#25)

Hi manuwsn,

Can you provide us the serial number? Is a single board affected? Are you using native system or virtual environment? How are you connected the board?

Best regards,

Missatge de manuwsn notifications@github.com del dia dt., 28 de gen. 2020 a les 16:29:

Hello I try the power management test program on Zoul Remote rev b, but it doesn't work. It seems to be an I2C management trouble. Below the output (I just put debug flag on power-mgmt.c file) connecting to /dev/ttyUSB0 [OK] [INFO: Main ] Starting Contiki-NG-release/v4.4-65-gb991985-dirty [INFO: Main ] - Routing: RPL Lite [INFO: Main ] - Net: sicslowpan [INFO: Main ] - MAC: CSMA [INFO: Main ] - 802.15.4 PANID: 0xabcd [INFO: Main ] - 802.15.4 Default channel: 26 [INFO: Main ] Node ID: 25104 [INFO: Main ] Link-layer address: 0012.4b00.060d.6210 [INFO: Main ] Tentative link-local IPv6 address: fe80::212:4b00:60d:6210 [INFO: Zoul ] Zolertia RE-Mote revision B platform [INFO: Zoul ] Setting RTC from system date: 05 24 01 20 16 06 19 PM: enabled! PM: Error reading the registers PM: unexpected version 0x00

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/25?email_source=notifications&email_token=AABEROFQ75LRCAJAK27CHZ3RABFNVA5CNFSM4KMUMQR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJIH23A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEROB3NQECUWB2WRVYP5DRABFNVANCNFSM4KMUMQRQ .

--

Aitor Mejias

support@zolertia.com amejias@zolertia.com

[image: header-logo.png]

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

— You are receiving this because you authored the thread. Reply to this email directly, [ https://github.com/Zolertia/contiki/issues/25?email_source=notifications&email_token=AB62RXSHHGDCWAIHUBLJL73RBACCBA5CNFSM4KMUMQR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKTTF3I#issuecomment-581382893 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AB62RXWQYP73UQLVSFJ4RKTRBACCBANCNFSM4KMUMQRQ | unsubscribe ] .