[riot-users] OpenOCD + STM32F4

Emmanuel Baccelli Emmanuel.Baccelli at inria.fr
Thu Apr 2 17:51:08 CEST 2015


Hi Pierre,
conveniently, this is a wiki, so please, don't hesitate to update it indeed!
Best,
Emmanuel

On Thu, Apr 2, 2015 at 5:47 PM, Pierre Ficheux <pierre.ficheux at openwide.fr>
wrote:

> So the following doc needs to be updated:
>
> https://github.com/RIOT-OS/RIOT/wiki/Board%3A-STM32F4discovery
>
> ----- Mail original -----
> > De: "Pierre Ficheux" <pierre.ficheux at openwide.fr>
> > À: "RIOT OS users list" <users at riot-os.org>
> > Envoyé: Jeudi 2 Avril 2015 16:07:38
> > Objet: Re: [riot-users] OpenOCD + STM32F4
> >
> > That's right.
> >
> > Thx a lot !
> >
> > ----- Mail original -----
> > > De: "Joakim Gebart" <joakim.gebart at eistec.se>
> > > À: "RIOT OS users list" <users at riot-os.org>
> > > Envoyé: Jeudi 2 Avril 2015 13:05:36
> > > Objet: Re: [riot-users] OpenOCD + STM32F4
> > >
> > > I think your offset is wrong. The hex file should contain
> > > addressing
> > > information and the linker script is configured to place .text and
> > > .data at 0x8000000. Try it with
> > > flash write_image erase unlock
> > >
> /home/pierre/developpement/OW/IOT/RIOT/tests/led_blink/bin/stm32f4discovery/led_blink.hex
> > > 0
> > > instead.
> > >
> > > Best regards,
> > > Joakim Gebart
> > > Managing Director
> > > Eistec AB
> > > www.eistec.se
> > >
> > >
> > > On Thu, Apr 2, 2015 at 11:44 AM, Pierre Ficheux
> > > <pierre.ficheux at openwide.fr> wrote:
> > > > Hi all,
> > > >
> > > > I try to use OpenOCD after reading :
> > > >
> > > > https://github.com/RIOT-OS/RIOT/wiki/OpenOCD
> > > > https://github.com/RIOT-OS/RIOT/wiki/Board%3A-STM32F4discovery
> > > >
> > > > The 'flash banks' command works fine:
> > > >
> > > >> flash banks
> > > > #0 : stm32f4x.flash (stm32f2x) at 0x08000000, size 0x00100000,
> > > > buswidth 0, chipwidth 0
> > > >
> > > > but 'flash write' returns an error :
> > > >
> > > >> flash write_image erase unlock
> > > >>
> /home/pierre/developpement/OW/IOT/RIOT/tests/led_blink/bin/stm32f4discovery/led_blink.hex
> > > >> 0x08000000
> > > > auto erase enabled
> > > > auto unlock enabled
> > > > no flash bank found for address 10000000  <-- ??
> > > > no flash bank found for address 10003370  <-- ??
> > > >
> > > >
> > > > A simple 'make BOARD=stm32... flash' works fine.
> > > >
> > > > Any idea?
> > > >
> > > > thx
> > > >
> > > > --
> > > > Pierre FICHEUX -/- CTO OW/OWI, France -\-
> > > > pierre.ficheux at openwide.fr
> > > >
> http://ingenierie.openwide.fr
> > > >                                          http://www.linuxembedded.fr
> > > > I would love to change the world, but they won't give me the
> > > > source
> > > > code
> > > > _______________________________________________
> > > > users mailing list
> > > > users at riot-os.org
> > > > http://lists.riot-os.org/mailman/listinfo/users
> > > _______________________________________________
> > > users mailing list
> > > users at riot-os.org
> > > http://lists.riot-os.org/mailman/listinfo/users
> > >
> >
> > --
> > Pierre FICHEUX -/- CTO OW/OWI, France -\- pierre.ficheux at openwide.fr
> >                                          http://ingenierie.openwide.fr
> >                                          http://www.linuxembedded.fr
> > I would love to change the world, but they won't give me the source
> > code
> > _______________________________________________
> > users mailing list
> > users at riot-os.org
> > http://lists.riot-os.org/mailman/listinfo/users
> >
>
> --
> Pierre FICHEUX -/- CTO OW/OWI, France -\- pierre.ficheux at openwide.fr
>                                          http://ingenierie.openwide.fr
>                                          http://www.linuxembedded.fr
> I would love to change the world, but they won't give me the source code
> _______________________________________________
> users mailing list
> users at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20150402/4365d4b3/attachment-0001.html>


More information about the users mailing list