[Icc-avr] Bootloader problem
John Baraclough
j_baraclough at zetnet.co.uk
Tue Oct 30 13:53:03 PST 2007
Sorry Sylvain, I don't understand the question. Do you mean you want
to fit the bootloader into 256 bytes or 256Kbytes? On the mega256x
the boot block size options are 512, 1024, 2048 or 4096 bytes. None
of these matches the number in your question.
The startup file 'crtboot256.s' is very simple. There is probably no
need to initialise any global data for a boot loader so you can copy
'init.s' to 'initboot.s' and edit the latter file so that it only
sets up the stack pointer. Then edit a copy of 'crtboot256.s' to
include the new 'initboot.s' file in place of 'init.s'.
HTH.
John
At 21:41 30/10/2007, you wrote:
>Hi,
>
> I'm currently working on my MegaLoad bootloader and I want to
> fit this one in 256k size. when compiling
>I get not large enough... I need only couple of byte more. I don't
>use any interrupt, is there some way to
>get a bit more maybe in the startup file? but I never had work with
>the startup and I don't really now how
>to do this. Any help will be welcome.
>
>Thanks
>Sylvain Bissonnette
>
>
>
>_______________________________________________
>Icc-avr mailing list
>Icc-avr at imagecraft.com
>http://dragonsgate.net/mailman/listinfo/icc-avr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20071030/e9917f91/attachment.html
More information about the Icc-avr
mailing list