JLink & ATSAMB11

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

Hello.
I have a JLink edu mini and a custom board made with an ATSAMB11 module.
I can not make these two work together.

Actually I am trying to program the module under Atmel Studio 7 but it does not seem to work and it gives me constantly errors.
 

Since Atmel Studio is failing I have tried to do the following:
1) Run jlink.exe
2) connect
3) I type '?' for the selection dialog.
4) I don't find the ATSAMB11 in that dialog and as such I select Unspecified Cortex-M0.
5) Choose 'S' for SWD
6) Select speed of 100 kHz

The results I am getting from the software are:

Device "CORTEX-M0" selected.

Connecting to target via SWD
Found SW-DP with ID 0x0BB11477
Scanning AP map to find all available APs
AP[1]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x04770021)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410CC200. Implementer code: 0x41 (ARM)
Found Cortex-M0 r0p0, Little endian.
FPUnit: 0 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
Cortex-M0 identified.

Then I run TestHaltGo and I get:

test halt/go

****** Error: CPU is not halted

**************************
WARNING: CPU could not be halted
**************************

Completed. 31ms required

Does anyone have any idea of what is wrong and how I can make Atmel Studio work with the module?

Thank you very much.

Last Edited: Thu. Feb 8, 2018 - 04:08 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Segger makes the JLink hardware.  They have a pretty good support forum at https://forum.segger.com/

 

 

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

Thanks for letting me know. I just also asked here in case someone has any prior knowledge with this and know how to overcome it.