cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox General

Esteemed Contributor

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
Reply
1 Solution
Moderator
Moderator

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
Moderator
Moderator

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

Esteemed Contributor

Hi Dheeraj,

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

Thanks,

Kenshow

0 Likes
Reply
Esteemed Contributor

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
Reply
Moderator
Moderator

Hello Motoo,

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

Regards,

Dheeraj

Top labels