[Icc-avr] Bootloader problem

Sylvain Bissonnette sbissonnette at microsyl.com
Tue Oct 30 15:46:49 PST 2007


Hi Rodney,

    Hmmm, it's 256 word, 256k for a bootloader is a little big,  If I modify the init.s what I must do to say to the
compiler to use my init.s and not the original one?

Thanks
Sylvain
  ----- Original Message ----- 
  From: Rodney Pearson 
  To: Discussion list for ICCAVR and ICCtiny Users. You do NOT needtosubscribeto icc-announce if you are a member of this. 
  Sent: Tuesday, October 30, 2007 4:37 PM
  Subject: RE: [Icc-avr] Bootloader problem


  Hi Sylvain -

   

  I'm assuming you meant 256 bytes, not 256k? (words? Bytes?)

   

  Either way you can save space in the start up file be removing the code that initializes the memory of SRAM (assuming you are not using SRAM in the same manner as "normal" application code).  Take a look in the init.s startup file - that is where the initialization code is located.  It is in Assembly.

   

  Cheers!

   

  Rodney Pearson

  Software Engineer

  Juniper Systems, Inc.

  www.junipersys.com

   


------------------------------------------------------------------------------

  From: icc-avr-bounces at imagecraft.com [mailto:icc-avr-bounces at imagecraft.com] On Behalf Of Sylvain Bissonnette
  Sent: Tuesday, October 30, 2007 3:42 PM
  To: Discussion list for ICCAVR and ICCtiny Users. You do NOT needtosubscribetoicc-announce if you are a member of this.
  Subject: [Icc-avr] Bootloader problem

   

  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/a1f18de2/attachment.html


More information about the Icc-avr mailing list