This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

external memory

Hi,
I work on ST10F168 and i want to control by EBC 2 SRam chip 1M*8bits like 1 chip 1M*16bits. But how to declare in keil that external memory is 16bits data.
I declare it in start166.A66 (_BTYP1 EQU 2) and 1024K ; so i can store 1M*16bits.
When i declare a table of 0.5M of int , it's good ; but if i increase the capacity of the table there is a warning :
*** WARNING L5: SECTION LOCATED OUTSIDE CLASS AREA
SECTION: ?XD0?MAIN
CLASS: XDATA0

normally i can have a table of 1M of int !
So how can i use all my memory in 16bits demux mode.
Thanks

Parents
  • thanks, it s Ok for my table but the half of it is errone because now the micro use P4.5 although it doesn't. This pin doesn't work, because the upper is P4.4 on A19(SRam). It's not a good solution because the micro use one more adress bit and i don't want !
    I just want it use A1->A20 and not A21 !

    regards

Reply
  • thanks, it s Ok for my table but the half of it is errone because now the micro use P4.5 although it doesn't. This pin doesn't work, because the upper is P4.4 on A19(SRam). It's not a good solution because the micro use one more adress bit and i don't want !
    I just want it use A1->A20 and not A21 !

    regards

Children