 | | From: | funkymunky | | Subject: | at91rm9200:starting up with only the default bootloader | | Date: | 3 Jan 2005 01:54:21 -0800 |
|
|
 | Hi,
im trying to run a simple program that toggles the pio_c pins on and off. The board i have is a plain one, with no external ram for the chip; it starts up, the default boot program takes teh program to run from the debug pins thru a serial cable connected to the computer where im sending the file thru hyper terminal.
Im just loading the PIO registers with the appropriate values to reset the last 4 pins of PIO_C. but its not working. do i also need to setup the PMC?? i dont think so because im not using the pio pins for input! im also not using any startup file or anything. do i need anything between the time where the board boots up and the code is ready to run? thanx Mayank
|
|
 | | From: | Mayank Kaushik | | Subject: | Re: at91rm9200:starting up with only the default bootloader | | Date: | 4 Jan 2005 22:21:41 -0800 |
|
|
 | A bit of self help here:
This is for newbies like me who dont know anything about the AT91RM9200: AT91RM9200-BasicBoot-ARM1_2-2_0.zip download this from the atmel website. enough code to get you started
regards Mayank
|
|
 | | From: | Marco Cavallini | | Subject: | Re: at91rm9200:starting up with only the default bootloader | | Date: | Wed, 5 Jan 2005 14:06:11 +0100 |
|
|
 | > This is for newbies like me who dont know anything about the > AT91RM9200: > AT91RM9200-BasicBoot-ARM1_2-2_0.zip > download this from the atmel website. > enough code to get you started
Good point ideed, but consider that these examples are based on U-Boot initialization
Regards Marco Cavallini ============================================== Koan s.a.s. - Software Engineering (x86 and ARM) Linux and WinCE solutions for Embedded and Real-Time Software Klinux : the embedded distribution for industrial applications - Microsoft Windows Embedded Partner - Intel PCA Developer Network member Via Pascoli, 3 - 24121 Bergamo - ITALIA Tel. (++39) 035-255.235 - Fax (++39) 178-223.9748 http://www.koansoftware.com - http://www.klinux.org ==============================================
|
|
 | | From: | Marco Cavallini | | Subject: | Re: at91rm9200:starting up with only the default bootloader | | Date: | Mon, 3 Jan 2005 14:33:03 +0100 |
|
|
 | > im trying to run a simple program that toggles the pio_c pins on and > off. The board i have is a plain one, with no external ram for the > chip; it starts up, the default boot program takes teh program to run > from the debug pins thru a serial cable connected to the computer where > im sending the file thru hyper terminal. > > Im just loading the PIO registers with the appropriate values to reset > the last 4 pins of PIO_C. but its not working. do i also need to setup > the PMC?? i dont think so because im not using the pio pins for input! > im also not using any startup file or anything. do i need anything > between the time where the board boots up and the code is ready to run?
Because you are not using an operating system I can only suggest you to take a look at the U-Boot bootloader starting code http://cvs.sourceforge.net/viewcvs.py/u-boot/u-boot/cpu/at91rm9200/start.S?rev=1.7&view=markup You should find here some intresting microcontroller initializations that probably you are missing. Regards
Marco Cavallini ============================================== Koan s.a.s. - Software Engineering (x86 and ARM) Linux and WinCE solutions for Embedded and Real-Time Software Klinux : the embedded distribution for industrial applications - Microsoft Windows Embedded Partner - Intel PCA Developer Network member Via Pascoli, 3 - 24121 Bergamo - ITALIA Tel. (++39) 035-255.235 - Fax (++39) 178-223.9748 www.koansoftware.com - www.klinux.org ==============================================
|
|
 | | From: | Mayank Kaushik | | Subject: | Re: at91rm9200:starting up with only the default bootloader | | Date: | 5 Jan 2005 06:39:15 -0800 |
|
|
 | umm..is that similar to the u-boot code..mayb, as u say, these examples are based on u-boot initialization techniques..whatever it is, its simple enough for a beginner. thanks!
|
|