DSPRelated.com
Forums

TMS320C6711 Memory Map?

Started by rworne November 14, 2002
I'm not looking for the memory map of the C6711 chip, but that of the
DSK board itself. As an example, we need to access the LEDs to use
them to output test results for our particular application. TI
support has been of little help and I can't find anything in the
documentation. If anyone can point me to the file/info, it would be
appreciated.



RE: [c6x] TMS320C6711 Memory Map?

The memory map you are looking for is in the CCS Help file for the DSK.  Launch CCS, Click Help, then Contents.  There will be a "Book" for 'TMS320C6711 DSK'.  Open it, then Hardware, and External Memory.  The last article under External Memory is C6711 DSK Memory Map.

Just in case you can't find ... I have included a portion of it here:

   GEL_MapAdd(0x80000000,0,0x01000000,1,1); /* CE0, SDRAM, 16 Mbytes       */
   GEL_MapAdd(0x90000000,0,0x00020000,1,1); /* CE1, 8-bit ROM, 128 Kbytes  */
   GEL_MapAdd(0x90080000,0,0x00000004,1,1); /* CE1, 8-bit I/O port         */
   GEL_MapAdd(0xA0000000,0,0x10000000,1,1); /* CE2 - Daughtercard          */
   GEL_MapAdd(0xB0000000,0,0x10000000,1,1); /* CE3 - Daughtercard          */

BTW, you might also want to look at the schematics.  They are in the Hardware section under Schematics.  The page you might want is page 10, which shows the IO Port and which bits are Board Rev, GPIO Status/Control, Switches/LEDs.  Also, the SW contained on the CD will include information on how to read the Dip Switches. 

For example look at the file CnfDSP.c which is in the directory c:\ti\examples\dsk6711\board_util\conftest\Dsp.  It contains code like so:

  /*-----------------------------------*/
  /* Read DIP switches                                                     */
  /*-----------------------------------*/
  *(unsigned volatile int *)EMIF_CE1 = CE1_32;// EMIF CE1 control, 32bit async
  io_port_values=get_ioport();
  user_dip_settings=io_port_values&0x7000000;
  pwb_assy_rev=get_bdrev();  
  *(unsigned volatile int *)EMIF_CE1 = CE1_8;// EMIF CE1 control, 8bit async

#if PRINT
  printf("\n USER_SW3=%d ",(user_dip_settings&0x4000000)>>26);
  printf(" USER_SW2=%d ",(user_dip_settings&0x2000000)>>25);
  printf(" USER_SW1=%d ",(user_dip_settings&0x1000000)>>24);
  printf(" Board Rev=%d\n\n",pwb_assy_rev);
#endif

The functions get_ioport() and get_bdrev() can be found at the end of the same file.

Hope this helps!

Regards,
Tom Dillon

-----Original Message-----
From: rworne [mailto:r...@hotmail.com]
Sent: Thursday, November 14, 2002 1:06 PM
To: c...@yahoogroups.com
Subject: [c6x] TMS320C6711 Memory Map?


I'm not looking for the memory map of the C6711 chip, but that of the
DSK board itself.  As an example, we need to access the LEDs to use
them to output test results for our particular application.  TI
support has been of little help and I can't find anything in the
documentation.  If anyone can point me to the file/info, it would be
appreciated.


_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  Send an email to c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com
 

" TARGET="_blank">http://docs.yahoo.com/info/terms/



kindly look at the c6211dsk.h file
it contains the address of all peripherals & MM Regs.
Hope that helps
nikhil
----- Original Message -----
From: "rworne" <>
To: <>
Sent: Friday, November 15, 2002 12:35 AM
Subject: [c6x] TMS320C6711 Memory Map? > I'm not looking for the memory map of the C6711 chip, but that of the
> DSK board itself. As an example, we need to access the LEDs to use
> them to output test results for our particular application. TI
> support has been of little help and I can't find anything in the
> documentation. If anyone can point me to the file/info, it would be
> appreciated.
>

--------------------------
Dexcel Electronics Designs (P) Ltd., Bangalore, India