This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

0