Pages: 1 [2]   Go Down
Author Topic: Sanguino - blink doesn't work  (Read 2511 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Offline Offline
Brattain Member
*****
Karma: 502
Posts: 19086
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That is great that they have done that. It is a very useful design, and I feel much more comfortable with the revised instructions.

If I may suggest, that particular light has been hidden under a bushel a bit. I never spotted that process documented anywhere (no doubt it is, but no-one pointed me to it).
Logged


California
Offline Offline
Newbie
*
Karma: 0
Posts: 45
What was that?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just added Sanguino capability to 2 Arduino 0022 installations last weekend: one was Windows XP and the other Linux. In both cases I simply copied the Sanguino folder into the arduino-0022/hardware folder. After burning the Sanguino bootloader into a pair of new 644P chips I was able to upload the blink sketch properly onto them in both the Windows and Linux installations, and pin 13 did indeed do the blink thing. smiley I have yet to try using any of the libraries, however.
Logged

Inconveniencing electrons one drop at a time

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 210
Posts: 13036
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you so much. That works perfectly!

You are welcome!  I'm glad it worked.

Thanks, CodingBadly

@westfw, you are also welcome!

Quote
One query, you said ... ADABoot_644p.hex ... But the supplied bootloader files are actually ... ATmegaBOOT_644P.hex
Does that mean the bootloader directory...

That is one sharp eye you have!  You are welcome to change the directory name as you see fit.  Just change the entry in boards.txt to match...

Quote
ADABoot644P.bootloader.path=ADABootloader

Quote
and/or the boards.txt file should be modified to suit the file names?

The entry in boards.txt needs to be changed to match the filename...

Quote
ADABoot644P.bootloader.file=ATmegaBOOT_644P.hex
« Last Edit: April 21, 2011, 02:15:59 am by Coding Badly » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 210
Posts: 13036
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That is great that they have done that. It is a very useful design, and I feel much more comfortable with the revised instructions.

I agree.  I hate monkeying (too much  smiley-twist) with the Arduino directory.  It's also nice that libraries and third-party cores now survive an upgrade.

Quote
If I may suggest, that particular light has been hidden under a bushel a bit. I never spotted that process documented anywhere (no doubt it is, but no-one pointed me to it).

I honestly cannot remember where (or even if) I read about the new directory structure.  The only reason I know it so well is from maintaining the Tiny Core.
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 137
Posts: 6792
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Quote
that particular light has been hidden under a bushel a bit.
I honestly cannot remember where (or even if) I read about the new directory structure.
I tracked it down.  It is somewhat described in conjunction with libraries (which makes some sense, but I wish there was a pointer from the "hardware" sections as well.

http://arduino.cc/en/Guide/Environment#libraries where it says:
Quote
Third-Party Hardware

Support for third-party hardware can be added to the hardware directory of your sketchbook directory. Platforms installed there may include board definitions (which appear in the board menu), core libraries, bootloaders, and programmer definitions. To install, create the hardware directory, then unzip the third-party platform into its own sub-directory. (Don't use "arduino" as the sub-directory name or you'll override the built-in Arduino platform.) To uninstall, simply delete its directory.

For details on creating packages for third-party hardware, see the platforms page on the Google Code developers site.
And the referenced page has more details:
http://code.google.com/p/arduino/wiki/Platforms
Logged

Pages: 1 [2]   Go Up
Jump to: