Re: [uCsimm] LCD question and update

From: Vladimir Gurevich (vgurevic@cisco.com)
Date: Thu Apr 27 2000 - 13:00:55 EDT


hello Carl,

"Carl W. Price" wrote:

> Now for my question. I am trying to compile a program to display a
> 4-bit 320x240 image on the display. I have created the image, converted
> to a char array, and am trying to compile. I get the linking error below,
>
> /opt/uClinux/m68k-pic-coff/bin/gld: region a5world is full (LCD section
> .data)

a5world refers to .data+.bss area, which are addressed relatively to A5
register in order to make code position-independent. The total size of
.bss+.data should not exceeed 64K.

What happened in your case, is that you probably placed your image in
.data (as an initialized array) and thus broke the limit.

I would suggest you keep it in a separate file and then load as needed.
Remember, that this 64K limit does not apply to the memory you get by
using malloc() and friends.

Happy hacking,
Vladimir

-- 
+------------------+------------------------+--------------------------+
                   |      |          |      | 
                   |     :|:        :|:     | phone         408-525-9707
Vladimir Gurevich  |    :|||:      :|||:    | fax           408-525-9707
Software Engineer  | .:|||||||:..:|||||||:. |
      RABU         |      CiscoSystems      | e-mail  vgurevic@cisco.com
                   |                        | location SJ-7-2 Cube D1-12
                   |  http://www.cisco.com  | 
+------------------+------------------------+--------------------------+
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:35 EST