EmbeddedRelated.com

mixing C and assembly

Started by Lax in comp.arch.embedded16 years ago 134 replies

Are there any situations where programming an embedded processor "requires" at least some assembly code? How about for AVR, MSP430, 68HC11,...

Are there any situations where programming an embedded processor "requires" at least some assembly code? How about for AVR, MSP430, 68HC11, 8051(Atmel)? Can these 4 microcontrollers be programmed fully in C without touching assembly (even interrupts and etc.)?


msp430 gnu debugger and usb support

Started by amerdsp in comp.arch.embedded16 years ago 2 replies

Greetings, I am trying to move to gcc/eclipse to get around the size limit in the free IAR and Code composer. However, I read online that...

Greetings, I am trying to move to gcc/eclipse to get around the size limit in the free IAR and Code composer. However, I read online that only the parallel port is supported in gnu debugger gdbproxy. Is that true or am I missing something? Thank you, -- A


Bug in latest IAR MSP430 compiler optimization???

Started by larwe in comp.arch.embedded16 years ago 41 replies

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with...

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with optimizations=high,size? IAR C/C++ Compiler for MSP430 V4.10E/W32 [Kickstart] (4.10.5.3) C:\Program Files\IAR Systems\Embedded Workbench 5.0\430\bin\icc430.exe 2/15/2008 11:03:06 AM, 15015936 bytes I have a test case that demos the problem perfect...


Texas Instruments Announces Lowest Power MSP430 Family

Started by Bill Giovino in comp.arch.embedded16 years ago 2 replies

Texas Instruments has announced a 25MHz, 160uA/MHz MSP430 family. http://microcontroller.com/news/Texas_Instruments_MSP430_5xx.asp The...

Texas Instruments has announced a 25MHz, 160uA/MHz MSP430 family. http://microcontroller.com/news/Texas_Instruments_MSP430_5xx.asp The article includes TI's latest roadmap for this new MSP430F5xx family. The low power specs on this are pretty impressive. - Bill Giovino Executive Editor http://Microcontroller.com


code for SPI test for MSP430

Started by Anonymous in comp.arch.embedded16 years ago 2 replies

can anybody guide me to write SPI communication test code for MSP430?

can anybody guide me to write SPI communication test code for MSP430?


problems while mixing C with asm

Started by leo in comp.arch.embedded16 years ago 4 replies

Hi, I'm newbie on the msp430 and I need to embed some asm in my C code. I'm working w/ the msp430F2418 and using the IAR Workbench as...

Hi, I'm newbie on the msp430 and I need to embed some asm in my C code. I'm working w/ the msp430F2418 and using the IAR Workbench as a developing environment. I've spent some time googling and looking at some forum discussions. Currently, I've already tried some ideas that i saw on the web: e.g. to break my code into multiples as("instr") lines, to use the #pragma asm #pragma endasm,.....


internet capable PIC

Started by 2Penny in comp.arch.embedded16 years ago 1 reply

Hey Folks - I thought I saw a PIC 18 processor that had been particularly groomed for a role providing internet capability...

Hey Folks - I thought I saw a PIC 18 processor that had been particularly groomed for a role providing internet capability for small home appliances and embedded systems. Is this a real processor ? If it's just some software I can put onto any given processor then I imagine that a flavor of the MSP430 might work well. Any thoughts? 2Pe...


msp430 for low power application

Started by cellmania in comp.arch.embedded15 years ago 12 replies

i am working on a project on wireless sensors....i need a processor where the clock frequency can be varied during RUN-TIME so as use in...

i am working on a project on wireless sensors....i need a processor where the clock frequency can be varied during RUN-TIME so as use in low-power applications....but it must not be as low as is the case in the sleep mode. i found that the option of variable frequency is not available in avr controllers on which i have worked on till now...i was thinking about msp430 series but i cannot find a ...


Disadvantages of MSP430 relative to AVR and PIC?

Started by MC in comp.arch.embedded15 years ago 44 replies

At risk of starting a religious war... Why should I *not* prefer the MSP430 to the AVR and PIC? Tell me its weak points.

At risk of starting a religious war... Why should I *not* prefer the MSP430 to the AVR and PIC? Tell me its weak points.


ekg using ti app slaa280a

Started by deckatina in comp.arch.embedded15 years ago

has anyone tried TI application slaa280a? (heart rate/ekg). I had a vendor build this board from the spec. - but i can not get the...

has anyone tried TI application slaa280a? (heart rate/ekg). I had a vendor build this board from the spec. - but i can not get the app to display the heart rate or display the ekg wave form. I'm new to the msp430. 1. the software has c and assember code (software from the TI app.) 2. I see no error when the program loads ("project", "debug", "go") 3. With voltmeter I can see the voltage chan...


The average power consumption of the MSP430

Started by pasha in comp.arch.embedded15 years ago 7 replies

