flashd: Set 6 Wait states as per Errata requiremens for Revision A

It is utterly unacceptable that Atmel is shipping example code in 2011,
which doesn't support parts that are shipped still in 2016.  They would
have had five years to fix their code to implement the chip errata :(
This commit is contained in:
Harald Welte committed 2017-03-02 19:22:50 +01:00
1 parent 479e97e338
commit cab66419d6
3 files changed
+10 -2

No files matched your search

@@ -133,6 +133,9 @@ static void BootIntoApp(void)
pSrc = (unsigned int *) ((unsigned char *)IFLASH_ADDR + BOARD_DFU_BOOT_SIZE);
SCB->VTOR = ((unsigned int)(pSrc)) | (0x0 << 7);
appReset = pSrc[1];
printf("Booting into App from %p, PC=%p\r\n", pSrc, appReset);
appReset();
}
#endif