Using the Binaries:
Prerequisites:
- SAMA5D3x-EK board and power supply
- RS-232 NUL modem cable
- A full size SD card. This should be older style SD or SDHC cards. Some of the newest very high capacity cards will not work.
- The WAV file jsbach16.wav
- The NuttX HEX binary, nuttx.hex, .bin or .elf.
Procedure:
Put the WAV file jsbach16.wav on the SD card
Place the SD card in the full size SD slot on the motherboard.
Use SAM-BA to copy the NuttX binary to NOR flash
Set the boot jumper to boot from NOR FLASH
NSH should start
NuttShell (NSH) NuttX-7.3 nsh>
Mount the SD card at /music
nsh> mount -t vfat /dev/mmcsd0 /music
Star the NxPlayer and select the pcm0 device
nsh> nxplayer NxPlayer version 1.04 h for commands, q to exit
nxplayer> device pcm0
And play the WAV file
nxplayer> play jsbach16.wav