Ray Zhang

Results 18 comments of Ray Zhang

用GitHub的应该会用命令行,-h看下帮助

The Nordic chips currently used is not designed to be secure MCUs such as those used in SIM Bank card. Is there any plan to made a specific OpenSK hardware...

Not manually, For Armv7-M ISA based CPU like Cortex-M7, caller save registers (r0-r3,r12,LR(r14),PC(r15), xPSR) would be saved into stack by hardware, and r4-r9, r10,r11,SP would be saved by callee functions,...

Hello Daniel Thank you for your reply. Yeah, it's a single-core MCU. I may need to talk with segger about their implementation in the GDB client. Since there are many...

Hello, Daniel I have proposed an issue thread in Segger user forum, so their engineers would read it and may add it to their 'to do's. I think the best...

Using msys2 I got what we need: ``` Admin@DESKTOP-8E7HGPQ MINGW64 /c/Users/Admin/Documents/probe-rs/target/debug $ RUST_LOG="probe_rs::probe::cmsisdap=trace" ./probe-rs debug --chip=HPM5301 --protocol=jtag DEBUG list_cmsisdap_devices: probe_rs::probe::cmsisdap::tools: Searching for CMSIS-DAP probes using nusb TRACE list_cmsisdap_devices: probe_rs::probe::cmsisdap::tools: J-Link...

I guess software was trying to open a Jlink probe according to the last output, so I collect another output with all data from probe layer besides CMSIS-DAP ``` Admin@DESKTOP-8E7HGPQ...

I tried but the output didn't change at all. After set breakpoints I found all the trace code added was not hit. I am digging myself currently, to see the...

I commented out : ``` let Some(interface_str) = device_info .interfaces() .find(|i| i.interface_number() == interface.interface_number()) .and_then(|i| i.interface_string()) else { continue; }; if !is_cmsis_dap(interface_str) { continue; } ``` And now output: ```...

The issue was resolved by using that PR for a RISC-V chip using JTAG combined with bypassing the probe check code. The Arm SWD issue still exists, I will check...