I have a custom board with the SAMA5D27-SOM1 mounted, the schematic is a lot based on the kit (SAMA5D27-SOM1-EK), with less peripherals.
According to the documentation, I understood that the SOM, by default, starts up with ROMBoot, then tries to boot from SDMMC1 followed by SDMMC0 and if none of these twos is bootable it launches the SAM-BA monitor. Am I understanding this right, is this som following the MRL C Parts Booting procedures ?
Where is the ROMBoot code saved? Within the chip or on the embedded QSPI flash ?
I then tried to use SAM-BA with a j-link through jtag, and I keep getting the same error:
After searching in the source code of SAM-BA this error can occur from 2 situations:Error: Unspported device
1) J-Link cant find the proper core
2) It can't find the core ID
So i'm not sure if the SOM is just broken after a bad manipulation, or if I'm missing something, if you need more info don't be afraid to ask!
Thanks in advance,
Regards