Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Enabling New Space Missions: Commercial Space Screening Approach for Agile, High-Reliability Payloads

    As the Space market evolves and accelerates, mission designers need space-capable electronics that balance performance, reliability, and affordability...

    Places

    • ADI Academy
    • ADI Webinars
    • EZ Blogs
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Other Products Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Upcoming Learning & Events

    • Fast-Track Certification: Leveraging IC Safety App Notes for Functional Safety Designs
    View All Webinars
  • Community Hub

    Challenge Yourself!

      World Engineering Day Quiz!

      By Kuo-Chang A checkerboard made as a 7 x 7 matrix has a green basic cell placed in its middle as shown in the above structure. Questions: How...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card!

      Important: Read the blog first . The quiz questions are all based on the content from the blog: ISO 26262 Essentials: Ensuring Confidence in Your Software...

    View All

    Places

    • Community Help
    • Analog Dialogue Quiz
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • ContentZone

    Visit ContentZone

    Search content by industry or technology.
    • Blogs
    • Technical Articles
    • Tutorials
    • Videos
    • Webinars
    Your ADI content all in one place.
    View ContentZone

    The Latest Read

    A Systematic Checklist for RF Transceiver Testing

    RF transceiver bring-up is the initial process of powering, configuring, and verifying a transceiver on new hardware to ensure basic functionality and...

    New Release

    Signal Chain Designer: DC Error Simulation
    Signal Chain Designer: DC Error Simulation

    This video covers the DC error calculation capabilities of Signal Chain Designer. DC error is unique in that often requires calibration and has so many...

    Recent Technical Insights

    Latest Technical Article from Analog.com
    Phase Sync in Digital Phased Arrays Through Direct RF SamplingPart 1: The Basics

    This article presents a methodology to synchronize multiple modular circuit boards, equipped with high speed data converters, to build a concept of a scalable...

EngineerZone
EngineerZone
Linux Distribution for Blackfin
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Linux Distribution for Blackfin
  • Processors & DSP
  • Software & Development Tools
  • Linux Distribution for Blackfin
  • Cancel
Linux Distribution for Blackfin
Documents [#7313] bfin-gdbproxy crashes when attempting to load an executable on Windows
  • Q&A
  • Docs/FAQs
  • Members
  • Tags
  • Cancel
  • +Documents
  • +2013R1 Linux release for Blackfin: FAQ
  • +2013R1: FAQ
  • +AD5700: FAQ
  • +ADI test script: FAQ
  • +bf537 SPI Bus: FAQ
  • +BF609: FAQ
  • +BF70x processor: FAQ
  • +bfin-elf-libstdc++-4.3: FAQ
  • +bfin-elf: FAQ
  • +bfin-uclinux-libstdc++-4.3: FAQ
  • +Blackfin Linux Projects: FAQ
  • +Blackinfin Linux: FAQ
  • +build toolchain: FAQ
  • +CPLB fault or SIGABRT: FAQ
  • +DAS U-BOOT FOR BLACKFIN: FAQ
  • +Default ADI release: FAQ
  • +Flash the uImage into Flash: FAQ
  • +gas test: FAQ
  • +gcc-4.3 ICEs: FAQ
  • +gcc.c-torture/execute/memset-2.c: FAQ
  • +gcc.dg/trampoline-1.c test: FAQ
  • +gcc/g++ test: FAQ
  • +gcc/g++ testcase: FAQ
  • +GDB commands: FAQ
  • +gdb.base/sigall.exp: FAQ
  • +gdb.cp/userdef.exp: FAQ
  • +gdb.gdbtk/c_variable.exp: FAQ
  • +GDB: FAQ
  • +gdb: symbol: FAQ
  • +gdbproxy: FAQ
  • +GNU TOOLCHAIN: FAQ
  • +How to load Linux: FAQ
  • +ldr-utils: FAQ
  • +libstdc++-4.3 21_strings/basic_string/capacity/char/18654.cc test: FAQ
  • +LOOP: FAQ
  • +mcpu: FAQ
  • +Parent Document for U-Boot Bug Archive: FAQ
  • +Parent Document for U-Boot Bug Forum Archive: FAQ
  • -Parent for all content moved from GNU Archive: FAQ
    • [#7290] Blackfin GNU tool chain Eclipse plug-in does not support ADSP-BF60x
    • [#7291] Blackfin GNU tool chain Eclipse plug-in does not specify -mcpu for Assembly source
    • [#7292] Blackfin GNU tool chain Eclipse plug-in reports "WARNING: The "Debug" Configuration may not build"
    • [#7293] Blackfin GNU tool chain Eclipse plug-in reports "This discovery method is deprecated" when used with Juno Release
    • [#7299] Blackfin GNU tool chain Eclipse Memory Mapped Registers View plug-in uses outdated proc files and does not support ADSP-BF60x
    • [#7300] kernel build with busybox 1.20 by trunk head toolchain and uClibc 0.9.33.2 boot up fails
    • [#7305] bfin-jtag.exe and bfin-gdbproxy.exe do not work on Windows
    • [#7313] bfin-gdbproxy crashes when attempting to load an executable on Windows
    • [#7317] GCC should generate code for Core 0 by default
    • [#7318] Ensure that -mmulticore -mcore0 is set on Eclipse ADSP-BF561/BF60x project creation
  • +prepare_target_solibs: FAQ
  • +SDP-B: FAQ
  • +signal 11: FAQ
  • +sim binutils: FAQ
  • +SPI eeprom: FAQ
  • +svn head u-boot build: FAQ
  • +test libmudflap: FAQ
  • +toolchain-regtest -r: FAQ
  • +toolchain-regtest: FAQ
  • +trunk head gdbproxy: FAQ
  • +trunk toolchain: FAQ
  • +u-boot with UART: FAQ
  • +u-boot: FAQ
  • +uClinux kernel: FAQ
  • +uClinux: FAQ
  • +Upgrade from 3801 to 3852: FAQ
  • +VDSP: FAQ

[#7313] bfin-gdbproxy crashes when attempting to load an executable on Windows

[#7313] bfin-gdbproxy crashes when attempting to load an executable on Windows

Submitted By: Andrew McLachlan

Open Date

2012-09-06 09:23:59    

Priority:

High     Assignee:

Andrew McLachlan

Board:

N/A     Silicon Revision:

Resolution:

N/A     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

Windows

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

2012R1

Is this bug repeatable?:

N/A     

Summary: bfin-gdbproxy crashes when attempting to load an executable on Windows

Details:

1, cd <a working directory>

2, Run bfin-gdbproxy in CMD

    Remote proxy for GDB, v0.7.2

3, Run bfin-elf-gdb in a separate CMD

4, In bfin-elf-gdb -- target remote:2000

5, load fooBar (attached)

6, See crash box (screenshot attached)

This happens using a gnICE jtag or ICE-100B (modified to work with GNU tools).

Connected to ADSP-BF609.

Follow-ups

--- Jie Zhang                                                2012-09-06 11:04:04

"File not found." for fooBar and Capture.PNG.

--- Andrew McLachlan                                         2012-09-06 11:11:39

The fooBar binary is just an empty "int main() { return 0; }"

program.

The Capture.PNG was a screenshot showing my version, which is in the

description anyway, and a picture of the oh so helpful crash box.

Let me know if you are able to reproduce the issue using the steps above

and an empty main program built for bf609-any.

--- Jie Zhang                                                2012-09-06 11:14:19

What's the command line you used for building fooBar?

--- Andrew McLachlan                                         2012-09-06 11:22:26

Building file: ../src/fooBar.c

Invoking: Blackfin ELF C Compiler

bfin-elf-gcc -O0 -g3 -Wall -c -fmessage-length=0 -mcpu=bf609-any -MMD -MP

-MF"src/fooBar.d" -MT"src/fooBar.d" -o

"src/fooBar.o" "../src/fooBar.c"

Building target: fooBar

Invoking: Blackfin ELF C Linker

bfin-elf-gcc -mcpu=bf609-any -o "fooBar"  ./src/fooBar.o  

Finished building target: fooBar

--- Jie Zhang                                                2012-09-06 11:38:53

After "target" but before "load", try this:

(gdb) info thread

What do you see?

--- Andrew McLachlan                                         2012-09-06 11:42:12

E:\EclipseSDK\workspace\fooBar\Debug>bfin-elf-gdb

GNU gdb 6.6

This GDB was configured as "--host=i386-mingw32msvc

--target=bfin-elf".

(gdb) target remote:2000

Remote debugging using :2000

[New Thread 1]

[New Thread 2]

0xffa0883a in ?? ()

(gdb) info thread

  2 Thread 2 (Core 1 DBGSTAT [0x1000])  0x038c00a3 in ?? ()

* 1 Thread 1 (Core 0 DBGSTAT [0x0018])  0xffa0883a in ?? ()

(gdb)

--- Jie Zhang                                                2012-09-06 13:09:51

This issue should have been fixed in trunk. You are trying to load program into

Core 1, which is locked. The gdbproxy in 2012R1 release has a bug which prevent

it from loading the program. Two workarounds are available:

1. Build the program for Core 0 instead of Core 1 with proper GCC options

"-mmulticore -mcore0". So this bug will not triggered. Actually I

think GCC should generate code for Core 0 by default.

2. You can build gdbproxy from the trunk and replace the executable in 2012R1

installation with the one. With the new gdbproxy, you can load the program into

Core 1 even it's locked, but if you want to execute it, you will need add option

"--unlock-on-connect" to gdbproxy to unlock the Core 1.

--- Andrew McLachlan                                         2012-09-07 04:24:44

Thanks. So there are three items here:

1, I need to check when the gdbproxy bug that prevents the program from

loading

    will make it into the Release.

2, "GCC should generate code for Core 0 by default"

    Chase up to see if we can make it so.

2, The Eclipse plug-in needs to ensure the -mcore option is set when

    creating Projects for Devonshire (and presumably similar for ADSP-BF561).

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

fooBar    application/octet-stream    32992    Andrew McLachlan

fooBar    application/octet-stream    32992    Andrew McLachlan

Capture.PNG    image/png    234920    Andrew McLachlan

Attachments:
5305.Capture.PNG
fooBar.zip
5277.fooBar.zip
  • Share
  • History
  • More
  • Cancel
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved