Other Parts Discussed in Thread: OMAPL138,
Tool/software: Starterware
Hi All
I am new to this development platform. I have installed ccs and the starterware OMAPL138_StarterWare_1_10_04_01.
Then,
1/ import the gpio_armv5_omapl138_lcdkOMAPL138 demo.
2/ change the project variant to LCDKOMAPL138 and connection to Texas Instruments XDS2xx USB probe.
3/ compile and get error about memory map overlay
4/ delete the original cmd file and retain the OMAPL138.cmd file
5/ compile error free
6/ run debug error free
7/ start the program that appears to work ok turning 109 on and off. see below:-
/* The Local PSC number for GPIO is 3. GPIO belongs to PSC1 module.*/
PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON,
PSC_MDCTL_NEXT_ENABLE);
/* Pin Multiplexing of pin 12 of GPIO Bank 6.*/
GPIOBank6Pin12PinMuxSetup();
/* Sets the pin 109 (GP6[12]) as input.*/
GPIODirModeSet(SOC_GPIO_0_REGS, 109, GPIO_DIR_OUTPUT);
while(1)
{
GPIOPinWrite(SOC_GPIO_0_REGS, 109, GPIO_PIN_LOW);
Delay(1000000);
GPIOPinWrite(SOC_GPIO_0_REGS, 109, GPIO_PIN_HIGH);
Delay(1000000);
}
8/ The problem is that the physical LED does not respond.
9/ if I repeat with the C674x version it works fine.
Any suggestions would be greatly received.