Keil Logo

MON51: MONITOR FOR THE PHYTEC PHYCORE 591


Information in this article applies to:

  • C51 Version 6.12
  • µVision Version 2.12

QUESTION

How do I configure the Keil MON51 target monitor for my Phytec 591 Phycore board?

ANSWER

This knowledgebase article has an attached file for the Phytec 591 phycore board. Here are the specifications for it:

Serial Details: 9600baud, timer 1, serial port 0

The following code was used to setup the monitor serial port. Note that there are a lot of registers in the Phytec PhyCore main boards that must be set correctly.

MOV     DPTR, #ADDR_REG ; Set Address Range for von Neumann Memory
MOV     A, #30h
MOVX    @DPTR, A

MOV     DPTR, #MASK_REG ; Set Mask Range for von Neumann Memory
MOV     A, #30h
MOVX    @DPTR, A

MOV     DPTR, #CTL_REG_1        ; Setup for von Neumann Memory
MOV     A, #12h
MOVX    @DPTR, A

MOV     DPTR, #LED_PORT ; Enable LEDs
MOV     A, #010h
MOVX    @DPTR, A

MOV     TMOD,#00100000B ;C/T = 0, Mode = 2
MOV     TH1,#0F3H
SETB    TR1
ORL     PCON,#10000000B ; Set SMOD Bit in PCON
MOV     SCON,#01011010B ; Init Serial Interface
JMP     Mon51

Memory Map

  • CODE: 0000h-3FFFh - This is the CODE space that the monitor uses.
  • CODE: 4000h-DFFFh - This is von Neuman memory. It is used for your target program. The monitor executes the program from this area after downloading. See the corresponding memory range in XDATA.
  • CODE: E000h-EFFFh - Reserved for use by the monitor.
  • CODE: F000h-FBFFh - Unused
  • CODE: FC00h-FFFFh - Used by the Phytec PhyCore Main Boad for I/O. This is only true because this is von Neuman memory.
  • XDATA: 0000h-3FFFh - XDATA memory your program may use.
  • XDATA: 4000h-DFFFh - This is von Neuman memory that is used by the monitor to download your program to. This memory is overlapped with the same addresses in code space.
  • XDATA: E000h-EFFFh - This is von Neuman memory that is reserved for use by the monitor.
  • XDATA: F000h-FBFFh - Unused
  • XDATA: FC00h-FFFFh - Used by the Phytec PhyCore Main Boad for I/O.

SEE ALSO

ATTACHED FILES

Request the files attached to this knowledgebase article.

Last Reviewed: Saturday, May 28, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.