|ARM Technical Support Knowledge Articles|
Applies to: MON51 Target Monitor
Information in this article applies to:
How do I configure the Keil MON51 target monitor for my Phytec 591 Phycore board?
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
Request the files attached to this knowledgebase article.
Article last edited on: 2005-05-28 22:46:07
Did you find this article helpful? Yes No
How can we improve this article?