Re: how to add ROM image size?

From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 18:56:04 +0200

I don't think that you can store a nk.bin file in non contiguous flash
memory, even if you remap the memory area so that the virtual space is
contiguous.

I think the best would be to do multi bin files (to reduce the sizes) and
store one bin file per flash device

-- 
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél  : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"qiming" <91ming@163.com> a écrit dans le message de
news:e%23Wtd2DLEHA.1192@TK2MSFTNGP11.phx.gbl...
> thanks
>       My nk.bin is 36MB. My 64MB Flash is not contiguous.
> i modification :
>
>     OEMAddressTable
>     ;;;-------------------------------------------------------------
>     ;;; Virtual(cached)   Phys Addr   MB
>     ;;;-------------------------------------------------------------
>     .....
>
>     DCD 0x98300000,  0x00000000,      32    ; (nCS0)
>     DCD 0x9c600000,  0x04000000,      32    ; (nCS1)
>
>     .....
>
> config.bib
>
> MEMORY
>     NK    800B8000  04000000 RAMIMAGE       ;
>     RAM   840B8000  01C00000 RAM            ;
>     EDBG  85F8D000  00020000 RESERVED
>
>    AUD_DMA    85CB8000  0000A000  RESERVED
>    SLEEP_SAV  85CC2000  00001000  RESERVED
>    DRV_GLB    85CC3000  00001000  RESERVED
>    CACHE_FLG  85CC4000  0003C000  RESERVED  ;
>    DISPLAY    85D00000  00130000  RESERVED  ;
>    UNUSED_BUF 85E30000 0015D000  RESERVED
>    ZBANK      87000000  00100000  RESERVED
>
> CONFIG
>     ......
>
>     ROMSTART=800B8000
>     ROMWIDTH=32
>     ROMSIZE=03E00000
>
>     .......
>
> "Yannick Chamming's [eMVP]" <ychammings_nospam@adeset.com> дÈëÓʼþ
> news:%23tSr9mDLEHA.3736@TK2MSFTNGP12.phx.gbl...
> > Are your 64MB contiguous ?
> >
> > If yes, replace the 32 in the OEMAddressTable by 64
> >
> > Concerning config.bib, the informations you provide seems to indicate
that
> > you are booting from RAM, so non modification should be required.
> >
> > If your image is loaded from Flash to RAM, you will probably need to
> update
> > the BLoader.
> >
> > Else, if you are using your flash for applicative purpose, you will need
> to
> > update your flash driver
> >
> >
> >
> > -- 
> > ----------------------------------------------------------------
> > Yannick Chamming's (eMVP)
> > ADESET
> > Windows Embedded Manager
> > ychammings AT adeset DOT com>
> > http://www.adeset.com
> > Tél  : +33 (0)4.72.18.57.77
> > Fax : +33 (0)4.72.18.57.78
> > ----------------------------------------------------------------
> >
> > "qiming" <91ming@163.com> a écrit dans le message de
> > news:%23qRDrbDLEHA.4032@TK2MSFTNGP10.phx.gbl...
> > > Hi:
> > >     My board has 64MB Flash,but i only used 32MB,I want used
64MB,what's
> i
> > > do?
> > > My systerm information:
> > >
> > >     OEMAddressTable
> > >     ;;;-------------------------------------------------------------
> > >     ;;; Virtual(cached)   Phys Addr   MB
> > >     ;;;-------------------------------------------------------------
> > >     .....
> > >
> > >     DCD 0x98300000,  0x00000000,      32    ;
> > >
> > >     .....
> > >
> > > config.bib
> > >
> > > MEMORY
> > >     NK    800B8000  02000000 RAMIMAGE       ;
> > >     RAM   820B8000  01C00000 RAM            ;
> > >     EDBG  83F8D000  00020000 RESERVED
> > >
> > >    AUD_DMA    83CB8000  0000A000  RESERVED
> > >    SLEEP_SAV  83CC2000  00001000  RESERVED
> > >    DRV_GLB    83CC3000  00001000  RESERVED
> > >    CACHE_FLG  83CC4000  0003C000  RESERVED  ;
> > >    DISPLAY    83D00000  00130000  RESERVED  ;
> > >    UNUSED_BUF 83E30000 0015D000  RESERVED
> > >    ZBANK      86000000  00100000  RESERVED
> > >
> > > CONFIG
> > >     ......
> > >
> > >     ROMSTART=800B8000
> > >     ROMWIDTH=32
> > >     ROMSIZE=01E00000
> > >
> > >     .......
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: how to add ROM image size?
    ... > Else, if you are using your flash for applicative purpose, you will need ... > ychammings AT adeset DOT com> ... >> MEMORY ... >> CONFIG ...
    (microsoft.public.windowsce.platbuilder)
  • Storing a variable with integer value to FLASH :2: area of HP50g
    ... I need code to show me how to store a value to the Flash ... memory... ... "INPUT ACTIVATION CODE" ...
    (comp.sys.hp48)
  • Re: srecord CRC16
    ... > I'm planning to add CRC to program memory. ... when amount of flash changes) are welcome. ... How are you going to use the CRC? ... compute and store the CRC. ...
    (comp.arch.embedded)
  • Re: Rebel XT and Mac OS9: impossible to combine??
    ... > You could also consider loaners - see if the store will let ... borrow a camera to shoot their daughter's wedding. ... My 5700 definitely meters flash even when using an external ... > a big zoom range, ...
    (rec.photo.digital)
  • Re: XU1541 and more USB stuff
    ... memory. ... coming along nicely this week (FAT12/16/32/LFN support working for read ... for significantly more buffering reducing the overhead of the USB ... lots of flash and ram. ...
    (comp.sys.cbm)

Loading