This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am new to launch pad... when i got the kit i tried that inbuilt code, the leds glow as required but nothing on the screen of hyper terminal except a list of "??????".
Now, when i am finished trying some other codes for leds and switches, they worked well but when i tried to debug that demo code using IAR, it gives an error while linking........
The error is as mentioned:-
Building configuration: lp - Debug
Updating build tree...
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement C:\Documents and Settings\x0137852\Desktop\launchpad\main.c 232
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment CODE. Unable to place 22 block(s) (0x4b6 byte(s) total) in
0x3c8 byte(s) of memory. The problem occurred while processing the segment placement command "-P(CODE)CODE=FC00-FFDF", where at the
moment of placement the available memory ranges were "CODE:fc18-ffdf"
Error while running Linker
Total number of errors: 1
Total number of warnings: 1
The Compiler Warning[Pa082] is just silly. Ignore it.
The Linker Error[e104] is caused by the size of the code the Compiler generated was to big for the chip you specified in the IAR Project. It looks like you specified a chip with only 1KB of Main Flash while the compiled code needs over 1 KB. Try a chip with at least 2 KB of Main Flash.
The demo program is flaky. And PC interface hardware may have problem too. I do not have any LaunchPad (yet).
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
could you make sure that you have the correct device (G2231) selected? The error indicates that the selected device only has ~0x3C8 or ~1000 bytes of flash, from 0xFC00-0xFFFF. The G2231 has 2KB of flash, which would be sufficient for the firmware.
The default demo application sends the temperature reading in Fahrenheit to the UART. Depending on the device, the room temperature reading could vary in the 60-80 degree range. This, translated to ASCII values, should appear as some kind of alphabet character in HyperTerminal. I would recommend trying the GUI to display the data, or using a more flexible terminal software such as HTerm to display values in Hex/Decimal.
qwertWarning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement C:\Documents and Settings\x0137852\Desktop\launchpad\main.c 232
qwertFailed to fit all segments into specified ranges. Problem discovered in segment CODE. Unable to place 22 block(s) (0x4b6 byte(s) total) in 0x3c8 byte(s) of memory.
qwertKindly suggest me some solution to this.
qwertkindly also help me for the fact why nothing displays on hyperterminal.............?
Enough guessing wihtout any information. If it still doesn't work, you have two choices: seach the forum for already given answers (there are SEVERAL threads about LaunchPad and HyperTerm in this forum) or provide some detailed information.
Time to say goodbye - I don't have the time anymore to read and answer forum posts. See my bio for details.Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.I'm sorry that I can no longer provide help in the forum or by private conversation.
In reply to Jens-Michael Gross:
You overlooked the last part of the original posting. It says: nothing displays on hyperterminal....except a list of "??????"
It is quite possible that the temperature was 63 degrees F.
In reply to old_cow_yellow:
You got it OCY.
Rubbing the chip with your finger will change the reading.
In reply to eltury:
rubbing the chip doesn't show any change of values except that it only indicates a change in the led's glowing as according to the coding and the GUI that is available on net is not working here on my PC.
In reply to Dung Dang:
thank you Dung and everyone for their help.....
It worked and even i could find the ASCII values on the hyper terminal that show the temp to vary between 60 t0 83 degree fahrenheit. But GUI doesn't work, when i try to run the "EXE" file dialog box appears saying could not find the main class and the setup exits.
Anyhow, i have got the values in ASCII so not a big problem....
Now, everyone..... Kindly suggest me some more projects so as to make me play with this small launch pad..... i have done all the led blinking using interrupt, timer , switches...... all that stuff......
kindly suggest me something more good and difficult to play with...
thank you all once again....
In reply to qwert:
Hi qwert,if your looking for 'something more good and difficult to play with' I suggest to have a look at the girls next door! That's more fun than playing around with MCUs *lol*.Have a look at TIs application notes (http://focus.ti.com/mcu/docs/mcuprodtechdoc.tsp?sectionId=95&tabId=1202&familyId=342&techDoc=1&docCategoryId=1&viewType=mostrecent) if you don't have own ideas what to do with an MCU. Maybe this will point you into the right direction.
In reply to aBUGSworstnightmare:
i already had a look at your so called suggestion. Anyhow, thanks for the information.
I am planning to work on a MORSE CODE decoder using this launchpad. Do you have any ideas or suggestions so as to guide me in the RIGHT direction?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.