[SOLVED] LPC4337 Flash bank activation

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

  • [SOLVED] LPC4337 Flash bank activation

    Hi
    I can program and debug LPC4337 internal flash and everything works perfectly using keil and j-link. the problem is that when I disconnect j-link and reset the LPC it would not boot again, but using flashmagic to flash the code if I tick" activate flash bank" every thing works perfectly. I wanted to know how to resolve my problem for flashing LPC4337 with j-link that would boot up after a reset.
    Regards
  • Hi,

    the boot sequence and which steps need to be taken care of are described in the LPC43xx user manual, chapter 5 LPC43xx Boot ROM --> Boot process for parts with internal flash. Did you make sure that the "Criterion for Valid User Code" are fulfilled in your application? If not, this already explains the behavior.

    Do you use the Keil uVision flashloader or the one from SEGGER? In latter case, the checksum (criterion for valid user code) is created automatically by the flashloader. How to use the SEGGER flashloader in Keil uVision is described here: segger.com/IDE_Integration_Keil.html#usingflashloader


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