Home arrow Support arrow Forums

Luminary Micro Forums

sixscrews

Junior Boarder
Click here to see the profile of this user

2008/08/18 22:29

Unlocking an 8962

Hello All:


I have been messing with an 8962 board for a couple of months, using Red Suite. Much fun with RTOS 5.x and other diversions.

My most recent project was derived from the timer demo program and included the following clock initialization code:

// If running on Rev A2 silicon, turn the LDO voltage up to 2.75V. This is
// a workaround to allow the PLL to operate reliably.
//
if(DEVICE_IS_REVA2)
{
SysCtlLDOSet(SYSCTL_LDO_2_75V);
}
//
// Set the clocking to run directly from the crystal.
//

SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_6MHZ);

I was having problems with a timer look and realized the board has an 8 MHz crystal, not 6 MHz, as above, and also wanted a bit more speed...so, I changed the last line to:

SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ);

and...I can no longer communicate with the device. Red Suite gives me the error 'cannot find selected MEM-AP' when I try to run any (previously working) project and Code Sourcery gives me 'Invalid AHB-AP ID. Expected 4770011, got 22222222'

I have had similar problems before and have been able to revive this and other units by running the Luminary Flash programmer (Version 3.4, Build 554) - either downloding a known-good .bin file or erasing the device.

However, this does not do the trick for this one.
I get 'unable to initialize target' from the LMI Flash Programmer.

I can still communicate with the FTDI/USB portion of the device using the FTDI MProg 3.0 software and my Windows XP system still recognizes the USB VCOM port (set to COM8, BTW).

I have a coulple of other LMI boards (an 811 and a 1968) and, could, perhaps, use the JTAG interface to bring this back from the dead.

I have not used this feature of the device and wonder if anyone has a 'cookbook' procedure for resetting the 8962 via JTAG from another LMI board.

Thanks in advance,

ss

login or register to reply