Author Topic: Agilent 34461A corrupted flash  (Read 16288 times)

0 Members and 1 Guest are viewing this topic.

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #100 on: July 30, 2023, 09:53:08 pm »
So I just tested this from uboot, which reads out the page, and places it in the next block (the next block was empty in mine).

It seems to work without any issue for me. But YMMV.

The MD was just to check that memory area was mostly empty.
Code: [Select]
md 0x800000 0x20000
nand read 0x800000 0xc0000 0x20000
nand write 0x800000 0xe0000 0x20000

Just to clarify what this is doing, it is reading that boot config BLOCK (all 128kb of it) into a memory area at 0x80000000 and then writing the contents of that same memory out to the NEXT block at 0xe0000.

I did this because that block is empty on my flash (though the block after that one has redundant copy of uboot in it).

I checked the nand after that and it wrote it to the correct place.

If your next block at e0000 is also empty, you could try this first, with a lower risk of issues.... Again, YMMV so beware.
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #101 on: July 30, 2023, 09:55:54 pm »
yes it is empty at 0xe0000

for those pages that are fully 0000 what do you see for oob?

and also for those pages that are all FFFF what is the oob? mine is all FF
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #102 on: July 30, 2023, 10:01:01 pm »
dont you need to erase nand before writing to it?
or since it is empty that's fine, right?

