Quantcast
Channel: Reprap Forum - Sanguino(lolu)
Viewing all 1033 articles
Browse latest View live

Re: RepRap discount full graphic LCD for sanguinololu

$
0
0
Hi,
Can you share how you solved your issue ?
Have similar problem.
Thanks

Re: What is this board and can it run Marlin 1.1.8

$
0
0
Quote
Dust
your a bit out of date... thats the old, not supported way to install Sanguino

use this method:

Start up Arduino IDE

Open up the menu File|Preferences

At the bottom is a field Additional Boards manager URLs:
Enter "https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json"

Click OK

Open up the menu Tools|Board:|Boards manager...

This will open the manager. Scroll down till you see Sanguino
Click more info, this will reveal an install button.

Hit install.

Close the Board manager.

Your done!

Wow that sounds like it has saved me a lot of trouble. To make sure I got it right: This is the procedure to compile and then install the new firmware, right? Hopefully it also works this way on my Mac.
Thanks a lot for the comments. I will also keep trying...

Re: What is this board and can it run Marlin 1.1.8

$
0
0
Quote
rotinaj13
Ok so I got over my fear of bricking the only controller for this printer and was finally able to get Marlin 1.1.8 on my GEN6 board. So as I am sure you have found out the GEN6 board has an older bootloader which is most likely from Arduino legacy days (00XX). Marlin 1.1.8 needs to be compiled in something newer than Arduino IDE 1.6.8. I downloaded Arduino IDE ...

Did you back up your old firmware first?
How to validate that the backup worked?
How to bring it back on the board in case you need to?

Thanks again for your help!

Re: What is this board and can it run Marlin 1.1.8

$
0
0
Quote

Wow that sounds like it has saved me a lot of trouble. To make sure I got it right: This is the procedure to compile and then install the new firmware, right? Hopefully it also works this way on my Mac.
Thanks a lot for the comments. I will also keep trying...

no this is just how you add Sanguino support to the Ardunio IDE (your chip is a Sanguino)

From there you select the board Sanguino then select the processor 644p @ 16mhz (or 20... you need to look at that crystal)

Then load up marlin and make sure in configuration.h the motherboard line is "#define MOTHERBOARD SANGUINOLOLU_12"

