Re: Flashing too big??

Barry Demchak <[email protected]> Wed, 02 Jun 2004 10:31:21 -0700
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hi, Kris --

Thanks! You have save my lily-white keester! :)

(Our bootstrap code shares a lot of code with the main application, and as 
the main application grows, the bootstrap gets dragged along. I was *not* 
looking forward to separating this code base into two!)

As a point of education, then, I have a question.

It seems like a "bank" would be 64KB ... which is why I would run into 
trouble when my bootstrap exceeded 64KB. (And most "banks" are either 64KB 
or 1MB these days.) I gather that JavaKit's limitation of 512K of flash is 
really 512Kb -> 64KB???   ... and so the -romsize option refers to bits, 
not bytes???

... just tying up loose ends.

Thank you ... thank you ... thank you ... thank you ... thank you!

:)


At 07:45 AM 6/2/2004, Kris Ardis wrote:
>JavaKit defaults to thinking there is only 512K of flash, so it is not
>zapping bank 48.  Try starting JavaKit with the command line...
>
>   java JavaKit -flash 40 -400 -romsize 1048576
>
>Kris
>
>----- Original Message -----
>From: "Barry Demchak" <[email protected]>
>To: "TINI Mailing List" <tini-6tN4nzCoH/[email protected]>
>Sent: Tuesday, June 01, 2004 8:31 PM
>Subject: [TINI]Flashing too big??
>
>
> > Hi, all --
> >
> > I'm using JavaKit 2.2.10 to try and flash a new bootstrap. I can flash
>just
> > fine if my bootstrap is below 64KB. If it goes over, I get an error while
> > downloading the bootstrap. Is there a 64KB limit on flashed bootstraps? Is
> > there a way to overcome it?
> >
> > The session is below:
> >
> > DS80C400 Silicon Software - Copyright (C) 2002 Maxim Integrated Products
> > Detailed product information available at http://www.maxim-ic.com
> >
> > Welcome to the TINI DS80C400 Auto Boot Loader 1.0.1
> >
> >  >
> > Loading file: G:\Harris\RCED\Bootstrap\TINI\Bootstrap.tbin.
> > Please wait... (ESC to abort.)
> > Loading at bank number 48
> > ERROR! Aborting load.
> > ERROR Loading file: G:\Harris\RCED\Bootstrap\TINI\Bootstrap.tbin
> >
> >
> >
> > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> > : Barry Demchak               :
> > : Torrey Pines Software, Inc. :
> > : http://www.tpsoft.com/      :
> > : (858) 452-8700              :
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > _______________________________________________
> > TINI mailing list
> > TINI-6tN4nzCoH/[email protected]
> > To UNSUBSCRIBE, edit your profile, or see list archives:
> > http://lists.dalsemi.com/mailman/listinfo/tini
> >
>
>
>_______________________________________________
>TINI mailing list
>TINI-6tN4nzCoH/[email protected]
>To UNSUBSCRIBE, edit your profile, or see list archives:
>http://lists.dalsemi.com/mailman/listinfo/tini


vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
: Barry Demchak               :
: Torrey Pines Software, Inc. :
: http://www.tpsoft.com/      :
: (858) 452-8700              :
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini