<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.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>Forum - Recent Threads</title><link>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Wed, 15 Nov 2017 13:20:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum" /><item><title>Need help with watchdog</title><link>https://community.element14.com/thread/22497?ContentTypeID=0</link><pubDate>Sun, 10 Nov 2013 13:41:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fdda3bfe-74e9-413a-8427-dacbe50b6beb</guid><dc:creator>bose</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/22497?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/22497/need-help-with-watchdog/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hello,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I have a question regarding the watchdog timer in PSoC 4.&lt;/p&gt;&lt;p style="margin:0;"&gt;As per the documentation there are three counters:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Counter 0 &amp;amp; Counter 1 = 16bit driven by ILO 32Khz and can be cascaded&lt;/li&gt;&lt;li&gt;Counter 2 = 32bit driven by ILO 32KHz&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;"&gt;I wish to use the Counter 2 to generate a 2Second wake-up Interrupt from deep sleep for the PSoC4.&lt;/p&gt;&lt;p style="margin:0;"&gt;And Counter 1 + Counter 0 for the WDT Reset at 5Seconds.which would reset the microcontroller in case it fails to clear the counter 1 &amp;amp; counter 0.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;However no where I could find any information on the cascade scheme of the counters.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Kindly help me out on this.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Warm Regards,&lt;/p&gt;&lt;p style="margin:0;"&gt;Abhijit&lt;/p&gt;</description></item><item><title>RE: Need help with watchdog</title><link>https://community.element14.com/thread/114166?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 13:20:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cc4ae8d7-b233-43ff-b313-a2b7d254f5e0</guid><dc:creator>jagir008</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/114166?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/22497/need-help-with-watchdog/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hendrik,&lt;/p&gt;&lt;p style="margin:0;"&gt;Yes it is right &lt;span style="color:#333333;font-family:Verdana, &amp;#39;Verdana Ref&amp;#39;, Geneva, Tahoma, sans-serif;"&gt;CySysWdtWriteMatch(() is not supported for counter 2.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana, &amp;#39;Verdana Ref&amp;#39;, Geneva, Tahoma, sans-serif;"&gt;but can you roughly give an algo for cascading two timers to get &amp;gt;= 5 sec watchdog interrupt interval, Because I also want to cascade two timers to achieve &amp;gt;= 5 seconds of watchdog interrupt interval.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana, &amp;#39;Verdana Ref&amp;#39;, Geneva, Tahoma, sans-serif;"&gt;I agree with Abhijit that it is not described at any of document that in which sequence we use watchdog API to cascade two timers.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana, &amp;#39;Verdana Ref&amp;#39;, Geneva, Tahoma, sans-serif;"&gt;Can we achieve this by using counter 2 (As counter 2 has a 32-bit period)?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is there any programmable counter for counting pulse and giving signals on specific no of pulses</title><link>https://community.element14.com/thread/113780?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 08:29:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0c955211-d5fc-4010-91f7-66d5e09f1326</guid><dc:creator>jc2048</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/113780?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/31936/is-there-any-programmable-counter-for-counting-pulse-and-giving-signals-on-specific-no-of-pulses/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Not really a &amp;#39;find&amp;#39; - I just looked for something suitable in the 4000 series databook. There are all manner of interesting devices there. This one is really intended for frequency synthesizers (with a PLL like the CD4046), though there&amp;#39;s nothing to stop anyone using it for other things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>is there any programmable counter for counting pulse and giving signals on specific no of pulses</title><link>https://community.element14.com/thread/31936?ContentTypeID=0</link><pubDate>Sun, 29 Oct 2017 12:15:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ef9a5da7-5b7a-4970-8be5-8635e06cab30</guid><dc:creator>sapkotaasim</dc:creator><slash:comments>5</slash:comments><comments>https://community.element14.com/thread/31936?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/31936/is-there-any-programmable-counter-for-counting-pulse-and-giving-signals-on-specific-no-of-pulses/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;i want to make a device for counting the no of pulses and to give signals on some specific no of pulses and i am a starter and teach me without the use of ardunio&lt;/p&gt;</description></item><item><title>RE: is there any programmable counter for counting pulse and giving signals on specific no of pulses</title><link>https://community.element14.com/thread/113762?ContentTypeID=1</link><pubDate>Sun, 29 Oct 2017 19:09:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7d730e5f-5269-427b-83ba-7968876a6204</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/113762?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/31936/is-there-any-programmable-counter-for-counting-pulse-and-giving-signals-on-specific-no-of-pulses/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;That one would certainly work when the count (3 -&amp;gt; 15999) is in the range of the chip. Nice find!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is there any programmable counter for counting pulse and giving signals on specific no of pulses</title><link>https://community.element14.com/thread/113736?ContentTypeID=1</link><pubDate>Sun, 29 Oct 2017 17:40:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b36f6a3c-1a85-4b86-b8f7-58523fab28c3</guid><dc:creator>jc2048</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/113736?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/31936/is-there-any-programmable-counter-for-counting-pulse-and-giving-signals-on-specific-no-of-pulses/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Would this do the kind of thing you want?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://www.ti.com/lit/ds/symlink/cd4059a.pdf" rel="nofollow ugc noopener" target="_blank"&gt;http://www.ti.com/lit/ds/symlink/cd4059a.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is there any programmable counter for counting pulse and giving signals on specific no of pulses</title><link>https://community.element14.com/thread/113735?ContentTypeID=1</link><pubDate>Sun, 29 Oct 2017 17:33:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:577f123b-34db-4739-93e6-124357e44914</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/113735?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/31936/is-there-any-programmable-counter-for-counting-pulse-and-giving-signals-on-specific-no-of-pulses/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hi Asim,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I am not aware of a specific product to do this, but you might want to look at the Cypress Semiconductor PSOC series of processors.&amp;nbsp; They have user definable hardware logic devices like counters and lookup tables that you can connect together to do all types of pulse counting, interval measurements, logic, and a host of other circuits that are under software control if you need to do more exotic combinations.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;There are also Field Programmable Logic Array boards that can also be configured in a wide range of digital logic to solve your type of problems.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;DAB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is there any programmable counter for counting pulse and giving signals on specific no of pulses</title><link>https://community.element14.com/thread/113759?ContentTypeID=1</link><pubDate>Sun, 29 Oct 2017 14:39:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:83c4049a-7d76-4e49-8b5a-9bef2b7ab68e</guid><dc:creator>michaelkellett</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/113759?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/31936/is-there-any-programmable-counter-for-counting-pulse-and-giving-signals-on-specific-no-of-pulses/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I don&amp;#39;t know of a single chip that will do this.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;To get a sensible advice you need to tell us:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The width and rate of the pulses and the maximum and minimum numbers that will need to be counted. How will you set up the trip count ?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Once you might have thought about doing this with a load of logic chips but that would be a poor way to do it now, except in a few cases. For high speed you might use an FPGA, but for speeds up to 25MHz you would be better off with a micro processor. The missing information is needed to suggest a suitable micro.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;MK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PSoC 4 Smarter Life Design Challenge</title><link>https://community.element14.com/thread/60870?ContentTypeID=1</link><pubDate>Sat, 15 Nov 2014 02:01:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d18def82-43bd-48de-b775-fbbf793a9247</guid><dc:creator>johnbeetem</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/60870?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/22208/psoc-4-smarter-life-design-challenge/rss?ContentTypeId=0</wfw:commentRss><description>&lt;blockquote class="jive-quote"&gt;
&lt;p style="margin:0;"&gt;COMPACT wrote:&lt;/p&gt;
&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin:0;"&gt;Is there anything new on the PSoC front?&lt;/p&gt;
&lt;/blockquote&gt;&lt;p style="margin:0;"&gt;Cypress just announced Bluetooth Low Energy (BLE) for PSoC 4: &lt;a class="jive-link-external-small" href="http://www.eetimes.com/document.asp?doc_id=1324607" rel="nofollow ugc noopener" target="_blank"&gt;Article at Geek Times&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PSoC 4 Smarter Life Design Challenge</title><link>https://community.element14.com/thread/60820?ContentTypeID=1</link><pubDate>Fri, 14 Nov 2014 12:57:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f950949b-cace-4b42-99e8-1a8ad463eb0a</guid><dc:creator>COMPACT</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/60820?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/22208/psoc-4-smarter-life-design-challenge/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Is there anything new on the PSoC front?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/23725?ContentTypeID=0</link><pubDate>Tue, 21 Jan 2014 16:34:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89026d83-5ce0-4144-a7a8-0657d302e5d2</guid><dc:creator>Kilohercas</dc:creator><slash:comments>15</slash:comments><comments>https://community.element14.com/thread/23725?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hello,&lt;br /&gt;since i destroyed PSoC4 dev kit, i need to be able program my GUI controller as well as 6000lm PSoC4 controller with Keil.&lt;/p&gt;&lt;p style="margin:0;"&gt;So far so good, i was able to install keil, export project from PSoC creator to keil uvision, but i can&amp;#39;t programm it. ( i attached my project, maybe some one&amp;nbsp; you can spot potential problem ? )&lt;br /&gt;When i try to flash program, it says :&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Contents mismatch at: 80000000H !&lt;/p&gt;&lt;p style="margin:0;"&gt;Verify Failed!&lt;/p&gt;&lt;p style="margin:0;"&gt;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; &amp;quot;Cortex-M3&amp;quot;&lt;/p&gt;&lt;p style="margin:0;"&gt;i flowed all steps from Third-Party Tools User Guide.pdf, but i get same errors and code is not running.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;if i disable verify option, i get it program, but no activity on led &lt;span&gt;[View:/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/contentimage_5F00_2.png:16:16]&lt;/span&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table style="border:0;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/126723"&gt;[View:/cfs-file/__key/communityserver-discussions-components-files/111/CY8C5868LTI_2D00_LP039.rar:15:200]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="160"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/126724"&gt;[View:/cfs-file/__key/communityserver-discussions-components-files/111/Third_2D00_Party-Tools-User-Guide.pdf:15:200]&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-size:80%;"&gt;Third-Party Tools User Guide.pdf&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/180232?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 20:10:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7f52e392-0ccb-4894-9ecc-e0a9cd5427a6</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/180232?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;No problem.It&amp;#39;s good to hear we got it working. I think it might have been a USB port hang-up.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Hope the project goes well from now on. Post a picture up when you&amp;#39;re done!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;-- Mark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/180231?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 19:48:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2eefaf2a-9b39-4631-b15d-e963e4aac178</guid><dc:creator>Kilohercas</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/180231?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;no need to do that, it is working just fine now . Thank you very much for help and support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/180230?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 19:30:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:17e21696-ec30-4f32-a497-0b51c2643ea4</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/180230?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Yes,P0[0]. I thought that would be OK. Can you see that one? I can remake it you need me to.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;-- Mark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/180229?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 19:23:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5fc09c68-daf3-41c2-a2e1-d75682426046</guid><dc:creator>Kilohercas</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/180229?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;what is pin number for this project, can&amp;#39;t found it in uVision ( i mean, don&amp;#39;t know where to looks, in PSoC creator is very easy to see in )&lt;br /&gt;LED on my board is P1[2],&lt;br /&gt;ok, i found, is P0[0], and it was connected to 2.2uF Low pass filter capacitor &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/5861.contentimage_5F00_1.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/5861.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=tO0vkefJjYjc5cJBwssg0qPEMIqscAWLIp2tYh2NIWY%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;anyway, recompiled to get it working on P1[2] and yes, i have low duty cycle square wave&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/480x234/__key/communityserver-discussions-components-files/111/contentimage_5F00_177837.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/contentimage_177837.png-480x234.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=BWikImXVNEBxr5p3I%2BOrVSgaO%2BYoUAd2NnFHA4hAf8Q%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zYHMS2anKkTy55/PLytzjw==" style="max-height: 234px;max-width: 480px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;It is good to get stuff not working, so you can debug and learn how to deal with problems. But after some time problem should go away, and this is the case for me. &lt;br /&gt;Now i can start to work on my project &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/5861.contentimage_5F00_1.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/5861.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=tO0vkefJjYjc5cJBwssg0qPEMIqscAWLIp2tYh2NIWY%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;lets make it more fun :&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;void delay(int g)&lt;/p&gt;&lt;p style="margin:0;"&gt;{&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(g&amp;gt;1)&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g--;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p style="margin:0;"&gt;}&lt;/p&gt;&lt;p style="margin:0;"&gt;int a;&lt;/p&gt;&lt;p style="margin:0;"&gt;int main()&lt;/p&gt;&lt;p style="margin:0;"&gt;{&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWM_1_Start();&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWM_1_WriteCompare( 15 );&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a=0;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(;;)&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(a&amp;lt;254)&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a++;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(0xFFF);&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWM_1_WriteCompare( a );&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(a&amp;gt;1)&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a--;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(0xFFF);&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWM_1_WriteCompare( a );&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p style="margin:0;"&gt;}&lt;/p&gt;&lt;p style="margin:0;"&gt;and if i try to compile it and download code to flash, i get pulsing led , what a surprise &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/5861.contentimage_5F00_1.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/5861.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=tO0vkefJjYjc5cJBwssg0qPEMIqscAWLIp2tYh2NIWY%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/180228?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 19:16:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7b74ae8a-58d0-46f5-935e-85b42262ca5c</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/180228?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Sounds like it just needed a little kick!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I want to make sure you are really working. You have already spent too long on this! Can you try the attached project on your kit for me?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The LED should glow quite dimly because I am driving with a small duty cycle from a PWM. If you step through the code in main() you should see the LED turn on quite brightly (50%) and then go dim when I reduce the compare value for the PWM.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;-- Mark.&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table style="border:0;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/126789"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/111/Design01.cydsn.zip"&gt;community.element14.com/.../Design01.cydsn.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/180226?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 17:52:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:205793a7-50b3-4bca-b954-a852973687ae</guid><dc:creator>Kilohercas</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/180226?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;well. Since i had STLink connected, i try to run your program from post, just switched from Ulink-me to STlink, and i get same error ( i mean in uVision, not in IAR)&lt;br /&gt;But, when i switch back to Ulink me and tried to run program, it worked &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/6305.contentimage_5F00_1.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/6305.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=FTnn%2BXgtdd6P8yXByXmIgBfDo1B%2FvBVoJA6Kiy4SC4k%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;, i don&amp;#39;t know why.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="https://community.element14.com/community/6.0.3.0/images/tiny_mce3/plugins/jiveemoticons/images/spacer.gif"&gt;&lt;img loading="lazy" alt="image" class="migration-embeded-object" src="#https://www.element14.com/community/6.0.3.0/images/tiny_mce3/plugins/jiveemoticons/images/spacer.gif"  /&gt;&lt;span id="17e70cc3_ad23_4b80_bbdd_3133444a7c55"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;Now, if i remove this code line it still works, anyway, thanks for help. It looks like my problem is inverse to remaining time to exam in university, as exam gets closer, problems usually &lt;span class="short_text" lang="en"&gt;&lt;span class="hps"&gt;disappears &lt;/span&gt;&lt;/span&gt;inviting me to stop learning and go programming &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/5810.contentimage_5F00_2516.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/5810.contentimage_2516.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=rV1%2FV%2Br4jL67IIFpKpL57hbihQhhQ%2Fv%2BYmRyM42n%2Frg%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=heES4XYcBt0dSn/cCMo/FA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div dir="ltr"&gt; &lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/159029?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 17:26:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e9641924-279f-474d-98b8-835312672ec1</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/159029?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;You changed the project. I assume you are now driving the LED with a PWM. Would you attach that project please? I can check there is not a new problem on my hardware.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;-- Mark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/159027?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 17:00:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b801b303-fd26-491c-b522-3369620bf05f</guid><dc:creator>Kilohercas</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/159027?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Well, i added this line, nothing happened.&lt;br /&gt;It uses $TOOLKIT_DIR$\config\flashloader\Cypress\PSoC5LPFlashLoader_xx8.board flash loader file (attached to this post)&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;br /&gt;as uVision, IAR ARM can verify downloaded code and yes, as it turns out i have errors while uploading.&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/572x478/__key/communityserver-discussions-components-files/111/0216.contentimage_5F00_177835.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/0216.contentimage_177835.png-572x478.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=lQFyLIapir%2B9qGiA%2Fs3mzjWm9rWolKXQrEecBFTImWo%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=hgFoS3LFUuCCjhf0CHVGyg==" style="max-height: 478px;max-width: 572px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/620x468/__key/communityserver-discussions-components-files/111/8611.contentimage_5F00_177836.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/8611.contentimage_177836.png-620x468.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=14lPNUaGPowPPBVKXr%2Bbkt7YfcMY09teOspNYSscZ68%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=Wz1NYx5esjWlW5/ypPoyHQ==" style="max-height: 468px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/45210?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 16:46:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6f106a67-0731-4992-bce3-e78b2897f1e4</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/45210?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;This is what I think is happening...&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;1.We have a problem setting up the ULINK with PSoC.&lt;/p&gt;&lt;p style="margin:0;"&gt;2. The ST box is not programming all memory spaces.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;We have never tried the ST debugger with PSoC. I assume it reuses the ULINK flash loader files but it is very possible that the ECC memory is not being programmed with your HW configuration. When this happens your program looks &amp;quot;right&amp;quot; in the debugger because the code is correctly written in flash. But it does not work because the pin, in your case, has not been initialized to be a strong drive output.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Please add the following line in main(), before the loop, and see what happens in IAR.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;LED_SetDriveMode( LED_DM_STRONG );&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If the above is right then we&amp;#39;ll know that your PSoC is alive. Unfortunately,it will also point to a problem with the debugger probe setup, which I am not sure I will be able to troubleshoot, since I do not have one and no-one at Cypress has ever tried to use with our devices.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;In an hour or so I have a meeting with our programmer team - I will bring this issue up with them and see if I can get some new ideas on fixing the uVision/ULINK problem.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;-- Mark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/45205?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 16:30:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:96d7e0c2-b0a4-4e68-ab03-3b7d32d7c984</guid><dc:creator>Kilohercas</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/45205?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hello, bottom line is this. I don&amp;#39;t have SWD that can work with PSoC Creator and i need to be able to program PSoC5LP and PSoC4. Since i have Ulink-me, i try to export my project from PSoC Creator to uvision. When i connect Ulink-me i can&amp;#39;t upload program because i get verification failure, if i disable that, it looks like code is uploaded, but i don&amp;#39;t see any activity on any pin ( like led toggle or constant PWM). Same apply if i try to debug project. I can enter debugging session, step in code, but again, no activity on GPIO &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/contentimage_5F00_53.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/contentimage_53.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=281gR%2FD5vokEWrT6c%2BMQPwLo9pp3LnSNY9j90TdwNmQ%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=0numDulGLXzg23w/8So/Sw==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Ok, since i have IAR ARM (STM32F429 is programmed via IAR) so i tried to do the same, since i can export files from PSoC Creator to IAR ARM. As with uVision, i was able to compile and even upload without any errors code to internal flash, also can debug it by stepping code and it looks like processor is running, like stepping over Delay(0xFFFFFF) take some time. But again, no activity on GPIO (like led toggle or constant pwm). IAR ARM use STLink V2 programmer as my original GUI controller&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I have no idea what is wrong. That is ruff start with new platform for sure &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-discussions-components-files/111/1488.contentimage_5F00_2.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/1488.contentimage_2.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=%2FgzBVvV18ZFlgMT3IZfsmU3FAt1uKlfmjNORxPZLCoY%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=immm8yUNN4xlSuAM2SajLg==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;With PSoC4 pioneer dev kit and PSoC Creator i never had any problems, it just worked and was able to rewrite code in seconds&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/45192?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 16:20:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:509f3d4b-aaa0-459a-b75d-f78bf8847911</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/45192?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Well, this is disappointing. But I am also a little confused. You say you have the same problem with IAR but your original problem was that uVision would not program the part. I do not understand how you can run the IAR debugger and the problem is the same. Please describe both setups to me: IDE - debugger probe - PSoC device.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Have you ever programmed this PSoC device successfully? If so, how did you do that?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;-- Mark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/45184?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 09:34:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3f9c4c42-bf5a-46f6-9201-7d632eaec71b</guid><dc:creator>Kilohercas</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/45184?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hello, thanks for testing my program. I try to run it , but get same errors.&lt;br /&gt;Now comes the fun part, by following exporting guide i was able to make it work with IAR ARM, and guess what, same problem. I can flash program with no errors, debug it by steeping each line and it is working from IDE point of view. What is strange that i can&amp;#39;t see any activity on pins even with scope, i try to use other pins, but get same result.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;So now i started to think that maybe that is strange hardware problem.I am using 3.3V for all IO banks, and Vccd is unconnected but bypassed, and voltage reading is 1.8V on Vccd, same apply to Vcca, it is only bypassed to ground with 1uF capacitor.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;As you mentioned earlier, i do supply power to PSoC5LP with on-board 3.3V LDO, and i don&amp;#39;t have any problems with drivers. Also i can detect device, and i am not running debugger in simulation mode . uVision settings looks the same as in your pictures, and SWD can detect arm m3 core as you shown in pictures. I have no idea what&amp;#39;s wrong.I checked all pins under microscope, and i have connections without any shorts. Also, if i can debug program, how can it don&amp;#39;t work ? that is what boggles me the most&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;The specified item was not found.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I will try to run this code on PSoC4 and if that fails, that means i have some strange hardware non-related problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/45164?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 06:30:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:707f8dcf-349b-4848-806e-e37dbf9c96f8</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/45164?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Well,I re-targeted the design for a CY8C5868AXI-LP035 part (because that&amp;#39;s what I have on my board), picked a pin with an LED on it, rebuilt, and exported to uVision. Then I opened the project in uVision and programmed the part. The LED glows on. I ran the debugger and stepped through the code. It worked fine (your delay routine is very fast and so the LED looks permanently on).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;So I am not sure why you are having problems. One thing I fall for all the time is to remember that the ULINK does not power the board (it is easy to forget this because the usual USB cable to Cypress kits is strong enough to power the hardware). I apply power through the USB port on my 050 kit. It all works fine. If I unplug the USB cable then I get the following error when I try to download:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; Target DLL has been cancelled&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;This is not the error you reported - but I am just trying stuff out!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;So, I have now changed the device back to the LP039 part in Creator and have re-created the uVision project. It is attached. Please try it and let me know what happens.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Here are screenshots of the setup screens. Do you see anything in here that is different?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Check the part number and ROM/RAM addresses.&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/640x474/__key/communityserver-discussions-components-files/111/contentimage_5F00_177831.png"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/contentimage_177831.png-640x474.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=abD9isf4A2nlY7pLxbI%2BAkh%2B3eAbt6zc%2BLMh9bbKzA8%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=qVcISEhJvuHSL1G00YCGjA==" style="max-height: 474px;max-width: 640px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Check you are set up for a ULINK2/ME.&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/640x474/__key/communityserver-discussions-components-files/111/contentimage_5F00_177832.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/contentimage_177832.png-640x474.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=N8jrnEf0c%2FhDWV9I7UynkIcsGd%2FJXc0yw0Q9IodlS0g%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=++BrnWpmcYh4Cq8TRB+UQQ==" style="max-height: 474px;max-width: 640px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Is the RAM for algorithm correct?&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/637x405/__key/communityserver-discussions-components-files/111/contentimage_5F00_177833.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/contentimage_177833.png-637x405.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=aacKR%2BTF7QEHwPIp1opMMfgBVJvNnBi3A9zp4KEMrNM%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=HYehotpgLe3Rr5seL02fJw==" style="max-height: 405px;max-width: 637px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Can you see the device?&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/637x405/__key/communityserver-discussions-components-files/111/contentimage_5F00_177834.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/discussions/components/files/111/contentimage_177834.png-637x405.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=BBPrDK74V5hmUa6jrfAmGMFtEzdUfGBr7xdEpvZoC80%3D&amp;amp;se=2026-06-01T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=GX3HunfiHNrR/Ymzdtz7Uw==" style="max-height: 405px;max-width: 637px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If you still have problems with the attached project then I suspect the problem may be with your uVision driver setup.&amp;nbsp; Let me know what happens and we&amp;#39;ll poke at that tomorrow.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;-- Mark.&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table style="border:0;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/126755"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/111/CY8C5868LTI_2D00_LP039.zip"&gt;community.element14.com/.../CY8C5868LTI_2D00_LP039.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil uVision and PSoC5LP</title><link>https://community.element14.com/thread/45161?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2014 23:15:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a2c9aadc-d99a-44d0-887f-4d73e8e4dab7</guid><dc:creator>Kilohercas</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/45161?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smarter-life/f/forum/23725/keil-uvision-and-psoc5lp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;It is for my GUI controller, and it is PSoC5lp as name of project. Also I used wrong pin, it should be GPIO with xres capability for led, but none the less, it doesn&amp;#39;t work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>