Skip to content

Potential regression in hosted mode bluepill->bluepill #1492

@mean00

Description

@mean00

Hi
While updating my local copy , i noticed a potential issue
How to reproduce :

1- Connect BMP running on a bluepill to another blupill
Load a random blink.elf sw directly (gdb->/dev/ttyACMx)
It works

2- Now go through hosted mode, using the same sw and the same BMP host built from the same source, running on the same bluepill
( updated 10mn ago to be sure it was not transient, _v1.9.0-693-g6c193f06) )

load blink.elf
The memcompare fails for every block written

Section .text, range 0x8000000 -- 0x8004750: MIS-MATCHED!
Section .ARM.exidx, range 0x8004750 -- 0x8004758: MIS-MATCHED!
Section .data, range 0x8004758 -- 0x80047a0: MIS-MATCHED!
Section .rodata, range 0x80047a0 -- 0x8004d1c: MIS-MATCHED!
Section LNVECTOR, range 0x8004e00 -- 0x8004f30: MIS-MATCHED!

Indeed, The flash has been erased but not written

Additionaly, the hosted bmp sw is complaining

scan_multidrop: false
remote_v3_adiv5_mem_write_bytes error around 0x08000000
remote_v3_adiv5_mem_write_bytes error around 0x08000400
remote_v3_adiv5_mem_write_bytes error around 0x08000800
remote_v3_adiv5_mem_write_bytes error around 0x08000c00
remote_v3_adiv5_mem_write_bytes error around 0x08001000
remote_v3_adiv5_mem_write_bytes error around 0x08001400
remote_v3_adiv5_mem_write_bytes error around 0x08001800

NB: It works with RP2040 target
It seems to work if the same BMP sw is running on a bluepill and the target is a rp2040, both in direct and in hosted mode.

It used to work a couple of months back with the same setup

Sorry for the noise if it is pbcak

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugConfirmed bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions