Wiki > Main > LyrePrototypeDevelopmentTools (compare)
Difference: LyrePrototypeDevelopmentTools (r2 vs. r1)
Development Tools for RockboxPlayerPrototype?
There are a lot of options, but with 3 different hardware approaches . One is using OpenOCD with JTAG cable, other using Atmel Sam-ba with USB or serial port connection and other using U-Boot with USB connection, serial port connection and TFTP.
Is possible to use OpenOCD and JTAG to flashing and debugging. A good example here: ARM Getting Started: Using USBprog and OpenOCD. Also Atmel have an application note with title: Using Open Source Tools for AT91SAM7 Cross Development. This examples are for AT91SAM7? but should be almost the same for AT91SAM9?.
While in U-Boot shell, there is possible to load code into SDRAM and execute in it. on the development board. We can load code by TFTP, on USB disk and by serial kermit protocol.
JorgePinto did put a very simple flash led code working using U-Boot shell to download program to SDRAM and execute - read more here: http://code.google.com/p/rockboxplayer/wiki/Flash_LED
Is possible to connect the development board to PC by USB and load code to external SDRAM, write in flash and execute code using Atmel Sam-ba utility.
JorgePinto did write a flash LED code from "Getting Started with the AT91SAM9260? Microcontroller" Atmel Application Note using Sam-ba - read more here: http://code.google.com/p/rockboxplayer/wiki/At91sam9260GettingStarted
A good example of how to setup the GNU Tool Chain: ARM Getting Started: Using USBprog and OpenOCD
Any file text editor should be enough.
Debugging and flashing using OpenOCD with JTAG
There is possible to use OpenOCD and JTAG to flashing and debugging. A good example here: ARM Getting Started: Using USBprog and OpenOCD. Also Atmel have an application note with title: Using Open Source Tools for AT91SAM7 Cross Development. This examples are for AT91SAM7? but should be almost the same for AT91SAM9?.
To debugging low-level code as when making drivers or the boot loader, can be used the available RS232 port on development board to send messages.
When LCD is working it can be used to display debug messages.
New firmware will be easily uploaded by connecting the RockboxPlayer by USB to a computer. In the computer will be installed a cross-platform application as RockboxUtility to upload new versions of firmware or even flash any firmware for recover purposes.
r3 - 23 Mar 2009 - 08:32:06 - DanielStenbergRevision r2 - 12 May 2008 - 15:03 - JorgePinto
Revision r1 - 03 May 2008 - 15:49 - JorgePinto
Copyright © by the contributing authors.