Quantcast
Channel: Arduino does not show my Sanguino board
Viewing all 54 articles
Browse latest View live

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: Arduino does not show my Sanguino board

$
0
0
I'm surprised that -F works, but it seems to verify and progress is progress


The issue with the boot loader is that path
you cant use a : in the path without quotes, it confused avrdude


Try

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"

Re: Arduino does not show my Sanguino board

$
0
0
Apparently it doesn't like anything in the path other than the file name. I copied the file to the bin directory where avrdude resides it ran this time again requiring the -F flag. The results are in the attachment. There is a verification error with a mismatch in output.

Just for grins, I tried to upload the blink sketch to the ATmega1284P and got interesting results. I have included them in Output3 attachment. It appears that the Uno I am using as the ISP is still working as an ISP (at least to me). I don't ever remember the output like this on my Uno when I uploaded programs.

So I tried it on my Uno and got the same output. Apparently I turned on some verbose mode that is persistent.

Re: Arduino does not show my Sanguino board

$
0
0
I was studying the output of the 2 commands and noticed the following output after trying to obtain the device signature in the first command:

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATmega1284P is 1E 97 05

It then notes the verification error and exits after checking t he fuses. So it is not really making any contact with the ATmega1284P is it?

Re: Arduino does not show my Sanguino board

$
0
0
This is as yet untested in a printer, but it appears to have worked.

Downloaded latest ArduinoIDE 1.69. In that version, under files/preferences you can set additional URLs to keep board information up to date.
I used [raw.githubusercontent.com] which meant I saw Sanguino as a board option in the IDE.
But I was unable to compile to the board, it failed to sync when I chose the Sanguino board and selected "ATMega1284 or 1284P (16Mhz).
I then modified the Boards.txt on line 78 to read "sanguino.menu.cpu.atmega1284p.upload.speed=57600" instead of 115200. This gave me sync with the board and I was able to upload Blink, but without any LED to blink this was pretty pointless. When I tried Marlin I received a "dunno what board this is" type error.
Then I tried the T3P3 Marlin fork.
I copied the T3P3 Sanguino folder across to C:\Program Files (x86)\Arduino\hardware\arduino\avr\sanguino It would not work correctly in any of the folders above this path.
With the configuration.h modified to suit my printer (I hope) I was able to compile and upload was reported complete with no errors.
Unfortunately the printer it is about to go into has completely different connections, so I won't be able to confirm until I can rejig it.

Hope that helps though.

Re: Arduino does not show my Sanguino board

$
0
0
OK I tried that and no luck. If I use Nick Gammon's sketches I can read the information frrom the target board. But when I try to burn the bootloader using his sketch it doesn't work because he didn't update the board signatures and the ATmega1284P signature is not there so the program aborts before doing anything especially unlocking the memory for update. The board part numbers and bootloaders have been updated but they can't be loaded because the device signature is not updated.

Arduino does not show my Sanguino board

$
0
0
Hi Guys
I have a Sanguinololu Baord ( Atmega1284p )controller and windows 7.

1. In the device manger its on com3 but shows it as USB serial Port( com3) but does not show it up as a sanguinololu board ??
2. I load Arduino 0023 and downloaded & copied Sanguino1284p-master to the Arduino folder under hardware, however when I run Arduino, Sanguino board does not reflect under Tools / board ?? The is no sanguino under the boards ??

what am I doing wrong that there no Sanguino board uner tools ?

Thanks

Re: Arduino does not show my Sanguino board

$
0
0
Hi
I eventually got Arduino to see my Sanguino board but now when I try upload thr Firmwaer to the Sanguinololu board I get this error:

Arduino: 1.6.1 (Windows 7), Board: "Sanguino W/ ATmega1284p 16mhz"

Third-party platform.txt does not define compiler.path. Please report this to the third-party hardware maintainer.

Error while uploading: missing 'recipe.cpp.o.pattern' configuration parameter

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Please could you help,

Thanks

Re: Arduino does not show my Sanguino board

$
0
0
Hi
Wow this hectic, 111 views and not one person can give some advice.

Re: Arduino does not show my Sanguino board

$
0
0
use ARDUINO 1.0.6

It doesnt come with support for the 1284p, you have to add it

by adding files from [code.google.com] Sanguino-0101r1.zip

If you are putting you own bootloader on the chip you will need to edit the boards.txt file and set the fuses you want as the default leaves the jtag enabled wich stops all endstops and x direction lines working.

Re: Arduino does not show my Sanguino board

$
0
0
I did everything fine but here is the error message what the arduino compiler said:

Arduino: 1.0.6 (Windows XP), Board: "Sanguino W/ ATmega1284p 16mhz"

In file included from /pins.h:38,
from /Conditionals.h:172,
from /Configuration_adv.h:476,
from /Configuration.h:729,
from /Marlin.h:22,
from BlinkM.cpp:5:
/pins_RAMPS_13.h:15:4: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.

But I have this board.... What's the problem then? o.O

Re: Arduino does not show my Sanguino board

$
0
0
you have not set you board type in configuration .h

Presuming your using the latest marlin...
Line [github.com]

you need to set it to change it from BOARD_RAMPS_13_EFB to BOARD_SANGUINOLOLU_12

Re: Arduino does not show my Sanguino board

Re: Arduino does not show my Sanguino board

$
0
0
Hi, I have the same problem. How you make Arduino to see the Sanguino board on the menu? Zee, Simply copying the sanguino folder into the hardware folder does not work.

Re: Arduino does not show my Sanguino board

Re: Arduino does not show my Sanguino board

Re: Arduino does not show my Sanguino board

$
0
0
Dust, thanks. So, how can i do it with my arduino v1.6.x. Complicated long story?

Re: Arduino does not show my Sanguino board

Re: Arduino does not show my Sanguino board

$
0
0
As far as I know you can only use arduino v1.01. If the Sanguino board is not shown under the boards menue you need the boards file under the hardware/arduino folder. If you look at it with a text editer you should see the Sanguino board.
Viewing all 54 articles
Browse latest View live