[MSP430] problems with exp, pow and log10

Started by Alex in comp.arch.embedded15 years ago 3 replies

Hi everybody, I'm programming the msp430 using gcc as compiler. I have noted today that some math fuctions, that are included in...

Hi everybody, I'm programming the msp430 using gcc as compiler. I have noted today that some math fuctions, that are included in math.h and libm.a, are actually not supported. For example, if I use the sqrt() function I have no problems but, if I try to use the pow() function, the linker fails to include this one. I'm not so sure, but is it possible that some functions, even...


Microcontroller with 7V supply and I/O tolerance ?

Started by David in comp.arch.embedded15 years ago 25 replies

Hi, Queestion as topic : does anyone here know of a microcontroller that can operate with supply and I/O between 4 and 7 volts ? If I...

Hi, Queestion as topic : does anyone here know of a microcontroller that can operate with supply and I/O between 4 and 7 volts ? If I could have anything I wanted then a SiLabs 8051F320 would be perfect but they can only go to 5.25V. Alternatively almost anything in the TI MSP430 series would do at a pinch but they also only seem to support supply voltages up to 5.5V max. Of course I...


reading assemble code for TI's MSP430

Started by feilip in comp.arch.embedded15 years ago 4 replies

Hi, I was writing some assemble code for TI's MSP430F1101A. However, I mistakenly delete my source code and I only have the hex code from...

Hi, I was writing some assemble code for TI's MSP430F1101A. However, I mistakenly delete my source code and I only have the hex code from my chip. Is there any way that I can reverse my hex code into human readable format? Thanks, feilip


MSP430 Compilers and Tool question

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

I am looking into the MSP430 series of microcontrollers for a project. I have surveyed the tools and I found the following companies make C...

I am looking into the MSP430 series of microcontrollers for a project. I have surveyed the tools and I found the following companies make C compilers for it: 1. Quadravox 2. IAR 3. Rowley & Associates 4. HiTech 5. ICC430 6. MSPGCC (free) Hardware/JTAG debugging toolwise I see: 1. Softbaugh (USBP(E), USBPPRO) 2. Elprotronic (http://www.elprotronic.com/Products.asp) What did y...


MSP430 in-circuit firmware upgrade question

Started by Weiyang Zhou in comp.arch.embedded15 years ago 6 replies

I am trying to implement the in-circuit firmware upgrade feature on a MSP430148 based system. The firmware consists of a boot loader...

I am trying to implement the in-circuit firmware upgrade feature on a MSP430148 based system. The firmware consists of a boot loader and application. boot loader will be able to receive new application firmware over UART and program it into the flash to replace the older application. I have a few questions related to this: 1. Can the boot loader program flash while executing in flash? Or do...


Floating point I/O in GCC for MSP430

Started by Joseph Casey in comp.arch.embedded15 years ago 3 replies

Greetings. I am using GCC v3.3 compiler for MSP430. I can't get uprintf() to work for floating point variables. Here is example code: float...

Greetings. I am using GCC v3.3 compiler for MSP430. I can't get uprintf() to work for floating point variables. Here is example code: float i, k, m; i = 20.125f; k = 20.125F; m = 2.0125E+1; uprintf( serial_out, "%F \r\n", i ); uprintf( serial_out, "%F \r\n", k ); uprintf( serial_out, "%2.2E \r\n", m ); uprintf( serial_out, "%g \r\n", m ); Compiler messages: analog9.c:259: warn...


Illegal opcode found on address 0x0 (msp430)

Started by stuart.h in comp.arch.embedded15 years ago 2 replies

Anyone know what is the problem that happened on my TI MSP430F449 MCU I use the IAR Embedded Workbench as the platform and MSP430 FET440 as...

Anyone know what is the problem that happened on my TI MSP430F449 MCU I use the IAR Embedded Workbench as the platform and MSP430 FET440 as the Flash Emulation tool. I really dont have a clue what happened with the code.. couse I have use a demo code which worked fine for me to toggle the led as follow ORG 01100h ; Program Start ;--------------------------...


Good low cost laptop for embedded work?

Started by Joerg in comp.arch.embedded15 years ago 34 replies

Hello All, JTAG programming requires a little laptop for the lab. Nothing fancy, just a small machine that can dump code into an MSP430 or...

Hello All, JTAG programming requires a little laptop for the lab. Nothing fancy, just a small machine that can dump code into an MSP430 or similar. I don't write much firmware so processor performance for compile runs is no issue. A text editor and maybe schematic entry, too, but that doesn't require a lot of processing power either. Ideally it should have a long battery life. I k...


porting linux on 16 bit controller

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

Is it possible to port linux on 16 bit controller made by texas instruments name "MSP430".How much ram and flash we needed to port linux.

Is it possible to port linux on 16 bit controller made by texas instruments name "MSP430".How much ram and flash we needed to port linux.


Merits of software real time clock.

Started by Joseph Casey in comp.arch.embedded15 years ago 6 replies

Greetings. I have a small process control setup running in a single MSP430 uC. The process has certain scheduled tasks, so I wrote a...

Greetings. I have a small process control setup running in a single MSP430 uC. The process has certain scheduled tasks, so I wrote a clock/calendar into the program using the WDT to generate a 1 sec interrupt. The process is important but not safety critical. Consequences of processor crash are repeat of up to 24 hours work plus consternation from the production supervisor. Is it advis...


Recommendations for MSP430 dev system

Started by on laplace.astro.cornell.edu in comp.arch.embedded15 years ago 12 replies

Hi folks, I've been using 8-bit micros (AVR) programming in assembler, but for a new project I'll be handling a fairly complex...

Hi folks, I've been using 8-bit micros (AVR) programming in assembler, but for a new project I'll be handling a fairly complex interface, and will also need to do some 26 bit math (with mult/div) to calculate coefficients to send to a DSP. I think it's time to move up to 16 bits and ANSI C, and after looking over old posts in this forum the MSP430 is my current (tentative) choice. A...


Writing memory with GDB.

Started by Joseph Casey in comp.arch.embedded15 years ago 1 reply

Greetings. Can I write memory locations with GDB? I have been looking through Debugging With GDB and a few tutorials but can't find anything -...

Greetings. Can I write memory locations with GDB? I have been looking through Debugging With GDB and a few tutorials but can't find anything - only how to read memory and write to variables. I am using GDB 5.1.1 for TI MSP430 in text mode but I expect the commands would be the same as for native debugging. Help appreciated. Joseph Casey.


MSP430 USB-FET programming doesn't work

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

Hello All, This is a topic I discussed with others on the Yahoo forum. Even after heeding their advice such as reloading IAR Kickstart and...

Hello All, This is a topic I discussed with others on the Yahoo forum. Even after heeding their advice such as reloading IAR Kickstart and other things I still can't load any code. The debugger responds: "Failure to initialize device". That's it, no detailed info coming back. Tried it with several targets. With and without target power. I still have to see what the FET probe is doing...


I2C troubleshooting

Started by Patrick in comp.arch.embedded15 years ago 11 replies

Hi, I'm developing an I2C slave device based on a MSP430F169. Another 'F169 is the master (for testing) and every now and then,...

Hi, I'm developing an I2C slave device based on a MSP430F169. Another 'F169 is the master (for testing) and every now and then, the communication breaks down. The master's application is derived from TI app note slaa208 "Interfacing an EEPROM to the MSP430 I2C Module". I'm implementing a I2C bootloader for the slave device, and the control flow goes like this: 1a) Master does "ack-...


frequency detection with MSP430

Started by Lee Thalblum in comp.arch.embedded15 years ago 5 replies

Hi. I'm working with the TI MSP430 and I'm trying to use the Timer_A input to do frequency counting but so far I haven't been able to get...

Hi. I'm working with the TI MSP430 and I'm trying to use the Timer_A input to do frequency counting but so far I haven't been able to get it working. I'm pretty sure I just haven't configured things correctly. Does anyone have any sample code that shows the Timer_A input being used to find the frequency of an input? Thanks. Lee


Problem in Receiving char on MSP430F449

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

Hi, I am having problem in receiving any char using the following code on MSP430-449STK2 board from OLIMEX. This code is as it is taken from...

Hi, I am having problem in receiving any char using the following code on MSP430-449STK2 board from OLIMEX. This code is as it is taken from example "fet440_usart01_19200" given with IAR. I have been struggling with this since ages.... :-( Any help in this matter willbe appreciated. Regards, -mkh #include void main(void) { WDTCTL = WDTPW + WDTHOLD;


Multiple inline Assembler-Commands with IAR Embedded Workbench for MSP430?

Started by Bastian Stahmer in comp.arch.embedded15 years ago 7 replies

Hello! I want to execute multiple inline-assembler-commandos one after another, so i tried it this way: asm("push R4\n" "push...

Hello! I want to execute multiple inline-assembler-commandos one after another, so i tried it this way: asm("push R4\n" "push R4\n"); with the ICC430-Suite everything worked fine but the IAR Embedded Workbench says "Multiple lines not allowed in inline-assembler" Is there a trick how to have more than one instruction in one "asm("");"-Instruction? Thank you in advance, ...


Dividing two registers in MSP430??

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

Haw to divide two registers eg. R8/R7 in MSP430. Do I have to use only hardware multiplier. To multiply you have to: ; 16x16 Unsigned...

Haw to divide two registers eg. R8/R7 in MSP430. Do I have to use only hardware multiplier. To multiply you have to: ; 16x16 Unsigned Multiply MOV R5,&MPY ; Load first operand into appropriate register MOV R6,&OP2 ; Load 2nd operand Result is now available But haw to divide these two registers? Examples would be helpful. Great thanks in advance ...


MSP430 Programming problem using MSPGCC win32 pkg - help!

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

Hi guys - we are using the Win32 MSPGCC package from sourceforge and are having a little trouble programing the microcontroller...

Hi guys - we are using the Win32 MSPGCC package from sourceforge and are having a little trouble programing the microcontroller (MSP430F149). Via our JTAG programmer board we can connect to the micro, read the device identity, Vcc voltage and dump the register values etc ok. However when we try to download the binary program file we have problems. The messages we receive are: Debug win...


Security issue with MSP430?

Started by HP in comp.arch.embedded15 years ago 11 replies

I heard there is a security issue with the MSP430. Anybody able to verify this rumour? Allegedly, if the JTAG is disabled there exists a back...

I heard there is a security issue with the MSP430. Anybody able to verify this rumour? Allegedly, if the JTAG is disabled there exists a back door to download the code and it has something to do with the interrupt vector table. Please help me verify if this is a real issue or not. Need to make quick decision for large volume design, soon. Cannot afford any security issues in this desi...