Monday, December 11th 2017, 4:57am UTC+1

You are not logged in.

  • Login
  • Register

regges

Beginner

Date of registration: Nov 28th 2017

Posts: 2

1

Wednesday, November 29th 2017, 6:48pm

Atmel Studio 7 + ATSAME51 + Jlink Edu doesn't work

Hi

I have an ATSAME51J19 board connected with JLink Edu Mini.
The board can be debugged with Keil and flashed with Jlink Flash Lite. However it doesn't work with Atmel Studio.
Do you have any idea on how to fix this?
Jlink log for Keil (success) and Atmel Studio (fail) are in attachment

Regards
H
regges has attached the following file:
  • JlinkLogs.zip (7.74 kB - 12 times downloaded - Last download: Dec 8th 2017, 2:59am)

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 430

2

Thursday, November 30th 2017, 9:41am

Hello,

Thank you for your inquiry.
Such an issue is not known to us.
The serialnumber of your device looks displayed weird.
Can you please start J-Link Commander (JLinkExe) and type:
J-Link>resetconf
J-Link>usb
Then power cycle your J-Link?
Does it show the correct serial number now?
Does debugging with Atmel Studio work now?

Generally debugging with Atmel Studio is working as expected. Did you follow the setup steps form our website? https://www.segger.com/products/debug-pr…s/atmel-studio/

Do you have another eval board to test against to see if it is a general issue or only related to that particular board?

Is there a particular reason for you using Atmel Studio? As far as we are informed Atmel Studio is discontinued and will not be developed anymore.
In fact I just tried to create a project with the SAME54 board we have here and it did not recognize the board type...

So if you are flexible with your IDE choice we suggest using our own cross-platfrom IDE Embedded Studio: https://www.segger.com/products/developm…mbedded-studio/

For private and educational use it can be used completely for free.
I just created a dummy example project in Embedded Studio for the E54 board and it worked directly.
For next week also CMSIS packs for the SAME51 series are planned so you can directly get a simple project with all device related startup files and only need to add you application to the project and you are done.

Would that be of interest to you?

Best regards,
Nino

regges

Beginner

Date of registration: Nov 28th 2017

Posts: 2

3

Thursday, November 30th 2017, 8:30pm

Hi Nino

Thanks for the answer.
In fact I changed serial number before posting the logs (It is 80100xxxx with x are numerical character)

BTW, if you have problem with ATSAME54 so it seems to not different from mine.

The reason I use Atmel Studio is to enable my Atmel Start based project quickly.
But with this issue, I think I will need to change IDE. I have Keil worked with the board but cannot use it due to size limitation.
I will give the IDE you suggest a try. Hopefully we don't need to do a lot of change to build ASF based project

Regards
H

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 430

4

Friday, December 1st 2017, 9:23am

Hi,

Quoted

In fact I changed serial number before posting the logs


Ah ok that makes sense now :D

Quoted

BTW, if you have problem with ATSAME54 so it seems to not different from mine.

Yes, unfortunately this is a Atmel Studio related issue that we can't do much about.
Especially as development is being discontinued for that product it is unlikely that it will ever work.

Quoted

I have Keil worked with the board but cannot use it due to size limitation.

This is no problem in Embedded Studio ;)

Quoted

Hopefully we don't need to do a lot of change to build ASF based project


It looks like Atmel Studio also used GCC compiler so at least the ASF source should be compatible to ES.
A setup guide for a new ES project can be found here: https://www.segger.com/products/developm…ect-management/

For the E51 series a support package is planned to be added later today so you can get started just like in the video.
If you can't wait you can already get a working project by going File->New Project->Create New Project in new solution-> A C/C++ executable for Cortex-M processors->set projectname and path->next->select E51 device->select correct target interface SWD/JTAG-> next-> next-> finish

And your project is setup. With F5 you can start debugging right away.

Best regards,
Nino

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 430

5

Monday, December 4th 2017, 1:58pm

Hi,

FYI the ATMEL SAME51 CPU support package has today been added to Embedded Studio so you can create quick sample projects out of the package manager and get running within minutes.

Best regards,
Nino