Codeblocks, GCC and J-Link on LPC 1788

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Codeblocks, GCC and J-Link on LPC 1788

    Hello Segger team,

    I have tried using emIDE, (emide.org ) which is essentially CodeBlocks and GCC,
    with LPC1788.
    It is working great with the sample project for STM32 on my STM32F407 board.
    I can download into Flash, debug, everything, and it is fast.
    GCC performance is quite good, enough for my projects, and if it is not,
    I can still use IAR or Keil as second compiler for a release version to
    get the last 10% performance.

    However, on the LPC1788, I can not download debug in Flash memory, just in RAM.
    Any clue for me?

    Thanks,
    Mike
  • Hi Mike,

    How to bring the Start_CortexM project (located at arm\Example\Core\Start_CortexM)
    up and running on a NXP LPC1788:

    - Open the project
    - Linker file: Modify the ROM start address & size: 512 KB @ 0x0
    - Linker file: Modify the RAM start address & size: 64 KB @ 0x10000000
    - Change the configured device (Project -> Properties -> Debugger)


    Done. Project is ready to run on the LPC1788
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi Mike,

    No problem. Good to hear that everything is working for you now.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.