but eventually if I want to re-write into the non empty areas i have to do erase first, right?
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #103 on: July 30, 2023, 10:05:29 pm »
ok I duplicated the commands that you posted and then dumped one page from 0xE0000
as you see here the result is exactly a copy of the page at 0xC0000 including the oob data
Code: [Select]
p510> nand dump 0xc0000
nand_dump len: 2048, ooblen 64, off 0xc0000
Page 000c0000 dump:
        ef 1e 8b 0c 72 61 6d 62 6f 6f 74 3d 64 68 63 70
        20 30 78 34 30 30 30 30 30 30 20 6e 6b 2e 62 69
        6e 3b 72 75 6e 20 62 6f 6f 74 63 6d 64 00 62 61
        75 64 72 61 74 65 3d 31 31 35 32 30 30 00 67 61
        74 65 77 61 79 69 70 3d 31 39 32 2e 31 36 38 2e
        31 2e 31 30 00 6e 65 74 6d 61 73 6b 3d 32 35 35
        2e 32 35 35 2e 32 35 35 2e 30 00 63 68 69 70 76
        65 72 73 69 6f 6e 3d 41 41 00 62 6f 61 72 64 76
        65 72 73 69 6f 6e 3d 34 00 66 74 70 3d 64 68 63
        70 00 62 6f 6f 74 64 65 6c 61 79 3d 30 00 65 63
        63 3d 34 00 63 6e 66 67 5f 76 6d 63 5f 69 6e 70
        75 74 5f 70 69 6e 3d 6d 77 20 30 78 62 33 30 30
        30 30 32 38 20 30 78 30 30 30 34 30 33 30 30 20
        31 3b 6d 77 20 30 78 62 33 30 30 30 30 34 38 20
        30 78 66 66 66 62 66 66 66 66 20 31 00 63 6e 66
        67 5f 6c 61 6e 5f 69 6e 70 75 74 5f 70 69 6e 3d
        6d 77 20 30 78 62 33 30 30 30 30 33 30 20 30 78
        30 30 30 30 30 30 30 38 20 31 3b 6d 77 20 30 78
        62 33 30 30 30 30 35 30 20 30 78 46 46 46 46 46
        46 46 46 20 31 3b 6d 77 20 30 78 62 33 30 30 30
        30 31 38 20 30 78 30 30 30 30 30 31 30 31 00 70
        72 65 62 6f 6f 74 3d 6d 77 2e 6c 20 30 78 62 33
        30 30 30 30 30 63 20 30 78 66 66 66 66 61 63 66
        34 3b 20 72 75 6e 20 63 6e 66 67 5f 6c 61 6e 5f
        69 6e 70 75 74 5f 70 69 6e 3b 20 72 75 6e 20 63
        6e 66 67 5f 76 6d 63 5f 69 6e 70 75 74 5f 70 69
        6e 3b 20 73 70 6c 61 73 68 20 6c 6f 61 64 00 64
        69 73 70 50 61 72 6d 31 3d 31 31 30 20 31 65 30
        20 39 38 39 36 38 30 20 30 20 32 38 00 64 69 73
        70 50 61 72 6d 32 3d 31 20 31 20 31 20 31 20 33
        00 6e 75 6d 69 6e 73 74 69 6d 61 67 65 73 3d 31
        00 70 62 6f 6f 74 64 65 6c 61 79 3d 30 00 66 69
        6d 61 67 65 3d 31 00 6e 69 6d 61 67 65 73 3d 32
        00 69 6d 61 67 65 31 3d 30 78 64 30 36 32 30 30
        30 30 00 69 6d 61 67 65 32 3d 30 78 64 32 31 32
        30 30 30 30 00 66 73 73 74 61 72 74 3d 30 78 33
        30 32 30 30 30 30 00 6e 75 6d 66 69 6c 65 73 79
        73 74 65 6d 73 3d 32 00 6c 65 6e 67 74 68 66 69
        6c 65 73 79 73 74 65 6d 31 3d 30 78 34 45 45 30
        30 30 30 00 6c 65 6e 67 74 68 66 69 6c 65 73 79
        73 74 65 6d 32 3d 30 78 31 30 30 30 30 30 00 62
        6f 6f 74 63 6d 64 3d 6e 61 6e 64 20 72 65 61 64
        20 30 78 36 30 30 30 30 30 20 30 78 33 32 30 30
        30 30 20 30 78 31 30 30 30 30 3b 62 6f 6f 74 6d
        20 30 78 36 30 30 30 30 30 00 75 61 72 74 32 3d
        31 00 72 74 63 3d 31 00 70 73 3d 30 00 73 70 6c
        61 73 68 64 61 74 61 3d 30 78 64 30 31 38 30 30
        30 30 00 65 72 61 73 65 5f 65 6e 76 3d 6e 61 6e
        64 20 65 72 61 73 65 20 30 78 43 30 30 30 30 20
        30 78 34 30 30 30 30 00 73 74 6f 72 65 5f 78 6c
        6f 61 64 65 72 3d 78 6c 6f 61 64 20 30 78 38 30
        30 30 30 30 00 67 65 74 5f 78 6c 6f 61 64 5f 65
        74 68 3d 64 68 63 70 20 30 78 38 30 30 30 30 30
        20 78 6c 6f 61 64 65 72 2d 70 35 31 30 2e 62 69
        6e 3b 20 72 75 6e 20 73 74 6f 72 65 5f 78 6c 6f
        61 64 65 72 00 73 74 6f 72 65 5f 75 62 6f 6f 74
        3d 6e 61 6e 64 20 65 72 61 73 65 20 30 78 31 30
        30 30 30 30 20 24 7b 62 6c 6f 63 6b 73 69 7a 65
        7d 3b 20 6e 61 6e 64 20 77 72 69 74 65 20 30 78
        38 30 30 30 30 30 20 30 78 31 30 30 30 30 30 20
        24 7b 62 6c 6f 63 6b 73 69 7a 65 7d 00 67 65 74
        5f 75 62 6f 6f 74 5f 65 74 68 3d 64 68 63 70 20
        30 78 38 30 30 30 30 30 20 75 2d 62 6f 6f 74 2d
        70 35 31 30 2e 62 69 6e 3b 72 75 6e 20 73 74 6f
        72 65 5f 75 62 6f 6f 74 00 73 74 6f 72 65 5f 70
        62 6f 6f 74 3d 6e 61 6e 64 20 65 72 61 73 65 20
        30 78 33 32 30 30 30 30 20 24 7b 62 6c 6f 63 6b
        73 69 7a 65 7d 3b 20 6e 61 6e 64 20 77 72 69 74
        65 20 30 78 38 30 30 30 30 30 20 30 78 33 32 30
        30 30 30 20 24 7b 62 6c 6f 63 6b 73 69 7a 65 7d
        00 67 65 74 5f 70 62 6f 6f 74 5f 65 74 68 3d 64
        68 63 70 20 30 78 38 30 30 30 30 30 20 70 62 6f
        6f 74 2e 62 69 6e 3b 72 75 6e 20 73 74 6f 72 65
        5f 70 62 6f 6f 74 00 66 6c 61 73 68 5f 6e 6b 62
        69 6e 3d 64 68 63 70 20 30 78 34 30 30 30 30 30
        30 20 6e 6b 2e 62 69 6e 3b 6e 61 6e 64 20 65 72
        61 73 65 20 30 78 30 30 36 32 30 30 30 30 20 24
        7b 62 6c 6f 63 6b 73 69 7a 65 7d 3b 6e 61 6e 64
        20 77 72 69 74 65 20 30 78 34 30 30 30 30 30 30
        20 30 78 30 30 36 32 30 30 30 30 20 24 7b 62 6c
        6f 63 6b 73 69 7a 65 7d 00 75 73 62 74 74 79 3d
        63 64 63 5f 61 63 6d 00 65 74 68 61 64 64 72 3d
        38 30 3a 30 39 3a 30 32 3a 30 65 3a 37 61 3a 34
        66 00 73 65 72 69 61 6c 6e 75 6d 3d 4d 59 39 39
        39 39 39 39 39 39 00 76 65 72 69 66 79 3d 6e 00
        73 74 64 69 6e 3d 73 65 72 69 61 6c 00 73 74 64
        6f 75 74 3d 73 65 72 69 61 6c 00 73 74 64 65 72
        72 3d 73 65 72 69 61 6c 00 69 70 61 64 64 72 3d
        31 39 32 2e 31 36 38 2e 31 2e 31 37 39 00 67 75
        69 64 3d 7b 36 31 33 34 31 65 39 65 2d 61 66 33
        36 2d 62 33 34 37 2d 61 65 30 35 2d 33 61 34 30
        34 63 32 63 64 39 63 30 7d 00 73 65 72 76 65 72
        69 70 3d 30 30 30 2e 30 30 30 2e 30 30 30 2e 30
        30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OOB:
        ff ff ff ff ff ff ff ff
        c7 c0 61 e7 00 4e 80 95
        ff ff ff ff ff ff ff ff
        ac 3e 59 ad 00 97 90 a1
        ff ff ff ff ff ff ff ff
        fe 04 f8 c7 00 d4 30 11
        ff ff ff ff ff ff ff ff
        ef 5d 4b a1 00 d7 80 8b
 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #104 on: July 30, 2023, 10:08:28 pm »
