Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:37 17 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Odd error on CMM2: v5.07.00b6

Author Message
elk1984

Senior Member

Joined: 11/07/2020
Location: United Kingdom
Posts: 229
Posted: 04:53pm 31 Jan 2021
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10590
Posted: 05:16pm 31 Jan 2021
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 229
Posted: 05:18pm 31 Jan 2021
Copy link to clipboard 
Print this post

  matherp said  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


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
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025