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.

Runtime Error adapted mcasp_playbk example

Other Parts Discussed in Thread: OMAPL138

The error is thown when 

    McASPPinMuxSetup();

calls

HWREG(SOC_SYSCFG_0_REGS + SYSCFG0_PINMUX(0)) = \
(PINMUX0_MCASP0_AMUTE_ENABLE | PINMUX0_MCASP0_AHCLKX_ENABLE | \
PINMUX0_MCASP0_AHCLKR_ENABLE | PINMUX0_MCASP0_AFSX_ENABLE | \
PINMUX0_MCASP0_AFSR_ENABLE | PINMUX0_MCASP0_ACLKX_ENABLE | \
PINMUX0_MCASP0_ACLKR_ENABLE | savePinMux);

The symbols are defined here: 


//Defined in SOC_C6748
/* \brief Base address of DEV memory mapped registers */
// #define SOC_SYSCFG_0_REGS (0x01C14000)

/* \brief Base address of DEV memory mapped registers */
//#define SOC_SYSCFG_0_REGS (0x01C14000)

//Defined in hw_syscfg0_C6748.h
//#define SYSCFG0_PINMUX(n) (0x120 + (n * 4))

//Defined in hw_syscfg0_OMAPL138.h
//#define SYSCFG0_PINMUX(n) (0x120 + (n * 4))

I'm running this on the OMAPL137 EVM.

The error that is thrown:

Error:

Error 0xE0002024/-173

Error during: Register, Execution, Control,

Error generated by SD scan controller module

Can't Run Target CPU:

Error 0xA0003020/-1041

Error during: Execution, Target, Control,

Device driver: Problem with the Emulation Controller.

It is recommended to RESET EMULATOR.  This will disconnect each

target from the emulator.  The targets should then be power cycled

or hard reset followed by an emureset and reconnect to each target.

 

Any insight here ? I suspected it was a memory mapping issue, but multiple sys-config files, and soc files use the same memory locations.

Thanks in advance,

-Amanda