• Memory copy - xhuge and near model types

    Iggy Pop
    Iggy Pop

    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…

    • over 8 years ago
    • Software Tools
    • Keil forum
  • Relocatin several modules from flash to psram

    Frank Miller
    Frank Miller

    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)[], ....

    …
    • over 8 years ago
    • Software Tools
    • Keil forum
  • Extended sequence command help needed

    Hans Braun
    Hans Braun

    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…

    • over 8 years ago
    • Software Tools
    • Keil forum
  • Stop debugger after test execution

    Eric Bosch
    Eric Bosch

    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…

    • over 8 years ago
    • Software Tools
    • Keil forum
  • accessing pointer structs in debug function

    Tobi August
    Tobi August

    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…

    • over 8 years ago
    • Software Tools
    • Keil forum
  • main menu in µVision 2 not visible

    Jan Blumstengel
    Jan Blumstengel

    Hello,

    in my µVision2 is the main menu not visible.

    please help

    • over 9 years ago
    • Software Tools
    • Keil forum
  • Memory Layout problem (SECTION LOCATED OUTSIDE CLASS AREA)

    Mehrdad Seyrafi
    Mehrdad Seyrafi

    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
    

    …
    • over 9 years ago
    • Software Tools
    • Keil forum
  • dummy1

    webstar web
    webstar web

    test

    • over 9 years ago
    • Software Tools
    • Keil forum
  • JTAG Debug with external Memory

    Markus Weber
    Markus Weber

    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…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • Structure of C_INITSEC

    Jürgen Breuer
    Jürgen Breuer

    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…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • Problems with init of a function pointer

    R K
    R K

    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…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • Keil uVision4 Debugger or Hardware Problems

    hans mueller
    hans mueller

    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…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • Compiler Error 143: 'Scalar' : Initialiser is not a constant

    François TREMEL
    François TREMEL

    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…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • How to simulate USIC0 of XE164FM?

    JeanMarc Delaplace
    JeanMarc Delaplace

    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…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • HEX2BIN and BIN2HEX

    anhtai tran
    anhtai tran

    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".…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • Experience with PC-Lint

    Alec James
    Alec James

    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…

    • over 9 years ago
    • Software Tools
    • Keil forum
  • Starting with nwe XE167FH / XE169FH HighLine

    jorgen iversen
    jorgen iversen

    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?

    • over 10 years ago
    • Software Tools
    • Keil forum
  • How to set file s166.dll in C: instead of d: debugging purpose

    Kuya lloyd
    Kuya lloyd

    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

    • over 10 years ago
    • Software Tools
    • Keil forum
  • Error while building the project

    dayanand bk
    dayanand bk

    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

    • over 10 years ago
    • Software Tools
    • Keil forum
  • Communication errors ULINK2 work

    Joo hyun Jang
    Joo hyun Jang

    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…

    • over 10 years ago
    • Software Tools
    • Keil forum
  • Problems with static and global variables

    Steffen Sprow
    Steffen Sprow

    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.…

    • over 10 years ago
    • Software Tools
    • Keil forum
  • Re: Color TFT programming

    K G Shankar
    K G Shankar

    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…

    • over 10 years ago
    • Software Tools
    • Keil forum
  • test

    David Lively
    David Lively

    testtest

    • over 10 years ago
    • Software Tools
    • Keil forum
  • Windows RDP update + Debugger issue

    Mark Evers
    Mark Evers

    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…

    • over 10 years ago
    • Software Tools
    • Keil forum
  • How to generate 6 different PWM Signals on xc161

    Rainer Krott
    Rainer Krott

    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…

    • over 11 years ago
    • Software Tools
    • Keil forum
  • View related content throughout Software Tools
  • More
  • Cancel
<>