Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: AT91SAM7S256 stability problem
PostPosted: Thu Oct 05, 2006 1:43 pm 
Offline

Joined: Thu Oct 05, 2006 10:30 am
Posts: 1
Hello ,
we have a serious problem with the AT91SAM7S256.

We have realized a project with AT91SAM7S256 and FreeRTOS 4.05.
We use 3 tasks with the same priority an idle task and a tick rate of 1 ms (PREEMPTION = YES).
We use the watchdog. It works.If we place a while(1); command for testing in the Main task the system restarts without any problems.
It works fine.

On some boards the systems stops after a short while.
All outputs are redefined as inputs and the xtal - oszilator stops working.
The time between startup and the problem varies from board to board (some minutes up to some days).

We are not able to debug the problem with JTAG / Jlink.
A connected Jlink changes the timing and the problem doesn`t occured.
In the past we noticed that the problem happend when we transfered and received data on UART 0 with DMA. After we have disabeled the DMA transmission it seemed to be fixed .
In the current project we use DMA only for receiving data.
We also use SPI (without DMA and Interrrupt) and TWI/I2C with Interrupt.

Does anybody has an idea or a posible reason for this strange behaviour?
Does anybody has an idea why the conroller doesn`t restart in this error case?

Thanks a lot

Rudi :(


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 05, 2006 4:37 pm 
Offline

Joined: Wed Oct 12, 2005 6:17 pm
Posts: 51
Location: Montreal
Have you try to put some trace in the interrupt that is firered when the instruction is not valid ? like spurious, abort, etc.. ?

Jonathan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 23, 2006 7:02 pm 
Offline

Joined: Tue Feb 08, 2005 1:56 pm
Posts: 48
Have a look at the latest datasheet. There is an issue on the watchdog timer on AT91SAM7S256. It may explain your problem.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: