ATSAME54P20A: Can't download any projects onto the SAME54 XPLAINED PRO board
Board: Sam E54 Xplained Pro
I don’t appear to be able to download my project onto the SamE54 Xplained Pro board.
I have followed the recipe “Create your first TCP/IP Application”
I got as far as “Test the Application” before things went off-track.
Tried some prebuilt projects but no success.
Worked on the problem for several days before downloading Atmel Studio 7.
Following is a procedure I have taken notes of for the Forum:
Sam E54 Xplained Pro Board: Debug usb connected to PC, RJ45 connected to router.
The board is happily toggling the LED.
MPLABX opens with project ATSAME54XPRO200726 installed (from previous attempts).
Build Project (ATSAME54XPRO200726)
Output:“make -f nbproject/Makefile-SAME54200726.mk SUBPROJECTS= .build-confmake: Entering directory 'C:/Users/Mick/HarmonyProjects/SAME54200726/firmware/ATSAME54XPRO200726.X'make -f nbproject/Makefile-SAME54200726.mk dist/SAME54200726/production/ATSAME54XPRO200726.X.production.hexmake: Entering directory 'C:/Users/Mick/HarmonyProjects/SAME54200726/firmware/ATSAME54XPRO200726.X'make: 'dist/SAME54200726/production/ATSAME54XPRO200726.X.production.hex' is up to date.make: Leaving directory 'C:/Users/Mick/HarmonyProjects/SAME54200726/firmware/ATSAME54XPRO200726.X'make: Leaving directory 'C:/Users/Mick/HarmonyProjects/SAME54200726/firmware/ATSAME54XPRO200726.X' BUILD SUCCESSFUL (total time: 2s)Loading code from C:/Users/Mick/HarmonyProjects/SAME54200726/firmware/ATSAME54XPRO200726.X/dist/SAME54200726/production/ATSAME54XPRO200726.X.production.hex...Program loaded with pack,SAME54_DFP,3.2.56,MicrochipLoading completed”
Click on: Make and Program Device (Project ATSAME54XPRO200726):
Error: EDBG not found
“The last tool used for this project is unavailable. Please select the tool that you want to use to debug or program from the following list of available tools:
I choose EDBG as the board has EDBG built in.”
I click ok: Nothing appears to happen.
- - - - -Atmel Studio 7 - - - - - -
Launch Atmel Studio 7.
Click on: Open Project: LEDswitcher-1.atsln (Project built yesterday)
SamE54Xplained Pro board: Connect debug USB port to PC and RJ45 to router.
Click on: Build Solution:------ Build started: Project: LEDswitcher-1, Configuration: Debug ARM ------Build started.Project "LEDswitcher-1.cproj" (default targets):Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "C:\Users\Mick\Documents\Atmel Studio\7.0\LEDswitcher-1\LEDswitcher-1\LEDswitcher-1.cproj" (target "Build" depends on it): Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll". Task "RunCompilerTask" Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 8 --output-sync make: Nothing to be done for 'all'. Done executing task "RunCompilerTask". Using "RunOutputFileVerifyTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll". Task "RunOutputFileVerifyTask" Program Memory Usage : 1584 bytes 0.2 % Full Data Memory Usage : 65584 bytes 24.3 % FullWarning: Memory Usage estimation may not be accurate if there are sections other than .text sections in ELF file Done executing task "RunOutputFileVerifyTask".Done building target "CoreBuild" in project "LEDswitcher-1.cproj".Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').Target "Build" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Avr.common.targets" from project "C:\Users\Mick\Documents\Atmel Studio\7.0\LEDswitcher-1\LEDswitcher-1\LEDswitcher-1.cproj" (entry point):Done building target "Build" in project "LEDswitcher-1.cproj".Done building project "LEDswitcher-1.cproj". Build succeeded.========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
Click on: Attach to Targets: Another build and the following errors:
“There were errors while programming with custom programming tool.
Exception: No process is associated with this object.
Please check the output window for more information.”
“Custom programming tool does not support Launch with debugging. The custom programming tool was run, but no debugging session was launched.
Use Start Without Debugging to avoid this message”
“Executing Custom tool:
Parsed executable: boll
Thanking you in advance for any help and advice.