This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

QSPI read fail.

Hi Sir 

I try to write/read/earse any address with length 32. 

but some bytes shows zero "0x0" when I use , it should be 0xff after erasing...

Do you know what's the problem ? Thanks.

[00:00:30.151,791] <info> app: 0xFF
[00:00:30.151,798] <info> app: 0x0  //??
[00:00:30.151,804] <info> app: 0x0  //??
[00:00:30.151,810] <info> app: 0xFF
[00:00:30.151,816] <info> app: 0xFF
[00:00:30.151,822] <info> app: 0xFF
[00:00:30.151,829] <info> app: 0xFF
[00:00:30.151,835] <info> app: 0xFF
[00:00:30.151,841] <info> app: 0xFF
[00:00:30.151,847] <info> app: 0xFF
[00:00:30.151,856] <info> app: 0xFF
[00:00:30.151,862] <info> app: 0xFF
[00:00:30.151,868] <info> app: 0xFF
[00:00:30.151,874] <info> app: 0xFF
[00:00:30.151,881] <info> app: 0xFF
[00:00:30.151,887] <info> app: 0xFF
[00:00:30.151,893] <info> app: 0xFF
[00:00:30.151,899] <info> app:

[00:00:30.151,905] <info> app: 0xFF
[00:00:30.151,911] <info> app: 0xFF
[00:00:30.151,918] <info> app: 0xFF
[00:00:30.151,924] <info> app: 0xFF
[00:00:30.151,930] <info> app: 0xFF
[00:00:30.151,936] <info> app: 0xFF
[00:00:30.151,943] <info> app: 0xFF
[00:00:30.151,949] <info> app: 0xFF
[00:00:30.151,955] <info> app: 0xFF
[00:00:30.151,961] <info> app: 0xFF
[00:00:30.151,967] <info> app: 0xFF
[00:00:30.151,974] <info> app: 0xFF
[00:00:30.151,980] <info> app: 0x0  //?
[00:00:30.151,986] <info> app: 0x0  //? 
[00:00:30.151,992] <info> app: 0x0  //?

Parents Reply Children
  • Hi 

    C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin>nrfjprog.exe --readqspi ./
    log
    WARNING: An operation that can take up to several minutes is being executed.
    WARNING: Please remain patient.
    Initializing the QSPI peripheral.
    Reading from the QSPI-connected memory.
    Uninitializing the QSPI peripheral.
    Storing data in './log'.

    :020000041200E8
    :10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00
    :10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0
    :10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
    :10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0
    :10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0
    :10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0
    :10006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0
    :10007000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90
    :10008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80
    :10009000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF70
    :1000A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60
    :1000B000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF50
    :1000C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF40
    :1000D000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF30
    :1000E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF20
    :1000F000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF10
    :10010000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    :10011000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEF
    :10012000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDF
    :10013000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCF
    :10014000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBF
    :10015000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAF
    :10016000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9F
    :10017000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8F
    :10018000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7F
    :10019000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6F

    ....

  • This is wierd, do you mind sending me the file you generated? 

    Also have you tried to erase the ext flash with --qspieraseall ? 

  • I checked by nrfjprog.exe, read/write always lost the last 3~5 bytes. 

  • I write 0x00, 0x01 ~ 0x1F to address 0 to 31, but it not match to nrfjprog.exe result.

    :020000041200E8
    :10000000000000000102030405060708090A0B0CA2
    :100010000D0E0F101112131415161718191A1B1C98

    it should be..

    :020000041200E8
    :10000000 00~0F
    :10001000 10~1F

    Do you know why ?

  • I want to replicate your issue on my end. I need a detailed description of your process and the file generated by nrfjprog when reading the ext flash. 

Related