The stlink doesn't retrieve and return FPU registers for STM32F407. #71

Closed
TerryGuo opened this Issue Mar 16, 2012 · 2 comments

Comments

Projects
None yet
4 participants
@TerryGuo

Hi there,

Thanks for your great work. I can debug my STM32F407 Discovery board through stlink. Everything work fine except that I can't display the FPU registers like s0,s1..s31 in GDB. My board does own a hardware FPU. I read the stlink code and find there is a struct called reg which defines a member r[16]. So it seems to me that the stlink doesn't retrieve FPU registers at all.

If I want to read all the registers including core registers and FPU registers, what should I do? Do you guys have any plan to support FPU registers? Thanks very much.

Best regards,
Terry

@UweBonnes

This comment has been minimized.

Show comment Hide comment
@UweBonnes

UweBonnes Mar 17, 2012

Contributor

Does OpenOCD support FPU register access? Is there any description in the ST doocuments how to access FPU registers? Can ST STLIBK tools access FPU registers?
If one question is answered with yes, it can be done, However there must be soemone to really do it.
. At present I am more involbved into getting ethenut support for cortex M3 straight.

Contributor

UweBonnes commented Mar 17, 2012

Does OpenOCD support FPU register access? Is there any description in the ST doocuments how to access FPU registers? Can ST STLIBK tools access FPU registers?
If one question is answered with yes, it can be done, However there must be soemone to really do it.
. At present I am more involbved into getting ethenut support for cortex M3 straight.

@prattmic

This comment has been minimized.

Show comment Hide comment
@prattmic

prattmic Jul 9, 2012

Contributor

Added in pull request #101.

Contributor

prattmic commented Jul 9, 2012

Added in pull request #101.

@xor-gate xor-gate closed this May 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment