<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LPC54005 - Systick Handler never called in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1765708#M54823</link>
    <description>&lt;P&gt;I put a breakpoint into the WEAK SysTick_Handler in startup_lpc54005.c and it is also not triggered.&lt;/P&gt;&lt;P&gt;So what's going on here ? What am I missing ? Never needed 3 days to toggle a GPIO in a reasonable deterministic frequency !&lt;/P&gt;&lt;P&gt;Isn't there something like a usleep function that just works (like in other architectures) ?&lt;/P&gt;&lt;P&gt;Anyone from NXP who can help me ?&lt;/P&gt;&lt;P&gt;Do I have to change the MCU to a none-NXP part to procees with my project ?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 13:15:55 GMT</pubDate>
    <dc:creator>Beggar</dc:creator>
    <dc:date>2023-11-29T13:15:55Z</dc:date>
    <item>
      <title>LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1763971#M54797</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I spent a whole day with trying to get the LED-Blinky example working on my customer target Hardware without success. I read through the documentation, countless posts, tried this and that but did not find a solution which worked. Very frustrating. Hope that someone here can give me some hints.&lt;/P&gt;&lt;P&gt;Here is what I did:&lt;BR /&gt;First I downloaded and installed the LPC54004 SDK stuff in the MCUXpresso IDE. Then I set up pins, clocks and some of the peripherals. Then I took the LPC54s018 "Hello world" code example. This was recommended by NXP since that processor is pretty close to the LPC54005. I managed to compile and run/debug the "Hello world" example on my customer target Hardware and it's doing what it's supposed to do.&lt;/P&gt;&lt;P&gt;Then I made a copy of the project, took parts of the 54s018_led_blinky example source code and replaced some of the code of the Hello World example with it.&lt;/P&gt;&lt;P&gt;The debugger tells me that the systick handler is never called.&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1.) What are potential reasons that prohibit this from working ?&lt;/P&gt;&lt;P&gt;2.) In the clock tool, I can set the source and div ratio for the systick clock.&lt;BR /&gt;But the systick period is also set in the code, using&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SysTick_Config(&lt;/SPAN&gt;&lt;SPAN&gt;SystemCoreClock&lt;/SPAN&gt;&lt;SPAN&gt; / 1000U)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Two configs ? Which one is relevant ?&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the rest of the code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/*
 * Copyright 2016-2023 NXP
 * All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

/**
 * @file    LPC54005_Project.c
 * @brief   Application entry point.
 */
#include &amp;lt;pin_mux.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;
#include "board.h"
#include "peripherals.h"
#include "clock_config.h"
#include "LPC54005.h"
#include "fsl_debug_console.h"
/* TODO: insert other include files here. */

/* TODO: insert other definitions and declarations here. */

/*******************************************************************************
 * Definitions
 ******************************************************************************/
//GPIO_0_1
#define BOARD_GPIO_PORT 0U
#define BOARD_GPIO_PIN  1U

/*******************************************************************************
 * Prototypes
 ******************************************************************************/

/*******************************************************************************
 * Variables
 ******************************************************************************/
volatile uint32_t g_systickCounter;

/*******************************************************************************
 * Code
 ******************************************************************************/
void SysTick_Handler(void)
{
    if (g_systickCounter != 0U)
    {
        g_systickCounter--;
    }
}

void SysTick_DelayTicks(uint32_t n)
{
    g_systickCounter = n;
    while (g_systickCounter != 0U)
    {
    }
}

/*
 * @brief   Application entry point.
 */
int main(void)
{

    /* Init board hardware. */
    BOARD_InitBootPins();
    BOARD_InitBootClocks();
    BOARD_InitBootPeripherals();

#ifndef BOARD_INIT_DEBUG_CONSOLE_PERIPHERAL
    /* Init FSL debug console. */
    BOARD_InitDebugConsole();
#endif

    PRINTF("\r\nGPIO TOGGLE TEST\r\n");

    /* Set systick reload value to generate 1ms interrupt */
    if (SysTick_Config(SystemCoreClock / 1000U))
    {
        while (1)
        {
        }
    }

    PRINTF("SYSTICK CONFIGURED\r\n");

    while (1)
    {
        /* Delay 1000 ms */
    	SysTick_DelayTicks(1000U);
        GPIO_PortToggle(GPIO, BOARD_GPIO_PORT, 1u &amp;lt;&amp;lt; BOARD_GPIO_PIN);
        //PRINTF("GPIO toggeled\r\n");
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1763971#M54797</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-27T09:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764031#M54798</link>
      <description>&lt;P&gt;Did you try to step into the&amp;nbsp;SysTick_Config() function in the debugger , and see if the interrupt gets enabled (the IE flag set) ?&lt;/P&gt;&lt;P&gt;This function is usually implemented as "static inline" in core_cm4.h.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764031#M54798</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-11-27T12:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764161#M54802</link>
      <description>&lt;P&gt;The SysTick_Config() function is visited and it seems that the register is set correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Beggar_0-1701098440902.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251653i34D50A32D50B8195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Beggar_0-1701098440902.png" alt="Beggar_0-1701098440902.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But shortly after that it gets stucked in the while loop that waits for the counter to be zero.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Beggar_1-1701098471144.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251654i3A84C1A254360E57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Beggar_1-1701098471144.png" alt="Beggar_1-1701098471144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm completely new to this IDE and debugging so forgive me if I ask silly questions.&lt;/P&gt;&lt;P&gt;And please let me know whether you can read the screenshots. Should I upload them as attachments ?&lt;/P&gt;&lt;P&gt;How can I verify that the Flag is really set ?&lt;/P&gt;&lt;P&gt;It seems that the SysTick_CTRL_CLKSOURCE_Msk is reset after the initial configuration. Is that a problem ?&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 15:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764161#M54802</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-27T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764184#M54803</link>
      <description>&lt;P&gt;SysTick.VAL is counting, shows values between 0 and 11999.&lt;/P&gt;&lt;P&gt;g_systickCounter is not counting. Whenever I stop/pause the debugger, it has the inital value of 1000.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 16:13:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764184#M54803</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-27T16:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764593#M54808</link>
      <description>&lt;P&gt;And did you try setting a breakpoint in the Systick handler ?&lt;BR /&gt;The "&lt;SPAN&gt;g_systickCounter" variable is manipulated there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Systick is common to all Cortex M devices, and thus basically all toolchains come with a default hander.&lt;BR /&gt;With LPCXpresso, this is in "startup_lpc&amp;lt;nnn&amp;gt;.c", which is part of your project (with &amp;lt;nnn&amp;gt; is probably "54005" in your case).&lt;BR /&gt;The default handler in this file is declared as "WEAK", i.e. supposed to be overwritten with your code.&lt;BR /&gt;If the function name of your own handler doesn't match, this routine would fire, too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, if you cannot step into your own Systick handler, try setting a breakpoint in this default routine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 06:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1764593#M54808</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-11-28T06:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1765056#M54817</link>
      <description>&lt;P&gt;A breakpoint inside the SysTick_Handler routine is never reached.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 16:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1765056#M54817</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-28T16:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1765708#M54823</link>
      <description>&lt;P&gt;I put a breakpoint into the WEAK SysTick_Handler in startup_lpc54005.c and it is also not triggered.&lt;/P&gt;&lt;P&gt;So what's going on here ? What am I missing ? Never needed 3 days to toggle a GPIO in a reasonable deterministic frequency !&lt;/P&gt;&lt;P&gt;Isn't there something like a usleep function that just works (like in other architectures) ?&lt;/P&gt;&lt;P&gt;Anyone from NXP who can help me ?&lt;/P&gt;&lt;P&gt;Do I have to change the MCU to a none-NXP part to procees with my project ?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1765708#M54823</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-29T13:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766046#M54825</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224184"&gt;@Beggar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) You can check Systick register in "Peripherals+" view as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1701309308809.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252190iD1ED3B5F6EE3F767/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1701309308809.png" alt="Alice_Yang_0-1701309308809.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2) I have no board for this chip, so only can test on LPC54018. How about create a simple new project based on LPC54005, then copy application code from blinky&amp;nbsp; demo to your project, then debug check registers. If still can't work, send your project to me.&lt;/P&gt;
&lt;P&gt;3) BTW, without Systick , does your board can work well? For example,&amp;nbsp; just turn on one led of your board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 02:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766046#M54825</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-11-30T02:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766217#M54827</link>
      <description>&lt;P&gt;I would check the map file.&lt;BR /&gt;Just open the "Debug" folder in the Project explorer view. The file is named &amp;lt;&lt;FONT face="courier new,courier"&gt;project_name&lt;/FONT&gt;&amp;gt;.map.&lt;BR /&gt;Double-click top open it, and seach for "&lt;FONT face="courier new,courier"&gt;SysTick_Handler&lt;/FONT&gt;". The map file should list the address it is located, and the souce/object file it was compiled from.&lt;/P&gt;&lt;P&gt;Maybe you somewhat mixed up your project, and the sourcefile(s) you edit are not those that take effect.&lt;BR /&gt;You wouldn't be the first one that happens to ...&lt;BR /&gt;I occasionally came across workspaces with projects that had identically named files in different folder.&lt;BR /&gt;To make clear which one belongs to my project, I added a "&lt;FONT face="courier new,courier"&gt;#error "&amp;lt;some string&amp;gt;&lt;/FONT&gt;" directive to it.&lt;BR /&gt;If the build did not throw an error, I got the wrong one ...&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 06:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766217#M54827</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-11-30T06:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766241#M54828</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; Do I have to change the MCU to a none-NXP part to procees with my project ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Had to reboot my work PC in the meantime, because of a forced update ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the basic issue wouldn't change with another vendor/MCU. Not only is Systick handling basically the same (Systick is fixed part of the core provided by ARM), you would still have to get familiar with the IDE and toolchain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not a huge fan of Eclipse IDEs either, by the way.&lt;BR /&gt;But LPCXpresso is the most supported IDE by NXP, and the provided examples usually run out of the box.&lt;BR /&gt;You have not described how you had set up you project.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But as Alice suggested, the best option is to use an example project from the SDK for your MCU, or (even better) for your eval board, if you are using one.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 07:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766241#M54828</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-11-30T07:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766377#M54838</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Alice, thanks for your comments&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;2) How about create a simple new project based on LPC54005, then copy application code from blinky demo to your project&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's what I did. I wrote that in my first post. The HelloWorld example is working&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;3) BTW, without Systick, does your board can work well? For example,&amp;nbsp; just turn on one led of your board.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Yes. when I comment out&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SysTick_DelayTicks(1000U);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It works fine. The GPIO toggles at a rate of around 170 kHz.&lt;/P&gt;&lt;P&gt;However, my Peripherals+ window is empty !?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 09:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766377#M54838</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-30T09:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766387#M54839</link>
      <description>&lt;P&gt;Hello Frank,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;The map file should list the address it is located, and the source/object file it was compiled from.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;There are two lines which contain "SysTick_Handler":&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;0x00000264 SysTick_Handler&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;SysTick_Handler&lt;/SPAN&gt; ./startup/startup_lpc54005.o&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Does that look correct to you ?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Nov 2023 09:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766387#M54839</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-30T09:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766425#M54842</link>
      <description>&lt;P&gt;So far, yes.&lt;/P&gt;&lt;P&gt;The first one is the handler location (in the vector table), and second one is the actual handler routine.&lt;BR /&gt;The location "./startup/&lt;SPAN&gt;startup_lpc54005.o" refers to a file in your project, see here (example from a project of mine):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frank_m_0-1701339135557.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252290iDCABDED451A96DF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frank_m_0-1701339135557.png" alt="frank_m_0-1701339135557.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the handler routine taking effect.&lt;BR /&gt;Do you see your code there ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 10:15:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766425#M54842</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-11-30T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766503#M54844</link>
      <description>&lt;P&gt;The WEAK SysTick_Handler exists in startup_lpc54005.c&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I set a breakpoint inside the WEAK SysTickHandler, it is never reached.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 12:22:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766503#M54844</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-30T12:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766529#M54845</link>
      <description>&lt;P&gt;This can be deceiving.&lt;BR /&gt;The default handler is usually either an endless loop or an empty function body, compiled a few machine instructions. It is often impossible to observe this on source code debug level.&lt;/P&gt;&lt;P&gt;But getting back to your last post.&lt;BR /&gt;Your own handler is implemented in the main file, of which you posted the contents.&lt;BR /&gt;Thus the linker map file should list &lt;EM&gt;&lt;STRONG&gt;this&lt;/STRONG&gt; &lt;/EM&gt;file as source for the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;SysTick_Handler&lt;/FONT&gt; routine, &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/EM&gt; the startup file. Something seems off here.&lt;/P&gt;&lt;P&gt;Does the build fail if you comment out the "weak" handler in startup_lpc54005.c ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 13:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766529#M54845</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-11-30T13:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766599#M54846</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Does the build fail if you comment out the "weak" handler in startup_lpc54005.c ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;No, build does not fail&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 15:39:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766599#M54846</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-11-30T15:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766998#M54849</link>
      <description>&lt;P&gt;It should.&lt;BR /&gt;There seems something wrong with you project. It looks like the code you are editing and that the debugger displays is not the code actually executed.&lt;/P&gt;&lt;P&gt;I would setup the project anew.&lt;/P&gt;&lt;P&gt;As a test, I added a Systick handler to one of my LPCXpresso projects that did not use Systick.&lt;BR /&gt;As seen here, the map file lists both instances, and the non-"WEAK" implementation first.&lt;BR /&gt;As implied, it is the file&amp;nbsp;&lt;FONT face="courier new,courier"&gt;./source/mcan_interrupt_transfer.c&lt;/FONT&gt; that implements the handler function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frank_m_0-1701413397284.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252425i486A1D7C6B53F85A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frank_m_0-1701413397284.png" alt="frank_m_0-1701413397284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 06:51:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1766998#M54849</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-12-01T06:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1768624#M54870</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224184"&gt;@Beggar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp;&lt;SPAN&gt;However, my Peripherals+ window is empty !?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When debug, there is value in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Peripherals+ window . Please take a screenshot show yours.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2) Share your project, a simple project that can reproduce your issue, please.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 01:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1768624#M54870</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-12-05T01:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1768987#M54875</link>
      <description>&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;I set up a new LPC45005 project, replaced the pin_mux.c and pin_mux.h files to match my target hardware and made sure that the "Hello World" example works. Then I added a SysTick_Handler into the source code and started the debugger. Result: SysTick_Handler does not get called.&lt;/P&gt;&lt;P&gt;How do I share the project with you ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 11:05:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1768987#M54875</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-12-05T11:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54005 - Systick Handler never called</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1768994#M54876</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Beggar_0-1701774708748.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/253050i5C95A4CEDBB46B1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Beggar_0-1701774708748.png" alt="Beggar_0-1701774708748.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 11:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54005-Systick-Handler-never-called/m-p/1768994#M54876</guid>
      <dc:creator>Beggar</dc:creator>
      <dc:date>2023-12-05T11:11:56Z</dc:date>
    </item>
  </channel>
</rss>

