Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
resources:tools-software:sharc-audio-module:advanced-audio-projects:program-flash [22 May 2023 17:21] – Adding compatibility updates Rebecca Butlerresources:tools-software:sharc-audio-module:advanced-audio-projects:program-flash [22 May 2023 18:31] – Updates for CLPD Rebecca Butler
Line 25: Line 25:
 | 1. Power on your SAM board and plug in the 12V Power Supply to the 12V connector. If the board is properly powered, the green LED9/PWR will light up. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:cld2.png?400 |}}| | 1. Power on your SAM board and plug in the 12V Power Supply to the 12V connector. If the board is properly powered, the green LED9/PWR will light up. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:cld2.png?400 |}}|
 | 2. Plug the USB Micro Type B side to the SAM board USB connector and the USB Type A side to a USB connection on the PC. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:cld3.png?400 |}}| | 2. Plug the USB Micro Type B side to the SAM board USB connector and the USB Type A side to a USB connection on the PC. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:cld3.png?400 |}}|
-| 3. On the SAM board, press and hold buttons PB1 and PB2. While still holding PB1 and PB2, press RESET. \\ \\ //Note that you do not need to hold reset. Resetting the board while holding PB1 and PB2 down will tell the bootloader to stay in the bootloader and await instructions for application flash.// \\ \\ //If this is successful, LED10 will blink, while LED11 and LED12 will remain off.//| {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:app2.png?400 |}}|+| 3. On the SAM board, press and hold buttons PB1 and PB2. While still holding PB1 and PB2, press RESET. \\ \\ //Note that you do not need to hold reset. Resetting the board while holding PB1 and PB2 down will tell the bootloader to stay in the bootloader and await instructions for application flash.// \\ \\ //If this is successful, LED10 will blink, while LED11 and LED12 will remain off.//| {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:app2.png?400 |}} |
 | 4. Open the SAM Flasher Tool | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:sam7.png?400 |}} | | 4. Open the SAM Flasher Tool | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:sam7.png?400 |}} |
 | 5. Select the //Comm Port// labelled //SC5xx Communications Port//. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:app3.png?400 |}}| | 5. Select the //Comm Port// labelled //SC5xx Communications Port//. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:app3.png?400 |}}|
Line 32: Line 32:
 | 8. To enter the application, press the RESET button on the SAM again. If the application has properly loaded, LED10 will blink and LED11 will remain on. You will be able to additionally access the shell. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:app7.png?400 |}}| | 8. To enter the application, press the RESET button on the SAM again. If the application has properly loaded, LED10 will blink and LED11 will remain on. You will be able to additionally access the shell. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:app7.png?400 |}}|
  
-===== Application Flash via CLPD ===== +===== Application Flash via CLPD via Bootswitch ===== 
-//TODO//+//Only available for products that support CLPD updates via Bootswitch!// 
 + 
 +**Follow the instructions below for products which support CLPD updates via Bootswitch:** 
 +| 1. Set the bootswitch rotary switch to //0//. This tells the device to not automatically boot. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:bootswitch1.png?400 |}}{{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:bootswitch2.png?400 |}}| 
 +| 2. Power on your board and plug in the 12V Power Supply to the 12V connector. If the board is properly powered, the green PWR LED will light up.\\ \\ //Location of LED will vary based on device.// | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:alternatepower.png?400 |}}| 
 +| 3. Plug the ICE-1000 or ICE-2000 JTAG header into board header labelled //DEBUG//. Ensure that the USB-A connector is plugged into a USB-A receptacle on the PC and ensure the status of the debugger shows a green LED. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:boot2.png?400 |}} {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:boot0.png?400 |}}| 
 +| 4. Using Windows command prompt, navigate to //<​project_root>/​build// ​and run //flash.bat//\\ \\ //Note that the update may take some time to complete.//| {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:clpd_flash.png?600 |}}| 
 +| 5. Set the blue rotary switch back to 1 and reset the board to allow the software update to take effect. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:bootswitch3.png?600 |}} |
  
 ---- ----
-{{navigation Advanced Audio Projects#.environment_setup|Environment Setup and Compilation#.|Advanced Audio Projects#.examples|Application Examples}}+{{navigation Advanced Audio Projects#.environment_setup|Environment Setup and Compilation#.|Advanced Audio Projects#.examples-analog-audio|Application Examples}}
resources/tools-software/sharc-audio-module/advanced-audio-projects/program-flash.txt · Last modified: 17 Apr 2024 15:12 by Rebecca Butler