Saturday, December 8, 2007

Re: [piclist] Need Help Urgently - Mysterious Problem after adding Function

sounds like you may have something declared as byte and using it as word so
it writes over the next memory location.
Just a first guess

----- Original Message -----
From: "Roger_4U" <samelec@caribsurf.com>
To: <piclist@yahoogroups.com>
Sent: Saturday, December 08, 2007 7:03 PM
Subject: [piclist] Need Help Urgently - Mysterious Problem after adding
Function

> Hi Folks:
>
> I am up a creek, I have been working on some code for over a year and
> I am totally stumped with this last problem:
>
> Device: Pic16F88
> Chip OSC: 20Mhz
> Programmer: MeLabs USB Programmer
> Code is spread across two codepages. i.e Linker is being used.
> Number of Software Modules: 4 [3 in CodePage0 and 1 in CodePage1]
> Assembler/Complier: MPLAB IDE v8.00
> Serial speed: 57.6Kbps
>
> My problem is that the circuit stops working properly once I add a new
> sub-program (function) to CodePage0; and what is totally baffling is
> that even if I comment out the call in the main program to this
> function, the problem still persists. When I reduce the size of the
> function by say 7 statements, the serial portion, a LED switch, and
> the blinking LED, work as expected. However when I have all the code
> present, everything seems to be still working except the serial part
> of the circuit which starts sending out mixed up data.
>
> I have changed the chip, upgraded to the latest IDE, and still the
> same problem.
>
> What is going on here? PLEASE HELP - I feel like jumping ship and
> starting over from scratch with a different platform (e.g AVR).
>
>
>
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions
> Yahoo! Groups Links
>
>
>
>

__._,_.___
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
Recent Activity
Visit Your Group
Yahoo! News

Odd News

You won't believe

it, but it's true

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Women of Curves

on Yahoo! Groups

A positive group

to discuss Curves.

.

__,_._,___

No comments: