summaryrefslogtreecommitdiff
path: root/nuttx/configs/sama5d4-ek/README.txt
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-18 13:03:10 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-18 13:03:10 -0600
commit925d23b4966170d6939e1e5623686578ba186788 (patch)
treecffad3a96fd97b2fbc486a41e5a1e4e94c2610d6 /nuttx/configs/sama5d4-ek/README.txt
parent56d7e426224f06945792dd870e1f744f0c00837d (diff)
downloadpx4-nuttx-925d23b4966170d6939e1e5623686578ba186788.tar.gz
px4-nuttx-925d23b4966170d6939e1e5623686578ba186788.tar.bz2
px4-nuttx-925d23b4966170d6939e1e5623686578ba186788.zip
SAMA5D4: Fix ISRAM base address: 0x00200000, not like the SAMA5D3 SRAM at 0x00300000
Diffstat (limited to 'nuttx/configs/sama5d4-ek/README.txt')
-rw-r--r--nuttx/configs/sama5d4-ek/README.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/nuttx/configs/sama5d4-ek/README.txt b/nuttx/configs/sama5d4-ek/README.txt
index b9515c76b..08f68ad8e 100644
--- a/nuttx/configs/sama5d4-ek/README.txt
+++ b/nuttx/configs/sama5d4-ek/README.txt
@@ -2944,6 +2944,28 @@ Configurations
DataFlash, SD card or from a TFTPC sever via the Boot ROM.
Data also is positioned in SDRAM.
+ Here are the steps that I use to execute this program in SRAM
+ using only the ROM Bootloader:
+
+ a) Hold the DIS_BOOT button and
+
+ b) With the DIS_BOOT button pressed, power cycle the board.
+
+ c) The serial should show RomBOOT in a terminal window (at 115200
+ 8N1) and nothing more.
+
+ d) Press ENTER in the terminal window a few times to enable JTAG.
+
+ e) Start the Segger GDB server. It should successfully connect to
+ the board via JTAG.
+
+ f) Start GDB
+ gdb> target remote localhost:2331
+ gdb> mon halt (don't do mon reset)
+ gdb> load nuttx
+ gdb> mon reg pc (make sure that the PC is 0x200040
+ gdb> ... and debug ...
+
To-Do List
==========