Sorry, but there are no more tags available to filter with.
  • initializing a const derived object

    I would like to put a derived object in const memory and initialize it like in the example code below.
    it works fine as long as _der_test is not derived from _test, if it is, the I get an error

    (85): error: initialization with "{...}" is not allowed…

  • Problem with simulator-reset in µVision 3

    Hi,

    I've got a problem with the simulator of uVision3 and an AGSI-peripheral.
    In function AgsiEntry in case nCode == AGSI_RESET all components of the peripheral are reset. Some write data to certain memory addresses - that are later used in the…

  • Serialinterface (MCB - XC167)

    Hi,

    i want to use the serial Interface on the MCB-XC167 Board. Made two diverent Projects one of the Projects works but the second doesnt.

      P3 |= 0x0400;
      DP3 |= 0x0400;
      DP3 &= 0xF7FF;
      S0TIC = 0x80;
      S0RIC = 0x40;
      S0BG = 0x40;
      S0CON =…

  • Reset Supervisor interfering with JTAG debug

    Hi,
    My issue is related to debugging a XC167 on custom hardware with the Ulink2 debugger + uVision. It seems this has something to do with my reset supervisor circuit (simple reset IC- LM3722). I can confirm that I am able to program and run the device…

  • unsigned long long undefined identifier.


    I m integrating TCP/IP stack and compiling it with C166 Kiel compiler. The TCP/IP stack is from microchip.
    I m getting the error

    "GENERICTYPEDEFS.H(144): error C27: illegal type specifier"
    line 144 contains
    "typedef unsigned long long QWORD;…

  • Double result for "find in files" in A66 files

    Hi,

    I have an odd effect when performing a "Find in files" operation within a project (uVision3 IDE).

    Everything appears to work fine except for the fact that find results are always displayed twice for content which is present in files…

  • Flash programming problem

    I've finished debugging my program in RAM memory with keil monitor166 and everything works perfect,now I am trying to run it from flash. It writes into flash well, but when I am trying to start executing the program is executing just a part of my program…

  • structure with c163

    hello, I use a c163 and I try to create a simple PWM signal, so i've created a structure with the members i need(positive duty ,negative duty and period) everything works perfect when i run from ram memory but when i run from flash memory is not working…

  • Connecting a ST10F269 to a computer...

    Greetings, how do i connect the STF10 on this controller (www.thierry-lequeu.fr/.../ACM-1236-1238.pdf) to a RS232 /com port of a computer? Can i make the cable myself? is it simply connecting the tx and rx or would i need some adapting IC/circuit inbetween…

  • HELP! How to set the External Memory from Target Options

    Help me please to set the External Memory ranges (Target Options) from uVision according to the following Memory Map(KitCON161).
    I need settings for both modes.

    MODE = 1  (flash programming):
    00:0000h -> 03:7FFFh - FLASH
    03:8000h -> 03:FFFFh - 32kByte…

  • Variables end up on same address

    We are using the Keil C-compiler and uVision when compiling a project for the C166-platform. Latley we have been noticing a strange behaviour of our program. A closer look of the result revealed that a number of variables end up being assigned to the…

  • Overlapping sections while generating relocatable code

    Hi, I'm testing my applications (on the XE167 family) that has some modules that require to be relocated and run in RAM.

    I followed AN138 and everything is fine for just one module; if I try to select more than one module file for relocation, then…

  • Why do I fail on starting my code at 0x410000 in external RAM ?

    I have pull-down P0L.5,EA,BUSTYP0 and CSSEL1,

    ROM ranger :0x410000,size 0x10000,

    RAM:0x400000,size 0x10000.

    My SRAM is 64K*16bit ,12ns,and I use the address line A0~A16.

    I set startupV2.A66 ,EBC enalbe,ENCS1 enable,and CS1 Start address is 0x410000…

  • XE167 Simulation

    I got a project using the XE167-96F and the Easy Kit. I decided to try simulating the application using Keil's IDE (cuz my hardware became unavailable). When I load the application to debug (CTL-F5), the PC is set $8000 and not $c00000.
    Additionally…

  • How I can debug the CAN

    hello

    i like to debug the CAN. How can I send CAN messages under keil?

    is there a application note or somthing else?

    thanks
    dean

  • Debugging XE164 with changed DBGPRR

    Hi,

    (c166v617 demo)

    I designed a XE164 board, where there was the need of changing some pins of the default JTAG-Debuginterface, but I can't connect to it with Infineon DAS-Client and 'JTAG over USB Chip'.

    My first try was rewirering…

  • Access violation at Addr. .... during simulation in Keil C166

    Hallo ,everyone!

    I have just working with Matlab RTW and Keil IDE for the code development of Infineon XC164CS. The idea is so: with the environment of MATLAB/Simulink I can model, then use RTW for code generation. Here I use Embedded Target for OSEK…

  • XE SROM sections

    Hi,

    I'm trying to use SROM sections on a XE164 as described in Keil application note APNT_138. The linker does its job relocating the sections (as noted in the listing file (*.m66), but I can't copy the code to RAM because the symbols the linker is…

  • Problem when reading internal flash via pointer, EXTS

    I use a XC164CS32F40-Controller and C166 V05.05:

    I want to read the data of the internal flash via following code. It works correct until the adress 0xC13518 will be reached.
    The Assembler-Cmd "EXTS R5,#1" jumps to Adress 0xC00002A. I checked it via…

  • Assembler Loop

    Hey mates!

    This time I got a very strange problem. I want to show a question on a LCD. For that i created a loop which takes every letter and draw it on the lcd. Here's my problem: You see the variable Q1_1 writtin down in the middle of the loop. How…

  • Keil Programming

    Hi everyone,

    I am using XC164CS microcontroller. I need some help in keil programming. The operating frequency is 20KHz. The condition is that if the Vin= 0 volt the duty cycle=5% and if Vin=5V then duty cycle= 95% and duty cycle should be vary in…

  • Creating a boot loader and application in ROM at different locations

    I want to create a boot loader that will be loaded/executed at device startup which will determine if the firmware application is present and if so, jump (start) the application firmware. Else, it will spin waiting of USB commands to update the firmware…

  • MON166 fails to step

    Hello,

    I recently updated µVision3 to 3.62c and PK166 6.14. When I start to debug my project the program is loaded correctly, but if I step the first instruction (JMPS 0x80200) in the startup file the CPU seems to hang up and the program cannot be…

  • Types of Resets

    I m using Xe164 micro controller where i have come across some few Terms like:
    Application resets
    Power Resets
    System Resets
    Brown Out Resets
    I want to know what are the differences between these types of resets

  • Error C53: Redefinition of PCDDIS

    When I try to compile my code I get the above mentioned error. I checked the registry defintion files and the line where the error is being pointed to is:

    sbit  PCDDIS   = SYSCON3^15;
    


    It seems to be fine as PCDDIS is bit 15 of the SYSCON3 registry…