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

EMAC failure for the LCDK-OMAP-L138 (and I can't explain why)

$
0
0

Hi all,

Let me start out with a brief description of my problem. I'm attempting to build a small NDK demo application on the LCDK-OMAP-L138 board [1]. However, through debugging, I've found that the system fails (in a weird way) at this line of code:

/* Disable wrapper interrupt pacing */
ECTL_REGS->INTCONTROL = 0x00;

This code is found at line 983 of /opt/ti/nsp_1_10_02_09/packages/ti/drv/omapl138/csl_emac.c

When that line is attempted to be executed, the system fails to continue, and instead, the emulator reports that the program counter has moved to 0xFFFF0010 (where no symbol is defined).

I basically have no code that I've written in my own project (even more so if we only look at code that gets executed). I really don't have any clue on how to go about determining why writing to this register causes the machine to fail.

I guess I can also say that if I look in the memory map, this is the contents around 0xFFFF0010:
* 0xFFFF0000 ti_sysbios_family_arm_da830_Hwi_vectors
* 0xFFFF0040 ti_sysbios_family_arm_da830_Hwi0
* 0xFFFF0040 ti_sysbios_family_arm_da830_Hwi_vectorTable
* 0xFFFF0048 ti_sysbios_family_arm_da830_Hwi1

Full package list:
* BIOS 6.35.04.50
* NDK 2.22.03.20
* EDMA3 LLD 02.11.09.08
* MCSDK BIOS 3.00.01.12
* NSP 1.10.02.09

References:
[1]: http://www.ti.com/tool/tmdxlcdk138 


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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