• C161PI IIC recovery

    Peter Starek
    Peter Starek

    Hello all,

    in my application i use the C161PI on-chip iic controller. Under weird circumstances
    it can happen that that slave devices will stick the SDA line to ground (stay in slave-transmitter mode). Is there any way to recover from this state from…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • unnecessary code generation

    Heinz Saathoff
    Heinz Saathoff

    Hello,

    I'm relatively new in using Keil C166 development system. First tests are successfully so far using the Keil MCB167NET board. As a long time C programmer I'm interested in the quality of generated code. I noticed that the generated code sometimes…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Different hex file created for different OS

    L SH
    L SH

    Hi all,

    I am using uVision 2.02, C166 V4.02. Using file compare, I discovered that the hex file created was different on Windows 98 and Windows 2000. May I understand if there is any impact on the software execution?

    Regards,
    Soon Heng

    • over 17 years ago
    • Software Tools
    • Keil forum
  • How do I link several assembly files (src) together

    Kumaran Vaiyadurai
    Kumaran Vaiyadurai

    How do I link several assembly files (src) together

    Hi!

    I am new into a project where I have several assembly files (.src) belonging to a project in my hand. I figured that almost 80% of them belong to the project and the rest 20% are just there …

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Reading from a Serial EEPROM

    Kumaran Vaiyadurai
    Kumaran Vaiyadurai

    Reading from a Serial EEPROM

    I have a AT25020 (2K) EEPROM on my board with some configuration stuff. I need to get this information out and and flash it into other EEPROM's. How do I go about it. Can anyone help be with a example etc.

    Regards

    …
    • over 17 years ago
    • Software Tools
    • Keil forum
  • Debugger(BSL), Interrupt Enables and Variable Values

    Dave S.
    Dave S.

    I created and use an ASSERT macro to validate param's passed to func's, as well as the value of global var's used by ISR's, etc. I noticed that occasionally while debugging, an ASSERT would trigger for a global var used in my A/D ISR. Upon inspection…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • MCB167-NET WITH ESYWEB PROGRAM

    Sergio Gutierrez
    Sergio Gutierrez

    Hello forum:
    I have the evaluation board MCB167-NET and I'm using the easyweb program to serve some web pages. The original example has only one web page, but I have added to this three more pages. The problem is that, one of this pages is too long, and…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Compiler problem

    Erwin Meyer
    Erwin Meyer

    Hi..
    I have a problem with in-line assembly in uVision2. First I write #pragma src in the first line of code, then comes some C-code, and then I have a routine including
    #pragma asm
    NOP (here shoud come some assembler code)
    #pragma endasm
    After compiling…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • XC167CI Twin CAN

    Barbieri Alessandro
    Barbieri Alessandro

    Hi my friends,
    I'm starting work on new chip XC167CI and now I need work with a TwinCAN peripheral.

    I haven't find on network nothing...

    I have some question:

    1)Does exist an official version of CAN.H for XC167CI with twhincam…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Running Application Without Debugger

    Kitty Fields
    Kitty Fields

    Is there any way to compile and download an application without the debugger present. I don't need the debug features, and just want to compile, load, and run the application.

    Thanks for any help.

    • over 17 years ago
    • Software Tools
    • Keil forum
  • in-system flash programming

    Robert Heinzlreiter
    Robert Heinzlreiter

    Hi!

    I'm using a C167CS-LM with external Flash und RAM!

    Has anyone of you implemented a function to store some data to the Flash?

    Thanks for your postings!

    Robert Heinzlreiter

    • over 17 years ago
    • Software Tools
    • Keil forum
  • How to set system stack other than 0xFC00?

    David Zhang
    David Zhang

    Hi,
    All the SP, STKOV, and STKUV's highest 4 bits are masked to '1'. Does that mean those registers have to be 0xFxxx only? May I change the system stack to somewhere else, say 0xc200?

    Thanks a lot.

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Compatibility between the C166-Compiler versions ( 3.xx <=> 4.xx )

    Steffen Sprung
    Steffen Sprung

    I have a little question about the compatibility between the C166-Compiler versions :

    * 3.05 (uVision 1.24) and
    * 4.27 (uVision 2.38) - the actually version

    =============================================
    => I have a SW-Product which contain 2 SW-Projects…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • How to storing Non-volatile data on internal/external Flash?

    L SH
    L SH

    Dear all,

    I had a hardware design of 1xAM29F040 flash, 1xHY628400 RAM and using C167 controller. My code is stored on this external flash.

    I will like to store some important data on non-volatile RAM during application.

    1)May I know whether I am allowed…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Bootstrap Loader Question - Access to general purpose IO

    Brad Holeman
    Brad Holeman

    We have bootstrap loader code as shown below:<br>
    <br>

    void far vMainFunction(void)
    /*******************************************************************************
    Description:  This the start of the code
    Inputs:	 NONE
    Outputs:	 NONE
    Globals…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • "Include Dependencies" = slow compilation

    Leonhard Fuchs
    Leonhard Fuchs

    Hi,
    in the actual version of uVision2 it ist possible to "Include Dependencies". So you can see all *.h - files which are used by any c-source.

    When this option is active uVision needs an awful lot of time after compilation until you can continue…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Message 15 as general receive message

    Sven Eibner
    Sven Eibner

    Hello!

    I want to use the message object 15 as a general receive object.
    Message 1 .. 14 are used for transmit objects.
    I used 0x000 as mask for the message 15 and didn't fill the arbitration register.
    (I use a Siemens/Infineon C167CR processor.)

    …
    • over 17 years ago
    • Software Tools
    • Keil forum
  • Linker slow

    Walt Conley
    Walt Conley

    Hello all,

    Anyone else notice that link time is very slow with the latest update (L166 V4.28)

    Walt

    • over 17 years ago
    • Software Tools
    • Keil forum
  • ST10 and monitor in ROM

    Ulf Sass
    Ulf Sass

    I'm trying to get the monitor work with a ST10F168 board:
    256kB internal Flash 0h..7FFFh,18000..4FFFFh
    256kB RAM, CS1, Adresslines (A0)A1..A17
    It works fine with the monitor in RAM but not with monitor in ROM.
    Monitor configuration:
    DATA_START 0BA600h…

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Library dependency

    Walt Conley
    Walt Conley

    I have a uv2 project that includes a custom library. Can I add a dependency to the project to automatically build when I change my library, and if so how?

    Thanks in advance,
    Walt

    • over 17 years ago
    • Software Tools
    • Keil forum
  • Declaring (initializing) array without size

    Oyvind Tjervaag
    Oyvind Tjervaag

    Hi!

    I'm having some problems declearing an array. I am trying to make an array that contains messages that I will later display on an LCD display. I am using a 2D char array, but I don't want to specify a fixed size to the second dimension. At the moment…

    • over 18 years ago
    • Software Tools
    • Keil forum
  • Sharing variable (struct) in Bootloader with Application

    irco Fick
    irco Fick

    I am wanted to write a bootloader. If an application is already programmed, it transfers control to the bootloader with an interrupt call (_trap_0x7F). The bootloader needs several informations form the application (ECU-adress,...). This informations…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Breakpoint set function execute issue

    P J Anantha Krishnan
    P J Anantha Krishnan

    • Hi,
    • • We have a need to start Keil UV4 Debugger from Command Line for loading and executing a C166 ModV2 application of XLARGE memory model. We also need o use a .ini file in which we give definition of a function say retrieveData() that will…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • L166: Relocating objects in a library to user classes

    Victor Brzeski
    Victor Brzeski

    Hello,

    I have been experimenting with the linker for the purpose of code optimization. I was able to run certain sections of my own code within the internal flash fairly easily, however, I would like to relocate sections of a completed library to my…

    • over 3 years ago
    • Software Tools
    • Keil forum
  • PWM Signal with variabel frequency

    Rania El Mdaoui
    Rania El Mdaoui

    I am using Keil, C51 Compiler with Infineon XC886

    I want to create a PWM signal at pin 3.0, where the frequency is variable and the on time Ton is constant. I wrote the code, I initialized CCU and the function (changeSignal) is called to change the…

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