Hello,
I'm working on a luminary LM3s9b92 with Keil µVision4. With the C1 revision of the part, I donwloaded my program with the "In-Circuit Debug Interface" board of the EKK-LM3S9B92 evaluation kit. I had no problem.
With the C3 revision, KEIL4 + EKK : impossible to program the part.
Now, since yesterday, I have a Keil Ulink2 Debug Adapter. With this and my version of µVision4 (4.12) : impossible to program the part. I donwloaded the latest version (4.13a) of Keil yesterday. Now, I can flash the part, but it remains some of questions:
in the Debug sheet of the "Cortex-M Target Driver Setup" and in the "Download Options" group : - if "Verify Code Download" is unselected and "Download to Flash" is unselected too :I can donwload my program and debug it.
- if "Verify Code Download" is selected and "Download to Flash" is selected too :I can donwload my program but not debug it. Here is the error message : "Ulink - Cortex-M Error" Memory Missmatch ! Address = 0x00000000 Value = 0x00 Expected = 0xC8
- if "Verify Code Download" is unselected and "Download to Flash" is selected : I can donwload my program and launch the debug but without breakpoints !
Any suggestions for these problems ? Regards, Jean-Marc Rouxel
ULINK driver released in MDK413a already includes the work-around for TI (Luminary) Tempest C3 devices.
It is only required that the LM3Sxxxx device is selected and that debugger is configured to Autodetect Reset.
"Download to Flash" needs to be disabled.