Sensitivity to code changes in CW
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
I'm having a heck of a time debugging a problem in which I'm seeing extreme sensitivity to code changes in an application developed under CW8.1. Starting from a fully functional build, the addition of a single new line of application code can sometimes cause the program to immediately exit. My inexperience with the CW debugger and the fact that I'm running from external flash are combining to make this a tough problem to solve.
It appears that the program exits before main is called, i.e. the programs exits during the startup phase. It does not appear to be getting to the newly added line and the behavior is not sensitive to what operations are done on the new line. It does not appear that code size is an issue since I have experienced the problem with various major code elements removed and present. The problem can usually be relieved by making even a minor change in some other area of the program.
The fact that its repeatable, not associated with the details of the particular change, and fixable by making some other change raises the question of some type of alignment issue but I'm interested in comments or ideas to try. I realize that asking for debugging help without many details like this is not bound to net concrete answers but I wonder if anyone has experienced this sort of issue either with CW or any other toolset.
TIA
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/MPC500/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/