cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use GPIO toggle pin using core M33 for stm32mp255dk3 processor

asadullah4571
Senior

Hi ST,

i wanted to use only single GPIO toggling from ther M33 processor , how can i start with.
I am unable to find the examples of M33 processor.

5 REPLIES 5
Pwxn
ST Employee

Hello,

You will find in the Firmware package of the MP2 examples to run on the M33.

=> https://www.st.com/en/embedded-software/stm32cubemp2.html

Regards,

 

Hi @Pwxn 
I did not understand this, means how i can connect the m33 co-processor to cube-IDE , how can i debug it, 
Previously i used stm32mp1 (M4) processor , and it is easy to connect with Cube-IDE , but now I am Unable to connect the stm32mp2(M33).

I generate the code or pin configuration of the M33 from the cubeMX. now, how can i connect. how,can i  dump the code into the M33 ,  
I did not understand any thing.

Pwxn
ST Employee

Hello,

 

Can you be more precise on what you try to achieved? Are you working on A35 flavor or M33 flavor?

I recommend you to have a look at the wiki, it's well explained how to manage your code using the co processor.

https://wiki.st.com/stm32mpu/wiki/How_to_build_and_debug_secure_project_on_Cortex-M33_coprocessor_in_STM32CubeIDE

https://wiki.st.com/stm32mpu/wiki/How_to_manage_STM32MP2_OpenSTLinux_projects_in_STM32CubeIDE

 

What you mean when you said you can't connect the mp2? Standard way is thru Ethernet over usb (with default 192.168.7.1 interface) or by serial). 

 

Regards,

@Pwxn 

 

>>>> Can you be more precise on what you try to achieved?
Actually I am using Openstlinux distribution package for stm32mp255DAK3 custom board , my board bring-up related things now complete , as of now , The customer requirement is i need to blink the LED , from the M33 -co processor , rest of the application are runnig into the A35 linux, 

so the requirement is how can i use M33 for LED blinking purpose only.  i am totally fresher for co-processor.

can you please how can start with the M33  

Pwxn
ST Employee

Hi again,

Did you follow the getting started of the wiki?

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-M33/Modify,_rebuild_and_reload_the_firmware

 

You can base your work from this page and other example of the firmware package.

You need to use the remoteproc framework like on the m4. Create your application run it from CubeIDE or load the elf/ bin on your board then setup the remoteproc startup script according to your modification. 

=> STM32Cube_FW_MP2_V1.1.0/Utilities/scripts/fw_cortex_m33.sh

 

I hope it help. Regards,