Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
fe4c7b6e
Commit
fe4c7b6e
authored
14 years ago
by
patacongo
Browse files
Options
Downloads
Patches
Plain Diff
update
git-svn-id:
svn://svn.code.sf.net/p/nuttx/code/trunk@3043
42af7a65-404d-4744-a932-0658087f49c3
parent
de299678
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configs/avr32dev1/README.txt
+53
-0
53 additions, 0 deletions
configs/avr32dev1/README.txt
with
53 additions
and
0 deletions
configs/avr32dev1/README.txt
+
53
−
0
View file @
fe4c7b6e
...
...
@@ -6,6 +6,8 @@ This is the README file for the NuttX port to the Atmel AVR32DEV1 board.
Contents
^^^^^^^^
* Pin Configuration
* Serial Connection
* Toolchains
* Development Environment
* GNU Toolchains
...
...
@@ -14,6 +16,47 @@ Contents
* AVR32DEV1 Configuration Options
* Configurations
Pin Configuration
^^^^^^^^^^^^^^^^^
The only GPIO pin usage is for LEDs (2) and Buttons (2):
PIN 13 PA7 LED1
PIN 14 PA8 LED2
PIN 24 PB2 KEY1
PIN 25 PB3 KEY2
See configs/avr32dev/src/avr32dev_internal.h
Serial Connection
^^^^^^^^^^^^^^^^^
USART1 is the default USART1 used in the configuration files to
provide a serial console (of course, that can be easily changed
by editting the configuration file). The AVR32DEV1 board has no
RS-232 drivers or connectors on board. I use an off-board MAX232
module that I got on eBay (search for MAX232 if you want to find
one). I connect the MAX232 board as follows:
In configs/avr32dev/include/board.h:
#define PINMUX_USART1_RXD PINMUX_USART1_RXD_1
#define PINMUX_USART1_TXD PINMUX_USART1_TXD_1
In arch/avr/src/at91uc3/at91uc3b_pinmux.h:
#define PINMUX_USART1_RXD_1 (GPIO_PERIPH | GPIO_FUNCD | GPIO_PORTA | 17)
#define PINMUX_USART1_TXD_1 (GPIO_PERIPH | GPIO_FUNCA | GPIO_PORTA | 23)
PA17 and PA23 are avaiable from the AVR32DEV1:
GPIO PIN Header 16X2 (J2)
----- ----- ----------------
PA17 PIN37 Pin 5
PA23 PIN47 Pin 15
and, of course, +5V and ground.
Development Environment
^^^^^^^^^^^^^^^^^^^^^^^
...
...
@@ -69,6 +112,9 @@ IDEs
AVR32 Bootloader
^^^^^^^^^^^^^^^^
Link Address
------------
The linker scripts (ld.script) assume that you are using the bootloader.
The bootloader resides at 0x8000:0000 and so the ld.script files link
the application to execute after the bootloader at 0x8000:2000. To link
...
...
@@ -80,6 +126,13 @@ AVR32 Bootloader
to:
flash (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K
Entering the ISP
----------------
In order to use the USB port to download the FLASH(ISP), you need to
use the S3(PA13) to make CPU return to boot status. In this mode, the
on chip bootloader will run, making the ISP possible.
AVR32DEV1 Configuration Options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment