JTAG connection for ARM TMS470R1

Started by Thanushan in comp.arch.embedded11 years ago

Dear Sir/Madam, I=92m using j-Link with IAR Embedded Workbench. I=92ve no problem using it with TMS470R1B1M development board. When I tried...

Dear Sir/Madam, I=92m using j-Link with IAR Embedded Workbench. I=92ve no problem using it with TMS470R1B1M development board. When I tried with my own circuit board (TMS470R1A288), having problem with JTAG interface. I don=92t think anything wrong with j-Link, but I thought you might know what might be wrong. When I looked the signals on JTAG pins; there is about 70 TCK cycles with no ...


Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ?

Started by an_anth in comp.arch.embedded4 years ago 7 replies

Hi, I am trying to create a Bootloader for MSP430F1611. Basically I want to separate Bootloader and Application images so that I can upgrade...

Hi, I am trying to create a Bootloader for MSP430F1611. Basically I want to separate Bootloader and Application images so that I can upgrade the Application image on demand. After reading through manuals, I only managed to understand how Code segments can be placed at any desired locations in the memory. However, I didn't find any information on creating two images meant to be placed at differe...


Rewriting putchar() on MSP430F149

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

I think, that only reasonable way to make terminal connection between MSP430F149 PC, is to rewrite low-level fuction putchar() to use USART...

I think, that only reasonable way to make terminal connection between MSP430F149 PC, is to rewrite low-level fuction putchar() to use USART and let upper-level functions like printf() to make all the conversions needed. I'm using IAR and/or mspgcc. How do I replace putchar.o in library files needed, and what are those lib-files in both systems?


lpc2468 usb host lite

Started by poornimaob in comp.arch.embedded9 years ago

hello, I am trying to do usb host lite on lpc2468. i am using IAR compiler. i have downloaded the code from NXP website. it is stucking in...

