<?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: What does it mean: No source available for &amp;quot; 0x4006C000 (0x4006C000)() &amp;quot; in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180881#M2706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ulf,&lt;BR /&gt;The address comes from:&lt;BR /&gt;#define UART2_BASE_PTR&amp;nbsp; ((UART_MemMapPtr)0x4006C000u)&lt;BR /&gt;in MK60N512VMD100.h.&lt;BR /&gt;&lt;BR /&gt;Check and add the bsp and psp directories to debugger Source Lookup Path:&lt;BR /&gt;&lt;BR /&gt;Mouse right click at project -&amp;gt;&lt;BR /&gt;Debug as -&amp;gt; Debug Configurations -&amp;gt;&lt;BR /&gt;Select project at left&amp;nbsp; under the "Codewarrior Download"&lt;BR /&gt;Select at right "Source" (title at window: Source Lookup Path)&lt;BR /&gt;Click button "Add"&lt;BR /&gt;Select "Project"&lt;BR /&gt;Mark bsp and psp projects&lt;BR /&gt;Then OK and Apply&lt;BR /&gt;&lt;BR /&gt;Now the debugger searches those directories to find source files.&lt;BR /&gt;(Hopefully this helps, and above steps are correct.&lt;BR /&gt;Made something like that at my work PC at office)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~Mark&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2011 03:02:13 GMT</pubDate>
    <dc:creator>MarkP_</dc:creator>
    <dc:date>2011-11-09T03:02:13Z</dc:date>
    <item>
      <title>What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180880#M2705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ve a strange behaviour with my MQX project under CW 10.1&lt;/P&gt;&lt;P&gt;I bulid my project without problems. After that I turn the debug button and the Launching happens without error message. But at the End of Launching there s a message that there s no source available for " 0x4006C000 (0x4006C000)() "&lt;/P&gt;&lt;P&gt;I don t know what this means cause&amp;nbsp;I don t use such a file.&lt;/P&gt;&lt;P&gt;The result of this message is, that I cannot debug my program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And very stange: When I insert or delete some&amp;nbsp;instructions&amp;nbsp; the message dissolves, but comes back when I insert or delete some other instructions. So I cannot see any correlation between the message and my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know the meaning of the message and what I can do against it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 23:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180880#M2705</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2011-11-08T23:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180881#M2706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ulf,&lt;BR /&gt;The address comes from:&lt;BR /&gt;#define UART2_BASE_PTR&amp;nbsp; ((UART_MemMapPtr)0x4006C000u)&lt;BR /&gt;in MK60N512VMD100.h.&lt;BR /&gt;&lt;BR /&gt;Check and add the bsp and psp directories to debugger Source Lookup Path:&lt;BR /&gt;&lt;BR /&gt;Mouse right click at project -&amp;gt;&lt;BR /&gt;Debug as -&amp;gt; Debug Configurations -&amp;gt;&lt;BR /&gt;Select project at left&amp;nbsp; under the "Codewarrior Download"&lt;BR /&gt;Select at right "Source" (title at window: Source Lookup Path)&lt;BR /&gt;Click button "Add"&lt;BR /&gt;Select "Project"&lt;BR /&gt;Mark bsp and psp projects&lt;BR /&gt;Then OK and Apply&lt;BR /&gt;&lt;BR /&gt;Now the debugger searches those directories to find source files.&lt;BR /&gt;(Hopefully this helps, and above steps are correct.&lt;BR /&gt;Made something like that at my work PC at office)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~Mark&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 03:02:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180881#M2706</guid>
      <dc:creator>MarkP_</dc:creator>
      <dc:date>2011-11-09T03:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180882#M2707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One correction, I have added the whole Freescale directory, see attached file.&lt;/P&gt;&lt;P&gt;~Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 14:13:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180882#M2707</guid>
      <dc:creator>MarkP_</dc:creator>
      <dc:date>2011-11-09T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180883#M2708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Mark, for your answer.&lt;/P&gt;&lt;P&gt;I tried it, but it has no effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added to pictures. The first one shows the state with the no_source_available message the second one without it.&lt;/P&gt;&lt;P&gt;The difference in code between the 2 pictures is that there s an additionaly&amp;nbsp;dummy&amp;nbsp;&amp;nbsp;instruction without any effect in the code that leads to the source available picture which is uncommended in the no_source_available situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It s very strange cause little changes in my code changes the state from the no_source_available state to the source_available and vis a vis, so it is nearly impossible to program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see at the pictures, not only the source_available situation changes. The tasks and their names changes without any reason, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, the Resume Button in the no_source_available state isn t dectivated, but when I use it, I get more no_source_available messages for 0x00001340, 0x000018BE and so on. And I can see that my program doesn t behave as it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 16:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180883#M2708</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2011-11-09T16:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180884#M2709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the software has crashed, stack overflow etc.&lt;/P&gt;&lt;P&gt;On the debug-window there should only be code addresses.&lt;/P&gt;&lt;P&gt;~Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 19:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180884#M2709</guid>
      <dc:creator>MarkP_</dc:creator>
      <dc:date>2011-11-09T19:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180885#M2710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi UB39,&lt;/P&gt;&lt;P&gt;Can you post the code example?&lt;/P&gt;&lt;P&gt;Does seem more like a stack corruption but would be good to see what the instructions are you turn on and off.&lt;/P&gt;&lt;P&gt;Can you set the debugger to not run to main (i.e. set it up to start with first instruction rather than run to main)?&amp;nbsp; Then you might step upto the bad code or break just before it to inspect the system.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 05:41:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180885#M2710</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2011-11-10T05:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180886#M2711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see the 2 code fracments that causes the different behaviour. As you can see, the only difference is that&amp;nbsp;&amp;nbsp;I increase the counter in the eror free case, what I don t do in the errornous case. But the error happens before I reach my main and also this code fracment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I start to follow David´s hint,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed my entry point and started&amp;nbsp;to step at the beginning. That s very interesting.&lt;/P&gt;&lt;P&gt;First of all the following Assembler Code is executed:&lt;/P&gt;&lt;P&gt;__boot:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mrs r0, MSP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msr PSP, r0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; switch to proccess stack (PSP)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mrs r0, CONTROL&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; orr r0, r0, #2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msr CONTROL, r0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b __iar_program_start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That s very interesting cause I don t use IAR but CW 10.1 and I followed all getting started instructions.&lt;/P&gt;&lt;P&gt;After executing the branch I got the following message (either in the error free and&amp;nbsp;the errornous state and in a MQX example):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't find a source file at "D:\workspace\ARM_CORTEXM\ARM_CortexM_Component\ewl\EWL_Runtime\Runtime_ARM\Source\startup.c"&lt;BR /&gt;Locate the file or edit the source lookup path to include its location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That s strange, cause that path doesn t exist and I cannot find any location where I can specify the path to a startup.c file and the path isn t specified at the project properties path and symbol menu, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cause I got the message in every case I step further on (it s still possible), but I got the message several times and the following message once:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't find a source file at "D:\workspace\ARM_CORTEXM\ARM_CortexM_Component\ewl\EWL_Runtime\Runtime_ARM\Source\__arm_eabi_init.c"&lt;BR /&gt;Locate the file or edit the source lookup path to include its location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I step further on. First I reach this Assembler code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;__iar_program_start:&lt;BR /&gt;1fff8f00:&amp;nbsp;&amp;nbsp; ldr r3,[pc,#0x4]&lt;BR /&gt;1fff8f04:&amp;nbsp;&amp;nbsp; bx r3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I jump to this Assmebler Code:&lt;/P&gt;&lt;P&gt;__thumb_startup:&lt;BR /&gt;1fff8f0c:&amp;nbsp;&amp;nbsp; bl __init_registers (0x1fff8ec8); 0x1fff8ec8&lt;BR /&gt;1fff8f10:&amp;nbsp;&amp;nbsp; bl __init_hardware (0x1fff6cac); 0x1fff6cac&lt;BR /&gt;1fff8f14:&amp;nbsp;&amp;nbsp; ldr r0,[pc,#0x3a]&lt;BR /&gt;1fff8f18:&amp;nbsp;&amp;nbsp; cmp r0,#0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And her s the diffrence between the error free and the errornous code.In the error free case I step over the 2 branches at the beginning of _thumb start, at the errornous case I take the second jump (bl __init_hardware (0x1fff6cac); 0x1fff6cac) and jump to a position 4006c000:&amp;nbsp;&amp;nbsp; andeq r0,r0,r0,lsl #8&lt;/P&gt;&lt;P&gt;which causes the message&lt;/P&gt;&lt;P&gt;No source available for " 0x4006C000 (0x4006C000)()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very starnge, that I jump to 4006c000 cause the assembler looks like a jump to 0x1fff6cac&lt;/P&gt;&lt;P&gt;And very strange that the different jump behavior between the error free and the errornous case comes from a useless instruction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I have several code fracments that causes the same effect. So I have several working places where I cannot program the code I want because of this strange effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you can help me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 18:04:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180886#M2711</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2011-11-10T18:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180887#M2712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find a way to import the startup.c file. After I did this, all strange behaviour disappears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankk you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ulf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180887#M2712</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2011-11-10T20:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean: No source available for " 0x4006C000 (0x4006C000)() "</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180888#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem.&lt;/P&gt;&lt;P&gt;Can you give me the steps to fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 19:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/What-does-it-mean-No-source-available-for-quot-0x4006C000/m-p/180888#M2713</guid>
      <dc:creator>nicho</dc:creator>
      <dc:date>2012-06-18T19:06:10Z</dc:date>
    </item>
  </channel>
</rss>

