... I didn't read entirely through your code, but it looks like you've been reading the manual from what I see at the outset. My first worry is that you assume...
42208
zjeriet
Jul 1, 2009 8:51 am
... Thanks guys for the responses. Michael I think you're closest to my problem. Indeed my device throws the IRQ line low when: - it's transmit buffer is empty...
42209
Microbit_P43000
forum_microbit
Jul 1, 2009 10:37 am
... One simpler-ish approach is to use call back functions. The ISR just processes the event, and if necessary sets/activates function pointers to the right ...
42210
Andy Busa
andy.busa@...
Jul 1, 2009 1:10 pm
Hi all, I have been using No optimizations when building. However, I am starting to get tight on code space and using the Medium Optimizations setting has...
42211
Ian Okey
ian_okey
Jul 1, 2009 1:19 pm
I have been using the most aggressive optimisation for code size provided by IAR ever since version 1.26 of the tools. Sometimes debugging gets interesting as...
42212
Microbit_P43000
forum_microbit
Jul 1, 2009 4:34 pm
I second that. All these people that whinge about optimisation wrecking things - as a rule - will be coding incorrectly. I don't profess to be a "C expert",...
42213
Dr. Rana
rghkk1
Jul 1, 2009 7:09 pm
Hi friendz there is nice project of ic tester with microcontroller, plz have a look on this ...
42214
Andy Busa
andy.busa@...
Jul 1, 2009 9:57 pm
Hi all, Using an MSP430F247T. The I2C1 interface is connected to a smart battery TI chip: bq20Z95. The bq20Z95 periodically broadcasts information on the I2C...
42215
anasimtiaz@...
anas@ymail.com
Jul 1, 2009 10:15 pm
Hello everyone, This is a probably a question due to inexperience. I'm using Sham's FAT16 interface code for my device, that is, MSP430F5438. As soon as I run...
42216
Dan Bloomquist
lakeweb
Jul 2, 2009 1:24 am
I soldered my first ssop, 28 pins, today. I may have never gone there if it were not discussed here a while back. I inspected under a 10x microscope and give...
42217
k_jay
link0009@...
Jul 2, 2009 5:25 am
Sry i am not sure if this qn sounds stupid, but from reading the book on ADC10 I realised that there is this ADC10DTC to store ADC readings into arrary....
42218
Ian Okey
ian_okey
Jul 2, 2009 8:00 am
It looks like you have defined your stack size limit to be 200 bytes in the project options. If your main() function declares auto variables that require more...
42219
anasimtiaz
Jul 2, 2009 10:16 am
Thanks Ian. I have left the options to default and haven't tinkered with stack size limit (yet). What do you mean by 'auto' variables? *confused* Since, I get...
42220
Ian Okey
ian_okey
Jul 2, 2009 10:35 am
Auto variables would be those that you declare locally within the function as opposed to the static/global declarations that are out at file scope. If you have...
42221
Richard (UK)
augmentics
Jul 2, 2009 10:50 am
Err ... don't 'local39; variables declared at 'main' level reside in 'static39; space and not on the stack ? It's the variables in functions which are NOT called...
42222
Ian Okey
ian_okey
Jul 2, 2009 11:14 am
I may be wrong but this was the only way that I could see that the OP could get the error that he sees from a straight download. I have looked at my code and...
42223
Ian Okey
ian_okey
Jul 2, 2009 12:41 pm
I just did a test on my code where I declared a 200 byte array local in main(). Passed a pointer to this in a function call. The assembler generated moved...
42224
Paul Curtis
paul_l_curtis
Jul 2, 2009 12:49 pm
Hi, ... the ... Consider the following: void main(void) { char somedata[200]; for (;;) { do_my_application_stuff(somedata); } } Here you will see that...
42225
Ian Okey
ian_okey
Jul 2, 2009 1:02 pm
I agree completely. This is just what I would expect. The question from the OP was about getting a stack overflow error when the code was loaded into the...
42226
thewatts68
Jul 2, 2009 1:44 pm
Hi, I am experiencing problems with 9 bit addressing on the F169. I have set the CHAR and MM bits in the U0CTL register and URXWIE bit in U0RCTL register. When...
42227
Nick Loy
nloy1nloy
Jul 2, 2009 4:58 pm
My experience is mid grade optimization usually works fine, maximum optimization almost never works. Be absolutely sure all dynamic variables are declared...
42228
Richard (UK)
augmentics
Jul 2, 2009 5:20 pm
My rule is : "ship what you test". Do NOT test an instrumented debuild build and then turn on the optimiser 10 minutes before you ship. If this means shipping...
42229
thewatts68
Jul 2, 2009 5:41 pm
... Sorted.... I have Re -RTFM and I have realised that the settings should have been 19200,m,8,1 for the address byte and 19200,s,8,1 for the data byte. Sorry...
42230
Jon Kirwan
jondkirwan
Jul 2, 2009 6:08 pm
... Egads! How could there be any other option??? Do people actually test with one compilation and then just recompile differently for shipping and send out...
42231
Jon Kirwan
jondkirwan
Jul 2, 2009 11:13 pm
... Walter, you are scaring me. A lot. This is a big problem? Such that you have had to make changes in the way you do business to help mitigate it? It's...
42232
bb_stefan
Jul 3, 2009 6:08 am
Update: In the meantime I had contact to TI customer support. They confirm, that there is a "problem" that DTC is not resetted after PUC. So they recommend...
42233
Dr. Rana
rghkk1
Jul 3, 2009 6:40 am
The ADC0808 or ADC0809 are 8 bit and 8 channel analog to digital converters and have very good results in the conversion. they are easy to use and can be used...
42234
shrihari_u
Jul 3, 2009 6:42 am
Hi all, When i execute my project in Code composer studio i get the following error, recently my PC underwent formatting and re-installing of Windows...
42235
Ian Okey
ian_okey
Jul 3, 2009 8:30 am
The idea that you could turn on optimisations just before shipping scares the pants off me. I have always shipped the image that has been through the testing...
42236
Richard (UK)
augmentics
Jul 3, 2009 9:01 am
... We are now drifting toward the dangerous question: "What makes a good software engineer?" Software engineering is one of those professions where maybe only...