• Read Protection Status and Set Protection Commands

    Kitty Fields
    Kitty Fields

    I saw a reference to the Read Protection Status and Set Protection commands in Application Note AN1496 from ST. These commands relate to reading and setting the internal flash proteciton register. However, I can't find any further information about these…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Flash Programming of Segment 0 by RAM Application

    Kitty Fields
    Kitty Fields

    Is it possible for an application running out of RAM to program segment 0 of the on-chip flash memory. If so, is there a good reference for code which will program the on-chip flash for the ST10F269 device? Thanks

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Download speed of uLink with XC167?

    Roland Weisser
    Roland Weisser

    The download speed for code into the internal flash of the XC167CI with uLink seems to be relatively slow.
    Is it possible to change any settings to get it faster?

    Regards,
    Roland

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Indent selected text doesn't work in V5.03?

    Roland Weisser
    Roland Weisser

    Is there a bug in Keil C166 V5.03 concerning the function "Indent selected text"? In V5.00 it works fine, but in V5.03 the indent buttons are always inactive and it doesn't work anymore.

    Bye,
    Roland

    • over 16 years ago
    • Software Tools
    • Keil forum
  • High speed PC and OCDS

    Gyoergy Dozsa
    Gyoergy Dozsa

    How to make working xc161cj uP with printer
    port wiggler on high speed PC? Board alone
    work fine, but OCDS not.

    PC is Athlon 2500.

    Please tell mi if anyone have experience.
    I spend tens of hours with experiments,
    with no success.

    OCDS signals viewed…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • (matlab -> Keil )*** ERROR 224: ATTEMPT TO ADD DUPLICATE MODULE

    LI Xing kun
    LI Xing kun

    I have a problem when I want to generate code from Matlab/Simulink with real time workshop for a model:



    MIRCOS 167



    The following is what Matlab says to me:







    ### Starting Real-Time Workshop build procedure for model: c166test



    ### Generating code into build…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • strtod() buggy ?

    Marcus Boege
    Marcus Boege

    Hi all,
    I encountered a problem when using the stdlib-function
    double strtod (const char *string, char *endp);

    ---
    char *End;
    float fValue = (float)strtod(String, &End);
    ---

    The conversion works fine but weird values are assigned to the char-Pointer…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Function Inlining ?

    Raju Nallapa
    Raju Nallapa

    How does inlining work ?

    static __inline int MULT_16x16R16(int a, int b)
    {
    return ( (int)((a * (long)b) >> 16));
    }

    appears to produce the following unexpected snippet...

    ; FUNCTION MULT_16x16R16 (BEGIN RMASK = @0x6030)

    …
    • over 16 years ago
    • Software Tools
    • Keil forum
  • 2 Boards, 1 Programm -> 1 works, 1 doesn't work

    Torsten Schmidt
    Torsten Schmidt

    I am using 2 Boards with the same layout (C167CR-LM, 1MB Flash, 256K RAM) for testing.

    No my problem is:
    -----------------

    With the first Board downloading the programm in RAM with MON166 using the Bootstrap-Mode works fine. I can start and stop and…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Writing data to flash memory

    Kitty Fields
    Kitty Fields

    I'm trying to follow the Application Note 138, and the accompanying example code, regarding in-system Flash programming. However, when I execute the PFlash_Write function, the system just hangs. Any suggestions on what I might be doing wrong. I'm using…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • C164 read OTP of Ba-step

    hannes mahler
    hannes mahler

    Hello (Mr.Coppi)!
    Please could You explain how does the OTP reading in monitor mode work? I use the µVision-option 'Keil monitor-166 driver',and
    than the option 'Phytec KC164 CI' for my board.
    Is this correct or have I to use another monitor…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • timer trap

    Moulinier jean marc
    Moulinier jean marc

    Hi,
    I work on st10f168 and i execute some functions in external ram. But i have a problem with interrupt trap :
    Although i declare timer 7 in ram(interrupt all 1 ms good in simulation), it never go in trap function (interrupt 0x3D). So, it's possible…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Second serial port - asynchronous UART

    Andrew  Young
    Andrew Young

    I am trying to write code for the second serial port on the C167. I seem to be having major trouble.

    I have read that port pins 3.0 and 3.1 are Tx and Rx respectively and then from other sources that 3.8 and 3.9 are tx and rx respectively. Can anyone…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Problems when importing a uVision1 project to uVision2.

    Lionel Horain
    Lionel Horain

    I use an Infineon C165-LM with an external Flash (AM29F200BB) and I had a project which worked with uVision1.
    I imported it into uVision2 (version 2.38) and I checked the target options (C166, L166 and A166) like on uVision1 but my program doesn't work…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • monitor ST10

    Moulinier jean marc
    Moulinier jean marc

    Hi,
    I work on st10f168 and i would to load the keil monitor into external ram. But i don't know how does it work !
    So, if you have suggestion or docs about configuration, utilisation,......
    Because the c:\keil\monitor.. docs are not very expicit.

    …
    • over 16 years ago
    • Software Tools
    • Keil forum
  • Infinieon XC Series: Change of ADDRSEL-Registers after EINIT

    Huber Tobias
    Huber Tobias

    Hello,

    is there a possibility to change the ADDRSEL1-Register after the EINIT-instruction on Infineon XC16X controllers?
    Perhaps with changing the Security Level?
    I've tried the following sequence to change the security-level to 0x00 (unprotected mode…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Class problem

    Moulinier jean marc
    Moulinier jean marc

    Hi,
    I have a probleme with my memory map.
    I have declare external ram between 0x200000-0x400000 , but after compilation i see (.m66) that the space 0x200000-0x200004 is reserve for NDATA0. I don't understand why this class is here and why so small. I…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • external memory

    Moulinier jean marc
    Moulinier jean marc

    Hi,
    I work on ST10F168 and i want to control by EBC 2 SRam chip 1M*8bits like 1 chip 1M*16bits. But how to declare in keil that external memory is 16bits data.
    I declare it in start166.A66 (_BTYP1 EQU 2) and 1024K ; so i can store 1M*16bits.
    When i declare…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • How to import a constant symbol defined in assembly to C module?

    David Zhang
    David Zhang

    Hi all,

    I defined some symbols in my assembly module. But I also need to use them in my C files. I don't want to define it twice at different places. How can I make those constants visible in C file?
    For example, I define a constant in .a66 like…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • C166 V. 5.00 update

    Mikael Rahbek
    Mikael Rahbek

    I have updated from version 4.27 to v 5.00.
    But it seems that I only get an evaluation copy. How can I get the correct version?

    When I compile I get the following message:
    *******************************************

    * RESTRICTED VERSION WITH 1000H BYTE…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • C_LIB_CODE, getting its memory size in C

    Peter Morisse
    Peter Morisse

    In my 'User Sections' I placed to following lines:
    ?C_LIB_CODE%FCODE (0x100000)[0x10200]

    In this way the C_LIB_CODE that is compiled and stored at 0x10200 (FLASH memory), will be executed at 0x100000 (RAM memory).

    At startup I copy the FLASH…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • adress problem

    Moulinier jean marc
    Moulinier jean marc

    Hi,
    I work on Keil uVison V2.38,
    and i would to know how can i give an adress to a function ; which instruction can help me to fix the adress of functions or variables.
    If you have some docs or exemples, please send me : jm.moulinier@synergie-cad.fr
    Thanks…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Register Settings to Use CAN Message Object 15 as receiver

    Justin McCurdy
    Justin McCurdy

    I am pretty familiar with CAN message objects 1-14, but for some reason, my current register settings do not allow message 15 to interrupt on every message. Here are my settings:

    C1GMS = 0xE0FF;
    C1UGML = 0xFFFF;
    C1LGML = 0xF8FF;

    CAN_OBJ[15].MCR …

    • over 16 years ago
    • Software Tools
    • Keil forum
  • Place constant at fixed code memory address

    Thomas Driehorn
    Thomas Driehorn

    Hi,

    I'm confused about the existings threads regarding this topic, so please excuse this new thread.

    I'd like to put some calibration data into my (OTP) memory of C164-CA. The software would have some declaration for a few constants located at the…

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

    Joost a
    Joost a

    #define adr(x) ((word) &(x))
    char tmsec[20];
    
    struct par_struct AL[] = {
    
       //par.nr, lv, ln, eh, adress                         bk, pt,           ft
       {     1,  2,  8,  0, 0,                               ptUSER,       40},
       {     2,  2,  8,  0…

    • over 16 years ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel
<>