Hi there, Jason. I *really* don't want to be rude, but Google *what*? I think that it was really obvious that the original poster has=20 little C experience. He had what I think is an entirely valid=20 question from those people whom have more experience. Constructive criticism is *very* welcome here. You provided what I=20 think is NOT helpful criticism, followed by an excellent reason for=20 the problem that he was having. Please don't take offense. dwayne At 03:37 PM 1/27/2014, Jason White wrote: >Please google it next time... the device your compiling for has too >little memory to fit the bootloader ... > hint: check your compile settings > >On Mon, Jan 27, 2014 at 2:50 PM, John Coppens wrote: > > On Mon, 27 Jan 2014 18:36:44 +0000 > > Rupert Swarbrick wrote: > > > >> Is this a wrinkle about anonymous unions? I vaguely remember they're n= ot > >> allowed in C99, but they are allowed with gnu99 or C11. Maybe the > >> compiler is getting confused by them? > > > > I don't think so. > > > > Anyway, quite by chance, I detected that, not by the projects' > > doing, a (Microchip) file gets included called 'GenericTypedefs.h'. > > This file redefines WORD and POINTER, and, for some deep reason, > > supersedes the typedefs.h file in the project which defines WORD as a > > union, as was expected. > > > > GenericTypedefs.h redefines WORD as a short, non-union, struct. This > > caused the problem. > > > > Now I have another - unrelated - problem: > > > > usbmmap.h: 167: (1250) could not find space (8 bytes) for=20 > variable _SetupPkt > > > > I've no idea how to solve this, and little incentive. I found an > > assembly bootloader, usbolo.asm, which assembled in a fraction of a > > second, without errors, and I can easily change the bootloader pin to > > RA4. --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .