EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

regarding ISR

Started by alee...@gmail.com January 28, 2008
can i allocate dynamic memory in ISR ?? If yes wat shd be the
precautions i need to take care ??
aleemakhtar1@gmail.com wrote:
> can i allocate dynamic memory in ISR ?? If yes wat shd be the > precautions i need to take care ??
This is comp.arch.embedded - unless you know what you are doing (and you clearly don't), you shouldn't use dynamic memory at all. You certainly should not allocate any during an ISR. Before posting again, please learn to type correctly.
On Mon, 28 Jan 2008 12:10:37 +0100, David Brown
<david@westcontrol.removethisbit.com> wrote:

>Before posting again, please learn to type correctly.
May I suggest, that for a different view, you read: The Cell Phone: An Anthropology of Communication By Heather A. Horst, Daniel Miller Available from Amazon et al. Stephen -- Stephen Pelc, stephenXXX@mpeforth.com MicroProcessor Engineering Ltd - More Real, Less Time 133 Hill Lane, Southampton SO15 5AF, England tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691 web: http://www.mpeforth.com - free VFX Forth downloads
Stephen Pelc wrote:
> On Mon, 28 Jan 2008 12:10:37 +0100, David Brown > <david@westcontrol.removethisbit.com> wrote: > >> Before posting again, please learn to type correctly. > > May I suggest, that for a different view, you read: > The Cell Phone: An Anthropology of Communication > By Heather A. Horst, Daniel Miller > > Available from Amazon et al. >
Could you summarise this "different view" for me? "An Anthropology of Communication" does sound somewhat interesting, but my things-to-read list is already long enough to last a lifetime... mvh., David

aleemakhtar1@gmail.com wrote:

> can i allocate dynamic memory in ISR ?? If yes wat shd be the > precautions i need to take care ??
Sure. Just don't forget to throw an exeption in the destructor. VLV
On Mon, 28 Jan 2008 14:25:16 +0100, David Brown
<david@westcontrol.removethisbit.com> wrote:

>Could you summarise this "different view" for me? "An Anthropology of >Communication" does sound somewhat interesting, but my things-to-read >list is already long enough to last a lifetime...
In some areas of the world, a mobile phone is an important acquisition, and early internet access will be through it. With the cost of mobile phone access, people learn to compress their costs by compressing the text. Hence, a side effect of SMS-speak appears on the internet. It's a bit like the days when we had 110 baud modems and minimal pocket money. Be nice to your global neighbours! Stephen -- Stephen Pelc, stephenXXX@mpeforth.com MicroProcessor Engineering Ltd - More Real, Less Time 133 Hill Lane, Southampton SO15 5AF, England tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691 web: http://www.mpeforth.com - free VFX Forth downloads
On Jan 28, 4:42=A0am, "aleemakht...@gmail.com" <aleemakht...@gmail.com>
wrote:
> can i allocate dynamic memory in ISR ?? If yes wat shd be the > precautions i need to take care ??
This depends very much on your hardware and software architecture. In general it is a bad idea to allocate memory in an ISR. Since you mentioned no specific platform, I would suggest you NOT do it. Ed
On 2008-01-28, Stephen Pelc <stephenXXX@mpeforth.com> wrote:
> On Mon, 28 Jan 2008 14:25:16 +0100, David Brown ><david@westcontrol.removethisbit.com> wrote: > >>Could you summarise this "different view" for me? "An >>Anthropology of Communication" does sound somewhat interesting, >>but my things-to-read list is already long enough to last a >>lifetime... > > In some areas of the world, a mobile phone is an important > acquisition, and early internet access will be through it. > With the cost of mobile phone access, people learn to > compress their costs by compressing the text.
As long as they know that they're also "compressing" the liklihood that they'll get a useful response. I, for one, don't want to spend my time uncompressing SMS-speak, so I usually just ignore such posts. -- Grant Edwards grante Yow! I want to dress you at up as TALLULAH BANKHEAD and visi.com cover you with VASELINE and WHEAT THINS ...
Stephen Pelc wrote:
> David Brown <david@westcontrol.removethisbit.com> wrote: > >> Before posting again, please learn to type correctly. > > May I suggest, that for a different view, you read: > The Cell Phone: An Anthropology of Communication > By Heather A. Horst, Daniel Miller
Let me point out that Usenet is NOT - repeat NOT - a Cell Phone. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section. -- Posted via a free Usenet account from http://www.teranews.com
Stephen Pelc wrote:
> On Mon, 28 Jan 2008 14:25:16 +0100, David Brown > <david@westcontrol.removethisbit.com> wrote: > >> Could you summarise this "different view" for me? "An Anthropology of >> Communication" does sound somewhat interesting, but my things-to-read >> list is already long enough to last a lifetime... > > In some areas of the world, a mobile phone is an important > acquisition, and early internet access will be through it. > With the cost of mobile phone access, people learn to > compress their costs by compressing the text. > > Hence, a side effect of SMS-speak appears on the internet. > It's a bit like the days when we had 110 baud modems and > minimal pocket money. > > Be nice to your global neighbours! > > Stephen > >
I *am* nice to my global neighbours (I even gave him as good an answer as possible, given the question) - as I am an ex-pat, I am well aware of the difficulty of writing accurately in a second language. However, I don't really buy your idea that SMS-speak is saving costs. You don't pay per letter for SMS messages (at least, I've never heard of such a scheme) - you pay per message. SMS abbreviations are nothing more than laziness. That's fine for teenagers chatting together - it's not appropriate in a newsgroup for professionals and serious amateurs. I'm quite happy to talk with non-native (or native!) English speakers using "imaginative" grammar - but I expect people to use full words or standard newsgroup abbreviations, I expect them to get capitalisation and punctuation roughly correct, and I expect them to use a spell checker (from any half-decent newsreader, or browser for Google groups) to get most words correct. Thus I fairly politely ask posters to communicate in the language of this newsgroup - it's in their interests to learn, since it will help them be more professional, and they'll get answers from Grant Edwards!

The 2024 Embedded Online Conference