From: geomet on
Cheers for all the replies, been a while since I've done any embedded
stuff.

I want to log at an interval anywhere from 1s to 1hr. So the 32kHz
resolution is not necessary, but I have thought about just using a
32kHz crystal with the onboard timer, did this once with a pic in uni
iirc. First look at the MSP430 and it seems to fit the bill, haven't
checked out the others yet.

Thanks for the links to the Armaide compiler and the QuickStart
boards... You have actually almost nailed what I am trying to do -
read from a HMR6343 magnetometer and store the results in EEPROM :)

From: geomet on
On Mar 30, 1:28 pm, Mark Borgerson <mborger...(a)comcast.net> wrote:
> In article <d5fc55c3-9ce7-4a38-afa2-
> 7300a9952...(a)l18g2000prm.googlegroups.com>, ross.g.march...(a)gmail.com
> says...
>
>
>
> > Hi All,
>
> > I'm after a recommendation for a microcontroller with the following
> > features:
>
> > Needed:
> > - 3.3V
> > - in circuit programming
> > - I2C I/O
> > - low power sleep mode
>
> > Wanted:
> > - cheap / free compiler
> > - on board RAM / EEPROM / Flash memory for logging (64K min)
>
> > What I'm trying to do:
> > Log measurements from a sensor IC that communicates via I2C.
>
> Been there, done that.  Used an MSP430 and SD card for the
> logging.
>
> If you want to log to the onboard flash memory, you'll be
> more limited with the MSP430 series.
>
> I use the Imagecraft compiler.  About $250.  Good technical
> support and prompt response to problems.  Another $100 gets
> you the NoIce debugger.  Very handy and well supported.
> Unless you alread have a JTAG system, plan on another
> $100 for a USB-JTAG interface for programming and debugging.
>
> I don't know if a total cost of ~$350 counts as cheap for you---
> but I made that back on my first project and put money in
> the bank!
>
> Mark Borgerson

yep $350 is definitely cheap enough... last commercial compiler i used
was > $1000 ...
From: hamilton on
On 3/29/2010 10:28 PM, geomet wrote:
> On Mar 30, 1:28 pm, Mark Borgerson<mborger...(a)comcast.net> wrote:
>> In article<d5fc55c3-9ce7-4a38-afa2-
>> 7300a9952...(a)l18g2000prm.googlegroups.com>, ross.g.march...(a)gmail.com
>> says...
>>
>>
>>
>>> Hi All,
>>
>>> I'm after a recommendation for a microcontroller with the following
>>> features:
>>
>>> Needed:
>>> - 3.3V
>>> - in circuit programming
>>> - I2C I/O
>>> - low power sleep mode
>>
>>> Wanted:
>>> - cheap / free compiler
>>> - on board RAM / EEPROM / Flash memory for logging (64K min)
>>
>>> What I'm trying to do:
>>> Log measurements from a sensor IC that communicates via I2C.
>>
>> Been there, done that. Used an MSP430 and SD card for the
>> logging.
>>
>> If you want to log to the onboard flash memory, you'll be
>> more limited with the MSP430 series.
>>
>> I use the Imagecraft compiler. About $250. Good technical
>> support and prompt response to problems. Another $100 gets
>> you the NoIce debugger. Very handy and well supported.
>> Unless you alread have a JTAG system, plan on another
>> $100 for a USB-JTAG interface for programming and debugging.
>>
>> I don't know if a total cost of ~$350 counts as cheap for you---
>> but I made that back on my first project and put money in
>> the bank!
>>
>> Mark Borgerson
>
> yep $350 is definitely cheap enough... last commercial compiler i used
> was> $1000 ...
AVR processors have low power modes and there is a free compiler available.

A In System Programmer can be built your self or a cheap one can be
purchased from Digikey.

WINAVR compiler FREE
AVR Studio IDE FREE
AVR ISP mk II $35

hamiltom



From: hamilton on
On 3/30/2010 7:19 AM, Mark Borgerson wrote:
> In article<hosshf$bnm$1(a)news.eternal-september.org>,
> hamilton(a)nothere.com says...
>> On 3/29/2010 10:28 PM, geomet wrote:
>>> On Mar 30, 1:28 pm, Mark Borgerson<mborger...(a)comcast.net> wrote:
>>>> In article<d5fc55c3-9ce7-4a38-afa2-
>>>> 7300a9952...(a)l18g2000prm.googlegroups.com>, ross.g.march...(a)gmail.com
>>>> says...
>>>>
>>>>
>>>>
>>>>> Hi All,
>>>>
>>>>> I'm after a recommendation for a microcontroller with the following
>>>>> features:
>>>>
>>>>> Needed:
>>>>> - 3.3V
>>>>> - in circuit programming
>>>>> - I2C I/O
>>>>> - low power sleep mode
>>>>
>>>>> Wanted:
>>>>> - cheap / free compiler
>>>>> - on board RAM / EEPROM / Flash memory for logging (64K min)
>>>>
>>>>> What I'm trying to do:
>>>>> Log measurements from a sensor IC that communicates via I2C.
>>>>
>>>> Been there, done that. Used an MSP430 and SD card for the
>>>> logging.
>>>>
>>>> If you want to log to the onboard flash memory, you'll be
>>>> more limited with the MSP430 series.
>>>>
>>>> I use the Imagecraft compiler. About $250. Good technical
>>>> support and prompt response to problems. Another $100 gets
>>>> you the NoIce debugger. Very handy and well supported.
>>>> Unless you alread have a JTAG system, plan on another
>>>> $100 for a USB-JTAG interface for programming and debugging.
>>>>
>>>> I don't know if a total cost of ~$350 counts as cheap for you---
>>>> but I made that back on my first project and put money in
>>>> the bank!
>>>>
>>>> Mark Borgerson
>>>
>>> yep $350 is definitely cheap enough... last commercial compiler i used
>>> was> $1000 ...
>> AVR processors have low power modes and there is a free compiler available.
>>
>> A In System Programmer can be built your self or a cheap one can be
>> purchased from Digikey.
>>
>> WINAVR compiler FREE
>> AVR Studio IDE FREE
>> AVR ISP mk II $35
>>
> Does that include a debugger with the ability to set breakpoints,
> single-step, examine variables and registers, etc. ? I plead
> woeful ignorance as to the components and functionality of
> the AVR Studio.
>
>
> Mark Borgerson
>
>
Yes, the AVR Studio has full debugging and simulation.

