I used IAR 6.30 and JLink v8 (Segger) to download StaterWare (02.00.00.07) example projects to my BeagleBone (Rev 6). I did as instructed in
I also download MAC file patch and used AM335x_DDR2.mac as debug macro file.
I got these messages when I try to download and debug my project:
Wed Sep 12, 2012 11:49:52: Loaded macro file: C:\Program Files\Texas Instruments\tools\ewarm\AM335x_DDR2.mac
Wed Sep 12, 2012 11:49:52: Device "AM3359" selected (0 KB flash, 0 KB RAM).
Wed Sep 12, 2012 11:49:52: JLINK command: ProjectFile = C:\Program Files\Texas Instruments\build\armv7a\ewarm\am335x\beaglebone\gpio\settings\gpioLEDBlink_Debug.jlink, return = 0
Wed Sep 12, 2012 11:49:52: JLINK command: scriptfile = C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\config\debugger\TexasInstruments\am335x.jlinkscript, return = 0
Wed Sep 12, 2012 11:49:52: Device "AM3359" selected (0 KB flash, 0 KB RAM).
Wed Sep 12, 2012 11:49:52: JLINK command: device = am335x, return = 0
Wed Sep 12, 2012 11:49:52: DLL version: V4.50m, compiled Jul 20 2012 19:39:26
Wed Sep 12, 2012 11:49:52: Firmware: J-Link ARM V8 compiled Aug 1 2012 13:40:47
Wed Sep 12, 2012 11:49:52: JTAG speed is initially set to: 32 kHz
Wed Sep 12, 2012 11:49:52: Initial reset was performed
Wed Sep 12, 2012 11:49:52: TI AM3517 (Cortex-A8 core) J-Link script
Wed Sep 12, 2012 11:49:53: J-Link script: Init ICEPick
Wed Sep 12, 2012 11:49:53: TotalIRLen = 6, IRPrint = 0x01
Wed Sep 12, 2012 11:49:53: TotalIRLen = 6, IRPrint = 0x01
Wed Sep 12, 2012 11:50:08: AM335x 15x15 EVM Initialization is in progress ..........
Wed Sep 12, 2012 11:50:08: **** Subarctic ALL ADPLL Config for OPP == OPP100 is In Progress .........
Wed Sep 12, 2012 11:50:08: C:\Program Files\Texas Instruments\tools\ewarm\AM335x_DDR2.mac(42,23): Error: Operation error.
Wed Sep 12, 2012 11:50:08: Error while calling macro execUserPreload
Wed Sep 12, 2012 11:50:08: 724 bytes downloaded (22.81 Kbytes/sec)
Wed Sep 12, 2012 11:50:08: Loaded debugee: C:\Program Files\Texas Instruments\binary\armv7a\ewarm\am335x\beaglebone\gpio\gpioLEDBlink.out
Wed Sep 12, 2012 11:50:25: Target reset
Wed Sep 12, 2012 11:50:25: Failed to set breakpoint at 0x00000080 (out of breakpoints?)
Wed Sep 12, 2012 11:50:27: Warning: Hardware breakpoint not possible to set/clear during execution
Wed Sep 12, 2012 11:50:27: Failed to set breakpoint at 0x00000008 (out of breakpoints?)
Wed Sep 12, 2012 11:50:28: Warning: Hardware breakpoint not possible to set/clear during execution
Wed Sep 12, 2012 11:50:28: There were 1 error and 3 warnings during the initialization of the debugging session.
Ignoring all warnings and errors, it look like a successful download but I could not debug, create brakpoints ... Whenever, I try to run, halt or reset my board, I got this message
CPU not hlated
Abort debug session?
And IAR become "Not responding"
So, Are there any errors in AM335X_DDR2.MAC?
Please help me solve this problem!
TinND