2022-08-04 03:13 AM
The board is installed with the system( stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15) by following the Getting started .
All drivers are installed.
However, in the DDR test suite, I cannot connect to the device.
How to make the right connection for using DDR Test Suite?
Do I need a DDR utilities binary file for the connection?
thank you
2022-08-09 01:55 AM
Hello @porter.chen ,
Can you double check if you well followed all the steps explained at this link ? There are some paragraphs that deals with your issue.
Regards,
Erwan.
2022-08-09 03:53 AM
Hello @porter.chen
First le me thank you for having reported.
The link posted by @Erwan SZYMANSKI is very helpful.
I just want to add the steps I have done in details:
Regards,
Semer.
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.
2022-08-11 03:27 AM
@Erwan SZYMANSKI @Semer CHERNI
Thank you for the support.
Could you help?Thank you
2022-08-11 08:44 PM
@Erwan SZYMANSKI (ST Employee) @Semer CHERNI (ST Employee)
Thank you for the support.
Then changed SW1 to [0010], [1010] and reboot, try to connect, but the same, it shows "This Port Com Is Not Responding".
Then I tried SW1 [0 0 1 0] and repeat "3.2.5.1.2 Serial boot"; and tried SW1[0 0 0 0] and repeat "3.2.5.1.2 Serial boot". It shows the same "This Port Com Is Not Responding" and "Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again…"
Could you help?
Thank you
2022-08-11 08:54 PM
Adding the information I got from SW1 operating instruction
Force USB boot for flashing SW1[0 0 0 0]
Engineering boot SW1[0 0 1 0]
Boot from microSD card SW1[1 0 1 0]
2022-08-19 03:40 AM
Hi @Erwan SZYMANSKI (ST Employee) @Semer CHERNI (ST Employee)
Could you help check if any process is missing to make a proper connection?
Thank you
2022-08-26 10:21 AM
Hello @porter.chen
First sorry because my response took time.
About how to connect the board and run the DDR test Suite I found a roughly simple way:
Kind regards,
Semer.
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.
2022-09-13 12:42 AM
Hi @Semer CHERNI ,
Thank you for the information.
It does not work properly, details of the operation are listed below.
Could you help?
2.2.2 Build project
The project can contain several build configurations. In that case, you should firstly select the configuration corresponding to your hardware version:
To build the project in STM32CubeIDE:
2.2.3 Launch project
To launch the project:
failure information:
Open On-Chip Debugger 0.11.0+dev-00449-g53fa0f7 (2022-06-09-09:42) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : STLINK V3J8M3B5S1 (API v3) VID:PID 0483:3753
Info : Target voltage: 3.310621
Info : Unable to match requested speed 5000 kHz, using 3300 kHz
Info : Unable to match requested speed 5000 kHz, using 3300 kHz
Info : clock speed 3300 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : STM32MP135FAFx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : STM32MP135FAFx.cpu: MPIDR level2 0, cluster 0, core 0, multi core, no SMT
Info : gdb port disabled
Info : gdb port disabled
Info : starting gdb server for STM32MP135FAFx.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Info : New GDB Connection: 1, Target STM32MP135FAFx.cpu, state: halted
Info : rejected 'gdb' connection, no more connections allowed
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : stlink_dap_op_connect(connect)
Info : stlink_dap_op_connect(reconnect)
Info : SWD DPIDR 0x6ba02477
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x200001d3 pc: 0x0000a97c
MMU: disabled, D-Cache: disabled, I-Cache: disabled
3.Build the imported project and run it
failure information:
Open On-Chip Debugger 0.11.0+dev-00449-g53fa0f7 (2022-06-09-09:42) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : STLINK V3J8M3B5S1 (API v3) VID:PID 0483:3753
Info : Target voltage: 3.313828
Info : Unable to match requested speed 5000 kHz, using 3300 kHz
Info : Unable to match requested speed 5000 kHz, using 3300 kHz
Info : clock speed 3300 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : STM32MP135FAFx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : STM32MP135FAFx.cpu: MPIDR level2 0, cluster 0, core 0, multi core, no SMT
Info : gdb port disabled
Info : gdb port disabled
Info : starting gdb server for STM32MP135FAFx.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Info : New GDB Connection: 1, Target STM32MP135FAFx.cpu, state: halted
Info : rejected 'gdb' connection, no more connections allowed
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : stlink_dap_op_connect(connect)
Info : stlink_dap_op_connect(reconnect)
Info : SWD DPIDR 0x6ba02477
target halted in Thumb state due to debug-request, current mode: Supervisor
cpsr: 0x200001f3 pc: 0x000060a4
MMU: disabled, D-Cache: disabled, I-Cache: disabled
shutdown command invoked
4.Open CubeMX and follow the steps described in 2.2 How to compile and launch DDR Tool project
=> The port com is not responding
Thank you
2022-09-13 02:28 AM
Hello @porter.chen
Thanks for your feedback.
I think that there are 2 main reasons for the failure:
==> Make sure you imported the project this way :
==> When the "Enable live expressions" is selected I get the same error message when debugging
==> Make sure that this option is disabled in the debug configuration
Kind regards,
Semer.
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.