This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STM32, openocd and eCos


Hi Martin,

Am Dienstag, den 25.01.2011, 19:42 +0100 schrieb Martin Hoffmann:
> Did it solve your problem?
> I also started working with this Mini STM32 Board
> and took the STM3210E as a base.

Yes, the hint solved it for me. My solution is a bit quick'n dirty,
because I don't read the DBGMCU_CR, but just set bit 1.

I'm doing this in the init handler in my openocd config:

stm32.cpu configure -event reset-init {
  halt
  flash probe 0
  mww 0xE0042004 0x00000001
}

There are probably nicer solutions, but hey, it does what it should ;)

Cheers,
Manuel

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]