Hi all, I hope that you'll be fine. I am pretty new to the embedded systems. We are planning to use MSP430 for our prototype SoC for WSN. I...

Hi all, I hope that you'll be fine. I am pretty new to the embedded systems. We are planning to use MSP430 for our prototype SoC for WSN. I am not sure about its average power consumption. Does someone has any figures regarding the power consumption of MSP430 or know how to calculate/estimate it? Thanks in advance, Adeel Pasha


RTOS scheduler development

Started by brOS in comp.arch.embedded15 years ago 5 replies

Dear all, I am new here, and I would like to ask something about implementing fixed-priority preemptive scheduling(rate monotonic aproach) on...

Dear all, I am new here, and I would like to ask something about implementing fixed-priority preemptive scheduling(rate monotonic aproach) on MSP430 family. Can anyone tell me what is usual way to implement call of scheduler's dispatcher? For example if there are two tasks, high priority HPTask and low LPTask. Assume that LPTask is active and in the middle of its execution HPTask becomes r...


switching context on MSP430

Started by brOS in comp.arch.embedded15 years ago 18 replies

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I...

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I have system tick ISR which is handling ticks. And here is the thing...When I take a look in disassembly, it says that before msp430 enters system tick ISR it pushes registers R15,R14,R13 and R12(and of course PC and SR) on stack. So I used that for context...


switching context on MSP430

Started by brOS in comp.arch.embedded15 years ago 1 reply

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I...

Hi all, I am working on a small RTOS for MSP430. It should just provide scheduler with ability to switch and change context.... Of course I have system tick ISR which is handling ticks. And here is the thing...When I take a look in disassembly, it says that before msp430 enters system tick ISR it pushes registers R15,R14,R13 and R12(and of course PC and SR) on stack. So I used that for context...


MSP430 info memory vs Rowley

Started by larwe in comp.arch.embedded15 years ago 9 replies

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is...

I'm trying to locate a structure in MSP430 info memory using Rowley CrossWorks (a preinitialized structure, so it appears in the .txt file). Is there a pragma or other directive similar to IAR's that will directly place my structure in info memory without having to play with custom segment names and special linker control info? ISTR having done this in the past but cannot remember how to do i...


Micro SD card / MSP430 interface: write problem

Started by Christophe Braillon in comp.arch.embedded13 years ago 8 replies

Hi everyone, I have interfaced a Micro SD card to a MSP430 microcontroller using the SPI mode. Everything worked perfectly fine but I...

Hi everyone, I have interfaced a Micro SD card to a MSP430 microcontroller using the SPI mode. Everything worked perfectly fine but I recently had problems when writing too often into my files. Here is my setup. As I said the card (SDHC 4Go) is directly connected to the microcontroller via its USCI (SPI) peripheral. I have written the basic SD access (register read / write, basically...


TI E-tech Day November 17 - Live Webcasts and Q&A on MSP430, C2000, Stellaris

Started by Anonymous in comp.arch.embedded14 years ago

eTech Day online Community & Training event on November 17, 2009 Time:10:00AM Tuesday, November 17th Location:Online Register here:...

eTech Day online Community & Training event on November 17, 2009 Time:10:00AM Tuesday, November 17th Location:Online Register here: http://bit.ly/TI_E-TechDay Register in advance to test your browsers and to participate in the forums and IRC chat channels today. Join the TI E2E online community for a full day of interactive problem solv ing: "Office Hours" with TI experts ready on-...


IAR MSP430 compiler problem

Started by brOS in comp.arch.embedded14 years ago 28 replies

Dear all, Does anybody knows how to force compiler to use call instruction instead of br(branch)for disassembling function call? It is...

Dear all, Does anybody knows how to force compiler to use call instruction instead of br(branch)for disassembling function call? It is extremely important for me to specific function is disassembled using call instead of brunch, as compiler always does. Please help..... --------------------------------------- This message was sent using the comp.arch.embedded web interface on...


Buy MSP430F169 trainingboard , where ?

Started by werty in comp.arch.embedded18 years ago 1 reply

Anyone know where to buy a cheap T.I. 430 experimentors board ? BTW I dont work for T.I. but the 430 has the best instruction set ...

Anyone know where to buy a cheap T.I. 430 experimentors board ? BTW I dont work for T.I. but the 430 has the best instruction set of any CPU . It's much easier to write a "NewForth" for it .


Crossworks vs. ez430 USB?

Started by larwe in comp.arch.embedded16 years ago 4 replies

I've got a strange problem. I'm trying to move some code over from IAR Kickstart (where I developed it) to Crossworks (where I need to show it...

I've got a strange problem. I'm trying to move some code over from IAR Kickstart (where I developed it) to Crossworks (where I need to show it working, for various reasons). The debugger I'm using is the ez430; the target is a TI MSP430F2012 target board soldered to a larger circuit. I can build fine, but if I click "build and debug" I get various problems; either it pretends to run but reall...