Problem with SAM4S16 Xplained f/w update

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

After a monumental battle to find the right Segger software to use for the SAM4S16 Xplained (the online documentation points to the wrong place!) a day later I finally managed to find and install the right software from Segger.

I then tried to run AS6 to connect to the board. It's nice that the interface is almost exactly the same as using ISP/JTAg with AVR so I knew where to look and what to do.

Using "Device Programming" just to make sure I could contact the SAM4S Xplained I repeatedly could not connect. I just kept getting "wait for 1 more minute?" messages and finally timeouts with no connection.

In exasperation I thought I'd try closing and reopening AS6 and as I closed it down it was only then I found a message box saying that it had spotted the Segger debugger on the SAM4S Xplained and that the firmware was out of date and should it update? As I was closing down AS6 it was too late to use it at this point. But on restarting AS6 I went through the same sequence of trying to connect but once again the firmware update message box was "hidden" in the background and because the "Device Programming" dialog is modal there'd no obvious way to switch to it. However using Windows "Show Desktop" and the fact that the firmware updater seems to have it's own window I was finally able to access it.

This should NOT be this complex for a new user. As soon as the connection recognises that it cannot continue until the firmware has been updated it should cancel the Device programming modal dialog before showing the "update firmware?" messagebox.

This and the fact it seems you almost went deliberately out of your way to make it impossible to find the Segger software would probably have put me off using this Cortex M4 eval board if I wasn't so determined to use it. (I have 3 others from other manufacturers on my desk and could easily switch).

Not a good start. However...

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The Segger stuff is built in to Studio 6 - you should only need to install Studio. The hidden firmware update box is a nasty problem we're aware of, but haven't found a good solution to yet.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

The Segger stuff is built in to Studio 6 - you should only need to install Studio

Not entirely true. See:

http://www.atmel.no/webdoc/sam4s...

As you see on the following page:

http://www.atmel.no/webdoc/sam4s...

The software recognises that AS6 is installed and updates the Segger support it already has for a newer one. I'm guessing this is to add SAM4S16C support and to deliver that firmware package I had the problem with.

The thing is that the info on that first page:

Quote:
The following softwares are available at the following address : http://www.segger.com/beta-softw...

Apart from the fact that the plural of software is software and the fact that the URL is not a hot link it's the wrong page. You can get the CDC driver from that page but not the main Segger update. It turns out you have to use:

http://www.segger.com/jlink-soft...

to get the SAM4S16 aware version of the Segger stuff (that is 4.58a) as the J-Link on the Xplained does not have a serial number. Sort of a shame that the atmel.no documentation doesn't know about this. It only took me a day and emails to support@atmel.com and posts on the Segger support forum to resolve this. Wonder how many other SAM4S16 users will simply give up? (Hopefully Google will now find this thread for them and provide a solution).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What a pain in ...
I installed all these Segger/SAM-BA/What ever thingies, but I allways allways allways get this "wait for 1 more minute?" message, if I try to connect to the xplained board. What else can I try?

regards,
Thomas