GPIO16 po causes crash. 2.0 A20 / 4M
Posted: Tue May 03, 2016 4:55 am
Last night while messing with the ESPBASIC for new project (finally) i ran into an bug that when i use GPIO16 as output and change it's state module crashes. Doesn't matter if i go low or high.
both examples cause crash. I tried to look around the forum and the documentation of ESPBASIC and didn't find any refrence saying you can't use that pin as io. (or i might have missed something)
Also crash dump
Also tried with A21 and 2M version. Same thing happens.
Code: Select all
po 16 0
po 16 1
both examples cause crash. I tried to look around the forum and the documentation of ESPBASIC and didn't find any refrence saying you can't use that pin as io. (or i might have missed something)
Also crash dump
Code: Select all
Exception (29):
epc1=0x4000bf41 epc2=0x00000000 epc3=0x00000000 excvaddr=0x0220000a depc=0x00000000
ctx: cont
sp: 3fff2620 end: 3fff2b20 offset: 01a0
>>>stack>>>
3fff27c0: 40106fa0 00000010 3fff00a0 40223e72
3fff27d0: 3ffeffe0 3fff2860 3fff00a0 40223f74
3fff27e0: 3fff2878 3fff2860 00000010 40208e47
3fff27f0: 3fff60d0 0000000f 00000002 3fff6130
3fff2800: 0000000f 00000003 3fff6110 0000000f
3fff2810: 00000003 3fff60f0 0000000f 00000002
3fff2820: 3fff60d0 0000000f 00000002 40223e72
3fff2830: 3fff2884 00000000 00000020 40223f74
3fff2840: 3ffe8d08 00000000 00000000 3fff2860
3fff2850: 3ffe8c30 00000000 00000000 4021006d
3fff2860: 3fff6070 0000000f 00000002 00000001
3fff2870: 3fff49c0 3fff47b0 3fff60b0 0000000f
3fff2880: 00000002 3fff6090 0000000f 00000006
3fff2890: 3fff49c0 40106f8e 3fff2910 00000000
3fff28a0: 3fff5310 40106f8e 3fff2910 00000000
3fff28b0: 0000000a 3ffefca0 3ffefca0 40223dea
3fff28c0: 3ffe8c30 00000000 3fff2910 40223e42
3fff28d0: ffffffff 3ffefca0 0000000b 3fff41db
3fff28e0: 40106fa0 3fff5e90 0000000f 00000000
3fff28f0: 3fff5d98 0000000f 00000000 3fff5910
3fff2900: 0000000f 00000000 3fff5320 0000000f
3fff2910: 00000001 3fff44f0 0000000f 00000006
3fff2920: 3fff41d0 0000000f 00000002 40223e72
3fff2930: 00000000 3fff0c78 3fff296c 40223f74
3fff2940: 0000000f 3fff06c8 3fff0c78 3fff0e08
3fff2950: 00000001 3fff06c8 3fff0c78 402135b7
3fff2960: 3fff41d0 0000000f 00000000 00000000
3fff2970: 00000000 00000000 0000000b 4020a0a1
3fff2980: 3fff5910 3ffe833d 3fff2a30 40213698
3fff2990: 0000000f 00000008 3fff44f0 0000000f
3fff29a0: 00000007 3fff41d0 0000000f 00000000
3fff29b0: 00000009 3fff2980 00000006 40224a25
3fff29c0: 40106fa0 3fff0dcc 3fff2a30 3fff0e08
3fff29d0: 00000001 3ffe833d 3fff2a30 40213869
3fff29e0: 00000000 3fff2a30 3fff0dcc 40216070
3fff29f0: 3fff5e90 0000000f 00000000 40223e72
3fff2a00: 3fff4180 40106f8e 3fff2a70 00000006
3fff2a10: 3fff1664 3fff0dcc 3fff2ad0 3fff0e08
3fff2a20: 3fff15cc 3fff5790 3fff5790 40213a67
3fff2a30: 3fff5320 0000001f 3fff2a70 40223e72
3fff2a40: 3fff15cc 3fff5790 3fff2a70 40215b8a
3fff2a50: 0000000a 000007d1 3fff5790 40215bba
3fff2a60: 3fff41d0 0000000f 3fff0dcc 40215d60
3fff2a70: 3fff4190 0000000f 00000006 0000001f
3fff2a80: 00000006 3fff4190 0000000f 00000003
3fff2a90: 3fff60e0 0000005f 00000000 3fff19b4
3fff2aa0: 40215b94 00000001 40219518 0000000a
3fff2ab0: 40201abe 00000001 00000001 3fff1af8
3fff2ac0: 3fffdc20 000003e8 3fff0dcc 40215e74
3fff2ad0: 3ffe8e90 00000000 000003e8 0000592c
3fff2ae0: 3fff0dec 3fff59d0 00000000 40201ab3
3fff2af0: 3fffdc20 00000000 3fff1af0 4021381d
3fff2b00: 3fffdc20 00000000 3fff1af0 40219561
3fff2b10: 00000000 00000000 3fff1b00 40100114
<<<stack<<<
Also tried with A21 and 2M version. Same thing happens.