Page 17 of 19

Re: UMO / UMO+ Firmware

Posted: November 22nd, 2016, 3:24 pm
by LePaul
Wow, that's an old post you linked

Re: UMO / UMO+ Firmware

Posted: November 22nd, 2016, 3:32 pm
by antiklesys
Found the issue, I had to go and change Marlin_main.cpp in the following way:

- for(int8_t i = 0; i < (int8_t)sizeof(sensitive_pins); i++)
+ for(uint8_t i = 0; i < (sizeof(sensitive_pins)/sizeof(sensitive_pins[0])); ++i)

This is a bug fix of: https://ultimaker.com/en/community/9683 ... ed-pwm-bug
Can we please have this added in this firmware?

Re: UMO / UMO+ Firmware

Posted: November 23rd, 2016, 1:33 pm
by Amedee
Yep, good catch...
With the overrun you could have any pin blacklisted at random.

(Interesting BTW, that the FAN_PIN is in the blacklist array, while M42 handle the fan case ;) )

I'll push that at the earliest opportunity

Re: UMO / UMO+ Firmware

Posted: November 23rd, 2016, 4:29 pm
by drayson
Great, thanks :-)

Re: UMO / UMO+ Firmware

Posted: November 29th, 2016, 9:21 am
by antiklesys
Hi Amedee,

Quick question for you specifically: does the marlin branch mentioned in this thread support this? https://ultimaker.com/en/community/8062 ... -board-fix

Re: UMO / UMO+ Firmware

Posted: November 29th, 2016, 3:12 pm
by Amedee
Not sure I get the question correctly...

My firmware fork fully support the 'Full Graphic Smart Controller', this is what I have on my UMO.

Re: UMO / UMO+ Firmware

Posted: December 1st, 2016, 10:31 am
by antiklesys
Thanks man for the confirmation!
Yes I saw your pics and it looks lovely! :)

Re: UMO / UMO+ Firmware

Posted: December 2nd, 2016, 5:18 am
by antiklesys
Just a quick question for you still: how did fix it to the UM? Do you have the files for a different holder?

Re: UMO / UMO+ Firmware

Posted: December 2nd, 2016, 5:41 am
by Amedee

Re: UMO / UMO+ Firmware

Posted: December 15th, 2016, 5:42 am
by antiklesys
Hey Amedee,

Quick question for you here:
In configuration.h I defined the following:

#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

However when compiling with Arduino IDE 1.06 it fails as I get the error:

'u8g_fntpgm_uint8_t' does not name a type

This refers to line:

const u8g_fntpgm_uint8_t u8g_font_6x9[2300] U8G_SECTION(".progmem.u8g_font_6x9") = {

in file: dogm_font_data_marlin.h

Any clues?

Re: UMO / UMO+ Firmware

Posted: December 15th, 2016, 5:55 am
by Amedee
Did you install the U8g library? ( https://github.com/olikraus/u8glib )

Re: UMO / UMO+ Firmware

Posted: December 15th, 2016, 6:01 am
by antiklesys
Yes, fixed now. Forgot to restart the ide after a manual installation of the library.
Noob me :D

Re: UMO / UMO+ Firmware

Posted: December 16th, 2016, 8:57 am
by antiklesys
Currently trying to implement a bed leveling routine.
So far it failed, not sure if it's the M0 fault or something else.
Your thoughts?

https://github.com/Antiklesys/Marlin-1/ ... fd0ceb6efd

Re: UMO / UMO+ Firmware

Posted: December 16th, 2016, 5:32 pm
by Amedee
That won't work, you can't enqueue commands like that, the circular buffer is way to small

Re: UMO / UMO+ Firmware

Posted: December 16th, 2016, 5:58 pm
by Amedee
Since a couple of people started to make bad press around my builder in the UM forum, I decided to log the builds.

I am not looking at personal info, I just file the md5 hash of the build and the parameters. That way if somebody tells me it does not run, with the hash I can find back the parameters that were used for that particular build.

Now in less than a month (27 days to be precise) I have logged 150 builds :roll:

Of course it does not mean that all these firmware were actually installed, some people just try some options and leave, but the visibility is definitely higher than what I though...

From the web stats, the biggest 'referrer' is Neotko's article on the UM forum, and quite some people also follow the links where the builder is mentioned in the various UM forum threads.

Interesting...