part 1 1981 bytes content-type:text/plain; (unknown type 8bit not decoded)
{Quote hidden}>-----Original Message-----
>From:
.....piclist-bouncesKILLspam
@spam@mit.edu [
piclist-bounces
KILLspammit.edu]
>On Behalf Of microsoftwarecontrol
>Sent: 23 March 2007 13:45
>To:
.....piclistKILLspam
.....mit.edu
>Subject: [PIC] "in segment BANK0 (error)"
>
>
>: : Can't find 0x5E words for psect rbss_0 in segment BANK0 (error)
>: : Can't find 0xC words for psect temp in segment COMBANK (error)
>: : Can't find 0x2 words (0x2 withtotal) for psect code_ptr in
>segment BANK0 (er
>ror)
>
>
>
>I saw this kind error for 3 days now. Is there some general guidelines
>to avoid these kind RAM usage error? Any good book?
>
>"0x5E" seems too much. Before, I met much less and easy to
>solve. But this is terrible!
That error does not mean that you need an extra 0x5E words of RAM, it simply means that the rbss_0 psect is 0x5E words and the linker was unable to find an unused, contiguous block of RAM within the required bank of that size. In fact it may be that you only need to free up one or two words to make it fit. Simply move some of your global variables into one of the other banks using the bank1, bank2 or bank3 modifiers (dpending on how many banks your PIC has).
Regards
Mike
=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================
part 2 35 bytes content-type:text/plain; charset="us-ascii"
(decoded 7bit)