<br><font size=2 face="sans-serif">I just got mine working by using:</font>
<br><font size=2 face="sans-serif"> \Proj\Opt\Targ\DeviceConfig\Custom\</font>
<br><font size=2 face="sans-serif"> Memory
Addresses</font>
<br><font size=2 face="sans-serif"> Program
Memory 0x4000.0x7FFF:0xC000.0xFFFF</font>
<br><font size=2 face="sans-serif"> Data
Memory 0x1000</font>
<br><font size=2 face="sans-serif"> Stack
Pointer 0x4000</font>
<br><font size=2 face="sans-serif"> Expanded
Memory</font>
<br><font size=2 face="sans-serif"> Enable,
Addr 0x380000.0x3F3FFF</font>
<br><font size=2 face="sans-serif"> Make
Paged Functions Default</font>
<br><font size=2 face="sans-serif"> S2
Record Type</font>
<br><font size=2 face="sans-serif"> CPU
/ Banked Address</font>
<br>
<br><font size=2 face="sans-serif"> Bill Hall</font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Edward Karpicz"
<ekarpicz@freemail.lt></b> </font>
<br><font size=1 face="sans-serif">Sent by: icc-mot-bounces@imagecraft.com</font>
<p><font size=1 face="sans-serif">03/20/2007 03:13 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"Discussion List for ICC08/11/12/16 users. You do NOT need to
subscribe to icc-announce
if you are a member of this." <icc-mot@imagecraft.com></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"Discussion List for ICC08/11/12/16
users. You do NOT need tosubscribe toicc-announce
if you are a member of this." <icc-mot@imagecraft.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Icc-mot] ICCV7 for CPU12 V7.03
Beta 0</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Trying again<br>
<br>
Some issues with this beta:<br>
<br>
1) When INITRM editbox isn't blank I'm getting this<br>
<br>
!ERROR Cannot open file 'crt12initrm.o' in library path(s)<br>
<br>
<br>
Ok, this can be easily fixed by picking crtinitrm.s from libsrc.zip and<br>
compiling it to *.o file in \lib folder.<br>
<br>
<br>
<br>
2) Something's wrong with 4000-7fff remapping for S12 derivatives. I have
<br>
code consisting just of void main(void){}. It compiles ant links to<br>
<br>
S20F0E8000CF200016402B87CE04008E0B<br>
S2110E800B040027056A000820F6CE4030CD92<br>
S2120E801804008E40302706180A307020F5162B<br>
S2080E8026402A20FEBB<br>
S2050E802A3D05<br>
S2090E802B1D0016073DC6<br>
<br>
No matter is it Custom HCS12, D64 or D128, s19 is always the same. 0x4000
<br>
addresses are being translated to 0xE8000 (ppage=$3a). They should be moved
<br>
to 0xF8000 (ppage=$3e).<br>
<br>
<br>
<br>
3)<br>
HCS12X translation of $4000 to lastpage-2 seems being working. But XDP512
<br>
template is wrong. XDP512 expanded addresses should be either<br>
<br>
a) 0x380000.0x3FFFFF<br>
or<br>
b) 0x780000.0x7FFFFF.<br>
<br>
a) are linear addresses<br>
(ppage*0x4000 + offset),<br>
<br>
b) are global addresses<br>
(ppage*0x4000 + offset)+0x400000.<br>
<br>
And XDP512 template in IDE uses expanded addresses taken from non X <br>
9S12DP512 0x80000.0xFFFFF<br>
<br>
<br>
Edward<br>
<br>
<br>
<br>
> probably "v703" in the url, not "v603"<br>
><br>
> http://www.imagecraft.com/pub/iccv712_v703_beta0.exe<br>
><br>
><br>
> Edward<br>
><br>
> ----- Original Message ----- <br>
> From: "Richard" <richard@imagecraft.com><br>
> To: <icc-mot@imagecraft.com><br>
> Sent: Monday, March 19, 2007 12:04 PM<br>
> Subject: [Icc-mot] ICCV7 for CPU12 V7.03 Beta 0<br>
><br>
><br>
>> http://www.imagecraft.com/pub/iccv712_v603_beta0.exe<br>
>><br>
>> Readme excerpt:<br>
>> V7.03<br>
>> IDE<br>
>> - Added S12XDP512 to device list<br>
>> - Added a "CPU Type" radio group for "Custom"
device.<br>
>> - Revamped how the expanded memory is used. Expanded
memory is always<br>
>> enabled for HCS12 and S12X devices.<br>
>> - expanded memory uses either "-maps1"
or "-maps12x" in linker flags,<br>
>> depending on the CPU type.<br>
>> - Added edit box to enter "INITRM" value
for SRAM relocation. This<br>
>> will also link in the crt12initrm.o startup
file instead of the<br>
>> default crt12.o<br>
>> Assembler<br>
>> - XGate support broke some processing in the CPU12
instruction <br>
>> processing.<br>
>> Fixed.<br>
>> Linker<br>
>> - -maps1 now maps 0x4000.0x7FFF as last_page-1 in
the 0x8000.0xBFFF<br>
>> window<br>
>> - Added -maps12x, maps 0x4000.0x7FFF as last_page
in the<br>
>> 0x4000.0x7FFF window.<br>
>><br>
>><br>
>> // richard <http://www.imagecraft.com/><br>
>> <http://www.dragonsgate.net/mailman/listinfo> On-line orders,
support, <br>
>> and listservers available on web site.<br>
>> [ For technical support on ImageCraft products, please include
all <br>
>> previous replies in your msgs. ]<br>
>> _______________________________________________<br>
>> Icc-mot mailing list<br>
>> Icc-mot@imagecraft.com<br>
>> http://dragonsgate.net/mailman/listinfo/icc-mot<br>
>><br>
><br>
> _______________________________________________<br>
> Icc-mot mailing list<br>
> Icc-mot@imagecraft.com<br>
> http://dragonsgate.net/mailman/listinfo/icc-mot<br>
<br>
_______________________________________________<br>
Icc-mot mailing list<br>
Icc-mot@imagecraft.com<br>
http://dragonsgate.net/mailman/listinfo/icc-mot<br>
</tt></font>
<br>