TASKING C166/ST10 Tool Chain v8.5r1 patch 2
RELEASE NOTE


This patch makes the following updates to the v8.5r1 product:

Patch Date

2005-01-04

Components

Installation

To install the patch run the setup.exe

Solved problems

SOLVED PR33779: E 252: expression syntax error when CPU.21 bypass is enabled

When CPU.21 bypass is enabled and at least two BUSCON registers are included in the startup code, the file start.asm shows a missing parenthesis at the BUSCON initialization:

AND BUSCON0, #(~0xD6FF)|0
OR BUSCON0, #((0x0&~0)&0xD6FF)
AND BUSCON1, #~0xD6FF
OR BUSCON1, #(0xD6FF&0x0 <== missing closing parenthesis

As a result, the following assembler error is issued:
E 252: expression syntax error

SOLVED PR33879: When specifying a user defined *.def file, the *.cfg file is not updated

At the dialog 'Project Options | Assembler | Miscellaneous' one can specify a user defined sfr file (*.def). However, this file does not show up in the *.cfg file. As a result, CrossView uses the wrong one.

SOLVED PR33798: ROM monitor for XC16x device couldn't change the CC1_T01CON SFR register

When debuging with OCDS on a XC167CI derivative you could change the CC1_T01CON SFR register content without any problems. But when debuging the same program via the ROM monitor debugger you cannot change the content of this SFR register.

SOLVED PR33924: Simulator keeps on executing the same line

After building the example (selected CPU = ST10X269), CrossView Simulator does not continue after the assembly instruction, but keeps on executing the same line over and over again.

int main()
{
#pragma asm
MOV MRW,#0ffffh
#pragma endasm
return 0;
}

SOLVED PR33753: Faulty MAC unit Simulation result

Faulty MAC unit Simulation result, see example:

/*
project options: all default, using ST10F269 CPU

Using the Crossview Pro Simluator the following result is shown:
MSW MAH MAL MRW MCW
========================
01ff fffe 0001 0000 0000
05ff fffc 0002 0000 0000
05ff fffa 0003 0000 0000


An Emulator shows the following result (in accordance with the user manuals of Infineon/ST)


MSW MAH MAL MRW MCW
========================
0000 FFFE 0001 0000 0000
1001 FFFC 0002 0000 0000
1002 FFFA 0003 0000 0000
*/

#include <stdio.h>


void test_it(unsigned int *a)
{
#pragma asm
MOV MCW,#0
MOV MRW,#0
MOV R2,R12


MOV R1,#0ffffh
CoMULu R1,R1
CoSTORE [R2+],MSW
CoSTORE [R2+],MAH
CoSTORE [R2+],MAL
CoSTORE [R2+],MRW
CoSTORE [R2+],MCW


CoMACu R1,R1
CoSTORE [R2+],MSW
CoSTORE [R2+],MAH
CoSTORE [R2+],MAL
CoSTORE [R2+],MRW
CoSTORE [R2+],MCW


CoMACu R1,R1
CoSTORE [R2+],MSW
CoSTORE [R2+],MAH
CoSTORE [R2+],MAL
CoSTORE [R2+],MRW
CoSTORE [R2+],MCW
#pragma endasm
}


int main()
{
unsigned int a[15];
int i;


test_it(a);


printf(" MSW MAH MAL MRW MCW\n========================\n");
for (i = 0; i < 3; i++)
printf("%04x %04x %04x %04x %04x\n", a[i*5], a[i*5+1],
a[i*5+2], a[i*5+3], a[i*5+4]);


return 0;
}

SOLVED PR33761: After starting CrossView from EDE, CrossView crashes

After starting CrossView from EDE, CrossView crashes. Strange enough, this behaviour cannot be reproduced from the command line. Deleting xvw.ini solves the problem.

SOLVED PR33837: The Simulator should not allow the application to change read-only memory

When an application writes to ROM or a read-only register, the Simulator should not modify the memory locations. Besides, it should be possible to change the register in the register or command window.

SOLVED PR33880: It's not possible to initialize a read-only register when using the Simulator

When defining a register in the sfr file (*.def) it is not possible to pass a default initialization value to the Simulator

SOLVED PR33931: CrossView source lines disappears when source and disassembly is active

When debugging with CrossView the source lines sometimes disappears when the source and disassembly window is active.

SOLVED PR31994: When RTS/CTS handshake is selected XVW hangs when connecting

When RTS/CTS handshake is selected while the hardware does not support this, XVW hangs when connecting to the target.

SOLVED PR33198: Flash programming not verified

After flashing by CrossView, there is no verification. When e.g. the serial baud rate is too high, flash programming may fail now and then. Please add a check box at the dialog 'Project options | CrossView Pro | Initialization' to execute a 'compare application' after flashing. This check box should be enabled by default.

SOLVED PR33878: CrossView debugger doesn't show register name defined by DEFA

CrossView doesn't show register names defined by DEFA in the disassembly window: MOV R12,#0xaa
MOV 0xfce0,R12

instead of:

MOV R12,#0AAh
MOV SRCP0,R12

as listed in the *.src file.