SAM4L Xplained Pro EDBG issue

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All,

I recently got started with the SAM4L Xplained Pro board. Installed AS7 on WIN7 Pro. AS7 can see the board when plugged in to the USB port. I can also open an example project and build and run it on the board successfully.

My issue is using the Terminal program (I am using Putty) to talk to the board using EDBG through the Virtual COM port. In addition to receiving the expected output I am receiving continuos garbage from the board. Please see the Putty log below.
All the 1s are expected output from a printf command. All the 2s are garbage and unexpected. Any help debugging the issue will be greatly appreciated.

Thanks.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.01.15 21:41:33 =~=~=~=~=~=~=~=~=~=~=~=
-- Getting Started Example --
-- SAM4L Xplained Pro --
-- Compiled: Jan 15 2016 21:09:47 --
Configure system tick to get 1ms tick period.
Configure button.
Configure TC.
Press SW0 to Start/Stop LED0 blinking.
1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 -- Getting Started Example --
-- SAM4L Xplained Pro --
-- Compiled: Jan 15 2016 21:09:47 --
Configure system tick to get 1ms tick period.
Configure button.
Configure TC.
Press SW0 to Start/Stop LED0 blinking.
1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2