|
Forum Index : Microcontroller and PC projects : Odd error on CMM2: v5.07.00b6
| Author | Message | ||||
| elk1984 Senior Member Joined: 11/07/2020 Location: United KingdomPosts: 229 |
I know this isn't the very latest firmware, but I don't remember anyone reporting fixes to later versions. I'm writing a key handling routine, it doesn't have to be quick or accept multiple keys (other than the modifiers). The attached program crashes the CMM2 entirely, complete reset with some kind of "Process Fault" error - I can't see the detail as it resets so quickly. odd-error.zip Any ideas what might be causing this? I can't see any obvious issues. Are there any debug options I can switch on that would write this kind of process fault to SD card, or leave it on screen for 5 seconds so it can be photographed (or a even very retro Guru Meditation / Bomb error screen)? And thank you @matherp for all the cool features that are appearing at record pace right now - I can't keep my firmware flashed fast enough! Edited 2021-02-01 02:57 by elk1984 |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10590 |
There is a missing quote in line 134 of the include file Missing quotes can cause havoc as the parser has to know if it inside a quoted string in order to process the line correctly |
||||
| elk1984 Senior Member Joined: 11/07/2020 Location: United KingdomPosts: 229 |
Thank you, that explains why I was seeing crashes even loading the file on occasions. It also gives me another way of debugging my stuff. Weird crashes, comment lines out /copy the include to the main code. Edited 2021-02-01 03:20 by elk1984 |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |