How to view FPU registers in Debug mode?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to view FPU registers in Debug mode?

2,202 Views
kavehfirouzi
Contributor II

I am working with a M4f processor and I need to look at FPU registers while I am debugging. The description for the General Registers says general purpose and fpu register group but I can only see the general purpose registers. What should I do?

 

Regards,

K

Labels (1)
4 Replies

1,686 Views
asfarley
Contributor IV

Bump - has there been any action on this? The embsysregview extension is missing views for many registers on the K22F: UART4, UART5, etc. 

0 Kudos
Reply

1,686 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Kaveh,

Do you sue KDS ?

If yes , it only shows the core registers on KDS 2.0 and also the before KDS version , and you can refer to here to add register detail view.

http://mcuoneclipse.com/2014/05/29/how-to-add-register-details-view-in-eclipse/

Hope it helps

Alice

0 Kudos
Reply

1,686 Views
kavehfirouzi
Contributor II

Hi,

I am using KDS 2.0. It doesn't show me FPU registers. I have also already installed EmbSysRegView, it also doesn't include FPU registers.

Regards,

K

0 Kudos
Reply

1,686 Views
BlackNight
NXP Employee
NXP Employee

Hi K,

The EmbSysRegView only shows what is present in the CMSIS-SVD files. Usually, the CMSIS-SVD files (according to ARM Inc.) do not include the core registers. However, the new Kinetis Design Studio v3.0.0 (see New Kinetis Design Studio V3.0.0 available ) comes with extended CMSIS-SVD files which now include core registers:

(you might use these SVD files from v3.0.0 in your v2.0.0 too).

pastedImage_0.png

As you can see from above, it shows now the system control, NVIC, Systick.

I notice that things like FPCCR, FPCAR, FPDSCR are somehow missing (I have filed a ticket about this).

I hope this helps,

Erich

0 Kudos
Reply