<?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: SIGINT error during the beginning of debugging session? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587848#M27846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Fri Nov 20 12:47:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The m0 MUST first be booted by the m4. The M0 is held in reset until this happens. Read the user manual, the FAQ on lpc43xx and the example prog arms supplied with LPCXpresso &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:26:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:26:41Z</dc:date>
    <item>
      <title>SIGINT error during the beginning of debugging session?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587847#M27845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by funkyguy4000 on Fri Nov 20 11:54:36 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to get a very simple I2C program running on only the M0 core of an LPC43s37 controller.&amp;nbsp; The project is just a standalone Cortex-M0 LPCxpresso C++ project.&amp;nbsp; Although as soon as I attempt to debug it, the debug session is suspended with a SIGINT signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've attached what I see in the debug window after I've started debugging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The source is very simple:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm including the i2c_18xx_43xx.h and the 12c_common_18xx_43xx.h headers and then my source folder has the standard cr_app_config.cpp, cr_startup_lpc43xx-m0app.cpp, sysinit.c, and then I've added the i2c_18xx_43xx.c.&amp;nbsp; My main source file is "attempt.cpp" and is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;background-color:#cacaca;border:1px solid black;"&gt; &lt;PRE&gt;

#if defined (__USE_LPCOPEN)
#if defined(NO_BOARD_LIB)
#include "chip.h"
#else
#include "board.h"
#endif
#endif

#include &amp;lt;cr_section_macros.h&amp;gt; //I have the cr_section_macros.h included here, it isn't displaying on the forum page for some reason.
#include "i2c_18xx_43xx.h"

// TODO: insert other include files here

// TODO: insert other definitions and declarations here
I2C_XFER_T&amp;nbsp; tempSensor;
static uint8_t rxBuffer[256];
static uint8_t txBuffer[256];


void SetupI2C1( void ){
Chip_I2C_Init( I2C0 );//Activate I2C for R3 layout
Chip_I2C_SetClockRate( I2C0 , 100000 );//Set I2C1 to 400kHz operation "fast mode"

}

int main(void) {

#if defined (__USE_LPCOPEN)
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Read clock settings and update SystemCoreClock variable
&amp;nbsp;&amp;nbsp;&amp;nbsp; SystemCoreClockUpdate();
#if !defined(NO_BOARD_LIB)
#if defined (__MULTICORE_MASTER) || defined (__MULTICORE_NONE)
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set up and initialize all required blocks and
&amp;nbsp;&amp;nbsp;&amp;nbsp; // functions related to the board hardware
&amp;nbsp;&amp;nbsp;&amp;nbsp; Board_Init();
#endif
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set the LED to the state of "On"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Board_LED_Set(0, true);
#endif
#endif

&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: insert code here
&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t TmpAddr = 0x48;//1001000
&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t TempAddr = 0x00;
&amp;nbsp;&amp;nbsp;&amp;nbsp; txBuffer[0] = TempAddr;

&amp;nbsp;&amp;nbsp;&amp;nbsp; tempSensor.slaveAddr = TmpAddr;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tempSensor.txSz = 1;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tempSensor.rxSz = 2;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tempSensor.txBuff = txBuffer;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tempSensor.rxBuff = rxBuffer;

&amp;nbsp;&amp;nbsp;&amp;nbsp; SetupI2C1();
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Force the counter to be placed into memory
&amp;nbsp;&amp;nbsp;&amp;nbsp; volatile static int i = 0 ;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Enter an infinite loop, just incrementing a counter
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i++ ;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_I2C_MasterRead( I2C0, tempSensor.slaveAddr, tempSensor.rxBuff, tempSensor.rxSz);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEBUGOUT("%d" , rxBuffer);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0 ;
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I totally missing something?&amp;nbsp; I have the LPCxpresso43s37 connected up and the jumpers are all correct per the UM10889 document&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587847#M27845</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: SIGINT error during the beginning of debugging session?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587848#M27846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Fri Nov 20 12:47:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The m0 MUST first be booted by the m4. The M0 is held in reset until this happens. Read the user manual, the FAQ on lpc43xx and the example prog arms supplied with LPCXpresso &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587848#M27846</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: SIGINT error during the beginning of debugging session?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587849#M27847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by funkyguy4000 on Fri Nov 20 14:50:04 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is true even where the M0 project is created by the wizard?&amp;nbsp; I knew that was how it was for multi-core projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587849#M27847</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: SIGINT error during the beginning of debugging session?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587850#M27848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Fri Nov 20 15:24:55 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it is always true. That is why you can't connect and debug your application.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SIGINT-error-during-the-beginning-of-debugging-session/m-p/587850#M27848</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:26:43Z</dc:date>
    </item>
  </channel>
</rss>

