On Sat, Jul 30, 2011 at 5:48 PM, B <bbcu2...@gmail.com> wrote:
> Using Open On-Chip Debugger 0.5.0-dev-00948-gd4cd6f0 (2011-07-30-15:55)
>
> LM3S3N26-C5 is not detected as a Tempest device and so uses the sysresetreq
> in place of the needed vectreset in stellaris.cfg.
>
> The device class appears to be set by:
>
> set device_class [expr (([mrw 0x400fe000] >> 16) & 0xff)]
>
> This memory location contains the device class. Tempest is 0x04.
>
> There is an errata where LM3S3N26 misreports itself as 0x03.
>
> My attempt at a workaround was to define a variable:
>
> set DEVICECLASSIS 0x04
>
How did you define it?

> then call a modified stellaris.cfg:
>
How did you call it?

If you defined DEVICECLASSIS in a config file and used a "-f" option
to add that config file and a "-f" to add stellaris.cfg, sellaris.cfg
could not see DEVICECLASSIS because it was not a global variable. You
will need to declare it as global explicitly. Weird? See the thread
"script vs source" I started several days ago for an explanation.

Regards,
Jie
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to