Closed rdagger closed 5 years ago
If you were running 4.0.0-beta.2 before you upgraded to beta.3, then reinstalling beta.2 would revert things to as they were: there's nothing "hidden" going on. It's possible a new bug was introduced in beta.3, or perhaps something about your operating conditions have changed. Please give us more information:
OSError
Thanks.
It turns out I did not revert far enough. I loaded Adafruit CircuitPython 0dc2600 on 2019-02-20 and everything is now working! Unfortunately, Adafruit CircuitPython f3e50b9 on 2019-02-21 does NOT work.
I am confident that the problem is due to a change that occurred between 0dc2600 and f3e50b9 . It's likely a BLE or SPI issue.
I did further testing and I think the crash occurs on the first spi.write() call. This is line number 895 in method _write_cmdcpy() of my file ssd1351.py. Here's the line:
self.spi.write(bytearray([command]))
Thanks - I am seeing the same error. Am debugging with gdb via J-Link.
@rdagger could you test the attached .uf2? It works for me with your program (your program is very cute!). Thanks.
Problem was that nRF52840 SPIM3 peripheral got re-enabled in beta.3, but it has a hw bug, there's a workaround in the nrfx library, but the workaround breaks BLE. So disabled SPIM3. There was also another problem involving include files, but fixing that didn't fix the underlying SPIM3 problem.
Thanks, great job! The program works again using your .uf2. Will your changes be incorporated into the next build?
I'm using a Feather nRF52840 Express. I have used it extensively for 2 weeks. I coded a small game and everything was working great. I upgraded to beta 4.3 and now the board is consistently crashing without giving any kind of debugging messages in the serial console. This never happened prior to 4.3. The crashing started instantly after the upgrade without any mods to my previously working code. Prior to the upgrade I never experienced any crashing with the Feather nRF52840.
After crashing the drive and serial disappear. I can some times get the serial back by launching safe mode. I've tried storage.erase_filesystem() but the problem persists. Unfortunately, the problem persists even after reverting back to beta 4.2. I'm still not getting any helpful feedback from the serial console. When the board crashes the NeoPixel gives a long green then a quick red and quick yellow (the pattern is repeating).
Occasionally before crashing I get "OSError: [Errno 5] Input/output error" and some times in safe mode I get "Crash into the HardFault_Handler."
Is there a way to reset the board back to factory?