<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Dan Zarate's Groups Activities</title><link>https://community.arm.com/members/dan-zarate</link><description>Recent activity for people in Dan Zarate's group</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>Uploading file to LPC2388</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/47649/uploading-file-to-lpc2388</link><pubDate>Thu, 17 Sep 2020 00:20:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:27331a23-55db-4ec3-b291-d1b9a4877199</guid><dc:creator>Dan Zarate</dc:creator><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I am looking to upload a CSV file onto my LPC2388 board. I am currently using MDK-Lite (v5.22) with ARM compiler v5.06 (update 4, build 422). Basically, this CSV file would contain a lookup table (211x11, all unsigned char&amp;#39;s) and my program would ideally read from it.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;looked around and have read that file systems are supported on the MDK-Plus and MDK-Professional editions, specifically looking at the EFS (embedded file system) feature. I am not entirely sure if this is what I need to get the job done; nonetheless, I would like to see if this can be done via MDK-Lite. If it can&amp;#39;t be done with MDK-Lite, then I&amp;#39;ll roll with either MDK-Plus or MDK-Professional.&lt;/p&gt;
&lt;p&gt;I have also thought of using EEPROM within the LPC2388, but I quickly found out that it doesn&amp;#39;t support that. I&amp;#39;m not too well-versed in IAP flash programming but seemed it promising after going through some posts on here (I figured that storing said lookup table would not take too much space in flash). I also heard of scatter files and have not read into them much, but if that is what it needed then I guess I&amp;#39;ll do some reading on that.&lt;/p&gt;
&lt;p&gt;With all of this in mind,&amp;nbsp;could&amp;nbsp;any of you&amp;nbsp;provide some direction / options on how this can be done? I can also post this on the NXP forums if this is not the right place to ask.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;- Dan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://community.arm.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Wed, 09 Sep 2020 12:06:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c0c23511-547f-47ec-8fec-99ccbaec6520</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Semihosting Error (L6915E)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/47604/semihosting-error-l6915e</link><pubDate>Wed, 09 Sep 2020 18:05:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0d1bc3a7-d2bf-441d-83f0-51ac3f919a2e</guid><dc:creator>Dan Zarate</dc:creator><description>&lt;p&gt;Hi all!&lt;/p&gt;
&lt;p&gt;I am looking to read from a file within Keil&amp;nbsp;&amp;micro;Vision (v5.22.0.0). To be more specific, I just have a function&amp;nbsp;which loops through said file with&amp;nbsp;&lt;strong&gt;fgetc( ) &lt;/strong&gt;(it can actually just be reproduced with one call to &lt;strong&gt;fgetc( )&lt;/strong&gt; in the start of&amp;nbsp;&lt;strong&gt;main( )&lt;/strong&gt;). However, I am met with the following compiler error:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but a semihosting fgetc was linked in&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I have read through&amp;nbsp;&lt;a href="/developer/tools-software/tools/f/keil-forum/30053/error-__use_no_semihosting_swi-was-requested"&gt;this&lt;/a&gt;&amp;nbsp;post as well as other similar posts with the same error, but I could not get much from there. I have also gone through these (&lt;a href="https://www.keil.com/support/man/docs/armlib/armlib_chr1358938930366.htm"&gt;this&lt;/a&gt;, &lt;a href="https://www.keil.com/support/man/docs/armlib/armlib_chr1358938931411.htm"&gt;that&lt;/a&gt;, and&amp;nbsp;&lt;a href="https://www.keil.com/support/man/docs/armlib/armlib_chr1358938917495.htm"&gt;this&lt;/a&gt;) pages in the support guide, too. From those pages, I think I have a better understanding of what is going on and what needs to be done. Essentially, (please correct me if I&amp;#39;m wrong!)&amp;nbsp;&lt;strong&gt;fgetc( )&amp;nbsp;&lt;/strong&gt;is a semihosting function and it is contradicting with the&amp;nbsp;&lt;code&gt;&lt;span&gt;__use_no_semihosting_swi &lt;/span&gt;&lt;/code&gt;macro being imported.&lt;/p&gt;
&lt;p&gt;From the support guide pages referred above, it looks like I would need to retarget&amp;nbsp;the call to&amp;nbsp;&lt;strong&gt;fgetc( )&lt;/strong&gt; to my own implementation of it in Retarget.c. The problem is, I am not sure how to write my own implementation of&amp;nbsp;&lt;strong&gt;fgetc( )&lt;/strong&gt;&amp;nbsp;&lt;em&gt;without&lt;/em&gt; using&amp;nbsp;&lt;strong&gt;fgetc( )&lt;/strong&gt;, or any of the other semihosting functions for that matter (&lt;strong&gt;fgets( )&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;scanf( )&lt;/strong&gt;, etc.).&lt;/p&gt;
&lt;p&gt;Here are some other tidbits that may (or may not) be helpful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The said file from the beginning is in the same directory where the code is to read that file.&lt;/li&gt;
&lt;li&gt;The C compiler, as well as the assembler, linker and other parts, are on v5.06 update 4 (build 422)&lt;/li&gt;
&lt;li&gt;The MDK-Lite version is 5.22&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Any direction on this would be greatly appreciated!&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;- Dan&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>