Sorry, but there are no more tags available to filter with.
  • C161PI IIC recovery

    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…

  • unnecessary code generation

    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…

  • Different hex file created for different OS

    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

  • How do I link several assembly files (src) together

    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 …

  • Reading from a Serial EEPROM

    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

  • Debugger(BSL), Interrupt Enables and Variable Values

    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…

  • MCB167-NET WITH ESYWEB PROGRAM

    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…

  • Compiler problem

    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…

  • XC167CI Twin CAN

    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…

  • Running Application Without Debugger

    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.

  • in-system flash programming

    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

  • How to set system stack other than 0xFC00?

    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.

  • Compatibility between the C166-Compiler versions ( 3.xx <=> 4.xx )

    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…

  • How to storing Non-volatile data on internal/external Flash?

    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…

  • Bootstrap Loader Question - Access to general purpose IO

    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…

  • "Include Dependencies" = slow compilation

    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…

  • Message 15 as general receive message

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

  • Linker slow

    Hello all,

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

    Walt

  • ST10 and monitor in ROM

    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…

  • Library dependency

    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

  • Declaring (initializing) array without size

    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…

  • Sharing variable (struct) in Bootloader with Application

    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…

  • Breakpoint set function execute issue

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

  • L166: Relocating objects in a library to user classes

    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…

  • PWM Signal with variabel frequency

    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…