[Icc-mot] Re: XGate support

Edward Karpicz ekarpicz at freemail.lt
Fri Feb 29 11:55:23 PST 2008


Gene, you are right. XDP512 settings template is wrong. Data setting should 
be 0x1000 instead of 0x800.
Also upper '3' is missing in paged memory settings. It should be 
0x380000.0x3FFFFF instead of 0x80000.0xFFFFF. Does IDE mask these '3'?

Attachments aren't allowed here, but that my XDP512 map is short to be 
inserted into message body. Use fixed width font to see it properly. First 
column is a resource name, 2nd-global memory range, 3rd- S12X view in terms 
of PPAGE:offset, 4th - addresses from XGATE point of view, 5th - ICC memory 
settings. "-b" is a linker command line switch . For example you may 
add -bmyeeprom:0x800.0xFFF to define eeprom memory area.

Edward


XDP/XDT/512 adress map, short reference


                   GLOBAL       S12XVIEW       XGATEVIEW         LINEAR
Flash:        780000-7FFFFF  E0:8000-FF:BFFF      - 
(-b0x380000.0x3FFFFF)
(all flash minus pageFF,pageFE = -b0x380000.0x37FFFF)


XGATE sees flash
   total:     780800-787FFF                     800-7FFF 
(-b0x380800.0x387FFF)
  PpageE0:    780800-783FFF  E0:8800-E0:BFFF    800-3FFF 
(-b0x380800.0x383FFF)
  PpageE1:    784000-787FFF  E1:8000-E1:BFFF   4000-7FFF 
(-b0x384000.0x387FFF)

RAM
   total       F8000- FFFFF                    8000-FFFF
  RpageF8:     F8000- F8FFF  F8:1000-F8:1FFF   8000-8FFF
  RpageF9:     F9000- F9FFF  F9:1000-F9:1FFF   9000-9FFF
  RpageFA:     FA000- FAFFF  FA:1000-FA:1FFF   A000-AFFF
  RpageFB:     FB000- FBFFF  FB:1000-FB:1FFF   B000-BFFF
  RpageFC:     FC000- FCFFF  FC:1000-FC:1FFF   C000-CFFF
  RpageFD:     FD000- FDFFF  FD:1000-FD:1FFF   D000-DFFF
  RpageFE:     FE000- FEFFF  FE:1000-FE:1FFF   E000-EFFF
                             or 2000-2FFF 
(-b0x2000.0x2FFF)
  RpageFF:     FF000- FFFFF  FF:1000-FF:1FFF   F000-FFFF
                             or 3000-3FFF 
(-b0x3000.0x3FFF)

EEPROM:
   total      13F000-13FFFF                     ------
  EpageFC:    13F000-13F3FF  FC:0800-FC:0BFF
  EpageFD:    13F400-13F7FF  FD:0800-FD:0BFF
  EpageFE:    13F800-13FBFF  FE:0800-FE:0BFF
  EpageFF:    13FC00-13FFFF  FF:0800-FF:0BFF+
                              +  C00-FFF                     (-b0xC00.0xFFF)


----- Original Message ----- 
From: "Gene Norris" <genenorris at spotengineering.com>
To: "Discussion List for ICC08/11/12/16 users. You do NOT need to subscribe 
toicc-announce if you are a member of this." <icc-mot at imagecraft.com>
Sent: Friday, February 29, 2008 6:26 PM
Subject: Re: [Icc-mot] Re: XGate support


> Jim,
>
> Yes. However, you cannot use the xgate coprocessor reliably with the
> current assembler.
>
> First you must select the s12x processor and then make a CUSTOM device
> configuration. Richard's default for the dp512 expanded memory is WRONG.
>
> Edward has a good map and header file for the dp512. I think he could be
> coaxed into providing a link to them. He may also share his opinion of
> the xgate assembler. (Edward, I can provide space on our server if you
> cannot.)
>
> I have had some paging issues, but Edward seems to have no problems.
>
> Gene
>
> Jim Fiocca wrote:
>> OK, let me start with a simpler question regarding the current status of 
>> ICC12 V7:  If I upgrade my processor from an S12E128 to an S12XDP512, 
>> will I be able to compile my original S12 code for the new target?
>>
>> Thanks,
>> Jim
>>
>>
>> Jim Fiocca wrote:
>>> I was also wondering the current status of XGate support.  I went to the 
>>> archive site and sorted by subject, but couldn't find anything about 
>>> XGate - though I know it's been discussed on the list before.
>>>
>>> 1) Will the assembler recognize and assemble the new instructions for 
>>> the main core?
>>>
>>> 2) Will the compiler use the new instructions?
>>>
>>> 3) Will there be a 2nd assembler for the XGate co-processor (I wouldn't 
>>> expect a 2nd compiler)?
>>>
>>> Thanks,
>>> Jim
>>>
>>>
>>> Richard Man wrote:
>>>> No further work has been done yet. We do not yet have the right 
>>>> resources...
>>>>
>>>> At 02:09 PM 2/27/2008, you wrote:
>>>>> What is the status on the XGate processors?
>>>>>
>>>>> Richard Man wrote:
>>>>>> Change log excerpt:
>>>>>> V7.04 - Feb 11th, 2008
>>>>>>   IDE
>>>>>>     - [ADV and PRO only] Added capability to create Library projects.
>>>>>>   Compiler
>>>>>>     - 7.03A did not generate calls to "uint2fp" for unsigned to FP
>>>>>>       conversion
>>>>>>     - the compiler was trashing 'D' for complicated indirect function
>>>>>>       call, and thus may overwrite the first argument to the 
>>>>>> function. e.g.
>>>>>>           tab[i]->func(0);   // D overwritten
>>>>>>   Header Files
>>>>>>     - the DP512 header file was incorrect.
>>>>
>>>> // richard (This email is for mailing lists. To reach me directly, 
>>>> please use richard at imagecraft.com)
>>>> _______________________________________________
>>>> Icc-mot mailing list
>>>> Icc-mot at imagecraft.com
>>>> http://dragonsgate.net/mailman/listinfo/icc-mot
>>>
>>> _______________________________________________
>>> Icc-mot mailing list
>>> Icc-mot at imagecraft.com
>>> http://dragonsgate.net/mailman/listinfo/icc-mot
>>
>> _______________________________________________
>> Icc-mot mailing list
>> Icc-mot at imagecraft.com
>> http://dragonsgate.net/mailman/listinfo/icc-mot
>>
>>
>>
>
> _______________________________________________
> Icc-mot mailing list
> Icc-mot at imagecraft.com
> http://dragonsgate.net/mailman/listinfo/icc-mot
> 



More information about the Icc-mot mailing list