Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343592

Summary: RTSC platform wizard difficulties entering 'Base' and 'Length' for memory segment
Product: [Technology] RTSC Reporter: Shreyas Prasad <shreyasp>
Component: ToolsAssignee: Sasha Slijepcevic <sascha>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: d-russo, dfriedland, vikram.adiga
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: target:3.25.04

Description Shreyas Prasad CLA 2011-04-21 13:12:29 EDT
Build Identifier: CCS Version: 5.1.0.03000

The user is forced to enter '0x' before typing in the base and length of each segment.  If the string starts with the actual address (i.e. 80000000), input is rejected.  When the input starts with 'x' or even '0X' the input is rejected and nothing appears in the text box. 

Reproducible: Always

Steps to Reproduce:
Insert a new row into the memory map configuration.  Try typing in 0X80000000 or 80000000.
Comment 1 Dave Russo CLA 2011-05-06 16:16:59 EDT
This was done on purpose to force hex inputs from the user. Support for other input formats can be added but I do not know how useful it will be since most people think about memory maps in hexadecimal. Adding a "0x" to the input is the most common way of representing memory locations in hexadecimal.
Comment 2 Shreyas Prasad CLA 2011-05-06 16:24:05 EDT
Could we instead prefix the '0x' in the GUI itself so that there's no ambiguity?
Comment 3 Dave Russo CLA 2011-05-06 16:28:40 EDT
There are several improvements we could do to the UI and we can add this to the list. However, we would like to move away from the platform wizard and have a nicer/cleaner way of handling memory in XGCONF itself. I would prefer to focus on that and only make critical fixes to the platform wizard.
Comment 4 Sasha Slijepcevic CLA 2013-09-25 20:41:32 EDT
- fixed in xdceclipse-i06
Comment 5 Vikram Adiga CLA 2013-10-03 20:41:50 EDT
Verified pass.

CCS version: 5.4
XDCtools version: 3.25.04.83

Verify steps:

I verified the "0x" is prefixed by GUI to the memory map addresses.
Comment 6 Dave Russo CLA 2014-03-05 21:09:18 EST
delivered in xdctools 3.25.04