dont you need to erase nand before writing to it?
or since it is empty that's fine, right?

but eventually if I want to re-write into the non empty areas i have to do erase first, right?

Correct. Erasing can sometimes fix issues that you could otherwise still run into. But I'd hold off on that.

My pages also have all 0xff spares for both all 0x00 and 0xFF pages.
 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #105 on: July 30, 2023, 10:11:12 pm »
ok I duplicated the commands that you posted and then dumped one page from 0xE0000
as you see here the result is exactly a copy of the page at 0xC0000 including the oob data
Code: [Select]
p510> nand dump 0xc0000
nand_dump len: 2048, ooblen 64, off 0xc0000
Page 000c0000 dump:
        ef 1e 8b 0c 72 61 6d 62 6f 6f 74 3d 64 68 63 70
        20 30 78 34 30 30 30 30 30 30 20 6e 6b 2e 62 69
        6e 3b 72 75 6e 20 62 6f 6f 74 63 6d 64 00 62 61
        75 64 72 61 74 65 3d 31 31 35 32 30 30 00 67 61
        74 65 77 61 79 69 70 3d 31 39 32 2e 31 36 38 2e
        31 2e 31 30 00 6e 65 74 6d 61 73 6b 3d 32 35 35
        2e 32 35 35 2e 32 35 35 2e 30 00 63 68 69 70 76
        65 72 73 69 6f 6e 3d 41 41 00 62 6f 61 72 64 76
        65 72 73 69 6f 6e 3d 34 00 66 74 70 3d 64 68 63
        70 00 62 6f 6f 74 64 65 6c 61 79 3d 30 00 65 63
        63 3d 34 00 63 6e 66 67 5f 76 6d 63 5f 69 6e 70
        75 74 5f 70 69 6e 3d 6d 77 20 30 78 62 33 30 30
        30 30 32 38 20 30 78 30 30 30 34 30 33 30 30 20
        31 3b 6d 77 20 30 78 62 33 30 30 30 30 34 38 20
        30 78 66 66 66 62 66 66 66 66 20 31 00 63 6e 66
        67 5f 6c 61 6e 5f 69 6e 70 75 74 5f 70 69 6e 3d
        6d 77 20 30 78 62 33 30 30 30 30 33 30 20 30 78
        30 30 30 30 30 30 30 38 20 31 3b 6d 77 20 30 78
        62 33 30 30 30 30 35 30 20 30 78 46 46 46 46 46
        46 46 46 20 31 3b 6d 77 20 30 78 62 33 30 30 30
        30 31 38 20 30 78 30 30 30 30 30 31 30 31 00 70
        72 65 62 6f 6f 74 3d 6d 77 2e 6c 20 30 78 62 33
        30 30 30 30 30 63 20 30 78 66 66 66 66 61 63 66
        34 3b 20 72 75 6e 20 63 6e 66 67 5f 6c 61 6e 5f
        69 6e 70 75 74 5f 70 69 6e 3b 20 72 75 6e 20 63
        6e 66 67 5f 76 6d 63 5f 69 6e 70 75 74 5f 70 69
        6e 3b 20 73 70 6c 61 73 68 20 6c 6f 61 64 00 64
        69 73 70 50 61 72 6d 31 3d 31 31 30 20 31 65 30
        20 39 38 39 36 38 30 20 30 20 32 38 00 64 69 73
        70 50 61 72 6d 32 3d 31 20 31 20 31 20 31 20 33
        00 6e 75 6d 69 6e 73 74 69 6d 61 67 65 73 3d 31
        00 70 62 6f 6f 74 64 65 6c 61 79 3d 30 00 66 69
        6d 61 67 65 3d 31 00 6e 69 6d 61 67 65 73 3d 32
        00 69 6d 61 67 65 31 3d 30 78 64 30 36 32 30 30
        30 30 00 69 6d 61 67 65 32 3d 30 78 64 32 31 32
        30 30 30 30 00 66 73 73 74 61 72 74 3d 30 78 33
        30 32 30 30 30 30 00 6e 75 6d 66 69 6c 65 73 79
        73 74 65 6d 73 3d 32 00 6c 65 6e 67 74 68 66 69
        6c 65 73 79 73 74 65 6d 31 3d 30 78 34 45 45 30
        30 30 30 00 6c 65 6e 67 74 68 66 69 6c 65 73 79
        73 74 65 6d 32 3d 30 78 31 30 30 30 30 30 00 62
        6f 6f 74 63 6d 64 3d 6e 61 6e 64 20 72 65 61 64
        20 30 78 36 30 30 30 30 30 20 30 78 33 32 30 30
        30 30 20 30 78 31 30 30 30 30 3b 62 6f 6f 74 6d
        20 30 78 36 30 30 30 30 30 00 75 61 72 74 32 3d
        31 00 72 74 63 3d 31 00 70 73 3d 30 00 73 70 6c
        61 73 68 64 61 74 61 3d 30 78 64 30 31 38 30 30
        30 30 00 65 72 61 73 65 5f 65 6e 76 3d 6e 61 6e
        64 20 65 72 61 73 65 20 30 78 43 30 30 30 30 20
        30 78 34 30 30 30 30 00 73 74 6f 72 65 5f 78 6c
        6f 61 64 65 72 3d 78 6c 6f 61 64 20 30 78 38 30
        30 30 30 30 00 67 65 74 5f 78 6c 6f 61 64 5f 65
        74 68 3d 64 68 63 70 20 30 78 38 30 30 30 30 30
        20 78 6c 6f 61 64 65 72 2d 70 35 31 30 2e 62 69
        6e 3b 20 72 75 6e 20 73 74 6f 72 65 5f 78 6c 6f
        61 64 65 72 00 73 74 6f 72 65 5f 75 62 6f 6f 74
        3d 6e 61 6e 64 20 65 72 61 73 65 20 30 78 31 30
        30 30 30 30 20 24 7b 62 6c 6f 63 6b 73 69 7a 65
        7d 3b 20 6e 61 6e 64 20 77 72 69 74 65 20 30 78
        38 30 30 30 30 30 20 30 78 31 30 30 30 30 30 20
        24 7b 62 6c 6f 63 6b 73 69 7a 65 7d 00 67 65 74
        5f 75 62 6f 6f 74 5f 65 74 68 3d 64 68 63 70 20
        30 78 38 30 30 30 30 30 20 75 2d 62 6f 6f 74 2d
        70 35 31 30 2e 62 69 6e 3b 72 75 6e 20 73 74 6f
        72 65 5f 75 62 6f 6f 74 00 73 74 6f 72 65 5f 70
        62 6f 6f 74 3d 6e 61 6e 64 20 65 72 61 73 65 20
        30 78 33 32 30 30 30 30 20 24 7b 62 6c 6f 63 6b
        73 69 7a 65 7d 3b 20 6e 61 6e 64 20 77 72 69 74
        65 20 30 78 38 30 30 30 30 30 20 30 78 33 32 30
        30 30 30 20 24 7b 62 6c 6f 63 6b 73 69 7a 65 7d
        00 67 65 74 5f 70 62 6f 6f 74 5f 65 74 68 3d 64
        68 63 70 20 30 78 38 30 30 30 30 30 20 70 62 6f
        6f 74 2e 62 69 6e 3b 72 75 6e 20 73 74 6f 72 65
        5f 70 62 6f 6f 74 00 66 6c 61 73 68 5f 6e 6b 62
        69 6e 3d 64 68 63 70 20 30 78 34 30 30 30 30 30
        30 20 6e 6b 2e 62 69 6e 3b 6e 61 6e 64 20 65 72
        61 73 65 20 30 78 30 30 36 32 30 30 30 30 20 24
        7b 62 6c 6f 63 6b 73 69 7a 65 7d 3b 6e 61 6e 64
        20 77 72 69 74 65 20 30 78 34 30 30 30 30 30 30
        20 30 78 30 30 36 32 30 30 30 30 20 24 7b 62 6c
        6f 63 6b 73 69 7a 65 7d 00 75 73 62 74 74 79 3d
        63 64 63 5f 61 63 6d 00 65 74 68 61 64 64 72 3d
        38 30 3a 30 39 3a 30 32 3a 30 65 3a 37 61 3a 34
        66 00 73 65 72 69 61 6c 6e 75 6d 3d 4d 59 39 39
        39 39 39 39 39 39 00 76 65 72 69 66 79 3d 6e 00
        73 74 64 69 6e 3d 73 65 72 69 61 6c 00 73 74 64
        6f 75 74 3d 73 65 72 69 61 6c 00 73 74 64 65 72
        72 3d 73 65 72 69 61 6c 00 69 70 61 64 64 72 3d
        31 39 32 2e 31 36 38 2e 31 2e 31 37 39 00 67 75
        69 64 3d 7b 36 31 33 34 31 65 39 65 2d 61 66 33
        36 2d 62 33 34 37 2d 61 65 30 35 2d 33 61 34 30
        34 63 32 63 64 39 63 30 7d 00 73 65 72 76 65 72
        69 70 3d 30 30 30 2e 30 30 30 2e 30 30 30 2e 30
        30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OOB:
        ff ff ff ff ff ff ff ff
        c7 c0 61 e7 00 4e 80 95
        ff ff ff ff ff ff ff ff
        ac 3e 59 ad 00 97 90 a1
        ff ff ff ff ff ff ff ff
        fe 04 f8 c7 00 d4 30 11
        ff ff ff ff ff ff ff ff
        ef 5d 4b a1 00 d7 80 8b

