GPIO registers are not displayed in memory window

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi,

I am using MTB2.1 with 062-kit. When I try to check registers of the GPIO, the memory window in MTB2.1 is not display them. It displays all 0.

1.jpg

What settings do I need to make to use the window?

Thanks

Kenshow

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Please follow these steps to get the Peripherals view setup in Eclipse IDE:

(1) Go to Run > Debug Configurations

(2) Choose the debug configuration, it will be of the format "..... Debug (KitProg3)"

(3) Under SVD Path, browse to the SVD file corresponding to your device. The SVD files will be located in "libs/psoc6pdl/devices/svd". For the PSoC62 Kit it is the file "psoc6_01.svd".

pastedImage_0.png

(4) Now click Debug

(5) Open the Peripherals view next to Project Explorer.

pastedImage_4.png

(6) Select the checkbox for GPIO

(7) You should now be able to see the GPIO registers in the Registers Window. You should see the values updated based on the code you have written.

pastedImage_5.png

Hope this helps

Regards,

Dheeraj

View solution in original post

4 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Please follow these steps to get the Peripherals view setup in Eclipse IDE:

(1) Go to Run > Debug Configurations

(2) Choose the debug configuration, it will be of the format "..... Debug (KitProg3)"

(3) Under SVD Path, browse to the SVD file corresponding to your device. The SVD files will be located in "libs/psoc6pdl/devices/svd". For the PSoC62 Kit it is the file "psoc6_01.svd".

pastedImage_0.png

(4) Now click Debug

(5) Open the Peripherals view next to Project Explorer.

pastedImage_4.png

(6) Select the checkbox for GPIO

(7) You should now be able to see the GPIO registers in the Registers Window. You should see the values updated based on the code you have written.

pastedImage_5.png

Hope this helps

Regards,

Dheeraj

Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hi Dheeraj,

Thank you. It is very useful information for me to debug the device.

Thanks,

Kenshow

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Dheeraj-san,

We definitely need this information in a KBA!

Could you make and provide one?

Then Kensho-san will translate it into ...

Best Regards,

16-Jun-2020

Motoo Tanaka

0 Likes

Hello Motoo,

Yes, I agree. It should be out early next week, I will post the update here

Regards,

Dheeraj