Discussion Forum

Booting AT91SAM9263 from NOR flash

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Bernd Schuster
Posted
22-Mar-2009 19:00 GMT
Toolset
ARM
New! 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

Read-Only
Author
Bernd Schuster
Posted
24-Mar-2009 22:57 GMT
Toolset
ARM
New! RE: Booting AT91SAM9263 from NOR flash

you can access the page, if you remove the last point at the end of the link.

http://www.keil.com/forum/docs/thread13351.asp

best regards
Bernd

Next Thread | Thread List | Previous Thread Start a Thread | Settings