You do have access to all 256k words of the Flash memory on the 5402 DSK. However you only have access to one 32k page of the memory at a time. The setting of M_PG0 to M_PG4 determine what page you have access to. You set the value of M_PG0-4 by writing to the DMCTRL register at I/O address 2h. For example, if they are all cleared to zero, you have access to sector 0 of the flash at flash addreses 0h to 7FFFh. If you set M_PG4=0, M_PG3=0, M_PG2=1, M_PG1=1 and M_PG0=1, that would be page seven and you would have access to flash sectors 7, 8, 9 and 10. It's all in CCS -> Help -> TMS3205402 DSK. For bootloading a large application look at document spra773. -Micah ________________________________________________________________________ > > Message: 4 > Date: Mon, 17 May 2004 09:09:38 -0000 > From: "tjuantiangel" <> > Subject: a doubtful question about 5402 dsk > bootloader !! > > from lots of pdfs about 5402 of the web of ti,i > found that > the bootloader address is from 8000h to ffffh, > which make > the total memoty size is 32k,but my flash is > 256K*16,my question is > whether my flash wasted? > if my program is larger than 32k,how can i do? > > my english is not good,please forgive me ________________________________________________________________________ > > Message: 6 > Date: Mon, 17 May 2004 09:04:25 -0700 > From: "Brian C. Lane" <> > Subject: Re: a doubtful question about 5402 dsk > bootloader !! > > tjuantiangel wrote: > > from lots of pdfs about 5402 of the web of ti,i > found that > > the bootloader address is from 8000h to ffffh, > which make > > the total memoty size is 32k,but my flash is > 256K*16,my question is > > whether my flash wasted? > > if my program is larger than 32k,how can i do? > > > > my english is not good,please forgive me > > In the 5402 bootloader is actually mapped to 0xF000 > to 0xFEFF, so you > still have external access up to 0xEFFF -- but this > is only with > MP/MC=0, if you have MP/MC set to 1 then everything > from 0x4000-0xFFFF > is mapped to your external flash. > > Also, the 54xx series supports extra pages above > 0xFFFF using A16-A19 so > only a small amount of your flash will be > unavailable if MP/MC=0 > > Brian > > -- > ----------------- > Brian C. Lane (W7BCL) > Programmer > www.shinemicro.com RF, DSP & Microcontroller > Design > __________________________________ |