Browse By Tags

Sorry, but there are no more tags available to filter with.
  • Memory copy - xhuge and near model types

    Hello all,

    may you give me an explanation of following piece of code (target is ST10F276):

    U8 ndata * Dest;
    U8 xhuge * Source;
    register U16 wTemp;
    
    while([condition]) {
    .....
    wTemp = *((U16 xhuge *) Source);
    *((U8 ndata *) (Dest++)) = *((U8 ndata…

  • Relocatin several modules from flash to psram

    Relocating code for execution form flash to psram according to http://www.keil.com/appnotes/files/apnt_138.pdf works fine.

    USER CLASSES: SROM (0xC30000-0xC33FFF)

    USER SECTIONS: ?PR?FLASH%FCODE (0xE00000)[], ?PR?CONTROL%FCODE (0xE00120)[], ....

  • Extended sequence command help needed

    Hi everyone,

    I'm fairly new to the C166 architecture and I am trying to debug some old C166 assembler code, but I am having a hard time understanding how the extended sequence command works exactly.

    Here is the code:

    mov r4, word_C3324
    mov…

  • Stop debugger after test execution

    I am working on an automated test setup which should load an image to the target, start the debugger and start the application in flash and start the tests. I have already implemented the following steps in a Python script:

    - Flash the program to the…

  • accessing pointer structs in debug function

    Hi all,
    I'm using the debug function (SIGNAL) for testing the code.
    Whereas there's no problem writing values to local variables, the debugger seems to freeze when accessing a pointer.

    Example of debug function:

    SIGNAL void MyDebugScript…

  • main menu in µVision 2 not visible

    Hello,

    in my µVision2 is the main menu not visible.

    please help

  • Memory Layout problem (SECTION LOCATED OUTSIDE CLASS AREA)

    Hi,
    While compiling my program I've faced with this warning:

    linking...
    *** WARNING L5: SECTION LOCATED OUTSIDE CLASS AREA
        SECTION: ?SD0?MAINTASK
        CLASS:   SDATA0
    Program Size: data=96233(near=12643) const=17312(near=174) code=344442
    

  • dummy1

    test

  • JTAG Debug with external Memory

    Hello,

    1. I would like to use the JTAG Port to Debug the XE167FH with the KEIL ULINK2.
    2. There is no general problem of debugging the XE167FH with or without OS when I use JTAG Port A without additional external Memory, which would be connected with…

  • Structure of C_INITSEC

    hello,

    I have to initialize static variables residing in sdata after setting bit XPEN in main() by myself, because in our system it is not possible to set bit XPEN prior to the initialization loop in the startup code.

    For that I have to know the…

  • Problems with init of a function pointer

    Hello

    I've a problem when initializing a global function pointer. Depending on where the function pointer is created, the adress of the funciton pointer is 0 (=wrong). There are no warnings in the compiler!
    Compiler: c166 v4.23
    Tool: uVision2 v2…

  • Keil uVision4 Debugger or Hardware Problems

    Hi, I use Infineon XE164F-96F66 build und flash the target is no problem, but the Debugger stops a the following line:

    Load "D:\\...\\Source\\XE164"
    WS 1, 'T1
    PA \\XE164\ADC0\ADC0_viSRN0
    *** error 65: access violation: addr=0x0000C00…

  • Compiler Error 143: 'Scalar' : Initialiser is not a constant

    Hello,

    This problem was already discussed in 2003 but without solution:
    http://www.keil.com/forum/3743/

    The c166 compiler seems to don't like an initialization of a constant with a pointer.

    I have to integrate a file with this part of code…

  • How to simulate USIC0 of XE164FM?

    Hi, I have an application on the XE164FM that I want to simulate. I have configured the serial port using DAVE and built the application. When I run it, it waits the for bit SOTIR to be high. If I select Peripherals/Serial/ASC0 I find that bit in the…

  • HEX2BIN and BIN2HEX

    I'm using the HEX2BIN to convert a HEX-386 to binary and then converting it back to HEX using BIN2HEX. The conversion is successful, but when I try to load/download the new HEX file onto the device, it says "No algorithm found at address 0x0000000".…

  • Experience with PC-Lint

    Hi all

    Does any one have any comments about how well PC-Lint works with Keil uVison 4.00a tageting C166 with RTX166 full?

    Will it also support the EC++ complier and Advanced RTX166?

    I've never used PC-Lint before and will be inheriting a fairly…

  • Starting with nwe XE167FH / XE169FH HighLine

    Does anybody know where to get include-files for using XE167FH / XE169FH HighLine
    and how to start new projects in uVision with XE167FH / XE169FH HighLine?

  • How to set file s166.dll in C: instead of d: debugging purpose

    Whenever i tried to debug the program in example it shows file not found D:\C166\bin\s166.dll. though it is in C:\C166\bin\s166.dll. How can i change it d to c. The build target is not showing error and compiler is in C.
    Thank in advanced

  • Error while building the project

    Hi,

    I'm trying to build my project with the SAK-XC886CM-8FFA target.I see the error below:

    ERROR L114: SEGMENT DOES NOT FIT
    SPACE: DATA
    SEGMENT: _DATA_GROUP
    BASE: 0000H
    LENGTH: 00C1H

    Please show me way forward.

    Thanks

  • Communication errors ULINK2 work

    Communication errors ULINK2 work.

    Compiler is uVision4.

    Chip is XC2364A-56F66L6 in C166.

    I want Compile and Ulink2 to Chip Debug.

    But Automatic Detection for Debug-Setting-JTAG Device chain menu is not.

    And XC2364A in Infineon can not find…

  • Problems with static and global variables

    I'm just starting to learn the ins and outs of the Infineon C167CS-40M and have come across a roadblock in my programming. Any time I try to use global or static variables in my ISR, the data in the variables gets cleared out or corrupted somehow.…

  • Re: Color TFT programming

    Recently i had purchased a graphics Color TFT lcd with Touch screen from Taiwan. I m not sure abt the manufacturer of the lcd. The size is 5.7" with 640x480 resolution and 4- wire resistance interface for TSCR.

    The LCD module is having Source…

  • test

    testtest

  • Windows RDP update + Debugger issue

    Currently using uVision3 v3.80 and recently windows issued an update that Updated the Remoted desktop connection for XP making it the same version as Windows 7. However now the uVision3 debugger keeps locking up, I uninstall the update and the debugger…

  • How to generate 6 different PWM Signals on xc161

    Hi all,

    I've read a lot about PWM generation on the xc161 with the Capture/Compare Units. To generate 1 PWM Signal with a definied periode and duty cycle are descriped in detail.

    Now I must generate 6 different PWM signal with different periode…