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

Keil uVision 4.03 with TiniArm2138

Dear forum members,

I am trying to compile the demo codes using Keil uVision 4.03 on the Tini2138 from NewMicros. They have examples specifically for the board and the older uVision 3.5.

I can download the compiled hex file via FlashMagic and the programs work on a terminal as advertised. However, when I try to recompile the codes under 4.03, nothing shows up on the terminal. I can recompile the blinky program fine, and the hex file will flash the LEDs. It seems to be a problem with serial communication via UART0.

Is there any change from uVision 3.5 to 4.03 that might cause this problem? Alternatively, is there anywhere I can download the uVision 3.5 from to test the demos with the version they were originally compiled in? Any help much appreciated.

Sean

Parents
  • No problem. I worked it out for myself: the 'Use memory Layout from target' checkbox needed to be checked. And I was trying to use the serial.c file in the help that had

    PINSEL0 |= 0x00000050; // Enable TxD0 and RxD0

    rather than

    PINSEL0 |= 0x00000005; // Enable TxD0 and RxD0

    for the LPC2138.

Reply
  • No problem. I worked it out for myself: the 'Use memory Layout from target' checkbox needed to be checked. And I was trying to use the serial.c file in the help that had

    PINSEL0 |= 0x00000050; // Enable TxD0 and RxD0

    rather than

    PINSEL0 |= 0x00000005; // Enable TxD0 and RxD0

    for the LPC2138.

Children