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.

Wierd Issue in excution of "Hello World" application on NDK 2.0

Other Parts Discussed in Thread: OMAP-L138

I am using Hello World Application on NDK 2.0 in DM648 while running in Promiscous Mode. The program successfully compiles,links and loads. When I start the execution the code stuck after the following two lines are shown in output window

" TCP/IP stack 'Hello World' Application

Using Mac Address: 00-21-ba-12-5a-0f"

C$L loop -----> stucks here

Then I halt the program reload the out file and executes the code then code works fine with no halting.

Please tell me is it a bug or some mistake?

  • Hello.

    I used to have the same problem with my OMAP-L138 EVM when I tried to run any NDK example.

    I don't know what platform you are using, but I managed to run the examples simply but changing the boot mode configuration to initially boot from SPI FLASH, instead of JTAG BOOT.

    I suggest that you try it if you have the option.

    Regards,

    Rafael

  • Rafael,

     

    Can you please guide me what method you used to program and burn the code in SPI EEPROM. If I am correct you loaded .ais  configuration file into the SPI EEPROM. Kindly give me any reference application or code for that.

     

    Regards

    Mark

  • Mark,

    I was running the program loaded through a XDS100v2 JTAG interface directly to the processors RAM memory.

    I did not burn the firmware in the SPI EEPROM.

    As I was testing the code in a OMAP-L138 experimenter kit, I have the option of changing the processors boot mode through a dip switch. I wouldn't know exactly why this mattered, as it would be obvious to use JTAG BOOT instead of SPI FLASH BOOT in this case. I just suggested you tried to figure out if this was some kind of boot mode bug.

    Regards,

    Rafael