Custom MCU-module for UP! Mini...

Post improvements made for UP, and share ideas.
sfinktah
Posts: 46
Joined: Sat Aug 17, 2013 10:51 am

Re: Custom MCU-module for UP! Mini...

Post by sfinktah » Fri Mar 28, 2014 2:15 pm

caesar wrote:

Hey sfinktah, tried your script while switching to Ubuntu in a VM, works like a charm.
If you ever need testing on a UP Mini just let me know.

Workflow:
1) sent job to printer
2) cancelled it after it got sent completely
3) switch to Ubuntu in a virtual machine
4) run script
5) back to windows and clicked on print again

PS: a working print again command for the script would be nice!

dcoder_mm
Posts: 1
Joined: Thu Oct 16, 2014 5:57 pm

Re: Custom MCU-module for UP! Mini...

Post by dcoder_mm » Fri Oct 17, 2014 11:42 am

Michael_K wrote:Well.
In fact I had no much time for that recently.

For now I have assembled my module and all the printer hardware looks working fine in basic tests.
(USB, SD-card, steppers, heaters, limits etc.)
SAM_6214.JPG
The main thing I've figured out that it was not so clever idea - to choose the r2c2 hardware and firmware as a reference :D
In fact It's not a real problem - just a sort of inconvenience.

Anyway, the deeper I dug r2c2 firmware, the stronger I wanted to rewrite it from the scratch... So, finally, I started do that.
I think it will take couple of weeks as I'm really busy for now.

(I know my english is not perfect, sorry).
Hi, can you share pinout of your module?
I have UP Plus with dead CPU and i want to replace cpu module with something open source.
If you finally make your module work, i'll be were very grateful if you share firmware and pcb files.
Otherwise, i'll try to connect ATMega2560 with edited Marlin firmware to up plus drivers and other electronics.

User avatar
Michael_K
Posts: 19
Joined: Sat Aug 17, 2013 8:12 pm

Re: Custom MCU-module for UP! Mini...

Post by Michael_K » Tue Nov 11, 2014 10:06 pm

Here is the pictures (attached).

Some notes:
AMP_MODx - should be Z-state, i guess (it's something like temerature channels references)
INP - some additional digital input (not used in my UPmini) - may be bed-level sensor or something...
INP and BTN inputs was wixed... and now I don't remember where is the right marking :oops:

I can also share the eagle project... if someone need it...

Oops... forum does not allow attach "not pictures" files
Attachments
brd.png
brd.png (156.84 KiB) Viewed 14584 times
sch.png
sch.png (64.67 KiB) Viewed 14584 times

jeeplvr
Posts: 212
Joined: Sat Jun 08, 2013 5:26 am

Re: Custom MCU-module for UP! Mini...

Post by jeeplvr » Mon Dec 22, 2014 8:34 pm

I think my CPU may be dead. What are the obvious signs of a dead CPU?
I have no USB connectivity. I have tried different cables, computers with zero luck.

mb20music
Posts: 375
Joined: Thu Feb 14, 2013 1:35 am
Location: USA

Re: Custom MCU-module for UP! Mini...

Post by mb20music » Mon Dec 22, 2014 10:43 pm

jeeplvr wrote:I think my CPU may be dead. What are the obvious signs of a dead CPU?
I have no USB connectivity. I have tried different cables, computers with zero luck.
That is the main symptom of a dead CPU board, the printer will not connect to the computer. Did you try the reset button on the CPU board? Have you done a lot of modding to your printer?

jeeplvr
Posts: 212
Joined: Sat Jun 08, 2013 5:26 am

Re: Custom MCU-module for UP! Mini...

Post by jeeplvr » Tue Dec 23, 2014 12:50 am

all I have done electrically is add a switch to the temp switch under the heat board and a new temp switch.

brainzilla
Posts: 141
Joined: Sat Nov 29, 2014 5:41 pm

Re: Custom MCU-module for UP! Mini...

Post by brainzilla » Fri Dec 26, 2014 2:34 pm

roller wrote: I wish I'd taken photos of the Mini mainboard to compare to the Plus to provide more info.
Well I can help with that, took it out yesterday to analyze the board and find out how to make a minimal-invasive mod.

Turns out it has two extra FAN sockets (no header soldered, switched with the 12V rail) and a small microphone-jack plus a 4-pin header with the same pins.
Seems to be some sort of diagnostic port / JTAG. Or just the programmer-header for the factory.
I might attach my logic analyzer to it later, see if it spits out anything...

Here is the MINI Mainboard with a area- and ports-marking of what I found out so far…
Attachments
UP_MINI_Mainboard_Back.jpg
UP! Mini Mainboard BACK
UP_MINI_Mainboard_Back.jpg (219.57 KiB) Viewed 14422 times
UP_MINI_Mainboard_Top.jpg
UP! Mini Mainboard TOP
UP_MINI_Mainboard_Top.jpg (236.45 KiB) Viewed 14422 times
UP_MINI_Mainboard_Areas.jpg
UP! Mini Mainboard TOP with markings
UP_MINI_Mainboard_Areas.jpg (228.52 KiB) Viewed 14422 times

mb20music
Posts: 375
Joined: Thu Feb 14, 2013 1:35 am
Location: USA

Re: Custom MCU-module for UP! Mini...

Post by mb20music » Fri Dec 26, 2014 6:17 pm

I believe the both the Mini and Plus use the exact same main board...

Brainzilla- I believe the plug jack on the board that you are questioning is actually the power output (19v) for the older Plus machines that was used for the filament feeder motor. On the Newer version main board for the Plus 2 machines, this is used for the automatic platform levelling feature.

John Core
Posts: 4
Joined: Sat Dec 27, 2014 2:00 am

Re: Custom MCU-module for UP! Mini...

Post by John Core » Sat Dec 27, 2014 1:09 pm

Hello, I am new here. I have a dead UP! Plus's CPU/microcontroller killed by lightning, so I replace it with a LM3S5749 and program it with the .rom file then renamed to .bin fount in the UP\system folder via JTAG(JP2 pin9-12) with Segger's J-link but still not working(indicator light always green, usb not detected and won't initialize). Any ideals how to program it? or I am missing the bootloader? Thanks in advance.

caesar
Posts: 64
Joined: Sat Feb 22, 2014 1:32 am
Location: Romania

Re: Custom MCU-module for UP! Mini...

Post by caesar » Sat Dec 27, 2014 4:34 pm

John, your method is sound but the rom file most probably is encoded.

It is not intended for direct burning, but for the Up slicer to upgrade it via serial.
I presume the decoding then happens inside the bootloader on the microcontroller.

John Core
Posts: 4
Joined: Sat Dec 27, 2014 2:00 am

Re: Custom MCU-module for UP! Mini...

Post by John Core » Sun Dec 28, 2014 9:11 am

So, there is no way we could repair the microcontroller without the bootloader and firmware right? unless pp3dp give it to us?

Looks like I am just gonna convert it into a reprap or use the Custom MCU-module...

brainzilla
Posts: 141
Joined: Sat Nov 29, 2014 5:41 pm

Re: Custom MCU-module for UP! Mini...

Post by brainzilla » Sun Jan 04, 2015 10:04 pm

John Core wrote:So, there is no way we could repair the microcontroller without the bootloader and firmware right? unless pp3dp give it to us?
Looks like I am just gonna convert it into a reprap or use the Custom MCU-module...
Right. We don't even know what CPU they use since the IC has been wiped with sandpaper, but I would strongly suspect an AVR here as usual :-) Edit: It's the LM3S5749 as noted earlier.
Anyway all µC have some means to protect their firmware and I bet pp3dp uses those so called lock bits.

So unless they release some updated firmware we can take apart, edit and flash into the printer, we are pretty much screwed.

Converting the Mini into some other machine should be pretty easy.
Pull out that CPU module and start to find out what µC it is you are looking at.
A good start are VCC, GND and XTAL pins as those are usually fixed.
From there on you find out what pins do what and implement that into your own board that you plug into the CPU socket.
And then you put on some reprap FW and fumble with it till all the ports and specs match the Mini.

daveismith
Posts: 2
Joined: Wed Aug 19, 2015 1:46 am

Re: Custom MCU-module for UP! Mini...

Post by daveismith » Wed Aug 19, 2015 11:40 am

Michael_K wrote:I can also share the eagle project... if someone need it...
I'd be interested if you've still got it around. I've got an up plus 2 with a dead CPU board that I'd like to get working again and would prefer not to have to do too much hardware design for it. Did you get the firmware working / rewritten as well?

pp3dp.se
Posts: 14
Joined: Tue Jan 10, 2012 9:49 am
Location: Sweden
Contact:

Re: Custom MCU-module for UP! Mini...

Post by pp3dp.se » Tue Oct 13, 2015 8:45 pm

@davismith
If it's just the MCU, then there might be an opensource solution down the road;)

@Michael_K

Hoping that the Taulman nylon found it's way to you and that the silence is just change of mail from your side:)

Teaser youtube of UP 1.3 Motherboard, Arduino Mega with custom Marlin firmware & Repetier Host

https://youtu.be/sMFjSor8aJ8

pp3dp.se
Posts: 14
Joined: Tue Jan 10, 2012 9:49 am
Location: Sweden
Contact:

Re: Custom MCU-module for UP! Mini...

Post by pp3dp.se » Fri Nov 06, 2015 4:36 pm

... started with temp/heating ...
Only got few hrs / month for this, so slow progress;)
IMG_20151106_171322.jpg
UP Heatingbed temp in arduino
IMG_20151106_171322.jpg (186.25 KiB) Viewed 12795 times
ice for cooling ;)
IMG_20151106_171245.jpg
IMG_20151106_171245.jpg (134.2 KiB) Viewed 12795 times
Tidied up cables somewhat
IMG_20151106_140958.jpg
IMG_20151106_140958.jpg (212.07 KiB) Viewed 12795 times

