piclist 2007\03\01\112943a >
Thread: - ?? - error - vprintf cannot fit section
face picon face BY : Alan B. Pearce email (remove spam text)

>I wonder if that's a silicon "bug" or a silicon "feature." I suspect the
>compiler wants to put everything in one source file on one page of memory.
>> I was getting out of memory errors using Hi-Tech PICC-18 with an 18F452
>> at around 50% ROM usage.
>> Hi-Tech support told me it was due to a bug in the silicon and the fix
>> was to split my program into multiple files which could be linked
>> separately.

Yes, I couldn't quite see how it could be a "silicon bug". It sounded to me
more like a lack of ability for the compiler to move things around.

I wonder if it is related to the memory model being used, and doing modular
compiling and linking works around it?

<0f4101c75c1e$ce2c9130$1979f682@space.rl.ac.uk> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) - ?? - error - vprintf cannot fit section

month overview.

new search...