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

Blinky Example Fails on MCB1700 using UART0

Hi,

i have a frustrating beginners problem... and hope you can help.

I bought an MCB1700 EVB from Keil and wanted to use the Blinky Demo as Base for my UART0 to UART1 Tunnel / Interface. The Blinky Example works fine as preset with UART1 but does not communicate if i set
Line 102: SER_init(1); to SER_init(0);

I added the required lines for UART2 and UART3 IO Pin Setup in the serial.c to test these but this results in a system stop and does even not work...

What do I wrong ? Maybe I have to add that I already removed the Jumpers required for In System Programming below the Display while testing UART0 on COM0 Connector.
So, the MCU does not change to reset or execute ISR when connecting to the COM0 Connector.
Much thanks for your support, Marcus

Parents
  • Dear Martin,

    much thanks for your response. I have not mentioned these both functions during testing in retarget.c and now, the UART0 works by this correction. Maybe it would be better to change the example here that by initializing these Functions are set correctly as well ?

    Is there any example for UART2/3 anywhere in the www, because testing this, the MCU stops by an exception by simply adding the setup for these UARTs in serial.c
    But I'm sure I will find this problem on my own and maybe return to this forum if i fail.

    Thanks and best wishes,

    Marcus

Reply
  • Dear Martin,

    much thanks for your response. I have not mentioned these both functions during testing in retarget.c and now, the UART0 works by this correction. Maybe it would be better to change the example here that by initializing these Functions are set correctly as well ?

    Is there any example for UART2/3 anywhere in the www, because testing this, the MCU stops by an exception by simply adding the setup for these UARTs in serial.c
    But I'm sure I will find this problem on my own and maybe return to this forum if i fail.

    Thanks and best wishes,

    Marcus

Children
No data