SAM4S XPLAINED programming not possible

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

Hello all!

Now I worked one day on it, but it will not work. I'm pretty shure it's a driver problem, but I cannot figure out what the problem exactly is.
Before, I worked with STM32F4, and the the toolchain runs very smart. Now, the SAM4 parts are available and we like to switch over because we use AVR's and AVR32's in many other projects, and it seems to be good idea to have the same IDE for all projects.
Ok, so far, so good. To start with these thing, I bought a couple of SAM4S XPLAINED Kits. But it's not possible for me to write any demo to the device, because the device programming dialog allways tells me, it's not possible to connect.

My setup:

Win 7 Pro 64 on a Core2 Quad, 8GB RAM
AS6, latest release
SAM_BA 2.12
SAM_BA 2.12 Patch 2a
JLinkCDCInstaller V1.2b
and finally JLinkARM V458a

If I plug the SAM4S XPLD in (JTAG-Port), the windows device manager tells me, there is a "JLink CDC UART Port (COM23)" and in the USB-Section a "J-Link OB CDC". One green LED (at 10 o'clock from the USB connector) is constantly on. Everything looks fine, but I will allways prompted to "wait 1 more minute" and so on.

Now I borrowed a SAM4S XPLD from a colleague, who has the whole thing running. When I plug his XPLD in, I get a "JLink CDC UART Port (COM24)" and also a "J-Link OB CDC", but there are two LEDs on. The one at 10 o'clock, and one at 3 o'clock, slightly flashing (long on, short off). But if I like to program the device, first it tells me also, to wait 1 more minute, and then that the device cannot connected. :evil:

I tried a lot of things, including reinstallation of all the software, with no success.

Has anyone a further idea?!

regards,
Thomas

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

When I plug in my SAM4S Xplained at the USB connector end of the board I see two green LEDs lit, one above the TQFP on the left side and one at about its 8 o'clock position.

Using usbdeview (Google/download it if you don't have it already) it tells me there is:

J-Link	USB Composite Device	Unknown	Yes	Yes	No	No		000480005123	10/01/2013 11:23:08	26/02/2013 09:40:10	1366	0105	1.00	00	00	00					6&6f1e51d&0	usbccgp	Microsoft USB Generic Parent Driver	usbccgp.sys	USB	(Standard USB Host Controller)	100 mA	1.10	USB Composite Device	5.1.2600.0	USB\Vid_1366&Pid_0105\000480005123	

Under Device Manager the fact that it is a "composite device" means it appears as two devices...

Attachment(s): 

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

OK!

usbdeview tells me about the XPLD with the two lit LEDs:

Port_#0006.Hub_#0008	USB-Verbundgerät	Unknown	Yes	Yes	No	No	 	000480004756	25.02.2013 10:47:00	26.02.2013 11:02:35	1366	0105	1.00	00	00	00	 	 	 	 	6&128c1b1a&0	usbccgp	Microsoft Standard-USB-Haupttreiber	usbccgp.sys	USB	(Standard-USB-Hostcontroller)	100 mA	2.00	USB-Verbundgerät	6.1.7601.17586	USB\VID_1366&PID_0105\000480004756


0000.001d.0007.006.000.000.000.000.000	J-Link OB CDC	Vendor Specific	Yes	Yes	No	No	 	 	25.02.2013 10:47:01	26.02.2013 11:02:35	1366	0105	1.00	ff	ff	ff	 	 	 	 	 	jlink	J-Link driver	jlinkx64.sys	USB	Segger	 	 	J-Link OB CDC	2.6.8.2	USB\VID_1366&PID_0105&MI_02\6&128c1b1a&0&0002

The other one, with only one LED lit tells:

Port_#0006.Hub_#0008	USB-Verbundgerät	Unknown	Yes	Yes	No	No	 	000480004776	19.02.2013 08:23:54	26.02.2013 11:07:10	1366	0105	1.00	00	00	00	 	 	 	 	6&50396be&0	usbccgp	Microsoft Standard-USB-Haupttreiber	usbccgp.sys	USB	(Standard-USB-Hostcontroller)	100 mA	2.00	USB-Verbundgerät	6.1.7601.17586	USB\VID_1366&PID_0105\000480004776


0000.001d.0007.006.000.000.000.000.000	J-Link OB CDC	Vendor Specific	Yes	Yes	No	No	 	 	25.02.2013 11:04:39	26.02.2013 11:07:10	1366	0105	1.00	ff	ff	ff	 	 	 	 	 	jlink	J-Link driver	jlinkx64.sys	USB	Segger	 	 	J-Link OB CDC	2.6.8.2	USB\VID_1366&PID_0105&MI_02\6&50396be&0&0002

Looks similar to yours.

But my Device Manager look very different. See the Snapshots.

But what does it mean?