1 2 Previous Next 23 Replies Latest reply on Sep 14, 2016 2:15 PM by Intel Corporation

    Olimex ARM-USB-OCD-H + OpenOCD + Intel Galileo Quark real mode debugging

    tcp7628

      Hi,

       

      I got a technical problem when using the Olimex ARM-USB-OCD-H with Intel Galileo Board. 

       

                        Platform : Windows 7 / Windows 10 / Ubuntu

                        Board     : Intel Galileo Gen 1

                        Software : OpenOCD-0.9.0-rc1 (From Olimex website) / GNU gdb (GDB) 7.6.1

       

      We have modified the Intel Galileo (Quark processor) firmware, so that it can operate in real mode instead of protected mode. 

       

      We used Olimex ARM-USB-OCD-H, OpenOCD and gdb for debugging, it works well in the protected mode but got the following errors in real mode.

       

      C:\Users\tcp7628\Desktop>cd C:\Users\tcp7628\Desktop\OpenOCD-OLIMEX-WINDOWS\open
      ocd-0.9.0-rc1\bin-x64

      C:\Users\tcp7628\Desktop\OpenOCD-OLIMEX-WINDOWS\openocd-0.9.0-rc1\bin-x64>openoc
      d.exe -f ./interface/ftdi/olimex-arm-usb-ocd-h.cfg -f ./target/quark_x10xx.cfg
      Open On-Chip Debugger 0.9.0-rc1 (2015-04-24-22:09)
      Licensed under GNU GPL v2
      For bug reports, read
              http://openocd.org/doc/doxygen/bugs.html
      adapter speed: 6000 kHz
      Info : auto-selecting first available session transport "jtag". To override use
      'transport select <transport>'.
      Info : clock speed 6000 kHz
      Info : JTAG tap: quark_x10xx.cltap tap/device found: 0x0e681013 (mfg: 0x009, par
      t: 0xe681, ver: 0x0)
      enabling core tap
      Info : JTAG tap: quark_x10xx.cpu enabled
      Info : accepting 'gdb' connection on tcp/3333

      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: target running, halt it first
      Error: x86_32_common_read_memory invalid params count=0x1, buf=00000000007fb7f0,
      addr=0x00000000
      Error: target running, halt it first
      Error: x86_32_common_read_memory invalid params count=0x1, buf=00000000007fb7f0,
      addr=0x00000000
      Error: target running, halt it first
      Error: x86_32_common_read_memory invalid params count=0x1, buf=00000000007fb7f0,
      addr=0x00000000
      Error: target running, halt it first
      Error: x86_32_common_read_memory invalid params count=0x1, buf=00000000007fb7f0,
      addr=0x00000000
      Error: target running, halt it first
      Error: x86_32_common_read_memory invalid params count=0x1, buf=00000000007fb7f0,
      addr=0x00000000
      Error: target running, halt it first
      Error: x86_32_common_read_memory invalid params count=0x1, buf=00000000007fb7f0,
      addr=0x00000000
      Error: enter_probemode PM enter error, tapstatus = 0x40000010

       

      Is it I did something wrongly?

      Or the Olimex ARM-USB-OCD-H and OpenOCD cannot debug x86 CPU in real mode? 

       

      Thank you.

        1 2 Previous Next