From stefmalli89 at gmail.com Thu Jan 10 15:31:10 2013 From: stefmalli89 at gmail.com (Stefanos Malliaros) Date: Thu, 10 Jan 2013 17:31:10 +0200 Subject: simtrace freeze In-Reply-To: References: Message-ID: <50EEDEBE.5090401@gmail.com> Good evening. I have the same problem as i have read that some other have My simtrace seems to freeze and stop processing. i read a solution of changing the buffer size. should i try to do that or update to the latest firmware? Thanks Stefanos Malliaros From holger at freyther.de Thu Jan 10 18:28:38 2013 From: holger at freyther.de (Holger Hans Peter Freyther) Date: Thu, 10 Jan 2013 19:28:38 +0100 Subject: simtrace freeze In-Reply-To: <50EEDEBE.5090401@gmail.com> References: <50EEDEBE.5090401@gmail.com> Message-ID: <20130110182838.GF20797@xiaoyu.lan> On Thu, Jan 10, 2013 at 05:31:10PM +0200, Stefanos Malliaros wrote: > Good evening. Hi, > My simtrace seems to freeze and stop processing. do you either have JTAG or a serial cable? > i read a solution of changing the buffer size. no, there can be an issue that one does not transfer a buffer quick enough. In that case reducing the size of the buffer is a work around. > > should i try to do that or update to the latest firmware? You should try to understand what the problem is. This starts by describing the symptoms as accurately as possible. What are you doing? what is the last thing you receive? does the red led switch off? does the device reset on the bus switch? is there anything on the serial? does restarting the simtrace host app change anything? holger From stefmalli89 at gmail.com Thu Jan 10 18:45:37 2013 From: stefmalli89 at gmail.com (Stefanos Malliaros) Date: Thu, 10 Jan 2013 20:45:37 +0200 Subject: simtrace freeze In-Reply-To: <20130110182838.GF20797@xiaoyu.lan> References: <50EEDEBE.5090401@gmail.com> <20130110182838.GF20797@xiaoyu.lan> Message-ID: xmm i don't have either type of cable. should i make one? On Thu, Jan 10, 2013 at 8:28 PM, Holger Hans Peter Freyther < holger at freyther.de> wrote: > On Thu, Jan 10, 2013 at 05:31:10PM +0200, Stefanos Malliaros wrote: > > Good evening. > > Hi, > > > My simtrace seems to freeze and stop processing. > > do you either have JTAG or a serial cable? > > > i read a solution of changing the buffer size. > > no, there can be an issue that one does not transfer a buffer > quick enough. In that case reducing the size of the buffer is > a work around. > > > > > should i try to do that or update to the latest firmware? > > You should try to understand what the problem is. This starts by > describing the symptoms as accurately as possible. What are you > doing? what is the last thing you receive? does the red led switch > off? does the device reset on the bus switch? is there anything > on the serial? does restarting the simtrace host app change anything? > > holger > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuel.weinbeck at gmail.com Wed Jan 30 19:21:59 2013 From: samuel.weinbeck at gmail.com (Samuel Weinbeck) Date: Wed, 30 Jan 2013 11:21:59 -0800 Subject: Buffer size Message-ID: Where in the firmware can the buffer size be decreased? From holger at freyther.de Wed Jan 30 20:31:23 2013 From: holger at freyther.de (Holger Hans Peter Freyther) Date: Wed, 30 Jan 2013 21:31:23 +0100 Subject: Buffer size In-Reply-To: References: Message-ID: <20130130203123.GV20860@xiaoyu.lan> On Wed, Jan 30, 2013 at 11:21:59AM -0800, Samuel Weinbeck wrote: > Where in the firmware can the buffer size be decreased? What symptoms do you attempt to cure? From samuel.weinbeck at gmail.com Thu Jan 31 17:50:42 2013 From: samuel.weinbeck at gmail.com (Samuel Weinbeck) Date: Thu, 31 Jan 2013 09:50:42 -0800 Subject: Buffer size In-Reply-To: <20130130203123.GV20860@xiaoyu.lan> References: <20130130203123.GV20860@xiaoyu.lan> Message-ID: On Wed, Jan 30, 2013 at 12:31 PM, Holger Hans Peter Freyther wrote: > On Wed, Jan 30, 2013 at 11:21:59AM -0800, Samuel Weinbeck wrote: >> Where in the firmware can the buffer size be decreased? > > What symptoms do you attempt to cure? I have lost bytes. I believe that I have found it though in src/os/req_rctx.{c,h} Thanks. From samuel.weinbeck at gmail.com Thu Jan 31 17:53:52 2013 From: samuel.weinbeck at gmail.com (Samuel Weinbeck) Date: Thu, 31 Jan 2013 09:53:52 -0800 Subject: PLL Message-ID: I'm wondering if the SIMTRACE board can be made to operate faster with the PLL provided by the Atmel microcontroller. I'm looking around in src/start/Cstartup_SAM7.c but I'm a bit confused by the values. The Atmel PLL filter calculator doesn't allow dividing by 24 and multiplying by 125 with Fin=18.432MHz, R1=1000, C1=10nF, C2=1nF.