This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Booting AT91SAM9263 from NOR flash

Hi,

Maybe, I've the same problems described in this thread
http://www.keil.com/forum/docs/thread13351.asp. It would be perfect if you could give me some hints and your modifications in the startup file to boot from the NOR flash device.

The main oscillator is working, but if I try to use the PLL (A or B), I'm not able to reach the main function of my c-file. If I use the main oscillator without the PLL - the program is working (but of course very slowly)

// [18.432 Main / DIVA x MULA + 1] = 18.432 Main/9 x 97
// MULA = 96, OUTA = 0x10 (190-240MHz), PLLACOUNT = 63, // DIVA = 9.
AT91C_BASE_PMC->PMC_PLLAR = 0x2060BF09;

AT91C_BASE_PMC->PMC_MCKR = AT91C_PMC_MDIV_1;

AT91C_BASE_PMC->PMC_MCKR = AT91C_PMC_CSS_PLLA_CLK | AT91C_PMC_MDIV_2;

// using the main oscillator and not the pllA
//      AT91C_BASE_PMC->PMC_MCKR = AT91C_PMC_CSS_MAIN_CLK | AT91C_PMC_MDIV_2;

A hardware problem should be not the reason for this problem, because the board is bought.

best regards
Bernd