• Using 1N4148 As A Temperature Sensor

    makiyoung
    makiyoung

    Can I know which component senses heat or acts as heat sensor in the following circuit? In the given diagram, it is said that the 1N4148 diode acts as the sensor. But basically it is a zener diode and I don't think that it is able to sense temperature…

    • over 3 years ago
    • Software Tools
    • Keil forum
  • Need RTX-166 user's manual

    Steve Mathwig
    Steve Mathwig

    I am looking for an RTX-166 user's manual. The ar166.chm file provided on Keil's website does not work properly, it seems to have dead links in it. Any help would be appreciated.

    • over 3 years ago
    • Software Tools
    • Keil forum
  • JTAG Debugging for XC2000 with JLink

    Hans Wpunkt
    Hans Wpunkt

    According to this (http://www.keil.com/c166/chips.asp) page, Keil supports the Infineon XC2000 family (which is compatible to the C166 architecture) in the 166 Developement Tools.
    Keil also supports the Segger J-Link, according to this (http://www.keil…

    • over 3 years ago
    • Software Tools
    • Keil forum
  • Interrupts in library

    Pavol Pusztai
    Pavol Pusztai

    I am creating library for initialization and working with timers. I have to insert interrupt function from timers into the library. In this function I will calling "timerHeandlerFunction" in another *.c file (It will some interface between user and library…

    • over 4 years ago
    • Software Tools
    • Keil forum
  • how to access core register in c source file

    karan patel
    karan patel

    I am using keil mdk arm 5 for controller stm32f0xx.i want to write hard fault handler which prints core resisters value before entering hard fault.i want to write handler in c.so i created one source file having same name as hardfault_handler and try…

    • over 4 years ago
    • Software Tools
    • Keil forum
  • DPP keil c166 not contiguos addresses

    Francesco Dodi
    Francesco Dodi

    I'd like to set two DPP for NCONST but not in contiguos addresses
    Something like the following NOT WORKING .lin

    CLASSES (NCODE (C10000H-C1FFFFH), NCONST(C02000H-C03FFFH,C10000H-C13FFFH), <------ NDATA (0F900H-0FAFFH), NDATA0 (0F900H-0FAFFH), ICODE…

    • over 4 years ago
    • Software Tools
    • Keil forum
  • C167 barebones assembler setup

    john banks
    john banks

    I feel so stupid asking this question, but I am trying to assemble just a few lines of relocatable C167 code that I will manually patch into an existing engine control unit. I've done this before with other CPUs and GNU binutils, but am finding the setup…

    • over 4 years ago
    • Software Tools
    • Keil forum
  • Keil uVision debug BreakSet on infinite cycle

    Nikolay Laslo
    Nikolay Laslo

    There is some questions about testing using function editor tool in keil uvision (debugger mode).
    There is code which is to be tested:

    void        init_ports(){
        if( IDCHIP == 0x2302 && IDMEM == 0x3040){
            ...
    label_1:;
        }else
        if( IDCHIP…

    • over 5 years ago
    • Software Tools
    • Keil forum
  • JTAG debugger doesn't stop in main task

    Dhaval Patel
    Dhaval Patel

    Hi,
    I am using ulink2 JTAG debugger.
    Though I have very strange problem. If I put break point in main (I mean in _task_ 0) then program doesn't hit the break point. But if I put break point in other tasks then it does work fine.

    I very much interested…

    • over 5 years ago
    • Software Tools
    • Keil forum
  • Reading Flash content of XC16x

    Jasper Sprit
    Jasper Sprit

    Hi
    I am using an Ulink2 programmer interface. I need to read the content of Infineon XC164 chip and save it as .hex file. Can you help me how i can find the read option or any software tool which help me ?
    Thanks and Regards.

    • over 5 years ago
    • Software Tools
    • Keil forum
  • uVision4 to uVision5 migration issue

    Gary Chopcinski
    Gary Chopcinski

    I've been developing and maintaining a project using uVision 4 for quite a few years and recently updated to uVision 5 (MDK-ARM Professional license). This project is using the Infineon XE167 microprocessor. When I open the project using uVision 5, the…

    • over 5 years ago
    • Software Tools
    • Keil forum
  • atomic d1 80

    al gh
    al gh

    i have disassembled a code and found an atomic instruction like this:

    d1 80
    


    but why 80 ?
    in the programming manual there is a limit from 1 to 4 , what is the meaning of d1 80?

    • over 6 years ago
    • Software Tools
    • Keil forum
  • switch between c167cs and st10

    SMALAVI alavi
    SMALAVI alavi

    I currently have a working project for the C167. I need to port this application to the st10f273. How do I convert program and setup the compiler and tools for the st10?

    • over 6 years ago
    • Software Tools
    • Keil forum
  • howto: function library in separated hex-file

    PETER HAUSLER
    PETER HAUSLER

    Due to the lack of flash memory i want to move code parts in a separate function library and locate the same in RAM. I thought to use the LIB166 and assign certain code modules to the RAM-address area.
    In addition i want be able to build and deploy …

    • over 6 years ago
    • Software Tools
    • Keil forum
  • How do I fully remove Keil uVision4 from Windows 7 (64 bits)?

    Arnold Hsiao
    Arnold Hsiao

    After I uninstall Keil uVision4 from Control Panel, the software still exists on the Start menu.
    Could somebody tell me how to fully remove Keil uVision4? My OS is Windows 7 (64 bits).

    • over 6 years ago
    • Software Tools
    • Keil forum
  • C16x: Example code to interface with MAX3421 for USB peripheral functionality

    Travis Orr
    Travis Orr

    I am going to be developing a USB Peripheral device using the MAX3421's SPI interface to a ST276 microcontroller.

    Does anyone have some example code for this application.

    Unfortunately the choice of the ST276 cannot be changed since this is a…

    • over 7 years ago
    • Software Tools
    • Keil forum
  • problem with connecting LCD to C167

    fatemeh ab
    fatemeh ab

    Hi,how can I connect LCD to c167?There is no help in manual

    • over 7 years ago
    • Software Tools
    • Keil forum
  • ST10F269 with MCP2515 via SSC interface

    Sany B
    Sany B

    Hi,
    I am interfacing ST10F269 with MCP2515 via SSC module. Please see the routines as below, i am still not able to read valid values from register CANCTRL at address 0x0F. i wish to upload the waveforms but dont see an option here.

    initialisation…

    • over 7 years ago
    • Software Tools
    • Keil forum
  • assembly in keil uvision4

    zahra sh
    zahra sh

    hi everybody
    I'm new in keil and
    I want to write some codes in assembly language in keil uvision4 like below:

    move r11, r9
    add r10,r11
    END

    this simple program is just for test (asmtest.s)

    but it has this error
    asmtest.s(3): error A44: NO CURRENTLY…

    • over 7 years ago
    • Software Tools
    • Keil forum
  • how to write program codes in flash

    zahra sh
    zahra sh

    Hello, I'm using a C167CS micro controller and i want to write the program in an external flash memory (AM29F400), and now first of all i want to simulate my written code in keil software, because the programe and its data are too long it's not possible…

    • over 7 years ago
    • Software Tools
    • Keil forum
  • RENAMECLASS doesn't work with ICODE

    Tobi August
    Tobi August

    Hello,
    I use the RENAMECLASS Pragma for several sections and it works fine. For some reason it doesn't work with ICODE. The compiler says "unknown class". But the ICODE class is used several times and works fine without that pragma.

    The…

    • over 7 years ago
    • Software Tools
    • Keil forum
  • Printf only works with RTOS

    Mark H
    Mark H

    Hi,

    I have a working project for XC167 using RTX-166 Tiny.

    However, when I remove the RTOS (see code change below), printf stops working. It now prints the first character and then stops. I have read that this could be an issue with user stack, would…

    • over 7 years ago
    • Software Tools
    • Keil forum
  • 32k NDATA

    Jürgen Breuer
    Jürgen Breuer

    Hi all ,

    Using Uvision4 with XE167
    Memory model large

    My problem is the 16k NDATA limit, although DPP0 is unused.

    I use

     DPP1 NCONST
     DPP2 NDATA
     DPP3 SYSTEM
    


    and that is not alterable for legacy reason.

    I set in startup-file

     DPP0 = DPP2…

    • over 8 years ago
    • Software Tools
    • Keil forum
  • DAS reports XE167 device as locked

    David Pritchard
    David Pritchard

    I am having problems getting my new prototype PCB to communicate with my PC via DAS. The design is based upon the EasyKit XE167 development kit circuit, consisting of an XE167 with an FT2232D USB interface to communicate with the PC. The EEPROM on the…

    • over 8 years ago
    • Software Tools
    • Keil forum
  • cant read ADC on port 1

    2263mike gibson
    2263mike gibson

    Hi

    I need some help figuring out how to read the ADC on port 1 (channels 16-23) of an ST10F276. I am using the uVision simulator.

    So far I can only read channels 0-15 (port 5). The following is the test code that I am using. I think that it should…

    • over 8 years ago
    • Software Tools
    • Keil forum
<>