New firmware release 1.10.2.b1
-
Has firmware update never worked when LoPy is plug in PyTrack and pin 10 is shortened? I got a lot of trouble updating 1.10.1 to 1.10.2
I wish this damn update GUI has a retry button and will show up some other reasons than failed. Wwwuaahh, this wasted a lot of time. I shorten pin 10 to enter my develop mode, which breaks the main loop and go into the REPL. Switching off develop mode was the last step I tried, after a LoPy in expansion board updated from 1.9.x
-
@crumble You need to connect P2 / G23 (or Pin 5 on the external expansion header) to GND and reset the module to enter firmware update mode.
I'm working on a new firmware update tool that will do this automatically for the Pysense and Pytrack... hopefully this will be ready with the next firmware release.
-
@xykon said in New firmware release 1.10.2.b1:
@crumble You need to connect P2 / G23 (or Pin 5 on the external expansion header) to GND and reset the module to enter firmware update mode.
Yes, did that.
While typing I traced back the wires and figured out, That I soldered a switch on the pytrack external IO header between pin10 and 3V3_sensors. Maybe this was a bad idea, but I already used GND for my HT-22 sensor. So I had a cunning plan...
The switch for P2/G23 is soldered directly on the LoPy developer board.
If both switches are set, the LoPy shows up in device manger of Win7 but will not be detected as connected by the firmware updater. If switch of p10/3v3 is open, everything works fine.
-
I've just update my Lopy device and I experiment a Core Dump each time I call
py.go_to_sleep(). Is this a known error??
This is the backtrace:abort() was called at PC 0x4008ca64 on core 0 Backtrace: 0x4008cf0f:0x3ffda5a0 0x4008cf40:0x3ffda5c0 0x4008ca64:0x3ffda5e0 0x40083482:0x3ffda610 0x400834c4:0x3ffda640 0x40083205:0x3ffda660 0x4000bef5:0x3ffda680 0x4013f786:0x3ffda6a0 0x40102ab3:0x3ffda6d0 0x40102b85:0x3ffda710 0x400f35c6:0x3ffda740 0x400eff91:0x3ffda770 0x400efff9:0x3ffda790 0x400fb27d:0x3ffda7b0 0x400f365c:0x3ffda850 0x400eff91:0x3ffda890 0x400efff9:0x3ffda8b0 0x400fb27d:0x3ffda8d0 0x400f365c:0x3ffda970 0x400eff91:0x3ffda9b0 0x400efff9:0x3ffda9d0 0x400fb27d:0x3ffda9f0 0x400f365c:0x3ffdaa90 0x400eff91:0x3ffdab30 0x400effbe:0x3ffdab50 0x400dd887:0x3ffdab70 0x400ddb3c:0x3ffdac10 0x400dcb83:0x3ffdac30Thanks,
JuanMa -
Same build problem with pypic using msys2 and no pysense or pytrack
File "tools/pypic.py", line 185, in <module>
sys.exit(main(sys.argv[1:]))
File "tools/pypic.py", line 173, in main
pic = Pypic(args.port)
File "tools/pypic.py", line 77, in init
self.serial = serial.Serial(port, baudrate=115200, bytesize=serial.FIVEBITS, timeout=0.25)
File "D:/ProgramFiles/msys32/mingw32/lib/python2.7/site-packages/serial/serialwin32.py", line 31, in init
super(Serial, self).init(*args, **kwargs)
File "D:/ProgramFiles/msys32/mingw32/lib/python2.7/site-packages/serial/serialutil.py", line 240, in init
self.open()
File "D:/ProgramFiles/msys32/mingw32/lib/python2.7/site-packages/serial/serialwin32.py", line 62, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM7': WindowsError(2, 'The system cannot find the file specified.') -
@colateral said in New firmware release 1.10.2.b1:
self.serial = serial.Serial(port, baudrate=115200, bytesize=serial.FIVEBITS, timeout=0.25)
Can you please try the following:
Open tools/pypic.py and find the line:
self.serial = serial.Serial(port, baudrate=115200, bytesize=serial.FIVEBITS, timeout=0.25)Replace it with:
self.serial = serial.Serial(port, baudrate=115200, bytesize=serial.FIVEBITS, timeout=0.25, exclusive=True)Please let me know if that works for you. I have tested it only on Windows 10 Pro.
-
Hi there,
As always, thanks for the fine work. I noticed a crash on the PyTrack with this firmware when I try to put it to sleep or even issuing a
pt.setup_sleep(n). Anyone else? I tried this on some lopy devices and a wipy rev2. Same problem.Thanks,
Martijn -
@crumble If you check with Putty on Windows you should see a message "Waiting for download" if P2/G23 is pulled to GND while you press the reset button on the module.
If you see that message, close Putty and the firmware update tool should detect the device.
-
Hi,
With this build I have I2C crash many times on different L01 boards:
Using BME280 with I2C on P22 P23 I tried several time read it and deinit the bus
With this build after bus.deinit() I got the dump many times ..
abort() was called at PC 0x4008ca64 on core 0
Backtrace: 0x4008cf0f:0x3ffbd470 0x4008cf40:0x3ffbd490 0x4008ca64:0x3ffbd4b0 0x40083482:0x3ffbd4e0 0x4008366e:0x3ffbd510 0x4012e195:0x3ffbd530 0x40120fa9:0x3ffbd560 0x40120cda:0x3ffbd580 0x40119e37:0x3ffbd5b0 0x4011a104:0x3ffbd610 0x40110c32:0x3ffbd660 0x401112b7:0x3ffbd730 0x40127445:0x3ffbd750 0x40128f77:0x3ffbd7a0
================= CORE DUMP START =================
xCYAAAsAAABsAQAA
VNj7P7DT+z9M2Ps/
oNb7P+DX+z/9zznC8EP8P/BD/D9U2Ps/6EP8PwIAAADkwfs/5MH7P1TY+z8AAAAA
FwAAAFDI+z93aWZpAI6WpE51xRNSgpQAAAAAAEzY+z8BAAAAIA4GABcAAAABAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAADcSf0/REr9P6xK/T8AAAAAAAAAAAEAAAAAAAAA
iFJAPwAAAAAcjAlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -
L01 board: listening on IRQ on pin 18 and pin 15 in the same time, raise Guru Mediation randomly.
pin15=Pin('P15',mode=Pin.IN) pin18.callback(Pin.IRQ_FALLING , callback) pin15=Pin('P18',mode=Pin.IN) pin18.callback(Pin.IRQ_FALLING , callback)With the previous build this issue is not present.
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Register dump:
PC : 0x40083948 PS : 0x00060034 A0 : 0x40082e85 A1 : 0x3ffc09e0
A2 : 0xbad00bad A3 : 0x00000001 A4 : 0x3ff5f000 A5 : 0x4008b944
A6 : 0x3ff420b0 A7 : 0x3ffdc82c A8 : 0x80083a71 A9 : 0x000001ff
A10 : 0x00000000 A11 : 0x3ff42000 A12 : 0x800968d1 A13 : 0x3ffdb080
A14 : 0x00000000 A15 : 0x3ffdb0b0 SAR : 0x00000014 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x40097034 LEND : 0x4009703f LCOUNT : 0x00000003Backtrace: 0x40083948:0x3ffc09e0 0x40082e82:0x3ffc0a00 0x40097034:0x00000000
================= CORE DUMP START =================
vCMAAAoAAABsAQAA
iHP7P7Bx+z+Ac/s/ -
@Colateral thanks for the bug report. We will investigate it.
-
L01 board. Sendn continuously MQTT messages crashing the board
1970:01:01 04:25:31 DEBUG:Conn: SEND <MqttConn object at 3f821f80> value
POS 000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032
HEX 001 003 0CD 04B 000 017 000 07F 0AC 0A6 000 000 000 000 000 000 000 000 000 000 000 048 008 08F 042 022 042 038 046 044 045 047 0AE
DEC 001 003 205 075 000 023 000 127 172 166 000 000 000 000 000 000 000 000 000 000 000 072 008 143 066 034 066 056 070 068 069 071 174Guru Meditation Error of type StoreProhibited occurred on core 0. Exception was unhandled.
Register dump:
PC : 0x400f55e4 PS : 0x00060a30 A0 : 0x800fe1e9 A1 : 0x3ffd6520
A2 : 0xffffffff A3 : 0x3ffd6540 A4 : 0x3f85b4a0 A5 : 0x00000002
A6 : 0x00000000 A7 : 0x00000f12 A8 : 0x00000000 A9 : 0x3ffd6500
A10 : 0x00000000 A11 : 0x00000000 A12 : 0x00000001 A13 : 0x00000001
A14 : 0x00000001 A15 : 0x00000f12 SAR : 0x00000002 EXCCAUSE: 0x0000001d
EXCVADDR: 0xffffffff LBEG : 0x40098620 LEND : 0x4009862b LCOUNT : 0x00000000Backtrace: 0x400f55e4:0x3ffd6520 0x400fe1e6:0x3ffd6540 0x400f35d2:0x3ffd6580 0x400eff91:0x3ffd65b0 0x400fb1e7:0x3ffd65d0 0x400f365c:0x3ffd6670 0x400eff91:0x3ffd6710 0x400efff9:0x3ffd6730 0x400fb27d:0x3ffd6750 0x400f365c:0x3ffd67f0 0x400eff91:0x3ffd6830 0x400efff9:0x3ffd6850 0x400fb27d:0x3ffd6870 0x400f365c:0x3ffd6910 0x400eff91:0x3ffd6990 0x400efff9:0x3ffd69b0 0x400fb27d:0x3ffd69d0 0x400f365c:0x3ffd6a70 0x400eff91:0x3ffd6af0 0x400efff9:0x3ffd6b10 0x400fb27d:0x3ffd6b30 0x400f365c:0x3ffd6bd0 0x400eff91:0x3ffd6c10 0x400efff9:0x3ffd6c30 0x400fb27d:0x3ffd6c50 0x400f365c:0x3ffd6cf0 0x400eff91:0x3ffd6d80 0x400efff9:0x3ffd6da0 0x400fb27d:0x3ffd6dc0 0x400f365c:0x3ffd6e60 0x400eff91:0x3ffd6ef0 0x400efff9:0x3ffd6f10 0x400fb27d:0x3ffd6f30 0x400f365c:0x3ffd6fd0 0x400eff91:0x3ffd7050 0x400efff9:0x3ffd7070 0x400fb27d:0x3ffd7090 0x400f365c:0x3ffd7130 0x400eff91:0x3ffd7170 0x400fb1e7:0x3ffd7190 0x400f365c:0x3ffd7230 0x400eff91:0x3ffd72b0 0x400effbe:0x3ffd72d0 0x400dd887:0x3ffd72f0 0x400dd9dc:0x3ffd7390 0x400dcb98:0x3ffd73c0
================= CORE DUMP START =================
tDEAAAsAAABsAQAA
nEX8P2Bk/T9odf0/
oGH9PwB1/T/JMPMAiEL8P4hC/D+cRfw/gEL8PxQAAACQ2v0/kNr9P5xF/D8AAAAA
BQAAAGxV/T9NaWNyb1B5AAAAAAAAAAAAAAAAAGh1/T8AAAAAIAwGAAUAAAABAAAA
8GD7P2hO/D9cNA1AAAAAAIAAAADcSf0/REr9P6xK/T8AAAAAAAAAAAEAAAAAAAAA
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login