• C++, works maybe?

    I put a simple class in a file named "test.h". The class is as follows:

    class a {
    public: int b;
    };
    

    I am using the Keil MCBSTM32 board (STM32F103RB processor).

    I place this file in "C:\Keil\ARM\Boards\Keil\MCBSTM32\Timer". I then open…

  • uvision2 Confivuration Wizard tutorial?

    Greetings,

    I have seen the user guide for the Configuration Wizard and to say the least it is terse. It lacks real explanation of what it is doing. By observation and analysis, I think I have some idea how it works. A more explanatory tutorial or example…

  • OpenCV on Keil, LPC 1768

    I want to use OpenCv library on ARM Lpc1768, but when i want to use opencv library in Keil(V.4), I face a lot of error. I searched through internet and then I realize I can't simply use OpenCv in Keil, because although keil can read c++ files, but it…

  • ERROR : L6449E while processing

    I am using stm32f4 Discovery tool keil.

    I have library file in .a format for Ex : algorithm_cal.a like this
    I am adding this file to file group and made option to target on right click on that file & make it has Library file.
    when building it getting…

  • ERROR : L6449E while processing

    ERROR : L6449E

    While processing <filename>: <message>

    why this error came & how to resolve this

  • OpenCV on Keil

    Hello, if we add OpenCV c++ library to a project on the Keil, can we use simply use that, or we need to change the library somehow, for example we have to define variables at the start of block not inside parentheses in for. Do i have to change in OpenCV…

  • C code source debug

    Hi folks,

    I'm currently having problem debugging code at STM32F334C8T6 (Discovery kit), just debugs assembler code. I don't know why it occurs, it's very annoying.

    How do set/configure the project in order to be able to debug C code source…

  • USB dual-role OTG on STM32F4

    Can't figure out is it possible to configure Keil's Middleware for dual-role OTG host/device?
    I would like to be able to read from USB stick, if inserted, but also to present itself as a MSC device if attached to a PC or Android phone. It does…

  • Bugs in SPI driver for STM32F4xx (V2.10)

    There are several bugs related to SPI driver for STM32F4 family (latest release 2.10 - most likely in previous versions too):

    1 - when using RTE_DEVICE_FRAMEWORK_CLASSIC SPI I/O ports are initialized for lowest speed (2.5MHz) which makes no sense,…

  • using malloc() in ARM7

    I haven't had the need in a while to use malloc() in my applications. I was using it to test something, but I get linker errors 'No space in execution regions...(.data)'. I get this even when I do a malloc(1).

    The startup file has a heap…

  • How to redirect printf to USART

    Hi,

    I'm using the STM32F103ZD uC with keil uVision IDE C-compiler and I would like to have the printf function send it's data to some onchip USART. Not to the IDE build-in debug viewer.
    I saw many examples in the cloud but non of them works…

  • Virtual registers STM32F103RB

    This is a continuation of the old and now locked thread:
    http://www.keil.com/forum/59594/

    Before spending a full day with Google, it might have been a good thing to spend a couple of minutes on the Keil site.

    This page seems to indicate limited simulation…

  • Debug Interface Hardware Requirements for Semihosting?

    I can find lots of stuff on the software side, but not too clear on the minimum debug interface hardware requirements for Semihosting.

    Specifically, is it sufficient to have just the 2-wire SWD interface - SWDIO and SWCLK - or is SWO also required;…

  • Two MSC devices on single USB

    I would like to create composite device with two MSC devices using Middleware 7.30 on STM3F4 chip. I have configured everything (already did several projects, so I am familiar with run-time configuration manager) but when attached, I can only see first…

  • MDK v4 USB Host & FlashFS

    When using a USB Memeory stick and the MKK v4 USB Host and Flash FS, is there anyway of determining when it is safe to remove (unplug) the memory stick?

  • STM32F4 TFT swipe

    Hi,
    I'm using STM32F429 with tft of 640X480 with touch.
    I want to simulate the effect of screen swipe – as in Smartphone: When the user swipe it's finger the screen is moving to that direction and another screen is entering.

    I know how…

  • MDK v4 Legacy Support - Version Info

    Whilst I have downloaded and installed the latest legacy pack (v5.18) I cannot seem to find a way to check the version actually being used? Also is it possible to get this info at runtime?

  • ELF file viewer (sort of)

    I need to dump ELF file symbols (names, addresses) on Win platform. Can somebody point me
    to an useful utility for that purpose?

    Thanks in advance.

    - Dejan

  • RTX_HID demo project running on MCB2300 evb and windows 10

    Hello everybody,

    I am experiencing an issue while running the following demo project:

    RTX_HID (C:\Keil\ARM\Boards\Keil\MCB2300\RL\USB\RTX_HID)

    on the MCB2300 evaluation board connected to a PC equipped with Windows 10.

    More specifically, when…

  • Dbg_STM32F2xx.ini

    Hello,

    I am busy on a new project with a STM32F207. On our last projects we used STM32F10x-Devices and for debugging purposes I used the corresponding debug.ini file.

    /*****************************************************************************…

  • Keep Preprocessor Output AND Do Compile

    I can't see an option on the ARM compiler to keep the preprocessor output and do the compile.

    I can see:

    -E: Just do the preprocessing;

    -C: as above, but keep comments;

    -P: Just do the preprocessing, without #line markers.

    But I can't see…

  • Build with GCC ARM Embedded; debug with uVision

    Using the GCC ARM Embedded toolchain:

    "As part of its ongoing commitment to maintaining and enhancing GCC compiler support for the ARM architecture, ARM is maintaining a GNU toolchain with a GCC source branch targeted at Embedded ARM Processors ..…

  • mbed library MDK sample project for cortex e.g. stm32f0 etc.

    Hello,

    has anybody managed to setup a project with the mbed library?
    I tried to do a an example with a timer:

    Timer t;

    int main(void)
    { /*!< At this stage the microcontroller clock setting is already configured, this is done through SystemInit…

  • Is there a way to reject a specific object from a library ?

    Hello,

    I am working on a product that links with a third party library that contains functionality that seems to be partially broken. I have narrowed down the source of the problem to a single object file, so I would like to load all the library into…

  • POST and GET to the same .cgi file

    Hi,

    I'm currently interfacing to an external module which has a pre-defined protocol that I'm trying to comply with. The module uses both GET and POST messages to the same cgi file, for example;

    Get example;
    GET http://<server>/<filename…