Is Arduino Due coming?

SCL1 and SDA1 next to AREF

All new boards have the I2C signals over there I think.

10-pin header where the 6-pin ICSP for 16U2 is on the Mega2560r3

That will be the JTAG header for the SAM.

A12..A15 have changed to DA0, DA1, CAN RX0, CAN TX0.

CAN and the DAC (I guess), well they had to come out somewhere.

Also those pics have been around for a while, they must be of an earlier version as there is only a single USB jack, the current board has two.


Rob

Does anybody know what the difference between the two jacks are?

funkyguy4000:
Does anybody know what the difference between the two jacks are?

The following is from the PDF Telecommando linked to...

The Due hast two micro USB connectors one
intended for debugging purpose and a secondo one
capablo ef acting as a USB host, allowing externa USB
peripherals such as mouse, keyboards, smartphones,
etc. to be connected to the Arduino Due.

So they are probably completely separate as far as communication, and you can probably think of one as working similar to the USB port on the Uno and the other as more like a fully integrated USB host shield.

@funkyguy4000

One USB port is connected directly to the processor and has an OTG connector, this means that it can be used as an USB host to connect devices like mouse, keyboard, android phones etc
The Second USB port is connected to the UART0 via the usual atmega16u2 we use on the other boards. this port is used for programming and communicating with the board. This allows you to develop projects using the USB host without having to plug and unplug cables all the time.

The board has a 4 pin SWD connector that can be used to debug code using a SWD/JTAG dongle. There is also a footprint for a 14pin jtag connector.

The pictures robotgrrl posted on the flickr account are of an old beta board we gave out in may to a number of beta testers and it didn't have the second USB port.

We upgraded the power supply to a DCDC converter that can provide enough current to the USB host so that now the Due can be used as an ADK2 development board

if you have other questions, shoot!

m

Just a couple layout questions.

  1. The Due obviously looks very "mega-ish", does this mean that the pins will be laid out in a similar fashion? Having the PWM pins over here, the communication over here, digital there, and analog over there?

  2. If I'm not mistaken, the Due has been in development since the release of the new R3 layout, will the SDA and SCL lines be mapped to analog pins or will they be broken out like on the new R3 boards?

  1. this is the first board we make with the SAM3X but not the last one :wink: we decided to adopt the mega layout to help people migrate their apps as easily as possible. In the future we'll explore different layouts.

  2. The Due follows the R3 layout that we developed to make the standard layout more flexible/homogeneous (i.e. having easy access to the I2C) and to support boards operating at voltages other than 5v (IOREF PIN)
    Unfortunately the mega328 on the UNO has I2c multiplexed on two analog pins while already on the mega (or leonardo) they are on different pins. Any current Arduino boards is based on R3 and solves the problem by placing I2C in the same position on every

m

Is the DUE is using a compatible shield footprint as the Uno/Mega?
If so, Is the DUE 5V tolerant on the inputs?
Or are users potentially going to be burning up inputs when they attempt
to use their existing 5V shields on the DUE?

In other words, if the DUE is backwards compatible with existing shields,
how do you prevent users from damaging their DUE when plugging in 5V shields?

--- bill

bperrybap:
Is the DUE is using a compatible shield footprint as the Uno/Mega?
If so, Is the DUE 5V tolerant on the inputs?
Or are users potentially going to be burning up inputs when they attempt
to use their existing 5V shields on the DUE?

In other words, if the DUE is backwards compatible with existing shields,
how do you prevent users from damaging their DUE when plugging in 5V shields?

--- bill

That was discussed by several of us in this or possible another Due based thread. I believe some of us feel that many a new beginner will most likely (or at least potentially) suffer damage from using non-Due compatible shields. Venders of shields will probably have to be burdened to state with their shield offerings if their shield products work with Due only or older arduino + Due or older 5vdc arduinos only. I don't see a good case for why they didn't give the Due a whole new shield footprint to work with?

Lefty

retrolefty:

bperrybap:
Is the DUE is using a compatible shield footprint as the Uno/Mega?
If so, Is the DUE 5V tolerant on the inputs?
Or are users potentially going to be burning up inputs when they attempt
to use their existing 5V shields on the DUE?

In other words, if the DUE is backwards compatible with existing shields,
how do you prevent users from damaging their DUE when plugging in 5V shields?

--- bill

That was discussed by several of us in this or possible another Due based thread. I believe some of us feel that many a new beginner will most likely (or at least potentially) suffer damage from using non-Due compatible shields. Venders of shields will probably have to be burdened to state with their shield offerings if their shield products work with Due only or older arduino + Due or older 5vdc arduinos only. I don't see a good case for why they didn't give the Due a whole new shield footprint to work with?

Lefty

From the SAM3X datasheets...

Voltage on Input Pins
with Respect to Ground....................................-0.3V to + 4.0V

So the IC's I/O pins certainly can't take 5 VDC logic. I suppose it's possible for there to be optional FET based level shifter circuitry for each I/O pin, but it's very unlikely they included it on the stock Due...

