Monday, February 28, 2011

Feb.28 Debugger notes

[again: just dev notes]
Goal: Get at least 1 (gdb with ARM7) debugger working on laptop
Sideline: Flashing LMS


OpenOCD is what has been used. Looking for something easier to install and perhaps better
  • OpenOCD
    • used on lab PC ver.0.3 with patch (compiled) 
    • However neither 0.3 with patch (both compiled and from lab PC) nor 0.4 (installed) work
      • Possibly cygwin component not installed, but so far no clear documentation to check
      • Have not found any .cfg command documentation.
        • TCL in .cfg files may have changed between 0.3 and 0.4
  • Segger

SEGGER J-Link Commander V4.22c ('?' for help)
Compiled Jan 18 2011 11:40:21
Updating firmware:  J-Link ARM V8 compiled Dec 16 2010 20:21:29
Replacing firmware: J-Link ARM V8 compiled Dec  1 2009 11:42:48
Waiting for new firmware to boot
New firmware booted successfully
DLL version V4.22c, compiled Jan 18 2011 11:40:08
Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
Hardware: V8.00
S/N: 268000496
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
J-Link>


Options to Flash LMS HW:

  • SAM-BA v2.10_cdc (works Lab PC (XP) & laptop (Vista))
  • OpenOCD with flash cfg (works Lab PC (XP))
  • Segger J-Flash


No comments:

Post a Comment