[SOLVED/OR] Flasher ARM can program LPC1227 using J-Flash, but not standalone

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

  • [SOLVED/OR] Flasher ARM can program LPC1227 using J-Flash, but not standalone

    I have a Flasher ARM connected to an LPC1227 board of my own design. Using the example LPC1227 project, I was able to connect to and program the board using J-Flash. However, I tried to download the config and data to the Flasher and use it in standalone mode, but it will not work. Once I press the button, the green LED stays on steady for about five seconds, then the red LED turns on steady and the green LED starts flashing rapidly.

    Looking at FLASHER.LOG, it says "Timeout while checking target RAM, core does not stop" and "SN 1: Failed"

    J-Flash version is 5.10t, Flasher ARM is dated 14 / 10 / 15

    Based on some other messages on this forum, I tried lowering the frequency. I went down from 4000KHz to 2000KHz to 200KHz, with no luck. Same results.

    How can I fix this?
  • Hi,


    LPC1227 is not supported in standalone-mode.
    This is already on our internal ToDo, but with a very low priority because of the very little demand and the fact that this device is not easy to handle thanks to its overzealous watchdog.
    Therefore there is currently no planned release date for LPC1227 standalone-mode support.

    Best regards,
    Niklas
    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.
  • I am trying to program a Freescale MK02FN64VFM10, I am seeing same problem described in first post,
    ie will work consistently connected to PC but will not run in StandAlone mode. I get same RED LED
    coming on.
    Device is only one in chain.
    I am running this on an Agilent 3070 ICT Tester, my wiring is 100% correct.
    Is there something else I should be doing.
    Thanks...
    Also Flasher.log file says
    SN: 1 - Failed

    The post was edited 1 time, last by gjw ().

  • Hi,

    The watchdog of the KE02 series is enabled after reset which causes problems during flash programming. In J-Flash mode, the watchdog is disabled by the J-Link DLL but in stand-alone mode, some additional steps are required as the Flasher firmware does not include the logic from the J-Link DLL. Please find attached to this post a J-Flash project which disables the watchdog as part of the "Init steps". Can you please give the project a quick try and provide feedback? Please note that you have to download the config & data file using this project.


    Best regards
    Erik
    Files
    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.