Page 1 of 1

SAM-BA Sama5d27 Custom Board (NAND Boot)

Posted: Wed Sep 19, 2018 8:30 pm
by smvoss
Good Afternoon,

I'm attempting to use sam-ba to load my nand partition (on a custom board, with the NAND setup exactly as the xplained board) and using the "examples/sama5d2/nandflash/nandflash-usb.qml" example code, it works however there are a few issues:

1) Erasing is INSANELY slow. Like, to erase 512MB it takes 10 minutes slow
2) I've noticed just running simple commands like "sam-ba -m write32:0xF8048054:0x66830004" (use boot backup reg 0) it won't always work when reading it back. Doing it 3x seems to do the trick, though.
3) After a full erase and write of my at91bootstrap there will be some number of "NAND: Bad Block #xxxx" outputs. This feels like it could be normal, but:
[*] not the same section each time
[*] its a brand new chip
[*] the most recent time I think it was printing every single block

Any ideas would be great!

Re: SAM-BA Sama5d27 Custom Board (NAND Boot)

Posted: Thu Sep 20, 2018 8:09 pm
by blue_z
smvoss wrote: Sama5d27 Custom Board ... with the NAND setup exactly as the xplained board
According to the SAMA5D2 Xplained Ultra USER GUIDE and SAMA5D2 (Rev. C) Xplained Ultra User's Guide, there is no NAND chip.
There is an eMMC module.
What exactly is on your board?

Regards