Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

NDK ConfigDemo Example OMAPL137

$
0
0

I've gone through the steps of porting the OMAPL138 configdemo from nsp_1_10_02_09 to the omapl137. I'm using the arm9 side which for both processors has the exact same register map. After carefully patching together the BSL, NSP, changing the csl_mdio.h t0 RMII, and creating an EMAC_initalize callback based on the BSL EMAC loopback examples, which works. I'm successfully able to build the project for the ARM side of the omapl137. This is with SYS/BIOS 6.

I continue to get an warning about to variables but since the source code for the omapl138 also has the same declaration I don't think it will cause any issues.

  1. "../drv/csl_mdio.c", line 589: warning #179-D: variable "ltmp1" was declared but never referenced
  2. "../drv/csl_mdio.c", line 590: warning #552-D: variable "i" was set but never used

This happens because I'm rebuilding the driver source code.

The other change I did was to comment out

"../drv/ethdriver.c", line 280: error #137: struct "_pdinfo" has no field "PBMQ_rx"

 

Commented the preprocessor disabling PMBQ_rx in "nimu_eth.h"

Copied over all the necessary pieces from the cfgdemo.cfg and vioala I can build a .out

When I try to run the code, and following the

page 30 network configuration example. I'm expecting to see GetIPReady. Sadly I don't see any output in the console.

Stepping into the code I can verify that I'm not seeing any outputs to the console not even the ones for welcoming into the example or a few printf("Hello World") I placed here and there. I have already gone through the tips

of increasing the heap and stack and still I can't see anything on the console. The Gel files does outputs when I connect to the DSP but even this printf is not showing up.

//---------------------------------------------------------------------
// Main Entry Point
//---------------------------------------------------------------------
int main()
{
    /* Start the BIOS 6 Scheduler */
    printf("Hello World 1");

    BIOS_start ();
}

and yes I have changed to all console windows just to be safe.

Any suggestions?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>