• RE: Do you order using the V5 compiler or the V6?

    Hi, I'm Product Manager Compilers, good to meet you! I'll just add a few words to Ronan's reply.

    Compilers are "sticky", and migrating existing code from any compiler to any other compiler can pose some challenges. As Ronan says, there's a…

  • Tips on asking questions in the community

    It seems relatively simple right? You have a question you need answering, and you ask it in one of our forums.

    Maybe not. Sometimes, the person you are asking for help might need more information from you. Do you have a code snippet to illustrate what…

  • RE: changing the starting address

    nop..this is like a software upgrade...during the power on,the normal application starts running at hardware reset vector,ie,00h...if i press the 'space bar' thrice,i need the code at boot vector address to execute...the boot vector address has the code…

  • RE: Spurious link from ISR to ?PR?MAIN

    Oh, really? *sigh*
    I "fixed" it.

    I am using function pointers in my program. I have a big table as such:

    typedef void (code * CallbackHandler)();
    typedef struct
    {
        CallbackHandler HandlerForSomething;
        CallbackHandler HandlerForSomethingElse;…

  • RE: MISRA C Union Workaround

    Unfortunately, this will increase code size and increasing the timing of the application.

    I wouldn't be quite so sure of that assumption. There's no particularly good reason why a decent compiler couldn't generate the exact code for the following lines…

  • libsupc++_nano.a and C++ exceptions

    Hi,

    We'd like to add support for C++ exceptions (yes...) to our embedded firmware.  Up until now we've been linking against libsupc++_nano.a and it has worked great.  However, we've found that it does not work for throwing C++ exceptions.  The…

  • UV4 debugger: how to 'SAVE' to variable filename?

    Is there any way to call the debugger 'SAVE' function with anything but a fixed filename? I'd like to use it in a loop of a debugger function like this:

    FUNC void SaveFlash()
    {
      for (i=0; i<10; i++) {
        ... code to fill rawFlashBuf with…

  • RE: Does AGDI driver still supported in Keil uVersion 5?

    If you can build the example target debug DLL, then you should be able to debug the execution of the DLL using either Visual Studio or by adding functions to log activity to a file or pipe.

    The application note section "The Memory Interface" explains…

  • RE: Memory footprint of 64-bit ARM compared to x86-64

    There's a recent paper on this sort of thing

    Exploring the Limits of Code Density

    in it you'll see ARM 64-bit is the densest code of any straightforward RISC - just go to the last green bar in the graphs and you'll see arm64 beneath it. It is still…

  • RE: How to create a HEX file for LPC43 for internal flash memory?

    This is exactly what I do. The HEX file I get starts like this

    :020000041A00E0
    :10000000F0210810051B001A0D1B001A0F1B001A07
    :10001000111B001A131B001A151B001A5A5A5A5AA0
    :10002000000000000000000000000000171B001A84
    :10003000191B001A000000001B1B001A1D1…