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

Re: Sanguinololu 1.3a Huxley connection problem

$
0
0
Does the device manager show a new usb device (even an unknown one) when you plug the controller in?

If it does what Vendor and Product ID does it show?

If 0000, google ftdi gate

If vender id is 0403, you just need ftdi drivers
from [www.ftdichip.com]

If the computer doesn’t notice the board at all, most probably the FTDI chip on the bottom of the board is dead

Re: Sanguinololu 1.3a Huxley connection problem

$
0
0
Thanks for the reply!

Unfortunately nothing happens at all. :/

Re: Sanguinololu 1.3a Huxley connection problem

$
0
0
Well unfortunately the usb plug of the board goes directly to the ftdi chip...

as you can see at the top of [reprap.org]

And since you have power, as the red LED is on

It could also be a bad solder on the usb connector...

Either way, its a hardware issue

I would check the soldering on the USB plug as a start...

Re: Sanguinololu 1.3a Huxley connection problem

$
0
0
I checked the soldering and the connection looks good. I will probably get a new board, but need to make sure that I am buying the right thing.

This looks to be the same thing, but I have no idea if it has that FTDI chip on the back. Any thoughts? Hoping I can source it locally (Cape Town, South Africa)

[www.communica.co.za]

Thank you for all the help!

Re: Sanguinololu 1.3a Huxley connection problem

$
0
0
Image 3 shows the ftdi chip.

Once you get his board you will have two options

1) attempt to configure the firmware from scratch, basically having to work out the machine specific details
(this is something I think everyone should know how to do, or how are you ever going to upgrade your firmware, but is quite daunting for the new user)

2) you could try removing the 40 pin chip from your current board and put it into the new board, both should be in sockets

Re: Verifying bootloader and/or firmware on Sanguinololou with ATMega1284P

$
0
0
Dear Sir,

I have Atmega644P rectangular or Squared Microcontroller and I have marlin firmware software. How do I bootloader marlin code into 644P. Please tell me the steps. It would take only few minutes for an experts but for me it may be months and months. I am beginner for this field. I am learning. I have seen some tutorials and also went for some web sites, blogspots and all. I did not get which PROGRAMMER from arduino we should select. Even I see How arduino UNO can be act as Arduino by ARDUNO-ISP for Atmega328. I did not get steps or videos related to ATmega644P. So, kindly do a favor in telling me that HOW TO BOOTLOAD Atmega644P with what PROGRAMMER? and what all hardwares needed for it like PROGRAMMER device and all. I needed step by step procedure. Please take your valuable time.

Regards,

shri.7175@gmail.com

ShriHari

Re: Sanguinololu 1.3a Huxley connection problem

$
0
0
Hey there,

I eventually got around to getting a new Sanguinololu board. Probably a very stupid question. Will I need to get a programmer to get a bootloader onto the board and then do firmware? I haven't touched it yet but I assume this can only be established if the a computer recognizes it or not?

Or should I replace the long black 40 pin chip from the old one. My only worry is seeing there was something wrong with the previous board, I don't want to damage the new one by changing components. (that is if it is possible to damage it by swapping that chip, I can only assume it would be possible)

Much thanks!

Damian

Sanguinololu Rev 1.3a - how to load firmware

$
0
0
Hi all,

I just got a new Sanguinololu Rev 1.3a board for my old Huxley printer. (the old one was broken)

From what I understand I need to load the firmware and possibly a bootloader? I don't know anything about this kind of thing so I am completely in the dark. From what I understand if windows doesn't recognize the board then that means that there isn't a bootloader and I need some sort of programmer.

Though I hope some sort of luck is on my side as windows recognizes the board and is in the device manager as a comp-port. I have installed the FTDI driver too.

I assume now I need to use Arduino.exe to load the firmware (as far as I know that is Marlin) that I have downloaded from Github. Arduino.exe didn't have the board in the board manager but managed to install the Singuino settings and now I can see the board. Though I don't know if I am supposed to choose 8MHz or 16MHz?

From here I am completely stuck. From what I can see I must drag the Marlin directory/files into the Arduino program and then there are things that need to be changed to make it work with a Huxley? I have no idea if this is right and if it is, what needs to be changed or what to do next. I hope I don't have to do the bootloader as then I have to get some sort of programmer thing to burn it? Though this is just from a bunch of reading and I don't really know what I am doing. I just don't want to break anything. :)

Any help would be greatly appreciated. Sorry for the long post.

Much thanks.

Damian

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
Hi there,

I have been trying to compile and upload the Marlin Firmware via Arduino.

I downloaded the Sanguino board 'preset via the board manager.

However when I try upload I get this error message:

Build options changed, rebuilding all
In file included from sketch\pins.h:61:0,

from sketch\MarlinConfig.h:33,

from D:\Huxley\Marlin-RC\Marlin-RC\Marlin_HuxleyTest1\Marlin_HuxleyTest1.ino:37:

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."


I have tried using the Arduino Mega 'preset' and all it does is time out. Any help would be amazing, I am very much in the dark here.

I am using Arduino 1.6.10

Thanks,

D

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
I don’t know where you got this Marlin_HuxleyTest1.ino from, but it looks like its designed to work on a arduino mega only.

It has code to check you have selected this as your board and will not compile for other boards such as the SL

most firmware has a motherboard - section in the configuration.h, this is what sets what physical board is expected

from boards.h
#define BOARD_SANGUINOLOLU_11 6 // Sanguinololu < 1.2
#define BOARD_SANGUINOLOLU_12 62 // Sanguinololu 1.2 and above

So you need to set motherboard = BOARD_SANGUINOLOLU_12

or on older firmware motherboard = 62

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
Thanks so much for the response.

I replaced that with BOARD_SAN.. and that problem seems to be solved.

But unfortunately the next issue is I am getting:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

Any ideas what could cause that? I am stumped and googling as much as possible to find a solution. None yet unfortunately.

A while ago you said I could try replace the 40 pin chip from the old board with the new one. Would this mean that I wouldn't have to to go through the firmware upload? I'd be keen to do this but then again I just want to make sure I wouldn't do any damage by doing so (especially seeing there was something wrong with the old board and it didn't work). Maybe I should just stick it out with this firmware upload.

Much thanks

D

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
That error is basically saying, I can't talk to your boot loader

could be several things

1) you don’t have a boot loader on your chip... (sadly some suppliers do this...)
2) your boot loader is expecting different settings (baud rate, protocol etc, so they just cant communicate
3) your auto reboot jumper is off, so it can't reboot the controller and launch the boot loader (check this first)

1) you need a AVR ISP, this is hardware, with this device you can write a new boot loader... this is not simple and many people give up in frustration, should be considered last resort

2) you will find on your machine a boards.txt file
It contains lines like (depends on the cpu you have, but i'm guessing 1284p)
sanguino.menu.cpu.atmega1284p.upload.speed=115200
sanguino.menu.cpu.atmega1284p.upload.protocol=stk500v2

this is the baud rate and protocol for uploading via the boot loader
try the speeds 38400 and 57600
try the protocol stk500, arduino and stk500v2

Its a few combinations, you need to try each, and cross your fingers
I would try 38400 and stk500 first off, its quite common

NB every time you edit boards.txt you need to restart the arduino IDE, or it just doesn’t notice the changed file

3) check your jumper is installed, its between the large black chip and the pololu socket.

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
Thank you very much. I will give it a go.

Could I not just replace the big 40 pin chip from the old board onto the new one? Or could this damage the new board?

I should learn how to do this at some point but if I don't need to delve into code and possibly (probably) have to try install a boot loader but if I don't need to now. That would be good.

Thanks,

D

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
You can try that. It shouldn't be able to damage the board

Just be careful not to bend any pins and work on a anti static environment (wear a anti static strap if you have one)

And make sure to put the chip back in the correct way

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
It worked. I swapped chips and then I was able to connect to the board via pronterface.

I connected the PSU which came from the original kickstarter campaign. It's a generic 19v laptop charger. I was able to move one motor (the only one I tried) but then I noticed the board got quite warm so I disconnected. Sorry maybe I should be posting this in a different thread. Any thoughts? Maybe I need to get a PSU that has a lower voltage or just a different PSU?

