Netduino home hardware projects downloads community

Jump to content


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.

Sigma7

Member Since 27 Mar 2012
Offline Last Active Sep 02 2013 06:02 PM
-----

Posts I've Made

In Topic: Netduino 2 WITHOUT firmware...

26 August 2013 - 09:34 PM

Nevermind/SORRY...

 

I'm still confused.. but after a dozen or so attempts.. it actually worked!  Sorry for "crying wolf" (though I'm completely at a loss to explain why it didn't work the first N-1 times).

 

Tom


In Topic: Netduino 2 "bare metal" startup...

26 May 2013 - 01:50 PM

ziggurat29,

 

I was trying to bootstrap myself by following the "recipe" from Geoffroy Brown's "Discovering the STM32 Microcontroller" (chapter 5) (which is written for the STM32F100.. but I compared datasheets and changed registers and values as appropriate (e.g., the RCC A[H|P]B#ENR bits are all different).  His "example" SEEMED to be complete (albeit in bits an pieces) in that it started from the STM being reset, deals with initiializing the RCC, GPIOs, and USART, and ends with characters being written to the USART.  But I'm learing that there are pieces not included in the sample code (for example, setting up the clocks in the RCC).  So I'll have, hopefully, some time this weekend to play around with the N2.. and I'll let you know (by way of a reply.. or more questions) how it's going.

 

Regards,

Tom


In Topic: Netduino 2 "bare metal" startup...

24 May 2013 - 08:49 PM

ziggurat29,

 

Thanks.  And yes, I checked that it IS set.

 

The reset vector points (ignoring the LSB) to a single C-function (within which, everthing's a branch).  I'm trying to crawl before walking.  But I'm missing somthing simple/fundamental.


In Topic: USB To Serial Question

24 April 2013 - 12:58 PM

Update...

 

Adafruit makes a "USB Console Cable #954" (a.k.a. "USB-to-TTL Serial Debug Cable") (Newark part 44W3509) that goes for $9.95.  In addition to being low-cost, it also brings out the USB's +5V which you can use to power the Netduino Mini.  It makes the "pay-to-play" price for the Mini about $40 ($30 for the Mini and $10 for the cable).

 

I used to use a Parallax "Board of Education" (serial or USB versions), but they're pretty pricey ($70 for the board alone, and $100 if you want to get it with a BASIC Stamp 2 module).

 

The only issue with the #954 cable is that your firmware needs to use USART0 (instead of the DBGU).  I hook it up as follows:

 

[font="'courier new', courier, monospace;"]AT91SAM7X512 Netduino Mini  Adafruit 954[/font]

 

[font="'courier new', courier, monospace;"]TXD0 PA1(A)   TX0  DIP 11   white[/font]

[font="'courier new', courier, monospace;"]RXD0 PA0(A)   RX0  DIP 12   green[/font]

[font="'courier new', courier, monospace;"] 5V DIP 21   red[/font]

[font="'courier new', courier, monospace;"] GND  DIP 23   black[/font]

 

[font="arial, helvetica, sans-serif;"]Regards,[/font]

 

[font="arial, helvetica, sans-serif;"]Tom[/font]


In Topic: Beginner question

20 March 2013 - 02:04 AM

By the way...

 

The Basic Stamp 2 (BS2) can source/sink 20/25mA per PIO pin.. but only 40/50mA TOTAL (for 8 I/O pins) (per BS2).

The AT91SAM7X512 can only source 8mA per PIO pin.. but 200mA TOTAL.

 

Tom


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.