Still same error during boot-up too?

Just FYI, the function that verifies the data in PBOOT appears to look at the spare areas on at least the first 8 pages before deciding the block is bad. So the issue is not necessarily the first page.
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #106 on: July 30, 2023, 10:12:16 pm »
dont you need to erase nand before writing to it?
or since it is empty that's fine, right?

but eventually if I want to re-write into the non empty areas i have to do erase first, right?

Correct. Erasing can sometimes fix issues that you could otherwise still run into. But I'd hold off on that.

My pages also have all 0xff spares for both all 0x00 and 0xFF pages.

hmmmm....for all 000 pages I dont get all FF for OOB...there are numbers in it...but for all FF pages I get all FF oob

i just rebooted the unit and the sector at 0x1c0 (=0xE0000) still shows invalid
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #107 on: July 30, 2023, 10:20:42 pm »
for instance this is the dump of a page which is all 0x00
all others 0x00 filled pages look identical

Code: [Select]
p510> nand dump 0xc0800
nand_dump len: 2048, ooblen 64, off 0xc0800
Page 000c0800 dump:
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
OOB:
        ff ff ff ff ff ff ff ff
        ef 5d 4b a1 00 d7 80 8b
        ff ff ff ff ff ff ff ff
        ef 5d 4b a1 00 d7 80 8b
        ff ff ff ff ff ff ff ff
        ef 5d 4b a1 00 d7 80 8b
        ff ff ff ff ff ff ff ff
        ef 5d 4b a1 00 d7 80 8b
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #108 on: July 30, 2023, 10:23:49 pm »
still I am pretty sure the whole 128MB of NAND is not bad and I am not even sure the 0xC0000 area is bad either.

