Re: problem booting NuttX on SAMA5D3-Xplained

2019-12-24 Thread Adam Feuer
Greg, Ok, I can boot the SAMA5D3-Xplained board to the NuttX shell using the procedure you outlined! (Loading the nuttx binary into RAM using the J-Link debugger.) Thank you! Super! NSH is accessible via the DBGU port. I'll try the same procedure on the SAMA5D2-XULT board either tomorrow or in th

Re: problem booting NuttX on SAMA5D3-Xplained

2019-12-23 Thread Adam Feuer
Greg, Thank you so much for the help! I have a Segger J-Link JTAG debugger. I will try stripping down to a minimal config, and single stepping. I don't know what UART the debug port is attached to, I will look that up tomorrow too. Thanks for the pointer to the SAMA5D3x-ek, I haven't looked at it

Re: problem booting NuttX on SAMA5D3-Xplained

2019-12-22 Thread Gregory Nutt
Make sure you compile with debug info enabled and no optimization. Then, since you mentioned you have a Segger J-Link JTAG probe, I highly recommend you use Segger’s debugger Ozone (free J-Link probes) — you’ll be able to easily single-step and determine what’s going wrong… If you have a J-L

Re: problem booting NuttX on SAMA5D3-Xplained

2019-12-22 Thread David S. Alessio
Hello Adam, Make sure you compile with debug info enabled and no optimization. Then, since you mentioned you have a Segger J-Link JTAG probe, I highly recommend you use Segger’s debugger Ozone (free J-Link probes) — you’ll be able to easily single-step and determine what’s going wrong… Regard

Re: problem booting NuttX on SAMA5D3-Xplained

2019-12-22 Thread Gregory Nutt
My question is: Should I be able to see a NSH console on the debug serial port? Or the USB serial port? I don't see either devices when I look at the host system's /dev/ directory. You would have to look at the SERIAL_CONSOLE setting in the configuration file to find out.  I don't recall.

Re: problem booting NuttX on SAMA5D3-Xplained

2019-12-22 Thread Gregory Nutt
Check the configuration that you are using.  What is the UART used in the NuttX configuration for the serial console?  What is the UART that connects to the debug port? Do you have a jtag debugger?  There should be instructions in the README explaining how to single step into the OS.  You shou

Re: problem booting NuttX on SAMA5D3-Xplained

2019-12-22 Thread Adam Feuer
Ok, maybe more progress. I re-flashed the SPI NOR flash with new files from the linux4sam website. Now I can see the serial terminal on the debug port during boot. I can stop the boot process using U-Boot, and use U-Boot to load a nuttx.bin image. This process is suggested in the board README. But

problem booting NuttX on SAMA5D3-Xplained

2019-12-21 Thread Adam Feuer
Hi, NuttX newbie here. I'm trying to load NuttX onto a SAMA5D3-Xplained board. I am trying to follow the board's README file. I am using the Gnu ARM embedded toolchain v9 and a Segge