SAM-BA Sama5d27 Custom Board (NAND Boot)

Microchip in-system programming solution: SAM-BA

Moderators: nferre, fab

Posts: 1
Joined: Wed Sep 19, 2018 8:16 pm

SAM-BA Sama5d27 Custom Board (NAND Boot)

Wed Sep 19, 2018 8:30 pm

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!
Location: USA
Posts: 1738
Joined: Thu Apr 19, 2007 10:15 pm

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

Thu Sep 20, 2018 8:09 pm

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?


Return to “SAM-BA”

Who is online

Users browsing this forum: No registered users and 2 guests