Has anyone out there successfully programmed a LM3S5P36 with the Ulink2 using uVision?
It won't work with the ulink, but when we connected the JTAG lines to the FTDI JTAG programmer on one of the Luminary development boards(uses 4 wire JTAG), it programmed fine (LED blinking as expected).
When attempting to load program, popup says "Cannot Load Flash Programming Algorithms", and build output says "Cannot Write to RAM for Flash Algorithms". Press OK then popup says "Error: Flash Download Failed - "Cortex-M3"" and build output says "Erase Failed".
I can detect the debugger interface in the "target driver setup \ Debug" window (0x2BA01477 ARM CoreSightSW-DP) in both SWD(2 wire) and JTAG(4 wire) mode.
I've tried the bug fix listed under "Cannot Write to RAM for Flash Algorithms", and gone back and forth a couple of times with tech support via email and even used the chip's full reset sequence. The programmer is putting out clean square waves on all lines. Same error message sequence in SWD or JTAG mode. I've used 3 other Luminary chips of this family and never encountered this issue before.
The ulink2 DOES program the other chip on this board, and worked when I tried programming a Luminary part on another board.
Hi,
are there any jumpers on the Board that you must set before connecting an external debugger? Also the LMI devices like(d) to lock themselves out from JTAG/SW randomly, this can be solved in most cases by downloading the LMI Flash Programmer from the TI Homepage (registration required), and then, on the last TAB of that programm, select "Unlock". This only works with the on board FTDI and this programm, per USB.
. BR, /th.
same thing with me and a Rev C5 Chip LM3S5R36 using SWD interface. I use ULINK ME which works well with old projects. Everything works fine if I use an ICDI Board for debugging.
Werner