Welcome! Log In Create A New Profile

Advanced

Communication Melzi Ardentissimo

Posted by WDZaphod 
Communication Melzi Ardentissimo
June 05, 2012 03:23AM
HI Forum,

i just finished the mechanic part of my Reprappro Mendel, now I have some probs with the Melzi Controller Board...
Pronterface on Ubuntu is installed, GUI starts up. After connecting the board via USB, the green LED lights up (after 15Secs).
/dev/ttyUSB0 appears, also fine. Just connecting to the printer doesn't work, I started with 115kBaud, but also tried all the other ones down to 9600Bd.

Console log shows "some" errors:

root@reprap:/home/reprap/Printrun# python2 pronterface.py
Connecting...
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 14665, in 
    lambda event: event.callable(*event.args, **event.kw) )
  File
"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 1850, in AppendText
    return _controls_.TextCtrl_AppendText(*args, **kwargs)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 0:
invalid continuation byte
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 14665, in 
    lambda event: event.callable(*event.args, **event.kw) )
  File
"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 1850, in AppendText
    return _controls_.TextCtrl_AppendText(*args, **kwargs)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe8 in position 2:
invalid continuation byte
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 14665, in 
    lambda event: event.callable(*event.args, **event.kw) )
  File
"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 1850, in AppendText
    return _controls_.TextCtrl_AppendText(*args, **kwargs)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9b in position 6:
invalid start byte
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 14665, in 
    lambda event: event.callable(*event.args, **event.kw) )
  File
"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 1850, in AppendText
    return _controls_.TextCtrl_AppendText(*args, **kwargs)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf8 in position 1:
invalid start byte
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 14665, in 
    lambda event: event.callable(*event.args, **event.kw) )
  File
"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 1850, in AppendText
    return _controls_.TextCtrl_AppendText(*args, **kwargs)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf1 in position 6:
invalid continuation byte

Any idea? eye popping smiley

regards from Switzerland,
Michael
Re: Communication Melzi Ardentissimo
June 06, 2012 01:49PM
Hello all,

I have the exact same problem, we have the UNICODE ERROR in MacOS version prelion.

Any luck solving the problem?

Have you managed to connect to the RepRap?

I would really appreciate any feedback,

Thanks!
Re: Communication Melzi Ardentissimo
June 06, 2012 02:25PM
The Baud rate in Pronterface needs to match the one set in the firmware. You will need to find out what the firmware is set to or set it yourself in the firmware and re-upload it to the board.


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: Communication Melzi Ardentissimo
June 07, 2012 04:40AM
Hi

Thanks for you answer. Finally I've tried compiling the sources and running pronterface and it worked for 115000 baud instead of the 250000 specified on the RepRap Wiki, so you are right the baud rate could be different from one board to another.

This link also helped me with a dependency with the WX module in MacOS prelion.

[groups.google.com]

Hope this helps somebody!

Cheers!
Sorry, only registered users may post in this forum.

Click here to login