rtsc ease of use update 2009-05-20 -...
TRANSCRIPT
![Page 1: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/1.jpg)
RT
SC
Ease o
f U
se
Up
da
te
![Page 2: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/2.jpg)
XG
CO
NF
On
tra
ck, b
ut
co
uld
use a
lit
tle m
ore
wo
rk.
![Page 3: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/3.jpg)
XG
CO
NF
Sta
tus
•Currently shipping in CCS4 beta 5
•Invoked automatically when opening a cfg
file
•Good foundation in place though still buggy (lots of fixes goinginto
XDC 3.15.01 slated for mid June)
•To get maxim
um benefit we’ll need m
ore package producers to create
a “rich package”for nicer viewing capabilities
![Page 4: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/4.jpg)
XG
CO
NF
Hig
hlig
hts
•Single m
ost im
portant tool in term
s of making RTSC m
ore useable and
accessible
•When m
odifying/deleting an object it actually m
odifies/removes from
the cfg
file as opposed to just perpetually adding script (like gtconf)
•Can provide error checking of parameters through a “validate”function
•Highlighting a given instance object highlights the corresponding
section of the script
•Familiar layout of BIO
S m
odules
![Page 5: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/5.jpg)
Su
gg
este
d I
mp
rov
em
en
ts f
or
XG
CO
NF
![Page 6: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/6.jpg)
Defa
ult
layo
ut
can
be c
on
fusin
g
![Page 7: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/7.jpg)
Po
ssib
ilit
y f
or
New
Defa
ult
Layo
ut
![Page 8: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/8.jpg)
“A
vailab
le P
ackag
es”
need
s m
ore
featu
res
•Currently unable to do “Add Instance”like BIO
S 5
users are accustomed to doing
•Instances only show up in “Outline”view, but
“Available Packages”should also have this
capability
•Has drag-and-drop priority m
anagement died? Was
nice for getting a high-level system overview in the
BIO
S 5 days
![Page 9: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/9.jpg)
Str
an
ge B
eh
avio
r
Default values in the
dialog box do not match
the defaults for the
instance object
![Page 10: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/10.jpg)
Gen
era
ted
cfg
scri
pt
•Some additional spacing and comments would be good for readability
for times when not using the XGCONF viewer
Awesome highlighting!
Spacing/comments
would be nice
![Page 11: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/11.jpg)
Oth
er
XG
CO
NF
Su
gg
esti
on
s
•On-the-fly parameter validation
![Page 12: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/12.jpg)
Path
To
ol
Usefu
l, s
ort
of.
![Page 13: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/13.jpg)
Ho
w t
o u
se it
![Page 14: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/14.jpg)
Cri
ticis
m o
f P
ath
To
ol
•Perhaps THE m
ost common m
istake of RTSC users is having a
mistake in their XDCPATH. T
his
to
ol w
ill h
ave lit
tle t
o n
o im
pact
in
reso
lvin
g t
ho
se m
ista
kes b
ecau
se it
is n
ot
inte
gra
ted
in
to t
he b
uild
pro
cess (
e.g
. co
nfi
gu
ro).
•The tool does not warn when a path is added with no valid packages.
In fact, by default it has “C:\Program Files\Texas Instruments”on the
repository path which is itself an empty repository.
•The tool is difficult to find and launch.
![Page 15: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/15.jpg)
Ho
w a
bo
ut
a s
ho
rtcu
t?
![Page 16: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/16.jpg)
Bett
er
Err
or
Mess
ag
es
We m
ad
e a
wro
ng
tu
rn s
om
ew
here
.
![Page 17: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/17.jpg)
Typ
ica
l m
ista
ke
–“p
ac
ka
ge
”in
ste
ad
of
“p
ac
ka
ge
s”
in X
DC
PA
TH
Bad path!
![Page 18: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/18.jpg)
Bu
ild
re
sp
on
se
sti
ll n
ot
cle
ar
to t
yp
ica
l u
se
r
"C:/Program Files/Texas Instruments/xdctools_3_15_00_50/xs" --xdcpath="C:/Program Files/Texas
Instruments/bios_6_20_00_37/package";"C:/Program Files/Texas Instruments/ipc_1_00_00_40/packages";
xdc.tools.configuro
-o "configPkg" -t ti.targets.C64P -p ti.platforms.evm6424 -r debug -c "C:/Program
Files/Texas Instruments/ccsv4/tools/compiler/c6000" "../common.cfg"
making package.mak
(because of package.bld) ...
generating interfaces for package configPkg
(because package/package.xdc.inc
is older than package.xdc) ...
configuring common.x64P from package/cfg/common_x64P.cfg ...
js: "C:/Documents and Settings/a0193370/My Documents/My
Projects/64x+/CCS4_tryout/6424_prd_configuration/common.cfg", line 16: xdc.services.global.XDCException:
xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sysbios' along the path:
'C:/PROGRA~1/TEXASI~1/IPC_1_~1/packages;C:/PROGRA~1/TEXASI~1/XDCTOO~1/packages;..;'. Ensure that the
package path is set correctly.
"./package/cfg/common_x64P.cfg", line 767
"./package/cfg/common_x64P.cfg", line 722
gmake.exe: *** [package/cfg/common_x64P.c] Error 1
js: "C:/Program Files/Texas Instruments/xdctools_3_15_00_50/packages/xdc/tools/Cmdr.xs", line 51: Error:
xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [configPkg.PHONY] Error 1
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project 6424_prd_configuration
No
me
nti
on
of
the
fa
ct
tha
t $
{BIO
S_
CG
_R
OO
T}/
pa
ck
ag
e d
oe
s n
ot
co
nta
in
a v
alid
pa
ck
ag
e!!
!
![Page 19: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/19.jpg)
Wh
at
do
we really
need
?
•We M
US
Thave better path checking capabilities in configuro.
•The following cases should generate unique warnings:
–A path does not actually exist on the computer (e.g. typo in path).
–A path references <some-component>/package instead of package
s
(common m
istake).
–No packages are found on a given path. (The user probably is “off”a bit in
the path, e.g. <CE_INSTALL_DIR> instead of
<CE_INSTALL_DIR>/packages. For “extra credit”in this scenario we
should look up/down n
levels to see if we find any directories with valid
packages and suggest that as a possibility to the user.
![Page 20: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/20.jpg)
CC
S I
nte
gra
tio
n
At
last!
![Page 21: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/21.jpg)
Pla
tfo
rm W
izard
•Finally it’s easy to create your own platform
!
•Could be easier to find –
needed to email RTSC team to find it!
•In CCS4, Find -> New -> O
ther…
-> RTSC W
izards -> RTSC Platform
Wizard
![Page 22: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/22.jpg)
Pla
tfo
rm W
izard
-P
ag
e 1
company.division.platform
might be
a better default name
Could we please get a text filter box?
![Page 23: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/23.jpg)
Pla
tfo
rm W
izard
-P
ag
e 2
Creates a ready-to-
use RTSC platform
package. Easy!
![Page 24: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/24.jpg)
New
Pro
ject
Wiz
ard
Now it’s easy to start from an
example without worrying having to
bother with copy/paste from the
examples directory!*
* BIO
S6 only
![Page 25: RTSC Ease of Use Update 2009-05-20 - Eclipsewiki.eclipse.org/images/2/29/RTSC_Ease_of_Use_Update_2009-05-20.pdfCriticism of Path Tool • Perhaps THE most common mistake of RTSC users](https://reader034.vdocuments.net/reader034/viewer/2022051600/5aac87367f8b9aa06a8d24cf/html5/thumbnails/25.jpg)
Oth
er
su
gg
esti
on
s
•Ability to launch path tool and other diagnostics (repoman?) from CCS