Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0 (and git HEAD too)

2011-10-10 Thread Attila Kinali
Moin, On Fri, 7 Oct 2011 23:13:19 +0200 Andreas Fritiofson wrote: > > Well, what's the problem now? It seems to work? Or at least get through > init, since "post init" is printed now, which it wasn't before. Meh! You're right. I confused myself because i forgot to add a "shutdown" at the end a

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0 (and git HEAD too)

2011-10-07 Thread Andreas Fritiofson
On Fri, Oct 7, 2011 at 2:37 PM, Attila Kinali wrote: > On Thu, 6 Oct 2011 23:07:44 +0200 > Andreas Fritiofson wrote: > > > It obviously hangs during init, which could mean just about anything. > It's > > impossible to tell without a debug log (-d3). > > I strippped the script down to what is nee

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0

2011-10-07 Thread jim norris
Atilla, I've been able to bring up your script, with the steps after 'pre init' commented out, using an Olimex ARM-USB-OCD and an Atmel SAM3N-EK development board. I configured OpenOCD with the following: ./configure --enable-maintainer-mode --enable-jlink --enable-ft2232_libftdi Everything

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0

2011-10-07 Thread Attila Kinali
On Thu, 6 Oct 2011 23:07:44 +0200 Andreas Fritiofson wrote: > Other than that I'm not of much use, I haven't worked with any of the > targets. Btw: if it would help, i could send you (or anyone else for that matter) one of the SAM3N evaluation boards[1]. Attila Kinali

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0 (and git HEAD too)

2011-10-07 Thread Attila Kinali
On Thu, 6 Oct 2011 23:07:44 +0200 Andreas Fritiofson wrote: > That log doesn't show that OpenOCD hangs after accessing flash. The "Flash > bank access DONE" part is wrong, the flash bank has only been set up in > OpenOCD, there hasn't been any communication with the target yet. Oops, ok a misin

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0

2011-10-06 Thread Tomek CEDRO
On Thu, Oct 6, 2011 at 9:29 PM, Andreas Fritiofson wrote: > Of course I could, if it was me having the problem. Which it's not. :) > But it's a good idea, I'm sure Attila can try it if the debug log doesn't > show anything useful. > /Andreas Ah sorry, I only read that last post of yours :-) This

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0

2011-10-06 Thread Andreas Fritiofson
On Thu, Oct 6, 2011 at 11:14 PM, Tomek CEDRO wrote: > On Thu, Oct 6, 2011 at 9:07 PM, Andreas Fritiofson > wrote: > > That log doesn't show that OpenOCD hangs after accessing flash. The > "Flash > > bank access DONE" part is wrong, the flash bank has only been set up in > > OpenOCD, there hasn't

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0

2011-10-06 Thread Tomek CEDRO
On Thu, Oct 6, 2011 at 9:07 PM, Andreas Fritiofson wrote: > That log doesn't show that OpenOCD hangs after accessing flash. The "Flash > bank access DONE" part is wrong, the flash bank has only been set up in > OpenOCD, there hasn't been any communication with the target yet. > It obviously hangs

Re: [Openocd-development] Atmel SAM3N with OpenOCD 0.5.0

2011-10-06 Thread Andreas Fritiofson
Hi, On Wed, Oct 5, 2011 at 3:15 PM, Attila Kinali wrote: > Moin, > > Has anyone got a Atmel SAM3N (N, not U) working with OpenOCD? > > SAM3U works with OpenOCD 0.5.0, but not with SAM3N. > The device is properly detected, but when accessing the flash, OpenOCD > hangs indefinitely. > > See the at

[Openocd-development] Atmel SAM3N with OpenOCD 0.5.0

2011-10-05 Thread Attila Kinali
Moin, Has anyone got a Atmel SAM3N (N, not U) working with OpenOCD? SAM3U works with OpenOCD 0.5.0, but not with SAM3N. The device is properly detected, but when accessing the flash, OpenOCD hangs indefinitely. See the attached script I use and its output. If anyone could give me a hint how to