daveismith
Posts: 2
Joined: Wed Aug 19, 2015 1:46 am

Re: Custom MCU-module for UP! Mini...

Post by daveismith » Tue Dec 01, 2015 2:02 am

pp3dp.se wrote:... started with temp/heating ...
Only got few hrs / month for this, so slow progress;)
Making much progress since this last post?

pp3dp.se
Posts: 14
Joined: Tue Jan 10, 2012 9:49 am
Location: Sweden
Contact:

Re: Custom MCU-module for UP! Mini...

Post by pp3dp.se » Sun Dec 06, 2015 5:38 pm

Yes, it's alive...

Still some quirks & I would like to get SD card up and running before release to github

https://youtu.be/w41IKLb00kQ

Probably last update before xmas, so watch out for 2016;)

//Patrick
Attachments
IMG_20151206_173154.jpg
UP & Arduino first print
IMG_20151206_173154.jpg (151.46 KiB) Viewed 12514 times
IMG_20151206_165536.jpg
IMG_20151206_165536.jpg (192.43 KiB) Viewed 12514 times

pp3dp.se
Posts: 14
Joined: Tue Jan 10, 2012 9:49 am
Location: Sweden
Contact:

Re: Custom MCU-module for UP! Mini...

Post by pp3dp.se » Wed Jan 27, 2016 10:09 am

I have stopped working on the Marlin code, so I release it into the wild today:)
Reason being that the Mega is lacking in some ways, so I am moving back to LPC1769 and Smoothieware, hopefully anyways:)

Will start a new thread on that endevour when more progress is made

The code and schematic are still highly usable and good enough to actually print with.


It does break warranty and is completely on your own risk

http://3dskrivare.nu/2016/01/27/up1-3-m ... -released/

Take care all and thx again Michael;)


//Patrick

slait90
Posts: 10
Joined: Thu Apr 10, 2014 8:32 am

Re: Custom MCU-module for UP! Mini...

Post by slait90 » Mon Jul 04, 2016 3:52 pm

Hi everybody!
I'm sorry, but I am a complete zero in programming. I have UP! Plus with a burnt controller and Arduino 2560. But I can't find what firmware to use and the Pinout connection UP! and the Arduino.
Thank you so much for the help!
Good luck to everyone!

slait90
Posts: 10
Joined: Thu Apr 10, 2014 8:32 am

Re: Custom MCU-module for UP! Mini...

Post by slait90 » Mon Jul 04, 2016 5:46 pm

Hello!
I'm sorry, but I am a complete zero in programming. :roll: But, I really need to fix our family a 3d printer. :oops:
I have UP! Plus with a burnt controller and Arduino 2560. Can't figure out which version of marlin to use, how to configure it. I could not find what pins correspond to Arduino on the printer UP!
All health and good luck!
Thank you! ;)

Post Reply