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  [ 1 post ] 
Author Message
 Post subject: Keil uVision Debug Mode exiting on accessing PSRAM
PostPosted: Wed Jul 20, 2011 1:45 pm 
Offline

Joined: Wed Jul 20, 2011 1:23 pm
Posts: 2
Keil uVision Debug Mode exiting whilst executing program that accesses PSRAM
The problem occurred whilst using the AT91SAM3U-EK & Keil ULINK Pro JTAG probe @48MHz.

A simple program (main loop incrementing a loop count and outputting the loop
count to the serial port using 'printf()') is using internal ROM, internal RAM
for stack, and PSRAM for the heap. The Static Memory Controller is setup using a
debug .ini script and the program loaded using the debug LOAD command. (Script
provided by ATMEL to setup the Static Memory Controller to run @48MHz). The uVision
enters debug mode and loads the program OK. The program runs OK but after a random
amount of time the debug mode is exited, however the program continues to execute
normally. When the heap is located in internal RAM the debugger behaves correctly
(overnight run).

Tools & Environment
-------------------

uVision V4.20.03.0
ToolChain: MDK-ARM Professional Version 4.20
C Compiler: ARMcc.exe V4.1.0.644
Linker: ARMLink.exe V4.1.0.644

CPU DLL SARMCM3.DLL V4.20
Dialog DLL: DARMSAM3.DLL V1.09
Target DLL: BIN\ULP2CM3.DLL V2.50
Dialog DLL TARMSAM3.DLL V1.08

ULINK Pro Settings
------------------

Device Family Cortex-M
Firmware Version V1.50
SWJ-checked PORT-JTAG
Max XClock 1MHz
Debug Connect -Normal
Reset -Autodetect
Reset after Connect -Checked
Cache Options
Cache Code -Checked
Cache Memory -Checked

Target
------
AT91SAM3U4E Device
ATSAM3U-EK Board
MCLK 48MHz
IROM1 0x80000 0x20000
IRAM1 0x20000000 0x8000
PSRAM 0x60000000 0x100000


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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: