This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Starterware: Problems with example "uartEcho"

Other Parts Discussed in Thread: SEGGER

Hello,

I want to run the example uartEcho from Starterware on BeagleBone and BeagleBoneBlack.

On my PC I installed the version 2.0.1.1 of Starterware.

The revision of my BeagleBone is A6A and that one from my BBB is A5B. I've already noticed that the processor of the BBB has changed.

I can import and build the example project "uartEcho" without any issues and I can start a debug session on both boards with the suitable GEL-file, too. On the BeagleBone no interrupt is generated. The initialisation of the interrupt controller passes without any error but the ISR is never executed. On BBB I have the same behavior. Moreover on BBB the UART is not working. I made some modifications of the code to send informations over the UART. It only works on the Beaglebone.

For debugging BeagleBone Black I use Segger J-Link and for the UART connection the standard FTDI cable like described here:

http://elinux.org/Beagleboard:BeagleBone_Black_Accessories#Serial_Debug_Cables

If I boot the Linux on BBB I can see the messages on the console. So it seems to be that the hardware is not damaged.

 

Has anybody an idea what could be the reason for that issues?

Thanks and Regards.

  • Marc,

    Please try the newer version of Starterware 2.1.0.1 (part of SYSBIOSSDK-IND-SITARA  02_01_00_01) on BBB to see if you can get uart_app_echo working. Please post back here if you are still having problems.

    Lali

  • Lali,

    thanks a lot for your reply.

    I tried it out an the project of Starterware 2.1.0.1 works fine. But the structure of this example is quite different.

    Anyway I really would like to know whats the problem of the example of 2.0.1.1.

    I mean there is a patch available for the BBB. And I do not understand why there is no jump into the ISR. Neither on the Beaglebone nor on the BBB.

    Do you have any idea or is there a problem because of the board revisions?

     

  • There is a patch necessary for BBB. You either can apply it manually to TI's starterware or use the community-variant from sourceforge.net/.../ which already contains this patch.
  • Yes, I know. I already use that patch. But it doesn't solve my problem.

    The problem comes from the command file. After importing a example project I always changed the variant in the properties from "Genereic CortexA8 Device" to "BeagleBone_Black [Cortex A]". If I do this the command file changes automatically. I didn't realise that it changes to the  "AM335x.cmd" file. After selecting the original command file it works fine.

    Anyway thank you very much for your replies.

    Regards.