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: uVision not displaying double type correctly with SAM3U-EK
PostPosted: Wed Jul 20, 2011 1:47 pm 
Offline

Joined: Wed Jul 20, 2011 1:23 pm
Posts: 2
uVision not displaying double type correctly with AT91SAM3U-EK
This problem does not occur in Simulation mode. It occurred using the AT91SAM3U-EK using the ULINK Pro JTAG probe.

An automatic variable declared as type 'double' is not being displayed correctly in the watch or local window. Whereas a variable of type 'float' is displayed correctly.

e.g. double x = 1.3; float y = 1.4;

x is displayed as '0' or '1.697596632871e-314'
y is displayed as '1.4'

Could it be a problem with TARMSAM3.DLL as I presume DARMSAM3.DLL is used in
simulation mode?.

The environment and tools used:
uVision: V4.20.03.0
Tool Chain MDK-ARM Professional V4.20
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
Device Family Cortex-M
Fimware Version V1.50
SW- Checked Port-JTAG
Max XClock 1MHZ

Memory Map
IROM1 0x80000 0x20000
IRAM1 0x20000000 0x8000

MCLK -48MHZ


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: Google [Bot] 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: