pyocd / pyocd/pyOCD

flash_loader_test fails on DISCO_L475VG_IOT01A device

Open
#579 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog
Dominant language
Python
Stars
1.5k
Forks
560
Avg merge
1h 41m
Merged PRs (30d)
3

Description

pyOCD : 0.18.0

Device : DISCO_L475VG_IOT01A

pyocd.yaml

probes:
  0666FF555051897267232812: # Probe's unique ID.
    target_override:  stm32l475xg
    test_binary:      stm32l475vg_iot01a.bin

Test command

python flash_loader_test.py -d

Linux

------ Test Basic Sector Erase ------
INFO:pyocd.flash.loader:Erasing sector 0x080ff000 (2048 bytes)
TEST FAILED

Windows

------ Test Basic Sector Erase ------
INFO:pyocd.flash.loader:Erasing sector 0x080ff000 (2048 bytes)
TEST FAILED

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pyocd.yaml and run python flash_loader_test.py -d for the DISCO_L475VG_IOT01A configuration. Investigate the failure reported during the basic sector erase at 0x080ff000 on both Linux and Windows; done means the test completes successfully on the reported device.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.