Show Posts
Pages: [1] 2 3 ... 462
1  Using Arduino / Microcontrollers / Re: Arduino 1.5: CC430 upload code using TI MSP-FET. Is it possible? how to do it? on: September 18, 2014, 01:31:52 am
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.
What makes you think that this is "possible"?  The way I see 1.5.x, it is THEORETICALLY possible to add additional 3rd hardware, but I don't think that this has been done for MSP430, and it is SUBSTANTIAL WORK to make it happen.   As downloaded, 1.5.7 supports AVR-based Arduinos (Uno/etc), and ARM-based arduinos (Due.)  There is no MSP430 compiler, and there are no other tools for MSP430 either.  You would have to add all the tools as well as modifying boards.txt and platforms.txt.

Why not just use Energia?
2  Using Arduino / Microcontrollers / Re: flashing m328p au(smd) with optiboot stk500v2 failure on: September 12, 2014, 06:15:39 pm
Um.  Optiboot implements STK500v1 only, and a tiny subset that has become incompatible with newer versions of avrdude at that.    Try using "-c arduino" instead...

Edit: oops; I guess you're using a separate stk500 programmer (but don't they all run at 115200bps?)  The avdrude output looks like you are failing to communicate with the programmer at all, which shouldn't be dependent on the board being correct.  Do you get different behavior if you simply disconnect the programmer from the target board?
3  Using Arduino / Microcontrollers / Re: Using Serial Port for Programming a MCU on: September 11, 2014, 07:22:57 pm
There HAVE been device programmers that bit-bang the serial modem control signals in ways that permit programming of microcontrollers using just the serial port of a computer and some "junkbox" parts.  The best known is the Ludipipo or JDM programmer for the PIC16F84.  I don't know if any of those were ever modified to support AVR programming.  These have all become less likely to work as the state of the Windows operating system has advanced (identically to those that used parallel ports.)  If you're running DOS or W95, you could investigate further.

Otherwise, it's MUCH easier and perhaps cheaper to get one of those $5 USBASP clones, and forget that your computer even has the native serial port.

4  Community / Bar Sport / Re: Your latest purchase on: September 08, 2014, 11:27:25 pm
ARM Cortex-M3 STM32F103C8T6 STM32 Minimum System Development Board
I'm having an interesting discussion off in another forum, on how you can start working with ARM chips for about $1 worth of hardware and 1 minute of tool download time.  (In assembler.  Ouch.)  Using this particular chip (which you can get bare at about 10/$10 and protoPCBs for about 10/$7) (and numerous pre-built boards on eBay for about $7.)  So I ordered this one to see how it works.  (Even though I have other ARM development boards.)
5  Using Arduino / General Electronics / Re: PCB copper clad Stencils? on: September 08, 2014, 03:04:32 am
The whole "use a marker to apply etch resist" thing did not work very well :-(
6  Development / Other Software Development / Re: Code size with different versions and -flto optimization on: September 08, 2014, 02:57:54 am
I have studied in comparaison the old and the new Ethernet libraries.
It is evident that the memory overhead is due to the new possibility of using DNS & DHCP.

Good job!  And thanks for informing us of the results.
7  General Category / General Discussion / Re: Arduino Newbie on: September 08, 2014, 02:51:40 am
The Arduino Uno is a good starting point.  Most of the publications, help, and community is about the Uno, or boards that are very similar to Uno.  Certain other boards have specific advantages for some class of application, but they are not (IMO) where you should start.
8  Development / Other Software Development / Re: Some new core functions on: September 06, 2014, 06:24:46 pm
So how exactly do you justify wanting "mirrorbyte" to be a core function, instead of sticking it in some obscure bit-twiddling library?  (or FFT library?)
9  Development / Other Software Development / Re: How to change rs-232 port mode to half-duplex? on: September 06, 2014, 06:21:47 pm
I think you need to define exactly what you mean by "half duplex."  Graynomad and I are interpretting the phrase quite differently.  (He's assuming transmit and receive on the same pin/wire.  I'm assuming a device (like a modem) that needs additional signaling on MORE wires...)
10  Development / Other Software Development / Re: How to change rs-232 port mode to half-duplex? on: September 06, 2014, 04:51:38 am
There is no way to "set up" the Arduino serial port as half duplex.  You'd have to implement half-duplex manually, using additional signals to indicate which direction was transmitting (or permitted to transmit.)   I think the softwareserial implementation is inherently limited to WORKING in half duplex (I don't think it can transmit and receive at the same time), but there would be a lot of work to do to get it to be "formal" about such an arrangement in the way that old-style half duplex devices actually implemented.
11  Development / Other Software Development / Re: an easier way of working with arrays on: September 06, 2014, 04:42:53 am
the release of more powerfull Arduino's show that there would be room for some higher-level programming methods.
When the processor gets more powerful, why not use the various standard C++ mechanisms that implement such things?
12  Using Arduino / Microcontrollers / Re: Erasing ATMega328's Arduino Uno Bootloader on: September 06, 2014, 04:19:39 am
Ask CrossRoads.
As a point of politeness, I don't think you (anyone) should normally contact people via private message to ask questions, even if those people are normally very helpful and active in the forums...
13  Using Arduino / Microcontrollers / Re: Erasing ATMega328's Arduino Uno Bootloader on: September 06, 2014, 04:14:53 am
ICSP includes a chip-erase function that will erase the bootloader as well.  Be sure to un-program the BOOTRST fuse as well, so that the chip will being at 0 instead of at the bootloader start address when it resets (a chip erase does NOT reset the fuses.)
The Uno bootloader is only 1.6% of the code space; it's barely worth getting rid of.
14  Using Arduino / Microcontrollers / Re: Trying to run Arduino on an ATmega32M1. Compiles, uploads, but doesn't run. on: September 05, 2014, 11:53:58 pm
   PD, // D9 - PD1 - LED_BUILTIN    // your pins_arduino.h
  DDRB |= (1 << DDB1);   // Crossroad's code

So which pin are you actually looking at?  Give us a package type and an actual pin number, please, so that we can work backward.
(similarly "here's a elf of Crossroads code; I previously checked other pins and they weren't toggling either" is ... vague.  It would be better to have an exact combination of source/object/pin-looked-at that didn't work.)

Hmm.  Are you sure that you have a 32m1?  I see (and am surprised) that the atmega32m1 is not-at-all like an atmega32a  (grr.)
(it is, however, similar to the 328p.)
15  Using Arduino / Microcontrollers / Re: Trying to run Arduino on an ATmega32M1. Compiles, uploads, but doesn't run. on: September 05, 2014, 08:01:37 pm
Turn your .elf file into a listing, and post that somewhere?
Pages: [1] 2 3 ... 462