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

MCB2300 Issue

Hi all,
i am facing one issue related to uart0 in keil MCB2300 board.i have loaded .hex file into LPC2388 in MCB2300 board.After loading,removed jumper int0 and rst(I am assuming these two are only for flashing.Is it correct???).My program ( printing characters on terminal)is not running.After power cycle also its not working.
After lot of testing i found that,
when powerup,UART0 of MCB2300 shouldn't connect to RS232 cable(For PC communication -- Hyper terminal).If Remove rs232 cable,then power up MCB2300 and then connect Rs232 cable means my printing chars on HT working.
My program is printing characters continuously in while loop.

I have also seen same issue also in another MCB board which contains LPC2129..

Is this expecting Behavior of KeilMCB board??We havn't seen this issue in our developing board???

My Uart0 Initialization: REG_PINSEL0 |= 0x00000050; REG_U0LCR |= 0x80;

REG_U0DLL =( PCLK_IN_HZ())/(16 * 9600);

REG_U0DLM = 0x00;

/* DLAB = 0, 8 bits, no Parity, 1 Stop bit */ REG_U0LCR = 0x03; /* Enable and Reset RX,TX FIFO & trigger level to 1 bytes */ REG_U0FCR = 0x7; /* For transmitting data,this should be set */ REG_U0TER = 0x80;

Do i need to do any other initialization????

I am assuming,
when power up, If rst and int0 jumper removed and Rs232 connected(uart cable connected between MCB and PC,
UART communication should work.This is expected behavior of MCB2300 board????

Please Share ur knowledge on this issues???

Parents
  • Manual says, After loading hex file,RST and INT jumpers should be removed.

    1. UART0 not communicating on following conditions:

    removed jumper RST and INT0 ,Power cycle or reset, RS232 cable connected to MCB-UARTo.

    2. UART0 communicating on following conditions:

    removed jumper RST and INT0 ,RS232 cable not connected to MCB-UARTo on Power cycle or reset,then connected RS232 cable connected to MCB-UARTo.

    I have seen this issue with two keil MCB boards.

    what i need to do on SW side or HW side for Condition-1 should work???.
    Tools used:
    1. Flash magic for Flash .hex file
    2. HT,Tera term for serila communication with terminal.

    I am sure that there is no issue software side.this is some setup issue.

    Only Keil Team or anybody using Keil MCB boards can help me.

Reply
  • Manual says, After loading hex file,RST and INT jumpers should be removed.

    1. UART0 not communicating on following conditions:

    removed jumper RST and INT0 ,Power cycle or reset, RS232 cable connected to MCB-UARTo.

    2. UART0 communicating on following conditions:

    removed jumper RST and INT0 ,RS232 cable not connected to MCB-UARTo on Power cycle or reset,then connected RS232 cable connected to MCB-UARTo.

    I have seen this issue with two keil MCB boards.

    what i need to do on SW side or HW side for Condition-1 should work???.
    Tools used:
    1. Flash magic for Flash .hex file
    2. HT,Tera term for serila communication with terminal.

    I am sure that there is no issue software side.this is some setup issue.

    Only Keil Team or anybody using Keil MCB boards can help me.

Children