perhaps there is still a problem with the pboot itself or it is reading its parameters from somewhere else , not from 0xc0000
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #109 on: July 30, 2023, 10:27:31 pm »
these front panels (used is many Keysight instruments) are very well known to have bad CPU (SPear320)
I have personally replaced 4 of them in multimeters and 33600 function generators

so maybe mine has a slightly defective nand controller in it....but the meter was manufactured in Nov 2019 and its warranty ended in Dec 1. 2022  |O |O

it has been sitting off on the bench for 4-5 month and now suddenly this?  :palm: :palm:

is there any service note or extended warranty for this nand corruption issue similar to what was available for 3000A scopes?

 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #110 on: July 30, 2023, 10:29:45 pm »
by the way the areas that I wrote in the NAND (starting from 0xE0000) look exactly identical to the areas I copied from
including the oob data


so I dont think writing back into the nand is gonna help, is it?
 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #111 on: July 30, 2023, 10:30:19 pm »
still I am pretty sure the whole 128MB of NAND is not bad and I am not even sure the 0xC0000 area is bad either.

perhaps there is still a problem with the pboot itself or it is reading its parameters from somewhere else , not from 0xc0000

I've considered a possible issue with PBOOT, but the problem is that it has a couple of different levels of checksums protecting it. There is a table inside it that it seems to use for the check. If that got corrupted, it could cause the appearance of a failure that is not there.

