The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
I was trying to upgrade my new Netduino mini's firmware. So far, all I've done is apply the 5V to the gold erase pad. When I try to connect via Samba 2.12 using at91sam7x512, I get a connection error every time.
I'm using the SparkFun FTDI Basic 5V breakout. I've tried the following configurations:
FTDI RX to Netduino Pin 1, FTDI TX to Netduino Pin 2, FTDI DTR to Netduino Pin 3, GND to GND
FTDI TX to Netduino Pin 1, FTDI RX to Netduino Pin 2, FTDI DTR to Netduino Pin 3, GND to GND
Both of the above configurations without using DTR
FTDI RX to Netduino Pin 11, FTDI TX to Netduino Pin 12, FTDI DTR to Netduino Pin 3, GND to GND
FTDI RX to Netduino Pin 12, FTDI TX to Netduino Pin 13, FTDI DTR to Netduino Pin 3, GND to GND
Both of the above configurations without using DTR
All of the above configurations with FTDI 5V to Netduino Pin 21
All of the above configurations with the Netduino powered by a regulated 5V supply (still using FTDI GND to GND)
MFDeploy can't ping the board, can't connect to TinyCLR. Putty can't communicate with the board.
At this point, it seems like my Mini is bricked. That's a shame, since I just got it two days ago and haven't been able to use it at all.
I am able to use the FTDI breakout board to communicate with my Arduino no problem. I'm also able to use it with my NP2 to talk back and forth with my PC. So, the FTDI guy is working just fine.
Unless you are following a specific lead where someone has found that the FTDI board works with Samba, you're in uncharted territory. As has been noted here, Samba is very sensitive to communication timing. Some adaptors work, many don't. I know, I tried quite a few . In my experience 5V to the gold pad is tolerated by the mini.
RS-232 uses inverted logic; idles low, whereas serial TTL idles high. The FTDI cable
interface is serial TTL, but you can invert it with the FTDI configuration utility.
Alternatively, you can use a 74HC14 Schmitt trigger inverter or a 2 gate 74LVC2G14 (invert the FTDI
TX to Netduino RX and Netduino TX to FTDI RX). I recall some discussion that the RS-232
port was preferred for deploy/debugging. A $5 ebay USB to RS-232 adapter works just fine for me.
and you didnt choose my answer as best answer?
now iam sad
NooM -- I "liked" your answer, to give you kudos. Does that help?
Thanks guys for helping each other out so much around here. We're working on firmware and an epic new Netduino accessory...so it's really awesome to log onto the forums and see so much camraderie and help among peers.
You guys (and gals) are the best.
Chris
Aw don't be sad. Your answer was the best answer, but I wanted to include the hookup information so if someone in the future has this problem, they can solve it without having too much of a headache.