For the full debugger, you would need to get the AVR Dragon emulator (
Digikey $51)

The compiler and AVR Studio can be downloaded for free and can be
installed, compiling and simulating with in an hour.

Best deal I have found for micro development.

To give credit to Microchip, MPLAB is also free and comes with a free
compiler.

However, the PIC18 family compiler is a limited code space version
(student).
And the PICKIT3 ISP is a little more expensive ( Digikey $70)

I use both AVR and PIC18 processors in my products.

hamilton





From: hamilton on
On 3/30/2010 8:50 AM, hamilton wrote:
> On 3/30/2010 7:19 AM, Mark Borgerson wrote:
>> In article<hosshf$bnm$1(a)news.eternal-september.org>,
>> hamilton(a)nothere.com says...
>>> On 3/29/2010 10:28 PM, geomet wrote:
>>>> On Mar 30, 1:28 pm, Mark Borgerson<mborger...(a)comcast.net> wrote:
>>>>> In article<d5fc55c3-9ce7-4a38-afa2-
>>>>> 7300a9952...(a)l18g2000prm.googlegroups.com>, ross.g.march...(a)gmail.com
>>>>> says...
>>>>>
>>>>>
>>>>>
>>>>>> Hi All,
>>>>>
>>>>>> I'm after a recommendation for a microcontroller with the following
>>>>>> features:
>>>>>
>>>>>> Needed:
>>>>>> - 3.3V
>>>>>> - in circuit programming
>>>>>> - I2C I/O
>>>>>> - low power sleep mode
>>>>>
>>>>>> Wanted:
>>>>>> - cheap / free compiler
>>>>>> - on board RAM / EEPROM / Flash memory for logging (64K min)
>>>>>
>>>>>> What I'm trying to do:
>>>>>> Log measurements from a sensor IC that communicates via I2C.
>>>>>
>>>>> Been there, done that. Used an MSP430 and SD card for the
>>>>> logging.
>>>>>
>>>>> If you want to log to the onboard flash memory, you'll be
>>>>> more limited with the MSP430 series.
>>>>>
>>>>> I use the Imagecraft compiler. About $250. Good technical
>>>>> support and prompt response to problems. Another $100 gets
>>>>> you the NoIce debugger. Very handy and well supported.
>>>>> Unless you alread have a JTAG system, plan on another
>>>>> $100 for a USB-JTAG interface for programming and debugging.
>>>>>
>>>>> I don't know if a total cost of ~$350 counts as cheap for you---
>>>>> but I made that back on my first project and put money in
>>>>> the bank!
>>>>>
>>>>> Mark Borgerson
>>>>
>>>> yep $350 is definitely cheap enough... last commercial compiler i used
>>>> was> $1000 ...
>>> AVR processors have low power modes and there is a free compiler
>>> available.
>>>
>>> A In System Programmer can be built your self or a cheap one can be
>>> purchased from Digikey.
>>>
>>> WINAVR compiler FREE
>>> AVR Studio IDE FREE
>>> AVR ISP mk II $35
>>>
>> Does that include a debugger with the ability to set breakpoints,
>> single-step, examine variables and registers, etc. ? I plead
>> woeful ignorance as to the components and functionality of
>> the AVR Studio.
>>
>>
>> Mark Borgerson
>>
>>
> Yes, the AVR Studio has full debugging and simulation.
>
> For the full debugger, you would need to get the AVR Dragon emulator (
> Digikey $51)
>
> The compiler and AVR Studio can be downloaded for free and can be
> installed, compiling and simulating with in an hour.
>
> Best deal I have found for micro development.
>
> To give credit to Microchip, MPLAB is also free and comes with a free
> compiler.
>
> However, the PIC18 family compiler is a limited code space version
> (student).
> And the PICKIT3 ISP is a little more expensive ( Digikey $70)
>
> I use both AVR and PIC18 processors in my products.
>
> hamilton
>
>
>
>
>
FYI: http://atmel.com/dyn/products/tools_mcu.asp?family_id=607