Skip to content

Why do I sometimes fail to erase when I use jtagspi? #12

@AIOT-CAT

Description

@AIOT-CAT

I have created a new interface. During the adaptation, I found that the erasing action was particularly fast, but in fact, the erasing was not successful, and the flash returned to a normal state. Do you have any special processing methods for JTAG operations or what should be paid attention to when using the JTAG interface?
When erasing fails, the situation is as follows:

flash erase_sector 0 0 24
sector 0 took 3 ms
sector 1 took 3 ms
sector 2 took 2 ms
sector 3 took 2 ms
sector 4 took 2 ms
sector 5 took 2 ms
sector 6 took 2 ms
sector 7 took 2 ms
sector 8 took 2 ms
sector 9 took 2 ms
sector 10 took 2 ms
sector 11 took 2 ms
sector 12 took 2 ms
sector 13 took 1 ms
sector 14 took 2 ms
sector 15 took 2 ms
sector 16 took 2 ms
sector 17 took 2 ms
sector 18 took 2 ms
sector 19 took 2 ms
sector 20 took 2 ms
sector 21 took 2 ms
sector 22 took 2 ms
sector 23 took 3 ms
sector 24 took 2 ms
erased sectors 0 through 24 on flash bank 0 in 0.073002s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions