I have a custom board using a Stellaris LM3S9L97 microcontroller that I am trying to program using uvision and a ulink2. I have the target driver set to "ULINK Cortex Debugger," the programming algorithm set to "LM3Sxxx 128kb Flash", on-chip, starting at 0x00000000 with a size of 0x00020000. When I look under the "JTAG Device Chain" in the DEBUG settings, the ARM CoreSight JTAG-DP shows up. Everything seems to be connected, but when I try to program or erase the flash I get "Error: Flash Download Failed - Cortex-M3." I have read through other forums and a common solution was to change the programming algorithm, but I believe it is right for this chip. Are there any other suggestions for what could cause this problem? Thanks in advance.