<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Thingy52 debugging under SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33599/thingy52-debugging-under-ses</link><description>I am new to Arm and Nordic devices and I am trying to port the Thingy52 firmware to SES so we can add some additional sensors. 
 I have got the Thingy52 firmware to compile under SES and I have attempted to run it using an external jlink. I get the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Dec 2020 13:23:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33599/thingy52-debugging-under-ses" /><item><title>RE: Thingy52 debugging under SES</title><link>https://devzone.nordicsemi.com/thread/284335?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 13:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ba02cf9-8af4-4bc0-9c96-74ed6f2e4d2d</guid><dc:creator>Pratyush sethi</dc:creator><description>&lt;p&gt;hey jui,&lt;/p&gt;
&lt;p&gt;Thanks for the ses zip. when i uploaded the code thingy board is in continuous DFU mode. i can&amp;#39;t able to come come back. Can you please help me out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy52 debugging under SES</title><link>https://devzone.nordicsemi.com/thread/129317?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 10:26:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db29c4d-692a-4126-a1fe-6cbaa27381a0</guid><dc:creator>Tom Allen</dc:creator><description>&lt;p&gt;Thanks Rick!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That worked perfectly. The log output sample is below and all looks to be working&lt;/p&gt;
&lt;p&gt;drv_ext_light :DEBUG:Timer handler off-&amp;gt;on led_id: 1 osc-&amp;gt;on awake for 1541 ms &lt;br /&gt;mdrv_ext_light :DEBUG:m_ioext_osc_status_change, LED ID: 1, old status: 2, new status 1 &lt;br /&gt;mdrv_ext_light :DEBUG:Timer handler on-&amp;gt;off led_id: 1 osc-&amp;gt;off sleep for 3500 ms &lt;br /&gt;mdrv_ext_light :DEBUG:m_ioext_osc_status_change, LED ID: 1, old status: 1, new status 2 &lt;br /&gt;mm_batt_meas :DEBUG:soc_vector_element 100, voltage 4100, SoC 91&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy52 debugging under SES</title><link>https://devzone.nordicsemi.com/thread/129203?ContentTypeID=1</link><pubDate>Sat, 21 Apr 2018 03:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdcd28de-dbd8-4500-adc0-3dd3d9f94722</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;margin-top:0px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;Hello Tom Allen,&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;I have a Thingy SES workspace, attached in the enclosure.&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;1.&amp;nbsp;please install the SES nRF Package, we can find it in&amp;nbsp; [Tools] - &amp;gt; Package Manager -&amp;gt; search and install the &amp;ldquo;nRF CPU Support Package&amp;rdquo;.&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;2. Please check the enclosure, and decompress the ses.zip and place it under&amp;nbsp;&amp;quot;Nordic-Thingy52-FW\project\pca20020_s132&amp;quot;&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;Click the workspace which inside the &amp;quot;ses&amp;quot;, it should be possible to compile and run out of box.&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0827.ses.zip"&gt;devzone.nordicsemi.com/.../0827.ses.zip&lt;/a&gt;&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;Hope this can do help :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy52 debugging under SES</title><link>https://devzone.nordicsemi.com/thread/129166?ContentTypeID=1</link><pubDate>Fri, 20 Apr 2018 13:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2f6f94a-e633-4520-bb44-35e3f384ed1d</guid><dc:creator>Tom Allen</dc:creator><description>&lt;p&gt;I solved this by changing the section placement macro in project options to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FLASH_START=0x1F000&lt;/p&gt;
&lt;p&gt;RAM_START=0x20004170&lt;/p&gt;
&lt;p&gt;I can now get the debugger running with the following output&lt;/p&gt;
&lt;p&gt;[0mmain :INFO:[1;32m===== Thingy started! =====&lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:Initialized &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:Light off &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:m_ioext_osc_status_change, LED ID: 0, old status: 0, new status 1 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 754, code 7 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 858, code 7 &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:Light off &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:m_ioext_osc_status_change, LED ID: 1, old status: 0, new status 1 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 754, code 7 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 858, code 7 &lt;br /&gt;[0m[0mm_env :INFO:Init: &lt;br /&gt;[0m[0mm_motion :INFO:Init &lt;br /&gt;[0m[0mm_sound :INFO:Sound_init &lt;br /&gt;[0m[0mm_batt_meas :DEBUG:Init &lt;br /&gt;[0m[0mSDH:DEBUG:RAM start at 0x20004170.&lt;br /&gt;[0m[1;33mm_ble :WARNING:Too few random bytes available. Trying again &lt;br /&gt;[0m[1;33mm_ble :WARNING:Too few random bytes available. Trying again &lt;br /&gt;[0m[1;33mm_ble :WARNING:Too few random bytes available. Trying again &lt;br /&gt;[0m[0mm_ble :INFO:Available random bytes: 23 &lt;br /&gt;[0m[0mm_ble :INFO:Random value (hex): [0m2x[0m2x[0m2x[0m2x[0m&lt;br /&gt;[0m[0mm_ble_flash :INFO:Initialization&lt;br /&gt;[0m[0mm_ble_flash :INFO:garbage collect success&lt;br /&gt;[0m[0mm_ble_flash :INFO:Loading configuration&lt;br /&gt;[0m[0mm_ble :INFO:[1;32mm_ble: Current FW: v255.255.255 &lt;br /&gt;[0m[0mm_env_flash :INFO:Initialization&lt;br /&gt;[0m[0mm_env_flash :INFO:Loading configuration&lt;br /&gt;[0m[0mm_env_flash :DEBUG:Loading baseline&lt;br /&gt;[0m[0mm_env :INFO:Init: ble_tes_init &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:Light off &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:m_ioext_osc_status_change, LED ID: 0, old status: 1, new status 1 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 754, code 7 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 858, code 7 &lt;br /&gt;[0m[0mm_motion_flash:DEBUG:Initialization&lt;br /&gt;[0m[0mm_motion_flash:DEBUG:Loading configuration&lt;br /&gt;[0m[0mm_motion :INFO:motion_service_init: ble_tms_init &lt;br /&gt;[0m[0mm_ui_flash :INFO:Initialization&lt;br /&gt;[0m[0mm_ui_flash :INFO:Loading configuration&lt;br /&gt;[0m[0mm_sound :INFO:sound_service_init: ble_tss_init &lt;br /&gt;[0m[0mm_batt_meas :DEBUG:battery_service_init: ble_bas_init &lt;br /&gt; [0m[0mm_ble :INFO:on_adv_evt: BLE_ADV_EVT_FAST&lt;br /&gt;[0mMAC addr-&amp;gt; 2x:2x:2x:2x:2x:2x &lt;br /&gt;[0m[0mm_ble :INFO:nfc string: 2x:2x:2x:2x:2x:2x 2x2x2x2x &lt;br /&gt;[0m[0mdrv_nfc :INFO:NFC total message size 256 bytes &lt;br /&gt;[0m[0mdrv_nfc :INFO:NFC used message size 117 bytes &lt;br /&gt;[0m[0madv_beacon_...:INFO:app_beacon_init:&lt;br /&gt;[0m[0madv_beacon_...:INFO:app_beacon_start:&lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:Light off &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:m_ioext_osc_status_change, LED ID: 1, old status: 1, new status 1 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 754, code 7 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 858, code 7 &lt;br /&gt;[0m[1;33mm_ui :WARNING:Err code returned in file: C:\Nordic\thingy52\source\modules\m_ui.c, line: 154, code 7 &lt;br /&gt;[0m[1;33mm_ui :WARNING:Err code returned in file: C:\Nordic\thingy52\source\modules\m_ui.c, line: 398, code 7 &lt;br /&gt;[0m[1;31mmain :ERROR: id = 16385, pc = 0, file = C:\Nordic\thingy52\project\pca20020_s132\main.c, line number: 307, error code = 7 = NRF_ERROR_INVALID_PARAM &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:Light off &lt;br /&gt;[0m[0mdrv_ext_light :DEBUG:m_ioext_osc_status_change, LED ID: 1, old status: 1, new status 1 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 754, code 7 &lt;br /&gt;[0m[1;33mdrv_ext_light :WARNING:Err code returned in file: C:\Nordic\thingy52\source\drivers\drv_ext_light.c, line: 858, code 7 &lt;br /&gt;[0m[1;33mm_ui :WARNING:Err code returned in file: C:\Nordic\thingy52\source\modules\m_ui.c, line: 154, code 7 &lt;br /&gt;[0m[1;33mm_ui :WARNING:Err code returned in file: C:\Nordic\thingy52\source\modules\m_ui.c, line: 403, code 7 &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>