Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debug configuration setup for STM32 board
Debug configuration setup for STM32 board [message #1701461] Mon, 13 July 2015 14:27
Janice Man is currently offline Janice ManFriend
Messages: 1
Registered: July 2015
Junior Member
Hi all,

I'm new in using Eclipse connecting to a STM32f4-discovery board via JTAG (OpenOCD) and currently struggling ... Sad

I'm using Nuttx OS and the executable generated is nuttx. My C project is using "arm-none-abi-gcc". In Debug Configurations, I loaded symbols and executables with <nuttx_path>/nuttx.

Question 1) I saw nothing in the disassembly window. I could see the assembler code when I use arm-none-eabi-objdump in the Linux console. Do I need to add this command in Eclipse? If yes, where can I add it; else is there anything I missed?

Question 2) When I run Debug, Eclipse hangs when OpenOCD console listed -
Started by GNU ARM Eclipse
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Info : STLINK v2 JTAG v17 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.893827
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints

But when I flashed it via Linux console, it was ok and I could then execute the software via serial-port... please could you suggest what has I done wrong?

Many thanks for reading it and I look forward to hearing from you. Thanks in advance.

Cheers,

Janice

[Updated on: Mon, 13 July 2015 14:39]

Report message to a moderator

Previous Topic:How to get Ant option under windows->Preferences in Eclipse Luna?
Next Topic:Auto Template Spacing Inconsistent
Goto Forum:
  


Current Time: Thu Apr 25 10:57:41 GMT 2024

Powered by FUDForum. Page generated in 0.02993 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top