Page 1 of 1

Problem with gdb+eclipse+stm32f4discovery

Posted: Wed Dec 12, 2012 12:08 pm
by mat03
I do exaclty how is write i page: http://www.chibios.org/dokuwiki/doku.ph ... nk_eclipse but I onty see

symbol-file D:\\thundercyer-the-alarm-clock\\Debug\\ThunderCryer.elf
load D:\\thundercyer-the-alarm-clock\\Debug\\ThunderCryer.elf
You can't do that when your target is `None'
tbreak main
Cannot access memory at address 0x801dc1e
jump ResetHandler
The program is not being run.


I do not know what to do.

Re: Problem with gdb+eclipse+stm32f4discovery

Posted: Wed Dec 12, 2012 12:17 pm
by Giovanni
Hi,

What Eclipse environment are you using? that guide is for a toolchain built as described in this article...
http://www.chibios.org/dokuwiki/doku.ph ... s:eclipse1
...and for applications built using ChibiOS startup files.

Apparently you are using something else, am I correct?

BTW, wrong forum, this one is not support, moved to the support forum.

Giovanni

Re: Problem with gdb+eclipse+stm32f4discovery

Posted: Fri Dec 14, 2012 7:10 am
by DeusExMachina
May be you forget to select Standard GDB Hardware debugging launcher in Eclipse debug configuration?