But that is extremely unlikely given that the checksum that UBOOT sees when you list images shows Ok, and the gzipped nb0 for PBOOT has its own CRC.

It is more likely something in the spare area isn't matching up. A hardware issue could cause a bit to appear stuck, for example.

The hope is that by rewriting you can force a re-write of the spare by the same mechanism that does the checking (FMD_Write). If that doesn't correct the issue, then it is looking more like a flash hardware problem.
 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #112 on: July 30, 2023, 10:32:28 pm »
by the way the areas that I wrote in the NAND (starting from 0xE0000) look exactly identical to the areas I copied from
including the oob data


so I dont think writing back into the nand is gonna help, is it?

Did you try rebooting since? You can test the theory, as it should check the block you wrote (it was checking it previously) when the first one fails.

If it still shows an error on that block (assuming you wrote the entire block) then it is not looking like an error that is correctable by re-writing it.

And erase cycle on that block might help, but now we're getting into more dangerous stuff.
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #113 on: July 30, 2023, 11:01:16 pm »
by the way the areas that I wrote in the NAND (starting from 0xE0000) look exactly identical to the areas I copied from
including the oob data


so I dont think writing back into the nand is gonna help, is it?

Did you try rebooting since? You can test the theory, as it should check the block you wrote (it was checking it previously) when the first one fails.

If it still shows an error on that block (assuming you wrote the entire block) then it is not looking like an error that is correctable by re-writing it.

And erase cycle on that block might help, but now we're getting into more dangerous stuff.

yes I mentioned that I rebooted and I still get the same bad block error at sector 0x1c0 which is where I copied into. no change
also the oob data in those areas that I wrote into now are exact copy of the ones I copied from.

I just opened up my good 34461A and dumped the same area of the nand. The oob data looks exactly identical to what i see on my bad meter
so I am 100% sure it is not about those OOB data

 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #114 on: July 30, 2023, 11:12:52 pm »
by the way the areas that I wrote in the NAND (starting from 0xE0000) look exactly identical to the areas I copied from
including the oob data


so I dont think writing back into the nand is gonna help, is it?

Did you try rebooting since? You can test the theory, as it should check the block you wrote (it was checking it previously) when the first one fails.

If it still shows an error on that block (assuming you wrote the entire block) then it is not looking like an error that is correctable by re-writing it.

And erase cycle on that block might help, but now we're getting into more dangerous stuff.

yes I mentioned that I rebooted and I still get the same bad block error at sector 0x1c0 which is where I copied into. no change
also the oob data in those areas that I wrote into now are exact copy of the ones I copied from.

I just opened up my good 34461A and dumped the same area of the nand. The oob data looks exactly identical to what i see on my bad meter
so I am 100% sure it is not about those OOB data


I am still looking at the code to see exactly what it is verifying in the spare area. If I figure out what it is looking for, maybe we will have some idea of why it is rejecting it.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3319
  • Country: pt
Re: Agilent 34461A corrupted flash
« Reply #115 on: July 30, 2023, 11:29:21 pm »
Having fun without me??

I'm almost sure I know how to calc that CRC/checksum.
 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #116 on: July 30, 2023, 11:56:53 pm »
Having fun without me??

I'm almost sure I know how to calc that CRC/checksum.

What I am looking at actually appears to be a bad-block check.

As an example:

Code: [Select]
           00 01 02 03 04 05 06 07  08 09 0A 0B 0C 0D 0E 0F
           XX XX          XX XX XX                 XX XX XX
87FFB708 = FF FF FF FF FF FF FF FF  95 A5 6A 69 59 FF FF FF
If any of the bytes marked with X's from the first 16 bytes of Spare are not FF, it bails with an error.
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #117 on: July 31, 2023, 12:06:12 am »
Having fun without me??

I'm almost sure I know how to calc that CRC/checksum.

so finally dragged you into this  >:D >:D
 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #118 on: July 31, 2023, 12:16:48 am »
Okay. So I just noticed something. This is likely why our spares are not matching up... It appears you have a different flash chip with internal ECC, while I do not.

Maybe a cost-cutting change Keysight made before I bought mine. Did you see what flash chip you have in there?

Mine:
CPU:   SPEAr320
DRAM:  128 MiB
Unknown id: 0xffffff. Using ST_M23P40
Flash: 64 KiB
NAND:  fsmc-ecc1 128 MiB
In:    serial
Out:   serial
Err:   serial
SerNum:MY99999999
Chip:  AA Board Rev: 4
init  RTC: 2023-07-30 18:12:44.22
Net:   No ethernet found.
splash RTC: 2023-07-30 18:12:45.25

Yours:
CPU:   SPEAr320
DRAM:  128 MiB
Unknown id: 0xffffff. Using ST_M23P40
Flash: 64 KiB
NAND:  INTERNAL ECC 128 MiB
In:    serial
Out:   serial
Err:   serial
SerNum:MY99999999
Chip:  AA Board Rev: 4
init  RTC: 2023-07-28 15:47:59.57
Net:   No ethernet found.
splash RTC: 2023-07-28 15:48:00.60
« Last Edit: July 31, 2023, 12:18:43 am by ElectronMan »
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #119 on: July 31, 2023, 12:29:57 am »
NAND chips on both of my meters are Micron MT29F1G08ABADAH4-ITX:D  marked NQ432
both are identified in uboot as INTERNAL ECC 128 MiB
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #120 on: July 31, 2023, 12:33:40 am »
from the datasheet of the NAND flash chip:
Code: [Select]
Internal ECC and Spare Area Mapping for ECC
Internal ECC enables 5-bit detection and 4-bit error correction in 512 bytes (x8) or 256
words (x16) of the main area and 4 bytes (x8) or 2 words (x16) of metadata I in the spare
area. The metadata II area, which consists of two bytes (x8) and one word (x16), is not
ECC protected. During the busy time for PROGRAM operations, internal ECC generates
parity bits when error detection is complete.
During READ operations the device executes the internal ECC engine (5-bit detection
and 4-bit error correction). When the READ operaton is complete, read status bit 0 must
be checked to determine whether errors larger than four bits have occurred.
Following the READ STATUS command, the device must be returned to read mode by
issuing the 00h command.
Limitations of internal ECC include the spare area, defined in the figures below, and
ECC parity areas that cannot be written to. Each ECC user area (referred to as main and
spare) must be written within one partial-page program so that the NAND device can
calculate the proper ECC parity. The number of partial-page programs within a page
cannot exceed four
 

Offline ElectronMan

  • Regular Contributor
  • *
  • Posts: 111
  • Country: us
Re: Agilent 34461A corrupted flash
« Reply #121 on: July 31, 2023, 12:36:08 am »
NAND chips on both of my meters are Micron MT29F1G08ABADAH4-ITX:D  marked NQ432
both are identified in uboot as INTERNAL ECC 128 MiB

Okay, that is similar to what they put in their scopes. Mine is a WINBOND W29N01HV. It doesn't have internal ECC. So while I've figured out the code path and what causes that error on mine, it will likely be somewhat different for yours.

What I can see, however, is that this appears to be when it is checking the "BAD BLOCK" area that it is finding something it doesn't like.

Did you say that the OOB for page 0xc0000 was the same on both of your meters? Is there anything on one that is 0xFF that isn't on the broken one?
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #122 on: July 31, 2023, 12:44:07 am »
NAND chips on both of my meters are Micron MT29F1G08ABADAH4-ITX:D  marked NQ432
both are identified in uboot as INTERNAL ECC 128 MiB

Okay, that is similar to what they put in their scopes. Mine is a WINBOND W29N01HV. It doesn't have internal ECC. So while I've figured out the code path and what causes that error on mine, it will likely be somewhat different for yours.

What I can see, however, is that this appears to be when it is checking the "BAD BLOCK" area that it is finding something it doesn't like.

Did you say that the OOB for page 0xc0000 was the same on both of your meters? Is there anything on one that is 0xFF that isn't on the broken one?

right at the first page at 0xc0000 although the actual numbers are different because I had changed the serverip on the bad meter and then changed it back and when you do make a change the whole set of env variables are re-written so the pattern becomes different and the OOB are not identical however the pattern of numbers is identical
but after that first page (on pages that are all 0x00) the OOB are exactly identical

 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #123 on: July 31, 2023, 12:45:53 am »
I am pretty sure it is not the nand having a physical problem.

the pboot is doing a wrong calculation for some reason
maybe it is not identifying the correct chip ID
 

Offline analogRF

  • Frequent Contributor
  • **
  • Posts: 986
  • Country: ca
Re: Agilent 34461A corrupted flash
« Reply #124 on: July 31, 2023, 12:50:03 am »
where do you think pboot is getting those "default" boot parameters from. Look at the error here:
Code: [Select]
ERROR : Bootloader setting load failed
[b][b]INFO : Loading default bootloader settings[/b][/b]

Press [ENTER] to launch image stored in flash or [SPACE] to cancel.
Initiating image launch in   4 seconds

P500 Boot Loader Configuration :

Mac address .......... (04:02:02:20:02:02)
Ip address ........... (192.168.114.201)
Subnet Mask address .. (255.255.255.0)
DHCP ................. (Enabled)
Boot delay (seconds).. (5)
Load image 3 at startup

Image addresses. (0xdxxxxxxx for NAND, 0x8xxxxxxx for RAM)
        1 (0xd0400000)
        2 (0xd1700000)
        3 (0x84000000)

if we can somehow change those stupid default values to 0xD0620000 and 0xD2120000
then we should be good to go   :-X :-X
« Last Edit: July 31, 2023, 12:55:09 am by analogRF »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf