On Mon, Jan 27, 2014 at 7:46 PM, Dwayne Reid wrote= : > 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 > little C experience. He had what I think is an entirely valid > question from those people whom have more experience. > > Constructive criticism is *very* welcome here. You provided what I > think is NOT helpful criticism, followed by an excellent reason for > the problem that he was having. > > Please don't take offense. > > dwayne My apologies Dwayne, that was a poorly structured response on my part. I should have taken the time to type out an extra few sentences and include a link or two ... Hopefully I haven't made the OP feel too unwelcome. >> > usbmmap.h: 167: (1250) could not find space (8 bytes) for >> variable _SetupPkt Addition information for John (sorry for the ill-tempered response!), this error message is coming from the linker part of the tool chain. The message "(1250) could not find space (8 bytes) for variable _SetupPkt" means that your target device does not posses enough RAM in order to run the boot loader in its present state. Also if you run into an error like "(1360) no space for auto/param main@m" then the program, when compiled, is too large to fit into the devices program memory. As a general note, if you think you can make the assembly boot loader work for your application it would likely require save less program and data (RAM) memory than the C one. Otherwise, it may be possible to modify your C bootloader to use less RAM but it may be somewhat involved. Typically when the program is sent to the MCU to be written to memory it is copied into a buffer. Sometimes these buffers can be quite large, more so than necessary to do the task of writing a program onto the device. If you continue to have problems with your boot loader setup, feel free ask. It may be helpful to include the model of device you are building for and a link to the boot loader you are trying to adapt for your purposes. Good Luck, Jason White --=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 .