hello, I am trying to do usb host lite on lpc2468. i am using IAR compiler. i have downloaded the code from NXP website. it is stucking in Host_EnumDev function at while (!HOST_RhscIntr); host init function is as follows: void Host_Init (void) { unsigned int reg; USB_INT32U pinsel; PCONP |= 0x80000000; VICIntEnClr = (1 < < 22);


Need help in redirecting ISR after switching to a new execution image in MSP430

Started by an_anth in comp.arch.embedded4 years ago 2 replies

Hi, My earlier post was: Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ? I am working...

Hi, My earlier post was: Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ? I am working with: Microcontroller: MSP430F1611 IDE: CrossWorks for MSP430 Right now I have managed to create and load the 2 images, namely, Bootloader and Application, in separate memory locations. And I am able to jump to the Application code by using the address of its "main...


AVR Atmega169 help

Started by Phil in comp.arch.embedded16 years ago 9 replies

Can anyone help with a problem I have with a file from: http://www.avrfreaks.com/Tools/showtools.php?ToolID=391 It's in the temperature.c...

Can anyone help with a problem I have with a file from: http://www.avrfreaks.com/Tools/showtools.php?ToolID=391 It's in the temperature.c file and the statement is: Temperature = (Beta / ((log(V_ADC/(V_ref-V_ADC))/log(__E)) + (Beta/T_amb))) - T_zero; But I can find no reference to "__E" in any of the files? I am using ICCAVR and this was written for IAR EWAAVR 2.27b. Anyone help? ...


HC12 (+ Ethernet) development kit ?

Started by Anonymous in comp.arch.embedded13 years ago 11 replies

Hi all, I am planning to develop an embedded application with the Freescale (Motorola) MC9S12DP256 microcontroller. I aleready have a good 10...

Hi all, I am planning to develop an embedded application with the Freescale (Motorola) MC9S12DP256 microcontroller. I aleready have a good 10 year knowledge of HC11/HC12 C/assembly programming, and electronics design, what I need now is a good development kit, including compiler and Backgroud Debug Mode. Question # 1 So what kit should I buy to start with ? I saw IAR Embedded Workbenc...


problem using FILE pointer

Started by abc in comp.arch.embedded11 years ago 54 replies

we are using CC2430 mounted on SRF04EB.we are using IAR workbench to progarm. When we wrote the below code, following errors...

we are using CC2430 mounted on SRF04EB.we are using IAR workbench to progarm. When we wrote the below code, following errors occured: #include #define ecg_size 1250 uint8 ecg[ecg_size]={0}; void main (void) { uint8 j=0; FILE *fp; fp=fopen("C:\Documents and Settings\btp\Desktop\pertest\ecg.txt","r"); while(fp!=EOF){ fscanf(fp,"%d",ecg[j++]); } } Er


AT91 - Execution out of internal SRAM

Started by Dan Rhodes in comp.arch.embedded16 years ago 3 replies

Hi All - I'm trying to set up my code to execute out of internal SRAM on an AT91FR40162 using the IAR EWARM toolset. Does anyone have any...

Hi All - I'm trying to set up my code to execute out of internal SRAM on an AT91FR40162 using the IAR EWARM toolset. Does anyone have any advice on how to do this? If the linker thinks ROM starts at 0x00000000 (which it does prior to remap) and the remap command moves the internal SRAM to address 0x00000000, there should be no problem simply copying the code from flash into sram before...


Doing case conversion in a make file ?

Started by Anton Erasmus in comp.arch.embedded15 years ago 7 replies

Hi, I use gnu make for most of my make file these days. Now I have to change some old code that used the old IAR DOS 8051 tools. The problem...

Hi, I use gnu make for most of my make file these days. Now I have to change some old code that used the old IAR DOS 8051 tools. The problem is that the output file names are all converted to upper case, which causes havoc with the make rules, since all my input files are lower case filenames. Does anyone have a way of getting gnu make to do a case insensitive compare ? Regards A...


AVR32 with Floating Point Unit *is* available

Started by Ulf Samuelsson in comp.arch.embedded9 years ago 4 replies

Mentioned this in a different thread but gave no info on tools. You have to use the IAR compiler right now, but an AVR32 gcc with floating...

Mentioned this in a different thread but gave no info on tools. You have to use the IAR compiler right now, but an AVR32 gcc with floating point support should be available early December 2010 The production revision rev D has Ethernet, but that is not present on the current development kit which has rev C silicon. A kit with Ethernet, should be available early next year. -- Best ...


String array - pointers copied to RAM

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

I am using the IAR C compiler for the Renesas M16C and have in my code a string array declared as const unsigned char *...

I am using the IAR C compiler for the Renesas M16C and have in my code a string array declared as const unsigned char * TestResultString[NUM_LANGUAGES][3] = { { "PASS", "FAIL", "INCOMPLETE" }, }; (NUM_LANGUAGES is currently 1 but will be increased later) When I examine the resultant code it puts the text in code space but the pointers are copied at runtime from code memory ...


OpenOCD, JTAG, ARM

Started by Michael Welle in comp.arch.embedded5 years ago 27 replies

Hello, I have this ARM eval board from IAR/Olimex. Suddenly (what ever that means) it stopped working. I can't connect anymore: ~> openocd...

Hello, I have this ARM eval board from IAR/Olimex. Suddenly (what ever that means) it stopped working. I can't connect anymore: ~> openocd -f /usr/share/openocd/scripts/interface/jlink.cfg -f ~/iar_lpc4088.cfg Open On-Chip Debugger 0.8.0-rc1 (2014-04-13-09:11) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Info : only one tr


MSP430 info memory vs Rowley

Started by larwe in comp.arch.embedded10 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...


ISR problem in MSP430 using IAR

Started by Mike V. in comp.arch.embedded16 years ago 5 replies

When my ISR looks like this, all is fine: #pragma vector=0x00 __interrupt void basic_timer(void) { LPM3_EXIT; /* exit from low power...

When my ISR looks like this, all is fine: #pragma vector=0x00 __interrupt void basic_timer(void) { LPM3_EXIT; /* exit from low power mode 3 */ } However, when I attempt to place ANY extra lines of code in the basic_timer() function, then I get the following error: "Error[e16]: Segment CODE (size: 0x1008 align: 0x1) is too long for segment definition. At least 0x4a more bytes n...


[Q] avr-gcc and calling convention

Started by 42Bastian Schick in comp.arch.embedded15 years ago 3 replies

Hi I am starting to port our RTOS to AVR using avr-gcc ( later surely IAR, ImageCraft). Currently I am confused about the calling...

Hi I am starting to port our RTOS to AVR using avr-gcc ( later surely IAR, ImageCraft). Currently I am confused about the calling convention. The AVR-lib document says: r2-r17 are callee saved r18-27 are caller saved r25-r8 are the parameters left to right Does this mean, I must preserve the parameter values in r17-r8 ? TIA -- 42Bastian Do not email to bastian42@yahoo.com, i...


AVR IAR C Compiler

Started by Vidya in comp.arch.embedded14 years ago 3 replies

How to force the compiler to use stack as parameter passing for a particular function (for recursive functions)? Infact, my function isnt a...

How to force the compiler to use stack as parameter passing for a particular function (for recursive functions)? Infact, my function isnt a recursive one, but has a big parameter list. Due to this, the register values are being tampered, which were set by other functions. SO, i want the compiler to use stack for this particular function for its parameter calling. Thanx in advance


Arm dev-tools for linux ?

Started by Adib Taraben in comp.arch.embedded13 years ago 6 replies

Hello, I am new to ARM. Looking around the embedded specialists (IAR, KEIL) provide Windows tools only. Can someone recommend a Linux based...

Hello, I am new to ARM. Looking around the embedded specialists (IAR, KEIL) provide Windows tools only. Can someone recommend a Linux based tool chain: - IDE with code-editor, compiler, debugger based on JTAG and/or mini Debugger server on target - simulator (do not know if that exists) Is there an ARM7 dev board or device that has an ARM and CPLD connected for a "one fits all" usa...


zero out bitvars area in cstartup

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

Hi there, I'm trying to zero out the bitvars area in a 8052 cpu in the 'cstartup' file. My compiler (IAR) has two "assembler operators"...

Hi there, I'm trying to zero out the bitvars area in a 8052 cpu in the 'cstartup' file. My compiler (IAR) has two "assembler operators" SFB(..) and SFE(..) that gives me the start and end of the "bit addresses" that needs to be cleared. MOV R0,#SFB(BITVARS) SJMP CLEAR_BITVAR_2 CLEAR_BITVAR: CLR R0 INC R0 CLEAR_BITVAR_2: CJNE R0,#SFE(BITVARS),CLEAR_BITVAR Th...


MSP430 -> Release

Started by Baxter in comp.arch.embedded14 years ago 10 replies

Take pity - I'm a newbie at embedded programming I've got a prototype with a MSP430 on a header board. I'm using the IAR compiler and the TI...

Take pity - I'm a newbie at embedded programming I've got a prototype with a MSP430 on a header board. I'm using the IAR compiler and the TI "Flash Emulation Tool". In Debug, the C-Spy debugger downloads a binary file to the MSP430 chip. Compiler Release mode, however, builds a hex/Text file which C-Spy does not handle. How do I download the release program to the MSP430 chip? (or do...