cancel
Showing results for 
Search instead for 
Did you mean: 

Debug port

butterfly
Associate II

Dear sir, dear missis,

I'm working with an STM32L053r8 on a step by step know-how. My interface with the bootloader runs fine, and I am able to cover the main features provided through this interface. The issues I try to cover now is the right understanding , how the Cortex M0+ runs at assembly level.  I done several tests without results today, I can continue to test with an iterative methodology; I can also use the debug port (SWD pin).

I developped an interface to do that, but at this time I didn't received any answer from the debug port. This one is built following Cortex architecture protocole (IHI0031G Debug interface architecture V5.2 architecture specification).

The only thing I can say, to define an hardware protocol at this level is a very important effort, and therefore I missed may be, some details. Or in short my best efforts, were insufficient to translate by hardware, this design document. What seems unclear to me is the specifications at the hardware level, my interface is supposed to work with V5.1 design, and I don't receive any debug interface ID, when I send the 0x85 command ( or 0xA5 command after parity checking) ?

This this surly bit & byte cooking, and maybe have you a more in depth debug port hardware specifications?

Many thanks for support you could provide; hoping this question isn't to deeply hardware?

 

Best regards.

Butterfly.

4 REPLIES 4
STea
ST Employee

Hello @butterfly ,

I'm sorry but I don't seem to get your request and your issue description as well clearly.

can you please explain what you are trying to do with the STM32L0 and what is your problem, is it related to bootloader or debug access throw SWD or JTAG, this will give us the necessary information to identify your problem correctly.

Regards 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thanks to answer.

Concern of my question is the debugger in SWD mode.

 

Thanks

Butterfly

Hello @butterfly ,

what is the exact problem with the SWD interface?

are you using and STM32 Nucleo or discovery board or is it a custom board?

are you able to connect to it with CubeProgrammer ?

are setting the SWIO and SWCLK pins as input for another usage for example?

Regards 

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
butterfly
Associate II

Dear sir,

The answers to yours questions are in my first email. SWIO and SWCLK are connected to a hardware from my own in the goal to exchange informations from the debugger. Thoses pin being dedicated to debug, there is no need to start with Cube Programmer.

Regards.