Thank you for all your help!

Re: Arduino does not show my Sanguino board

$
0
0
Your going to have to drop to command line... The GUI isnt giving you enough control

From the logs you can see

C:\Program Files\arduino-1.6.9\hardware\tools\avr/bin/avrdude -CC:\Program Files\arduino-1.6.9\hardware\tools\avr/etc/avrdude.conf -v -patmega1284p -cstk500v1 -PCOM5 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m

but its erroring out

This is just trying to set the fuses (hardware options on the cpu)

I find I have to add in some delays with the -B flag

Last time I tryed this I needed - B 8, but you may need to try a few numbers (its different for each pc)

eg C:\Program Files\arduino-1.6.9\hardware\tools\avr/bin/avrdude -B 8 -CC:\Program Files\arduino-1.6.9\hardware\tools\avr/etc/avrdude.conf -v -patmega1284p -cstk500v1 -PCOM5 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m

Once this succeeds you need to move on to the actual boot loader

which would be something like
C:\Program Files\arduino-1.6.9\hardware\tools\avr/bin/avrdude -B 8 -CC:\Program Files\arduino-1.6.9\hardware\tools\avr/etc/avrdude.conf -v -patmega1284p -cstk500v1 -PCOM5 -b19200 -e -U flash:w:{your path}/ATmegaBOOT_1284P.hex

Re: Arduino does not show my Sanguino board

$
0
0
In the output it also says use the -F flag to over ride the check. Using this I got through that command OK. I have attached the output from the console.
Moving to the second command, I get the following: (I copied the hex file to the root directory to shorten the path)

C:\Program Files\arduino-1.6.9\hardware\tools\avr\bin>avrdude -B 8 -C"C:\Program
Files\arduino-1.6.9\hardware\tools\avr/etc/avrdude.conf" -v -patmega1284p -cstk
500v1 -PCOM5 -b19200 -e -Uflash:w:C:\ATmegaBOOT_1284P.hex
avrdude: invalid file format '\ATmegaBOOT_1284P.hex' in update specifier
avrdude: error parsing update operation 'flash:w:C:\ATmegaBOOT_1284P.hex'

Re: Sanguinololu Rev 1.3a - how to load firmware

$
0
0
Hi Dam,

I have been running an eMAKER Huxley clone with Sanguinololu 1.3a compatible controller at DC12V for years long. Your Sanguinololu board will become naturally warm or partially hot when running at DC19V. You don't need to replace your PSU if it works correctly.

Just take a look at your Sanguinololu top surface, and you see three small semiconductor blocks of three pins at both sides - two power MOS-FETs for heaters and one voltage regulator to get DC5V for logic circuits. These parts will become warm, sometime very hot. If you can find small heatsinks to bolt on then it is recommended.

Next, you have four Pololu stepper motor driver modules on board. Those might be correctly tuned already but you'd better recalibrate at this time to get ease. Please read 'Final Check / Pololu drivers current limit configuration' part of Sanguinololu wiki page. Pololu drivers will get hot when running so attaching small heatsinks are also recommended.

Finally, be aware of poor connectors on board - power and heaters. You should connect all four pins for a heated bed, use 2 pins each for + and -.

Re: Melzi lost USB connection

$
0
0
Yeah, my suggestion would've been to try setting the jumper to USB power and see if there's any response. The fact that the LCD menus work is encouraging, it means that the 1284p is working as it should. Try buzzing out the USB connector with a multimeter to see if there are any broken connections. If everything checks out fine, you could try bypassing the FTDI Serial->USB chip and connecting directly to serial.

Sanguinololu power problem

$
0
0
Hello,
I have a problem with my Sanguinololu 1.3a based printer. It seems to not take power from the power supply for some reason. It takes power from usb just fine and everything lights up but as soon as I plug in the power supply everything goes dark and nothing works. I wanted to reroute the power to make it go through wires instead of the board pathways (I suspect conductivity problems on the board), but I have no clue how to do that correctly and which pins to connect with each other.

Does anyone have any idea what might be the cause of the problem, or have any other ideas how I can fix this?

Power supply is working correctly.

Ebdac
Viewing all 1033 articles
Browse latest View live