Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Messages

Browse messages

Page 35 of 329 · 16407 messages matched

LPC C Register Setup

2006-03-30 by George M. Gallant, Jr.

I would like at add code written in C (GCC) to an existing program written in assembler. Currently, only register sp is setup. I notice registers with names

Thread view Attachments: 0

Re: [lpc2000] Re: For C Experts

2006-03-30 by Robert Adsett

... Actually, I thought (still think) the intent is pretty obvious. Take whatever starts at buf[i] and put it into an int. That can be implemented pretty

Thread view Attachments: 0

web server for embedded artist board

2006-03-30 by Sebastien Jacquemard

Hello, I search a free web server with OS port for the embedded artist LPC2138 10M ethernet board or something easy to adapt to this board. It s for a

Thread view Attachments: 0

Re: [lpc2000] Daisy chain JTAGs

2006-03-30 by Tom Walsh

... No. Only if you run adaptive clocking do you need the RTCK signal. But, if you run at a fixed clocking rate you don t need it. I do think that this may

Thread view Attachments: 0

Re: For C Experts

2006-03-30 by fordp2002

By casting buf to an int you have instructed the compiler NOT to treat it as a byte. It is beholden on you the software engineer to ensure whatever you cast is

Thread view Attachments: 0

Re: [lpc2000] Re: For C Experts

2006-03-30 by K B Shah-lascaux

My 2 cents... Many compiler have #pragma pack.... (I have seen this in Visual Studio --- as well as in IAR compiler) directive Specially used with

Thread view Attachments: 0

Re: [lpc2000] For C Experts

2006-03-30 by mfrazier@governors-america.com

The array x[4] has only four elements they are x[0] x[1] x[2] x[3] attempting to write something to x[4] is not going into the array but writing outside of the

Thread view Attachments: 0

Re: LIN on LPC2129

2006-03-30 by alberto

Hy guys, thanks to all ones.I m thinking to use LPC2129 as LIN master and CANopen gateway, and a PIC16F76 as LIN slave on little keyboard module. My problem is

Thread view Attachments: 0

RE: [lpc2000] Re: For C Experts

2006-03-30 by Ed Koffeman

If your compiler has the __packed keyword then you could use: __packed int *ip; ... ip = (__packed int *)&buf[i]; and the compiler should know to treat the

Thread view Attachments: 0

Re: [lpc2000] Re: For C Experts

2006-03-30 by Geoffrey Wang

I believe he s saying that the compiler may/may not be intelligent enough to follow the logic and perform byte-wise transfers. I had the same issue with the

Thread view Attachments: 0

Re: For C Experts

2006-03-30 by brendanmurphy37

It s not at all clear what the actual intent of the programmer is for this: what s actually coded is a long way from memcpy, regardless of any assumptions you

Thread view Attachments: 0

Re: [lpc2000] For C Experts

2006-03-30 by Sten

... Hello Dave, I m not really sure what you expect from this piece of code, but I think your try to copy these 8 bytes in 4 half-word (16bit) operations in a

Thread view Attachments: 0

Re: [lpc2000] For C Experts

2006-03-30 by Robert Adsett

... The short answer is that the code is broken. The only semi-portable way to do this is memcpy. There is no requirement to provide a warning in this case

Thread view Attachments: 0

Re: How to locate a 'const' in flash

2006-03-30 by ian.scanlon

... Check the linker file (.xcl). You may be linking the project to load in RAM instead of flash. There are seperate linker files for RAM and FLASH for most

Thread view Attachments: 0

Re: For C Experts

2006-03-30 by brendanmurphy37

When you say I believe that the compiler has enough information to use byte aligned transfers , are you refering to the line: x[4] = *ip If so, why do you

Thread view Attachments: 0

How to locate a 'const' in flash

2006-03-30 by sam_pr

I m using the EWARM 431 When trying: const int a = 30; it locates a in ram. I couldn t find an example where it is defined as a flash const. Please help.

Thread view Attachments: 0

Re: [lpc2000] For C Experts

2006-03-30 by Robert Bacs

I guess you used an out of bound index for array x :) x[4] - array with four elements So x[3] is the last element, and x[4] will be overwrite the stack or some

Thread view Attachments: 0

For C Experts

2006-03-30 by dsidlauskas1

Consider the following code: ============================ char buf[]={1,2,3,4,5,6,7,8}; int *ip, x[4]; for (i=0; i

Thread view Attachments: 0

Speech Recognition Software

2006-03-30 by dsidlauskas1

I m looking for some simple speech recognition software to run on a 2138. It only need recognize imdividualy spoken numbers and letters, and a few words such

Thread view Attachments: 0

Re: Flashless LPC2210, flash download?

2006-03-30 by fordp2002

You need to :- 1) Get Jim Lynch s latest tutorial. Search elsewhere in this group for where to get it from. Make sure it is the version based on OpenOCD and

Thread view Attachments: 0

Re: Flashless LPC2210, flash download?

2006-03-30 by volunteer_sysu

Dominic, I still meet a problem when trying to run the version you recommended. The problem is where I should run this version, cygwin, DOS, or just double

Thread view Attachments: 0

re: auto baud for HID application

2006-03-30 by Jayasooriah

Paul, your fixation with the word confused aside, in answer to your question have a look at: http://en.wikipedia.org/wiki/HID in the context of the

Thread view Attachments: 0

Re: Flashless LPC2210, flash download?

2006-03-30 by volunteer_sysu

The errors are as follows. I have no idea about what happend. I think I downloaded the latest version. Best Regards Kevin if gcc -DHAVE_CONFIG_H -I. -I.

Thread view Attachments: 0

Re: Flashless LPC2210, flash download?

2006-03-30 by volunteer_sysu

Sorry to ask so many question. One more. ^_^ Does the openOCD support flashless LPCs? Thank you indeed! ... and execute ... the free ... has already ... sure

Thread view Attachments: 0

Re: Flashless LPC2210, flash download?

2006-03-30 by volunteer_sysu

I have downloaded the openOCD from the website you gave to me, however, when I tried to make the Makefile, errors always occured. It happened both in Linux and

Thread view Attachments: 0

Re: Flashless LPC2210, flash download?

2006-03-30 by volunteer_sysu

Thank Dominic, I heard that first I could write my program to the on- chip RAM via ISP, then I could used the pre-downloaded program to download my bootloader

Thread view Attachments: 0

Flashless LPC2210, flash download?

2006-03-30 by volunteer_sysu

I am beginner in LPC2000. I want to ask some questions. Thank you! 1. I wonder whether there s any free software that can be used to download programs to the

Thread view Attachments: 0

Re: LIN on LPC2129

2006-03-30 by fordp2002

Another way to generate non uart style serail data streams is to use a timer and a compare unit. This makes a hardware assisted bit bang type system. You

Thread view Attachments: 0

Re: LIN on LPC2129

2006-03-30 by rtstofer

... implement ... baudrate in ... eight-bit long ... prescaler ... Haven t ... this with ... protocol, when ... Remember ... Probably ... That is a very clever

Thread view Attachments: 0

Re: [lpc2000] LIN on LPC2129

2006-03-30 by Tennessee Carmel-Veilleux

... You are absolutely right. I am sorry about that :) I remembered the break character being a toggling 12 bits + start, but I was wrong. The break is 12 bits

Thread view Attachments: 0

Re: ARM halfword bugs?

2006-03-30 by kendwyer

Hi, I have seen a similar issue before on another ARM derive that turned out not to be a bug rather an alignment problem. What is the address used in R1 (STRH

Thread view Attachments: 0

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.