• Bootstrap download tool

    Jo Leeuwesteijn
    Jo Leeuwesteijn

    Hi all,

    I'm working on a project where we have a custom (and too fancy) GUI bootstrap download tool, without sourcecode. It also expects that you want to flash something and it uses Motorola S-Records.

    Can anyone tell me where I can find a small…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Guarantee my code.

    RAV RAV Willow
    RAV RAV Willow

    Hello!

    I need some information about CRC.

    I have a new question. I have finished my code. I am working with Keil to program a XC167CI microcontroller, but I have to guarantee the code programmed in memories. So I have to develop cyclic redundace check…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • C166 preprocessor and paths

    Jo Leeuwesteijn
    Jo Leeuwesteijn

    Hi all,

    When I specify include directories like so:
    INCDIR(.\system;.\inc)
    and run the preprocessor (PREPRINTONLY) I get output that contains (for example):

    #line 1 "\PROJECTS\MAIN\FOO\BAR~1\INC\TEST2SUB.H" /0
    The other output correctly…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Debugging code in keil

    neo neo
    neo neo

    Dear All,
    I'm using c8051F120 and Keil uVision2 IDE. If I want to debug my code, I should connect to my target from the IDE using JTAG. While doing this, every time the code is downloading to my target. Is it possible to connect and debug my code…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • A question about the logic analyzer

    Tamir Michael
    Tamir Michael

    Hello all,
    I want to monitor 2 variables:
    'gActiveTask', which has external linkage (meaning: a module uses it by specifying "external"), and another which isn't static (called 'sCounter').
    When I add these 2 to the logic…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • A simple question about assigning number

    Tamir Michael
    Tamir Michael

    Hello,
    I think I missed something here but I don't get it yet :)

    this code:
    long x ;
    x = 100000 ;

    generated the following assembly:

    00020004 E6F4A086 MOV R4,#0x86A0
    00020008 E015 MOV R5,#0x01

    because 100000 = 0x186A0. fine.

    but…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • ST10F269 Code Locking, Code Temporary Unlocking and Programming Flash

    Yogesh Gudekar
    Yogesh Gudekar

    I am using ST10F269 in our design

    I am using Keil compiler for development and ST10 Flasher to program.

    I want to incorporate Flash protection, Flash temporary unprotection and Programming of Flash feature into code to be develope.

    If any one having…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • External Flash Problem

    Randal Ford
    Randal Ford

    I am having problems with drivers for AM29F800 flash memory connected to a XC167 using CS0.

    The flash is acting as though there were only one sector, Example: I erase sector 5 then write to sector 5, offset 0 a value of 0xABCD, I read back 0xABCD from…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Can a function know whether it executes on interrupt context or not?

    Tamir Michael
    Tamir Michael

    Hello,
    I am busy writing an RTOS with a preemptive scheduler. I have written a mutex which works fine, but, of course, I cannot use that mutex (a one that loops until the lock is released by another task) in interrupt context (doing so locks the interrupt…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • putchar works, printf not

    Nora
    Nora

    Hello,

    I'm programming a OS for C167 and my problem is that the C167 does write with putchar, but when I want to write with printf it only prints the first character of the string.

    For example:

    void initSerial(void) {
        P3  |= 0x0400;
        DP3…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • AGSI - AgsiSetWatchOnMemory C166

    Dirk S
    Dirk S

    Can someone confirm that the AGSI function
    AgsiSetWatchOnMemory on C166 (V6.02) is not
    correct working ?!

    On C51 (V7.50) this function works ok.

    What is the datatype and the coding of
    then second parameter AGSICB REASON r ?

    Best regards and a happy…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • _nop_()

    Moulinier jean marc
    Moulinier jean marc

    Hi,

    I have just taken a project already started on the ST10F168. My problem is to understand when I am obliged to use the _nop_() function. Because in my project, it's using in abundance...Is it really necessary ??

    When you set a port or a state…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • How to configure CAPCOM1

    RAV RAV Willow
    RAV RAV Willow

    Hello!

    I have a bit problem. I don't know how I can configure the CC1_CC4 in this mode: Cap/Com p/n Trans.

    Thanks.

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Problems after update from c166 v5.00 to c166 v5.05 (v6.02)

    Marcus Boege
    Marcus Boege

    Hello all,

    I have just updated from c166 v5.00 to v5.05 but the generated assembler code differs and the program is running errorious. I'm using an XC161CJ.


    the instruction:

    #define CC1_IOC_STAG ((T_Reg16 *) 0xF062)->bit2…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Problem with C166 6.02 and void*

    Bernhard Lechleitner
    Bernhard Lechleitner

    Hello All!

    I have a problem with my existing projects since upgrade from 5.04b to 6.02. With 5.04 all code samples below compile and work fine! The new compiler version is much more agressive with some warnings as stated in the release notes.

    The following…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Flash memory Am29F160D

    Benoît CHARBONNEAU
    Benoît CHARBONNEAU

    Hello,

    I'm using a PhyCore167HSE board (from Phytec). There is on this board a C167CSL40M and flash memory Am29F160DT.
    The problem is :
    - how can I write, read and erase in this memory.
    I have ever look on documentation and examples but I don't…

    • over 14 years ago
    • Software Tools
    • Keil forum
  • Interrupts, flags and functions

    RAV RAV Willow
    RAV RAV Willow

    Hello, I need to know the exact moment when an input is set.

    I'm using XC167CI and I have fast interrupts. This way is full, I mean I have used all fast interrupts.

    I don't know how I can know when an input por is set and reset.

    What can I…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • How to get a pulse waveform

    RAV RAV Willow
    RAV RAV Willow

    Hello,

    how can I get a sample code to obtain a 2 seconds pulse waveform?

    Thanks

    • over 15 years ago
    • Software Tools
    • Keil forum
  • How can I generate a two second pulse signal?

    RAV RAV Willow
    RAV RAV Willow

    I would like to generate a two second pulse signal, but I amn't sure how I can do it.

    I'm thinking about using CAPCOM UNIT but I prefer do it in a different way because I'm using all timers from all CAPCOM UNITs.

    Another idea?

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Serial Interface & Terminal Program

    Christof Hieger
    Christof Hieger

    Hello,
    I'm using a C167 Bord with uVision2. My program sets the configurations for the serial port,sends some data via the port and it works in the Serial Window #1 (I see the data which I had sent).

    In the next step I wanted to display some values…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • FTP Client

    Paolo Spiga
    Paolo Spiga

    I'm locking for an FTP client "without IDE" to implement into my application.
    I must use it to acces data in an FTP Server.
    Can you help me?

    Thank
    Paulo

    • over 15 years ago
    • Software Tools
    • Keil forum
  • RETI doesn't work

    Nora
    Nora

    Hello,

    I would like to realise a small OS for a microchip. I already have a running OS for the C167CR-LM and would like to also run it on a XC167CI. But the version for the Target XC167CI has a problem when returgin from a Interuptfunction.

    Here is…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Please help: why connecting failed?

    Jim Jam
    Jim Jam

    Hello,

    I 'm programming the first time with Keil uv_2 and Phytec SK-167CR. At first I want to simulate something on the Phytecboard. But everytime I got the message: "connecting target failed". This is my simulation program:

    #include …

    • over 15 years ago
    • Software Tools
    • Keil forum
  • some beginner's problems about uVision3

    Tom Jerry
    Tom Jerry

    Hi,

    I am a newbie for Keil uVision3. Some problems occurred during my first experiment with the hello program.

    1, while opening 'Source Browser', an error comes out: Invalid file *.SBR

    2, I can open 'Watch and Call Stack Window', but watch…

    • over 15 years ago
    • Software Tools
    • Keil forum
  • Using 74LVC4245's on a data bus

    Mike Mcpherson
    Mike Mcpherson

    Im using these to inface a 5V processor with 3.3V memory. Just wondering if anyone has any tips/advice they might have learned from past experience.

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