Then you can verify (which just complies but doesn't try to upload)
If no errors then you can try an upload.

rotinaj13 recommends installing a new boot loader, this may or may not be needed... If you cant upload then you probably need it. For that you need a AVR ISP. A device that lets you put data on the chip without a bootloader. (can be as simple as another ardunio board running AVRISP firmware)

Re: RepRap discount full graphic LCD for sanguinololu

$
0
0
Hi, I'm sorry that I did not shared my solution, but I didn't because I though that was a stupid question, because anyone aswered to me.

Well I know that most of the tronxy board share the same pins configuration, so I searched the firmware for the tronxy x3s that is a version with the same LCD as the X8, then I found this video on youtube [www.youtube.com] in the description of the video there is the dropbox link of the youtuber in the video, I downloaded the firmware, then I changed the pins of the sanguinololu 1.1(Yes the sanguino pins are a mess) into this one [github.com] that is the x8 configurated firmware, then I fixed the all issues(even the fact that you need to use an older version of arduino for led the LCD work properly), activated the sdCard and fixed other configuration problems, in the end I forked it creating a fully working version [github.com]

That's it, I hope this will be helpfull for you.

Re: What is this board and can it run Marlin 1.1.8

$
0
0
Yea the method I posted gets around the old boot loader generating errors when you attempt to upload firmware. Since my Gen6 was older and I would be wiling to bet yours is as well you will need to update the boot loader unless someone has done this which would most likely be the case if it is running 1.1.x. The information Dust posted replaces my link for downloading the drivers for Sanguino and putting them in the arduino/hardware folder. This link talks about using AVR dude to backup the firmware but I am not sure how the port portion of the command is phrased on a mac. I did backup my firmware which I used an install of Arduino 00XX that was previously installed and had the Sanguino drivers built in. I never verified my backup just moved forward:

[reprap.org]

If you go to upload and get errors that look like this then either your baud rate is wrong, wrong board selected or you need to burn the boot loader:

avrdude: stk500_getsync(): not in sync: resp=0x00

Dust: Are you sure about the board in the configuration.h? I had mine set as

#define MOTHERBOARD BOARD_GEN6

Re: What is this board and can it run Marlin 1.1.8

$
0
0
bah... brain fart...

should be #define MOTHERBOARD BOARD_GEN6

I used to use SANGUINOLOLU boards ... Same CPU, different pin outs

Sanguinololu 1.3a, Marlin 1.1.9

$
0
0
Early this year, under Arduino 1.8.6 I managed to compile, upload, run Marlin 1.1.8 on this old board.

Today, I wanted to give a try to 1.1.9 the last and final 8 bits Marlin. Using the same env., compilation of 1.1.9 it fails with this error:

Arduino: 1.8.6 Hourly Build 2018/01/03 03:33 (Windows 7), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"

...
pins_RAMPS.h:48: error: #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."

#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."

^

exit status 1
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."


Compilation of 1.1.8 in the same env, still works.
Had a quick look on the Marlin site but couldn't determine if this old board is still OK for 1.1.9.

Note I am not really using this board anymore, I use Smoothie but wanted to see the difference between the two controller/firmware on the same 3D printer. This helps distinguish issues due to the mechanic of the printer and the controller/firmware.

Re: Sanguinololu 1.3a, Marlin 1.1.9

$
0
0
You did update #define MOTHERBOARD BOARD_SANGUINOLOLU_12

as I just cloned it and tried it and it still compiles. (after setting the board and MPU etc)

Re: Sanguinololu 1.3a, Marlin 1.1.9

$
0
0
Thanks.
Forgot to change that (and other stuff BTW). Even had to make again the downgrade of the upload speed !
My fault, I didn't document as I assumed there would be nothing after 1.1.8. Now it is OK.
As I said, I just put the Sanguino back to compare.

Re: RepRap Discount Full Graphic LCD clone on Melzi 2.0 success.

$
0
0
Hi, is it possible for you to provide me with the modified Marlin fw that would allow me to power a RepRap Full Graphic Display with my Melzi board? Thanks.

LCD Display probleme after upgrading firmware

$
0
0
Hello,

I bought a CXY card, and all worked great, but after a firmware update MARLIN, I ended up with a display as we see on the attached image, I tested different firmware and I always have the same result and I can not find any solution. Every two seconds there is a refresh but it's never correct.

Is a display speed problem? I do not know where to find.

Re: LCD Display probleme after upgrading firmware

Re: LCD Display probleme after upgrading firmware

$
0
0
Yes!
i find another solution

put to comment the line #pragma GCC optimize (3) in ultracd_st7920_u8glib_rrd.h

Like :

#pragma GCC optimize (3)

to

//#pragma GCC optimize (3)

Re: Sanguinololu 1.3a, Marlin 1.1.9

$
0
0
Hi Guys.

For everyone who wanna upgrade the firmware in a 3D Printer with sanguinololu board.
Follow some tips.
-----------------------------------------------------------------------------------------
If you receive one error like this:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x40
-----------------------------------------------------------------------------------------

I believe that the problem is because some sanguinololu boards have old boot_loaders,
they can communicate in 115200 but can not upload at this speed.

To fix the communication problems you need change the upload speed for 57600.
===================================================================
Just go to the directory/file:
>> C:\Program Files (x86)\Arduino\hardware\Sanguino-master\avr\boards.txt
and change the upload speed in the line:
from:
>> sanguino.menu.cpu.atmega1284p_8m.upload.speed=115200
to:
>> sanguino.menu.cpu.atmega1284p_8m.upload.speed=57600

Attention:
=========================================================
1 - I believe you can update your boot_load to fix it, but it is another history.

2 - Do not change the directory/file:
>> C:\Program Files (x86)\Arduino\hardware\Sanguino-master\boards.txt
it will not fix the problem.

I spend almost a full day to fix it because the file above.
=========================================================

The software version:

Arduino IDE version 1.8.8 (https://www.arduino.cc/en/Main/Software)
Sanguino-master last version (https://github.com/Lauszus/Sanguino) (2018-12-12)
Marlin version 1.1.9 (http://marlinfw.org/meta/download/)

Arduino IDE setup:
> Tools
>> Board: "Sanguino"
>> Processor: "ATMega 1284 or AtMega 1284P (16 MHz)"
>> Port: "COM7" (for my board)
>> Programmer: "ArduinoISP"

Just do not forgive to hold the reset buttom in the sanguinololu board.
You need hold it pressed during the compilation process until the start of the upload process in the arduino IDE.
Worked for me.

Kind regards Juan.

Re: backup installed firmware?

$
0
0
This was a first / near first hit on google searching for backing up of firmware on a mainboard.

Want to point out as mentioned in the thread. Use of
:w:
Is "write" to the Arduino / mainboard memory NOT "writing" / "backing" it up to a local file where avrdude is running.

This is what I did to backup a CR-10 (non S) Marlin 1.1.9 firmware I had installed on it. I'm trying out 2.0.0 BF with a BL touch and a spliced Pin 27 for the servo pin.
avrdude -p m1284p -c arduino -P /dev/ttyUSB0 -b 115200 -F -U flash:r:existingMarlin_fw_20190202_01.hex:i
avrdude -p m1284p -c arduino -P /dev/ttyUSB0 -b 115200 -F -U eeprom:r:existingMarlin_eeprom_20190202_01.hex:i

Running that code on a USB connected OctoPi (Version 1.3.10) with Firmware Updater Plugin (Version 1.1.0). Firmware Update Plugin Github works for me to generate those files.

BLTouch not working on Anet A8

$
0
0
Hi everyone,

I have installed a BLTouch bed probe on my Anet A8 running Marlin 1.1.9. When I either "Auto Home" or "Level Bed" X and Y are homed correctly. Then the Z axis moves up slightly (10mm) and the BLTouch extends and retracts once. With the BLTouch now retracted the Z axis moves down until the nozzle crashes into the table.
What did I configure wrong?

Additional Info:
When starting the printer the probe does it's two extend/retract cycles and then lights up red (constant, not blinking). I assume that means it's happy.
I had to disable the SD card in Marlin because the motherboard did not have enough memory for the code. I am running files through USB. Homing etc still happens through the LCD.
Anet A8
E3D V6 Hotend with direct drive
Marlin 1.1.9
LCD Display 12864 (same as in Anet A6)
some mechanical upgrades like igus bearings etc, nothing relevant to the problem

Re: BLTouch not working on Anet A8

$
0
0
Upload you configuration.h file a a google drive share post the link will take a look for you.

Re: BLTouch not working on Anet A8

Re: BLTouch not working on Anet A8

$
0
0
Have you tried sending M119 - Endstop States
Viewing all 1033 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>