retrolefty:

bperrybap:


In other words, if the DUE is backwards compatible with existing shields,
how do you prevent users from damaging their DUE when plugging in 5V shields?
--- bill

That was discussed by several of us in this or possible another Due based thread.


I've seen a few discussions on this.
I was wanting to hear a definitive answer straight from the horses mouth, somebody
on the Arduino team, perhaps Massimo Banzi
as most of the discussion about this that has happened so far is from/by folks that don't have access
to the real product and as such is speculation on what will/won't be in the final version
of the product.

--- bill

retrolefty:
I don't see a good case for why they didn't give the Due a whole new shield footprint to work with?

I really don't think there is one. I suspect this decision to continue with the "legacy" shield footprint for the "Due" will be recognised in hindsight to be a significant blunder, as well as an opportunity lost.

I've been arguing for ages that the current backplane arrangement leaves a lot to be desired and when I first heard about the Due I hoped there would be a change. No such luck.

I guess it's hard to orphan 500+ existing shields, but if some/many/most of them won't work anyway it doesn't matter.

I think that "How many will work?" is the $64 question.


Rob

@pico

As I just mentioned this is the first board with the SAM3X we're going to release so there is plenty of opportunities to create different layouts (as a matter of fact we have a new layout we've been playing with for a while)

I think there is a lot of people who prefer to re-use as much as possible of what they currently have before they have to throw everything away.. Our current Eth and Wifi shields, to mention two, work with the Due as they are able to detect and adapt to the whatever voltage the main board is operating at.

Making the board 5v tolerant would have made the it way too expensive. The market is now full of heavily subsidised (even sold at loss...) products that make it quite difficult to fight these battles.

The beauty of open source is that in a few days time you will be able to download the Arduino Due eagle file, design a much better layout and sell your own boards benefiting from our lack of vision :slight_smile:

@Graynomad
we introduced the R3 layout a long time ago and we explained why the IOREF pin is there... some people understood and implemented the correct measures to make their shields compatible, some others didn't ... you'll see a lot more shields made available with the full implementation of R3

m

@Massimo
The due is a completely new hardware platform which needs a new toolchain. From the video's I have seen on this subject I learned that the new Arduino IDE has been optimized to support more toolchains. As you may know I have developed a Arduino eclipse plugin that uses the Arduino IDE toolchain. When the due comes out I will change this to "a arduino eclipse pllugin that supports multiple toolchains".
As such I am very interested in how you support "configuring a toolchain in the new arduino IDE". I assume this is done based on an additional hardware folder that contains it's own boards.txt file.
I also assume that this boards.txt fie has been extended to allow to identify which toolchain must be used and which options must be set for which tool.
I would love to get a description of the new boards.txt. I have been searching but didn't find anything on this subject yet.
Can you point me to a description that would allow me to take the right decisions to implement "toolchain selection based on Arduino IDE info" in eclipse?
Thanks

Best regards
Jantje

Jantje

Next week we release IDE v 1.5 and there will be a blog post discussing some of the internals of the new version.

m

Will IDE 1.5 rollback the removal of errors for missing include files that happened in 1.0.1?

I don't have specifics on that.. as I said there will be a blog post

1.5 will be Due only at the beginning. shortly after there will be a 1.0.2 with some of the enhancemens backported (there are some nice user experience improvements in it)
Later on when 1.5 is stable we'll merge and have only one IDE.

if you can point me to an issue here Google Code Archive - Long-term storage for Google Code Project Hosting. I'll have it checked.

m

It's Google Code Archive - Long-term storage for Google Code Project Hosting.. It was introduced in 1.0.1, and it really needs rolling back. It causes a lot of problems, particularly with inexperienced coders.

Graynomad:
I guess it's hard to orphan 500+ existing shields, but if some/many/most of them won't work anyway it doesn't matter.

Exactly. No-one is going to "throw out" their old shields just because they've bought a Due, anymore than they'll throw out their Unos and Megas. Why would they? The AVR product line still has a future, and the the ARM products complement rather than replace these products. Even if Arduino never made another AVR-based board, the old 8-bit AVR Arduino "ecosystem" would now continue indefinitely under its own momentum.

The problem with the IOREF pin approach is that adds complexity (and therefore cost) to any shield design that wants to use this technique. Cheaper and simpler to design an AVR 5v version and a separate ARM 3v3 version, if needed (I suspect many if not most shields will be suited for either AVR or ARM rather than for both). The fact that a lot of people are going to be buying shields designed for AVRs and finding they don't work for the "Due" is going to cause endless aggravation that could have been avoided, I suspect. I hope I'm wrong.

The reason I believe this is an opportunity lost is that, while anyone can design a dervative board with an alternate header layout, only Arduino is in a position to set a new "standard" layout by simply releasing a new product. So no, remedying the "lack of vision" is not quite that simple.

This is encouraging. Could I suggest soliciting some feedback from the user base before settling on a final design? Who knows, you might end up with something even better. :wink: