Using CCS 6: XDS200 debugger connected to an EVMAM3359 evaluation board. Software uses the TI-RTOS and some of the interrupts work just fine.
I've been trying ( for a long while) just to get GPIO1_16 on the J16 MAVRK to toggle.
It appears that my memory mapping is incorrect OR the EVMAM33589 is blocking out my memory starting at AM335X_GPIO1_BASE = 0x4804C000.
When my code tries to configure the GPIO1 port, it generates an error -CODE:
void GPIOModuleDisable(unsigned int baseAdd)
{
/* Setting the DISABLEMODULE bit in Control(CTRL) register. */
HWREG(baseAdd + GPIO_CTRL) |= (GPIO_CTRL_DISABLEMODULE);
}
When I debug the code just before the HWREG macro, I get the following the Memory Browser below showing questions marks.
Any ideas what I am missing? (I have only tried mode 0 and 7 on the CPLD dip switches on the daughter board)