Hi all,
Currently I am working with the mangoh Green development board with the WP7502 and our own custom board (also a WP7502).
I would like to boot from ULPM with GPIO’s 36, 38 & 39.
Waking up from GPIO 36 works with the pmtool.
Unfornatally gpio’s 38 and 39 don’t work.
I’ve updated to the latest firmware versions taken from source.sierrawireless and the latest legato version.
root@swi-mdm9x15:~# fwupdate query
Connecting to service …
Firmware Version: SWI9X15Y_07.12.14.00 r34472 CARMD-EV-FRMWR1 2017/11/29 18:24:42
Bootloader Version: SWI9X15Y_07.12.14.00 r34472 CARMD-EV-FRMWR1 2017/11/29 18:24:42
Linux Version: 3.14.29ltsi-961ca71325_ed9f616cc8 #2 PREEMPT Wed Nov 29 20:54:01 PST 2017root@swi-mdm9x15:~# legato version
18.02.0_6a1c6bec4c64c1c94f06db8a010e7ef6
When I use:
root@swi-mdm9x15:~# pmtool bootOn gpio 38 low
SUCCESS!
root@swi-mdm9x15:~# pmtool bootOn gpio 36 high
SUCCESS!
root@swi-mdm9x15:~# pmtool shutdown
Initiated shutdown of MDM
I can only wakeup from gpio 36.
I have tried all possible configurations for gpio38 & 39.
I cannot readout the value from the GPIO through linux:
root@swi-mdm9x15:~# echo 38 > /sys/class/gpio/export
root@swi-mdm9x15:~# echo in > /sys/class/gpio/gpio38/direction
root@swi-mdm9x15:~# cat /sys/class/gpio/gpio38/value
1
it always returns 1.
Also trough atcommands I don’t see the gpio’s configured:
root@swi-mdm9x15:~# microcom -E /dev/ttyAT
at+wiocfg?
+WIOCFG: 2,16,0,0,1,0,0
+WIOCFG: 6,16,0,0,1,0,0
+WIOCFG: 7,16,0,0,1,0,0
+WIOCFG: 8,16,0,0,1,0,0
+WIOCFG: 13,16,0,0,1,0,0
+WIOCFG: 21,16,0,0,1,0,0
+WIOCFG: 22,16,0,0,1,0,0
+WIOCFG: 23,16,0,0,1,0,0
+WIOCFG: 24,16,0,0,1,0,0
+WIOCFG: 25,16,0,0,1,0,0
+WIOCFG: 28,0,0,0,1,0,0
+WIOCFG: 29,0,0,0,1,0,0
+WIOCFG: 30,0,0,0,1,0,0
+WIOCFG: 31,0,0,0,1,0,0
+WIOCFG: 32,16,0,0,1,0,0
+WIOCFG: 33,16,0,0,1,0,0
+WIOCFG: 34,0,0,0,1,0,0
+WIOCFG: 35,0,0,0,1,0,0
+WIOCFG: 36,16,0,0,1,0,0
+WIOCFG: 37,0,0,0,1,0,0
+WIOCFG: 42,16,0,0,1,0,0
if i try to add them using:
at+wiocfg=38,16
ERROR
or
at+wiocfg=38,16,0,0,1,0,0
ERROR
I returns an error.
How can I wake up from GPIO38 and GPIO39 ?