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

OMAPL138B-EP: Not able to change the Interrupt Number for the EMAC Tx and RX using NDK

$
0
0

Part Number:OMAPL138B-EP

Hi there, I am using the NDK (ndk_2_25_00_09) with the NSP (nsp_1_10_03_15) in my design and was under the impress that the interrupts used for TX and RX EMAC buffer could be changed if needed.

In the ethdriver.c file I changed the the interrupt number to the following: 

#ifdef __TMS470__
#define CORENUM 0
#define RXINT 34
#define TXINT 35
#define EXTMEM 0x80000000
#else
#define CORENUM 1
#define RXINT 10
#define TXINT 11
#define RXTXINTMASK ((1 << RXINT) | (1 << TXINT))
#define EXTMEM 0x80000000
#endif

that is 10 for RXINT and 11 for TXINT. and when I run the design I get the following error:

[C674X_0] Using default MAC address
Using MAC Address: 00-08-ee-03-14-99
rupts: error: could not create RX Hwi!

00000.000 E_alreadyDefined: Hwi already defined: intr# 538976288
ti.sysbios.family.c64p.Hwi: line 194: E_alreadyDefined: Hwi already defined: intr# 6
00000.000 createInterrupts: error: could not create TX Hwi!

00000.000 E_alreadyDefined: Hwi already defined: intr# 538976288
00000.000 EMAC has been started successfully

00000.000 Registeration of the EMAC Successful

00000.000

NC_NetStart: WARNING: Boot thread has not completed!


Network Added: If-1:***.***.***.***

== Start UDP Echo Client Test ==
00000.000 NodeTreeFree: Didn't find right
00000.000 mmFree: Double Free

Could you please, let me know if the interrupt number needs to be changed, elsewhere. Thanks.

Regards,

Mitesh


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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