Show Posts
Pages: [1] 2
1  Development / Other Hardware Development / Re: Anyone tried ST Nucleo boards? on: September 19, 2014, 07:43:35 pm
Quote
So why hasn't anyone ported an arduino core for these?
...
Then there's a support issue.  Writing some arduino cores is great fun.  Being the brunt of every bug complaint for the next decade... not so much.
So true.
2  Development / Other Hardware Development / Re: Anyone tried ST Nucleo boards? on: September 19, 2014, 06:12:56 pm
(repo for LPC-Arduino here https://github.com/bobc/OpenLasp - I hope to be adding some other NXP chips)
I did find that., neat!I like those lpc8xx .. although I find the 810 a wee bit small.  The LPC1114-DIP 28 seems like it would be a good candidate for an Arduino port.
3  Development / Other Hardware Development / Re: Anyone tried ST Nucleo boards? on: September 19, 2014, 06:10:08 pm
With the Arduino 1.5 IDE, it seems like the flood gates should have opened. I've personally done an msp430 port for some chips that aren't supported by the Energia core (the msp430fr5738). Although, I did it mainly to see how easy it would be.  I think it is easy.  I was able to get it going in a couple of hours.

It seems that the Arduino team has broadened their horizons and aren't as non-AVR angry as they used to be.  They won the API wars it seems they should be porting left and right to seal the deal.  The NUCLEO boards seem like a natural fit.  I see they provide mbed support.  With the Arduino headers I wonder why they just didn't go the final step.

-rick
4  Development / Other Hardware Development / Re: Anyone tried ST Nucleo boards? on: September 19, 2014, 05:12:28 pm
So why hasn't anyone ported an arduino core for these?
5  Using Arduino / Microcontrollers / Re: Arduino 1.5: CC430 upload code using TI MSP-FET. Is it possible? how to do it? on: September 19, 2014, 02:28:21 pm
... and that shouldn't change the compiler or upload tools at all.

The panstamp comes with a custom pre-installed bootloader. You aren't going to find that on the other board.  The normal way to load msp430 code on a chip uses SBW (Spy Bi Wire) the programming and debug protocol that works hand-in-hand with the mspdebug program.   The upload tools and configuration will have to change a lot. First off you will need a hardware programmer such as an FET-UIF430. an MSP430-FET or another recent launchpad. The programming pins of the LP or FET will have to be jumpered to the Test / Reset / GND pins of your radio board. Then you will have to configure the 1.5 IDE to use the mspdebug to program it using SBW.  Or you could port the panstamp bootloader firmware to your board. and then use the same app as panstamp.
6  Using Arduino / Microcontrollers / Re: Arduino 1.5: CC430 upload code using TI MSP-FET. Is it possible? how to do it? on: September 19, 2014, 08:11:21 am
Any clue will be appreciated

You want to use mspdebug to program the board instead of avrdude or the bootloader used by panstamp.
7  Using Arduino / Microcontrollers / Re: Arduino 1.5: CC430 upload code using TI MSP-FET. Is it possible? how to do it? on: September 19, 2014, 08:02:27 am
Quote
I have a board with a TI msp430. I want to use Arduino with it. I have seen that this is possible with the new Arduino 1.5.
Why not just use Energia?  http://energia.nu/

The panstamp has two hardware platforms, an AVR based one and an msp430 based one.  The Energia IDE is never going to integrate the avr tools into their product.  Energia uses the 1.x Arduino IDE and all the toolchain modifications are baked into the Java IDE.  Using the 1.5 Arduino IDE makes it pretty simple to change toolchains without having to recompile the Java IDE.
8  Using Arduino / Microcontrollers / Re: Arduino as an ISP for Texas Instruments Microcontroller? on: March 20, 2013, 10:53:53 pm
A couple of times, I have seen complaints that programming the Texas instruments with a launchpad has the complication of doing it all in ASM, which is a very cryptic language, unlike C.

People have gotten around this by using Energia, a AVR-Style compiler designed for the launchpad.

I would like to know: Is it possible to use the Arduino board as an in-system-programmer for JUST the Texas Instruments MCU?
I want to be able to program an MSP430, like like I would program an external Atmel Chip.

There are many c compiler option for the msp430. CCS Texas Instruments C/C++ compiler, IAR has a commercial compiler and then there is the free msp430-gcc c/c++ compiler. TI provides samples in C.  Energia is an Arduino port of the msp430. It implements an Arduino API, most straight Arduino code just works.  The launchpad device https://estore.ti.com/MSP-EXP430G2-MSP430-LaunchPad-Value-Line-Development-kit-P2031.aspx is $10. It is equivalent to buying an AVR dragon. It is both a programmer and a hw debugger.  There is no reason to use asm unless you want to.  

If you want to go into the larger chips. There are many other options. All of them can be programmed in C or C++.

There is no reason to use an ISP with the msp430 chips. You can get a real hardware debugger / programmer usb device for less than the cost of an FTDI module.

TI code examples for the msp430g2553 http://www.ti.com/product/msp430g2553#softTool
Energia forum: http://forum.43oh.com/forum/28-energia/
Energia http://energia.nu
Fabooh http://github.com/RickKimball/msp430_code/


-rick
9  Using Arduino / Microcontrollers / Re: TI MSP430 LaunchPad experiences on: April 12, 2012, 04:58:58 am
Texas Instruments estore.ti.com is the only way to go when it comes to a Launchpad.  It only costs $4.30 and has free shipping.

-rick
10  Using Arduino / Microcontrollers / Re: TI MSP430 LaunchPad experiences on: April 11, 2012, 11:25:07 pm
You might want to check out Energia (Arduino IDE) for msp430

http://www.43oh.com/forum/viewtopic.php?f=24&t=1722#p18891

-rick
11  Using Arduino / Project Guidance / Re: Suggestions for record audio and random audio playback from recordings. on: July 12, 2011, 09:34:07 am
Maybe this app note would be helpful:

http://www.atmel.com/dyn/resources/prod_documents/doc1456.pdf

-rick
12  Using Arduino / Microcontrollers / Re: How does arduino handle usart with 16MHz? on: April 13, 2011, 08:21:00 pm
Well, I was actually working on a project with attiny2313 which will use usart communications!

So if I use a 16 Mhz Crystal or even 8Mhz it wont be much of a problem ? [will save me 40 km bus ride to the nearest electronic bazaar for those magic number crystals]

You should take a look at the Atmel AppNote AVR053. It describes how you can adjust the internal clock and tune it by changing the OSCCAL register. If you want to run with the standard UART rates up to 115200, tune your OSCCAL value so that your clock runs at 7.3728 MHZ. You should be able to run without a crystal using any of the standard baud rates.  The internal clock on most chips is adjustable from 7.3 - 8.1 MHZ.

Link:  http://www.atmel.com/dyn/resources/prod_documents/doc2555.pdf

-rick
13  Using Arduino / Microcontrollers / Re: Arduino Tiny on: March 05, 2011, 06:06:53 pm
For the life of me, I can't get this to work.

I've now done a fresh reinstall of the Arduino IDE three times now, and whatever I try, I always end up with "avrdude: stk500_getsync(): not in sync: resp=0x15".


I had the same problem.  This posting http://laclefyoshi.blogspot.com/2011/01/note-of-caution-for-arduino-isp.html
got me going:

avrdude: stk500_getsync(): not in sync: resp=0x15

This error is because of Auto Reset capabilities of Arduino. This document: MegaISP gave me some details. This error occurs on Mac or Linux. For using Arduino as ISP, I need to disable Auto Reset capabilities. Therefore I inserted 110 ohms (330 ohms / 3) resistor between Reset-pin and 5V-pin. This resistor should be above 110 ohms and below 124 in accordance with this document: DisablingAutoResetOnSerialConnection.

I tried to burn Arduino bootloader onth ATmega 8 again and succeeded in it. I connected 19 pin of ATmega 8 and GND with a LED and it flashed. This behavior proves buring Arduino bootloader in accordance with this document: Bootloader.

14  Community / Bar Sport / Re: Your latest purchase on: February 21, 2011, 01:45:30 pm
(5) ATMEGA1284P-PU chips from http://avnetexpress.avnet.com/ only 5.82 per chip !  Why
so inexpensive? I don't know, but I couldn't resist.

My plan is to experiment using SPI and I2C to make some stepper driver boards.  These things are
40 pin dips so they are easy to work with on a breadboard.  128K of program flash, 16k of SRAM and
32 I/O pins. 
15  Forum 2005-2010 (read only) / Development / Re: working with eclipse and arduino libraries problem on: August 20, 2010, 11:37:28 am
http://www.arduino.cc/playground/Code/Eclipse
Pages: [1] 2