<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://e2e.ti.com/utility/FeedStylesheets/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/"><channel><title>Hercules™ Safety Microcontrollers Forum - Recent Threads</title><link>http://e2e.ti.com/support/microcontrollers/hercules/f/312.aspx</link><description>Enter the online technical support community for the TMS570 &amp;amp; TMS470M Microcontrollers.</description><dc:language>en-US</dc:language><generator>6.x Production</generator><item><title>Accessing DMA working registers - Current Transfer Count Register (CTCOUNT)</title><link>http://e2e.ti.com/thread/266109.aspx</link><pubDate>Mon, 20 May 2013 21:26:39 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:a55bf549-80b9-4e7e-b81b-f4cae9d87519</guid><dc:creator>J Joson</dc:creator><slash:comments>2</slash:comments><comments>http://e2e.ti.com/thread/266109.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/266109/rss.aspx</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Times New Roman;"&gt;Hello, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Times New Roman;"&gt;I am trying to acquire a &amp;#39;lot&amp;#39; of data with 570LS1227. DMA is triggered in hw to transfer a 16 element burst every 3 us. I want to avoid any interrupts and I allocated a 1K deep buffer for the data. Instead of waiting for a periodic interrupt (HBC/BTC) I would like to poll DMA&amp;#39;s working register to process any new data collected in the background loop. But none of the working registers are updated during/after the transfer! There is only one active DMA channel in the system during this test. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Times New Roman;"&gt;Is there any trick to&amp;nbsp;update the active working registers?&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Times New Roman;"&gt;Thanks,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:Times New Roman;"&gt;Joe.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>FreeRTOS + RM48 HDK</title><link>http://e2e.ti.com/thread/265289.aspx</link><pubDate>Thu, 16 May 2013 05:37:25 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:fe517a81-b0e8-451d-bd60-ab63c76686a4</guid><dc:creator>Jay Khandhar</dc:creator><slash:comments>6</slash:comments><comments>http://e2e.ti.com/thread/265289.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265289/rss.aspx</wfw:commentRss><description>&lt;p&gt;I am trying to run FreeRTOS on the RM48HDK. I am following the help file named &amp;nbsp;example_freertosblinky.c . But the LED does not seem to blink.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;First I create a empty project in Code Composer Studio. I select the variant to be RM48L950, and connection as Texas Instruments XDS100v2 USB Emulator. I leave the other settings to their default fields.&lt;/p&gt;
&lt;p&gt;Then in HALCOGEN, I select &amp;nbsp;the device as RM48L950ZWT_FREERTOS. I follow the exact same steps as mentioned in the help file, but just a small change in VIM RAM column, instead of of vPreemptiveTick , I have used vPortPreemptiveTick. The former &amp;nbsp;gave me linking errors.&lt;/p&gt;
&lt;p&gt;Also, I was getting a error for all the header files included. The error stated that the source files cannot be found. I just added this in all the #include statements to remove this error.&lt;/p&gt;
&lt;p&gt;#include &amp;quot;../include/file_name.h&amp;quot; instead of just #include &amp;quot;file_name.h&amp;quot;.&lt;/p&gt;
&lt;p&gt;That got rid of the compile and linking errors and I was able to generate the executable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I load the .out file on the board using nowFlashWin.&lt;/p&gt;
&lt;p&gt;I am attaching my workspace here. If somebody can tell me where am I going wrong. Are there any project properties to be changed in Code Composer Studio?&lt;/p&gt;
&lt;p&gt;It would be great if anybody could share their working FreeRTOS working directory for the RM48 HDK it would be great.&lt;/p&gt;
&lt;p&gt;Here is my FreeRTOS workspace&lt;/p&gt;
&lt;p&gt;&lt;a href="http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265289.aspx"&gt;(Please visit the site to view this file)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>problems using TMS570LS3117 with Keil with RTX kernel</title><link>http://e2e.ti.com/thread/265917.aspx</link><pubDate>Mon, 20 May 2013 07:00:48 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:15de33c0-f606-4c8a-9cdc-ca5bce448a1d</guid><dc:creator>Somnus Wang</dc:creator><slash:comments>4</slash:comments><comments>http://e2e.ti.com/thread/265917.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265917/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello, I&amp;#39;m using TMS570LS3117 demo board with Keil with RTX kernel. I created a simple project in which I created two tasks.&lt;/p&gt;
&lt;p&gt;Then I downloaded this programand and run it. Keil MDK shows that the os_idle_demon task has an error of stack overflow and the program runs out of control.&lt;/p&gt;
&lt;p&gt;My MDK version is 4.23 and I used startup_TMS570LS.s provided by Keil. I&amp;#39;m on line waiting for someone help me solving this problem. Hoping for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>FLASH Memory Write/Erase Cycles</title><link>http://e2e.ti.com/thread/266110.aspx</link><pubDate>Mon, 20 May 2013 21:29:46 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:85171d17-6fa9-4c1c-9dbb-dacbd46075ce</guid><dc:creator>David Rodriguez Rodriguez</dc:creator><slash:comments>1</slash:comments><comments>http://e2e.ti.com/thread/266110.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/266110/rss.aspx</wfw:commentRss><description>&lt;p&gt;I am using the microcontroller TMS570LS3137 and F021 API (version -&amp;gt; 1.51) to perform read and write operations on flash memory.&lt;/p&gt;
&lt;p&gt;I need to know what would happen if I try to write in Flash memory (program or data Flash)&amp;nbsp;when their write cycles are over.&lt;/p&gt;
&lt;p&gt;What would be the return value of the function Fapi_checkFsmForReady () or what would happen if Fapi_issueProgrammingCommand(&amp;hellip;) function is called when write cycles are over during writing process?&lt;/p&gt;
&lt;p&gt;I would appreciate so much if someone can help me, please.&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;Regards&amp;hellip;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ESM Group 3 error</title><link>http://e2e.ti.com/thread/265410.aspx</link><pubDate>Thu, 16 May 2013 13:16:06 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:6b4628c9-204a-4f3c-889f-7ec83c15b06b</guid><dc:creator>Alan Thieman</dc:creator><slash:comments>10</slash:comments><comments>http://e2e.ti.com/thread/265410.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265410/rss.aspx</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-size:12px;"&gt;I have an application that uses the &lt;/span&gt;&lt;span style="font-size:12px;"&gt;&amp;nbsp;TMS570LS3137 processor. The&lt;/span&gt;&lt;span style="font-size:12px;"&gt;&amp;nbsp;HET 1 module &lt;/span&gt;&lt;span style="font-size:12px;"&gt;is used&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:12px;"&gt;to produce several PWMs The HET2 module also produces a PWM at a different frequency. The ADCs are triggered by RTI 0 interrupt. I recently changed the main timing loop interrupt. It used to be triggered by RTI 1. Now I am having the HET module trigger the main CPU timing loop by having the HET &amp;quot;CNT&amp;quot; instruction trigger the interrupt; I am no longer using (RTI 1).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This all seems to work, but now I am getting&amp;nbsp;ESM group3 errors during power-up.&lt;/p&gt;
&lt;p&gt;Can you give a suggestion what I should look for to fix this error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>TPS65381 Wake Up</title><link>http://e2e.ti.com/thread/266087.aspx</link><pubDate>Mon, 20 May 2013 19:34:54 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:8081c484-df48-4a0c-b31b-26f34a7ca89c</guid><dc:creator>Rustin Schroeder</dc:creator><slash:comments>3</slash:comments><comments>http://e2e.ti.com/thread/266087.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/266087/rss.aspx</wfw:commentRss><description>&lt;p&gt;Is there any method on the TPS65381-Q1 for controlling whether or not the PMIC can be woken up by the CANWU pin (e.g. register setting, etc.)?&amp;nbsp; From what I&amp;rsquo;ve seen in the datasheet, it looks like it is always going to wake up from either source.&amp;nbsp; We have CAN transceivers on our design and intend to have the option of waking the system via CAN wake-up, but would like the option of whether or not it is enforced.&amp;nbsp; Can this be done in the TPS65381-Q1 or must there be some external mechanism for controlling it?&amp;nbsp; If external, any ideas on how to implement?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>how received all dcan message identifier number from one message box or whitout message boxs.</title><link>http://e2e.ti.com/thread/265577.aspx</link><pubDate>Fri, 17 May 2013 06:51:36 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:9a7f248c-56e3-4276-ab50-4dbdcdfbd624</guid><dc:creator>Halil Ibrahim</dc:creator><slash:comments>3</slash:comments><comments>http://e2e.ti.com/thread/265577.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265577/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want to receieved 43 can message with tms570LS31xhdk. I dont want to using all message box.&amp;nbsp;how received all dcan message identifier number from one message box or whitout message boxs.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>What should be the value of ATCMRW Bit in Secondary Auxiliary Control Register of Cortex-R4 Core?</title><link>http://e2e.ti.com/thread/266019.aspx</link><pubDate>Mon, 20 May 2013 14:27:27 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:d3f7a0cb-3a4c-4053-868e-fe9f3902650f</guid><dc:creator>Pashan None</dc:creator><slash:comments>1</slash:comments><comments>http://e2e.ti.com/thread/266019.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/266019/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello Support,&lt;/p&gt;
&lt;p&gt;I find that BTCMRW Bit of Secondary Auxiliary Control register is mentioned in TRM for ECC Check within BTCM Port [RAM] as shown below in the Picture.&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find anything similar about ATCMRW Bit, even though it is also 64-Bit ECC.&lt;/p&gt;
&lt;p&gt;Does this mean ATCMRW Bit is DONT&amp;#39;CARE for all the use cases, especially during Flash Programming?&lt;/p&gt;
&lt;p&gt;We need to&amp;nbsp;enable run-time&amp;nbsp;ECC Check for ATCM Port also.&lt;/p&gt;
&lt;p&gt;Any infor related to ATCMRW Bit setting will help us understanding it better.&lt;/p&gt;
&lt;p&gt;Either TMS570LS3137 or TMS570LS0432 is fine.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;br /&gt;Regards&lt;br /&gt;Pashan&lt;/p&gt;
&lt;p&gt;&lt;a href="http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/312/5353.ATCMRW_5F00_Bit0.jpg"&gt;&lt;img border="0" alt=" " src="http://e2e.ti.com/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/312/5353.ATCMRW_5F00_Bit0.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RM48L952 stm problem</title><link>http://e2e.ti.com/thread/264472.aspx</link><pubDate>Mon, 13 May 2013 10:34:34 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:a7f0bb73-634f-46d1-b776-36385f711e24</guid><dc:creator>Peter Begella</dc:creator><slash:comments>3</slash:comments><comments>http://e2e.ti.com/thread/264472.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/264472/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not know whether this is a known bug or not, but I could not found the issue in the errata. We are using RM48 for one of our projects and we found something interesting.&lt;br /&gt;Circumstances:&lt;/p&gt;
&lt;p&gt;- The code is running from the internal flash and we are using an external SDRAM through EMIF. .bss and .data are located here.&lt;br /&gt;- 1 timer and an USB interrupt is used. ( USB host MST )&lt;br /&gt;- Most of the time the problem&amp;nbsp;occurs&amp;nbsp;during an USB read ( Reading data from MST )&lt;br /&gt;- The PLL is running on 200MHz and the VCLK is 100MHz&lt;br /&gt;- We have a small OS which is running on several system&amp;nbsp;without&amp;nbsp;any problem. &lt;br /&gt;- We are using CCS 5.2 and compiler version 4.9.1&lt;/p&gt;
&lt;p&gt;The OS context switch part looks like this:&lt;/p&gt;
&lt;pre&gt;&lt;span class="cL removed"&gt;&lt;span class="nocode dc"&gt;-&lt;/span&gt;&lt;code&gt; stmdb sp!,{r4-r11,lr} ; save registers&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="cL removed"&gt;&lt;code&gt;...&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="nocode dc"&gt;-&lt;/span&gt;&lt;code&gt; ldmia sp!,{r4-r11,pc} ; restore registers&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see we store r4-r11 and r14 on the stack using STM instruction but sometimes we can see that the last two registers are swapped, so instead of seeing r4-r10, r11, lr we can see r4-r10, lr, r11 on the stack, as a consequence when registers are read back from the stack (which is done by LDM for r4-r11,pc) the system causes a prefetch abort as r11 will be placed to PC.&lt;/p&gt;
&lt;p&gt;After a short analysis we have found that if we split STM to 2-3 groups (e.g.: STMDB sp!,{r11,lr); STMDB sp!,{r8-r10}; STMDB sp!,{r4-r7}) then it works perfectly and the problem never occurs. Strangely none of the compiled codes by CodeComposer uses STM for more than 6 registers in one go. Is it possible that using more than 6 register could cause some trouble?&lt;br /&gt;I tried to add a debug code to catch the problem:&lt;/p&gt;
&lt;pre&gt;test_smtdb:&lt;br /&gt; .asmfunc&lt;/pre&gt;
&lt;pre&gt;start:&lt;br /&gt; mov sp,#0x80000000&lt;br /&gt; orr sp,sp,#0x6000&lt;br /&gt; mov r0,#1&lt;br /&gt; mov r1,#2&lt;br /&gt; mov r3,#4&lt;br /&gt; mov r4,#5&lt;br /&gt; mov r5,#6&lt;br /&gt; mov r6,#7&lt;br /&gt; mov r7,#8&lt;br /&gt; mov r8,#9&lt;br /&gt; mov r9,#10&lt;br /&gt; mov r10,#11&lt;br /&gt; mov r11,#12&lt;br /&gt; mov r12,#13&lt;br /&gt;start2:&lt;br /&gt; mov r2,#3&lt;br /&gt; stmdb sp!,{r0-r12,lr} ; save registers&lt;br /&gt; mov r0,#0&lt;br /&gt; mov r1,#0&lt;br /&gt; mov r2,#0&lt;br /&gt; mov r3,#0&lt;br /&gt; mov r4,#0&lt;br /&gt; mov r5,#0&lt;br /&gt; mov r6,#0&lt;br /&gt; mov r7,#0&lt;br /&gt; mov r8,#0&lt;br /&gt; mov r9,#0&lt;br /&gt; mov r10,#0&lt;br /&gt; mov r11,#0&lt;br /&gt; mov r12,#0&lt;br /&gt; ldmia sp!,{r0-r12,lr} ; restore registers&lt;br /&gt; cmp r0,#1&lt;br /&gt; bne error_func&lt;br /&gt; cmp r1,#2&lt;br /&gt; bne error_func&lt;br /&gt; cmp r2,#3&lt;br /&gt; bne error_func&lt;br /&gt; cmp r3,#4&lt;br /&gt; bne error_func&lt;br /&gt; cmp r4,#5&lt;br /&gt; bne error_func&lt;br /&gt; cmp r5,#6&lt;br /&gt; bne error_func&lt;br /&gt; cmp r6,#7&lt;br /&gt; bne error_func&lt;br /&gt; cmp r7,#8&lt;br /&gt; bne error_func&lt;br /&gt; cmp r8,#9&lt;br /&gt; bne error_func&lt;br /&gt; cmp r9,#10&lt;br /&gt; bne error_func&lt;br /&gt; cmp r10,#11&lt;br /&gt; bne error_func&lt;br /&gt; cmp r11,#12&lt;br /&gt; bne error_func&lt;br /&gt; cmp r12,#13&lt;br /&gt; bne error_func&lt;br /&gt; mov r2,#0x80000000&lt;br /&gt; orr r2,r2,#0x2100&lt;br /&gt; cmp sp,r2&lt;br /&gt; blt start&lt;br /&gt; b start2&lt;br /&gt; mov pc,lr&lt;/pre&gt;
&lt;p&gt;After startup this code is executed only. In this case there is no USB interrupt just the timer interrupt, but no prefetch&amp;nbsp;problem&amp;nbsp;occurs.&lt;br /&gt;&lt;br /&gt;Do you have any suggestions what and where to check?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance!&lt;br /&gt;&lt;br /&gt;Kind Regards,&lt;br /&gt;Peter Begella&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;Update:&lt;/p&gt;
&lt;p&gt;- Moving .bss section into the internal RAM solves the problem or at least hides it. But this is not an option for us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>JTAG error: Unable to access the DAP</title><link>http://e2e.ti.com/thread/264498.aspx</link><pubDate>Mon, 13 May 2013 12:25:53 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:9d05d59c-b4d4-40b3-a7f9-283f2ab51a26</guid><dc:creator>Michal Sojka</dc:creator><slash:comments>11</slash:comments><comments>http://e2e.ti.com/thread/264498.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/264498/rss.aspx</wfw:commentRss><description>&lt;p&gt;Dear Sir/Madam!&lt;/p&gt;
&lt;p&gt;We experience strange problems with JTAG on TMS570LS3137. After executing our code that was supposed to initialize CAN interface, we were no longer able to use JTAG to work with the CPU. In CCS 5.3.0, we get the following error (we use XDS100v2 emulator):&lt;/p&gt;
&lt;pre&gt;CortexR4: Error connecting to the target: (Error -1206 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation&lt;br /&gt;package 5.0.872.0)&lt;/pre&gt;
&lt;p&gt;When we run Target Configurations -&amp;gt; TMS570LS3137.ccxml -&amp;gt; Test Connection, no error is reported (see the log at the end of this message).&lt;/p&gt;
&lt;p&gt;Do you have any idea what could have happened to the CPU? Can it be that JTAG security module (AJSM) got incidentally activated?&lt;/p&gt;
&lt;p&gt;Additional information:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The problem is reproducible. We &amp;quot;damaged&amp;quot; two boards this way.&lt;/li&gt;
&lt;li&gt;JTAG broke when our code was executed/debugged, not during FLASH programming. We successfully loaded the program (to one board with CSS, to the second board with UniFlash tool). Then we used CCS to step through the program, which was the&amp;nbsp; last thing done with the board.&lt;/li&gt;
&lt;li&gt;The code was not compiled by CCS, we used the GCC compiler shipped with http://www.arccore.com/products/arctic-studio/.&lt;/li&gt;
&lt;li&gt;We tried OpenOCD to communicate with the board - it get into an infinite loop somewhere in the ARM target handling code. No meaningful error was produced by OpenOCD.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;br /&gt;-Michal Sojka&lt;/p&gt;
&lt;p&gt;Test connection log:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;[Start]&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Execute the command:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity&lt;br /&gt;&amp;nbsp;&lt;br /&gt;[Result]&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[Print the board config pathname(s)]------------------------------------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;C:\Users\Leos\AppData\Local\.TI\693494126\&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0\0\BrdDat\testBoard.dat&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[Print the reset-command software log-file]-----------------------------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This utility has selected a 100- or 510-class product.&lt;br /&gt;This utility will load the adapter &amp;#39;jioserdesusb.dll&amp;#39;.&lt;br /&gt;The library build date was &amp;#39;Oct &amp;nbsp;3 2012&amp;#39;.&lt;br /&gt;The library build time was &amp;#39;21:58:41&amp;#39;.&lt;br /&gt;The library package version is &amp;#39;5.0.872.0&amp;#39;.&lt;br /&gt;The library component version is &amp;#39;35.34.40.0&amp;#39;.&lt;br /&gt;The controller does not use a programmable FPGA.&lt;br /&gt;The controller has a version number of &amp;#39;4&amp;#39; (0x00000004).&lt;br /&gt;The controller has an insertion length of &amp;#39;0&amp;#39; (0x00000000).&lt;br /&gt;This utility will attempt to reset the controller.&lt;br /&gt;This utility has successfully reset the controller.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[Print the reset-command hardware log-file]-----------------------------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The scan-path will be reset by toggling the JTAG TRST signal.&lt;br /&gt;The controller is the FTDI FT2232 with USB interface.&lt;br /&gt;The link from controller to target is direct (without cable).&lt;br /&gt;The software is configured for FTDI FT2232 features.&lt;br /&gt;The controller cannot monitor the value on the EMU[0] pin.&lt;br /&gt;The controller cannot monitor the value on the EMU[1] pin.&lt;br /&gt;The controller cannot control the timing on output pins.&lt;br /&gt;The controller cannot control the timing on input pins.&lt;br /&gt;The scan-path link-delay has been set to exactly &amp;#39;0&amp;#39; (0x0000).&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[The log-file for the JTAG TCLK output generated from the PLL]----------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;There is no hardware for programming the JTAG TCLK frequency.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[Measure the source and frequency of the final JTAG TCLKR input]--------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;There is no hardware for measuring the JTAG TCLK frequency.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[Perform the standard path-length test on the JTAG IR and DR]-----------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This path-length test uses blocks of 512 32-bit words.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The test for the JTAG IR instruction path-length succeeded.&lt;br /&gt;The JTAG IR instruction path-length is 6 bits.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The test for the JTAG DR bypass path-length succeeded.&lt;br /&gt;The JTAG DR bypass path-length is 1 bits.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[Perform the Integrity scan-test on the JTAG IR]------------------------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This test will use blocks of 512 32-bit words.&lt;br /&gt;This test will be applied just once.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Do a test using 0xFFFFFFFF.&lt;br /&gt;Scan tests: 1, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0x00000000.&lt;br /&gt;Scan tests: 2, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0xFE03E0E2.&lt;br /&gt;Scan tests: 3, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0x01FC1F1D.&lt;br /&gt;Scan tests: 4, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0x5533CCAA.&lt;br /&gt;Scan tests: 5, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0xAACC3355.&lt;br /&gt;Scan tests: 6, skipped: 0, failed: 0&lt;br /&gt;All of the values were scanned correctly.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The JTAG IR Integrity scan-test has succeeded.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-----[Perform the Integrity scan-test on the JTAG DR]------------------------&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This test will use blocks of 512 32-bit words.&lt;br /&gt;This test will be applied just once.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Do a test using 0xFFFFFFFF.&lt;br /&gt;Scan tests: 1, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0x00000000.&lt;br /&gt;Scan tests: 2, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0xFE03E0E2.&lt;br /&gt;Scan tests: 3, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0x01FC1F1D.&lt;br /&gt;Scan tests: 4, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0x5533CCAA.&lt;br /&gt;Scan tests: 5, skipped: 0, failed: 0&lt;br /&gt;Do a test using 0xAACC3355.&lt;br /&gt;Scan tests: 6, skipped: 0, failed: 0&lt;br /&gt;All of the values were scanned correctly.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The JTAG DR Integrity scan-test has succeeded.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;[End]&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>TMS570LS0432 _undefined istruction triggered entering into interrupt routine</title><link>http://e2e.ti.com/thread/265809.aspx</link><pubDate>Sat, 18 May 2013 14:35:39 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:2b8aa588-74e2-4d33-a7ec-1193d762e269</guid><dc:creator>Claudio Brandi</dc:creator><slash:comments>2</slash:comments><comments>http://e2e.ti.com/thread/265809.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265809/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am using the TMS570LS0432 evaluation board. I am trying to use the SCI serial comunication peripheral in interrupt mode, but I have a problem when the interrup&lt;/p&gt;
&lt;p&gt;routine &lt;strong&gt;sciHighLevelInterrupt&lt;/strong&gt; is triggered.&lt;/p&gt;
&lt;p&gt;Entering in this routine a precompiled instruction (FMXR) is executed, causing a jump to the &lt;strong&gt;&amp;nbsp;_undefined&lt;/strong&gt; instruction into the Interrupt vector routine.&lt;/p&gt;
&lt;p&gt;The execution remain there in a infinite loop because the undefine handler is&amp;nbsp;disabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I read in a forum thread that another guy had the same problem but with another processor type (TMS570LS2016).&lt;/p&gt;
&lt;p&gt;The Ti support analysis and the relevant suggestion is reported below in red:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;The problem ending up in _undefined or _prefetchAbort is, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;that you use a library which supports the device floating-point (FPU), &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;but your code does not enable the FPU. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;At the beginning of an interrupt routine a write to the FPU happens,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;which causes the _undefined or _prefetchAbort,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;if the FPU is disabled The easiest way to fix the issue &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;is to enable the FPU by calling the&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;following function at the beginning of _c_int00() in sys_startup.. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;;-------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;; Enable VFP Unit&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;.def _coreEnableVfp_&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;.asmfunc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;_coreEnableVfp_&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;mrc p15, #0x00, r0, c1, c0, #0x02&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;orr r0, r0, #0xF00000&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;mcr p15, #0x00, r0, c1, c0, #0x02&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;mov r0, #0x40000000&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;fmxr fpexc, r0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;bx lr&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Calibri;color:#ff0000;font-size:small;"&gt;.endasmfunc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&amp;nbsp;&lt;span style="color:#000000;"&gt;I am using the --Float_Support VFPv3D16 and I tryed to insert the suggested routine into my source code but the problem is still&amp;nbsp;present.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;When the CPU executes the&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;&amp;nbsp;&lt;span style="color:#ff0000;"&gt;fmxr fpexc, r0 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;&amp;nbsp;instruction , the _undefined is triggered again.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;Please could I have any further suggestion to fix my Issue ?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;Thanks in advance for your support.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;Best regards&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;Claudio&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>TMS570LS1227 examples?</title><link>http://e2e.ti.com/thread/265858.aspx</link><pubDate>Sun, 19 May 2013 15:40:26 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:860f8a88-07de-46c7-8d01-eab95e16c62c</guid><dc:creator>Calum Mackinnon</dc:creator><slash:comments>2</slash:comments><comments>http://e2e.ti.com/thread/265858.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265858/rss.aspx</wfw:commentRss><description>&lt;p&gt;I have installed Hercules MotorWare and CCS from the DRV8301-LS12-KIT. The kit is for the TMS570LS1227. It include examples, but only for the RM46 and RM48. No examples for the TMS570LS1227 or TMS570LS3127. Where can I get the examples for the chip on the kits PCB (i.e. TMS570LS1227)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Help getting started with the DRV8301-LS12-KIT Motor Dev Kit (TMS570LS1227 processor)</title><link>http://e2e.ti.com/thread/265817.aspx</link><pubDate>Sat, 18 May 2013 17:14:18 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:f976be7e-2a5f-4fdd-8dbc-9df1d21d9f56</guid><dc:creator>Michael Holmes</dc:creator><slash:comments>3</slash:comments><comments>http://e2e.ti.com/thread/265817.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265817/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just got a DRV8301_LS12_KIT with the Hercules TMS570LS1227 processor. I want to just spin the motor first. InstaSPIN demo sounded great, but is not living up to the name for me. The written instructions pointed me to ...&lt;/p&gt;
&lt;p&gt;Start-&amp;gt;Texas Instruments-&amp;gt;Hercules-&amp;gt;Motor Demos&lt;/p&gt;
&lt;p&gt;but all I see are demos for the RM46 &amp;amp; 48 (no demos for the TMS570 processors)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Any suggestions on getting a quick demo to spin the motor would be appreciated!&lt;/p&gt;
&lt;p&gt;Also pointers or tips on building the projects (my first attempted ended in a &amp;quot;Can&amp;#39;t find &amp;#39;make&amp;#39;&amp;quot; error).&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a lot of docs and info, so any help zeroing in on the more useful stuff would be appreciated!!&lt;/p&gt;
&lt;p&gt;Again, I&amp;#39;m using the motor kit with the TSM570LS1227 processor.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Buffered digital output.</title><link>http://e2e.ti.com/thread/264553.aspx</link><pubDate>Mon, 13 May 2013 15:29:06 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:9ac6639f-e885-4bbb-b817-8d373ad49939</guid><dc:creator>matteo lucarelli</dc:creator><slash:comments>16</slash:comments><comments>http://e2e.ti.com/thread/264553.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/264553/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working with a TMDX570LS32HDK.&lt;/p&gt;
&lt;p&gt;For an ADC app I need to generate a digital waves pattern to feed ad setup my source. My digital pattern is constant through cycles of a single run but is NOT constant from an execution to another. It is someway similar to a serial signal but involves more signals. The pattern cannot be programmed and compiled on code generation because requires to be modified runtime.&lt;/p&gt;
&lt;p&gt;The stardand way to generate a similar pattern would be a buffered digital output, where the application can fill the buffer and then start emitting cycling through the buffer at a predefined frequency. Every buffer bit is assigned to the state of a digital output pin.&lt;/p&gt;
&lt;p&gt;Which is the bes way to achieve this?&lt;/p&gt;
&lt;p&gt;There&amp;#39;s somewhere an example to start with?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Matteo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MibSPI rx DMA</title><link>http://e2e.ti.com/thread/264878.aspx</link><pubDate>Tue, 14 May 2013 15:50:02 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:7188d3a9-94a0-45df-9f75-85d13b538d1e</guid><dc:creator>Jack Andrews</dc:creator><slash:comments>15</slash:comments><comments>http://e2e.ti.com/thread/264878.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/264878/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having trouble using DMA to read MibSPI rx buffers. &amp;nbsp;Attached is my current code:&lt;a href="http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/264878.aspx"&gt;(Please visit the site to view this file)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is a screenshot after transfer is complete:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/312/0602.untitled.PNG"&gt;&lt;img src="http://e2e.ti.com/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/312/0602.untitled.PNG" border="0" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/312/0602.untitled.PNG"&gt;&lt;/a&gt;Esentially, two 16 bit bytes have been received: 0x0FFF and 0x0D4A. &amp;nbsp;Note that the memory view on the right shows the mibSPI1 RX buffer. &amp;nbsp;RX_DATA, which uses DMA to transfer from mibSPI RAM to RAM, (see value in watch) is missing the second byte, whilst RX_DATA2 (which uses&amp;nbsp;mibspiGetData() as in the mibSPI example code) contains the correct two bytes as confirmed with a scope. &amp;nbsp;So, the SPI is working, but DMA copy to RAM is not.&lt;/p&gt;
&lt;p&gt;Please take a look at my code and see if anything is wrong. &amp;nbsp;Also, I have a question - what is the function of R(T)XDMA_MAPx? &amp;nbsp;I thought MIBSPI[1] request source is hardwired to DMAREQ[0]?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RM42 SPI bootloader, unresolved symbol "api_load"</title><link>http://e2e.ti.com/thread/265626.aspx</link><pubDate>Fri, 17 May 2013 10:06:34 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:51be9771-b1b4-4c67-81ea-9b0ec7af5acc</guid><dc:creator>mikkel johnsen</dc:creator><slash:comments>2</slash:comments><comments>http://e2e.ti.com/thread/265626.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265626/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to get a SPI Bootloader example up and running on my Hercules RM42 HDK. More specifically I&amp;#39;ve downloaded the SafetyMCU_Bootloader_v1.2.0.zip file and am trying to run the project contained in &amp;quot;./SafetyMCU_Bootloader/RM42/boot_spi&amp;quot;&lt;/p&gt;
&lt;p&gt;My problem is this: When trying to build the RM42 project, I end up with a few linker errors:&lt;/p&gt;
&lt;p&gt;&amp;quot;unresolved symbol api_load, first referenced in ./src/sys_core.obj&amp;quot;&lt;br /&gt;&amp;quot;unresolved symbol api_run, first referenced in ./src/sys_core.obj&amp;quot;&lt;br /&gt;&amp;quot;unresolved symbol api_size, first referenced in ./src/sys_core.obj&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The reference is from this snippet of ./src/sys_core.asm :&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;&lt;br /&gt;;-------------------------------------------------------------------------------&lt;br /&gt;;&lt;br /&gt;; Copy the Flash API from flash to SRAM.&lt;br /&gt;;&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;.def _copyAPI2RAM_&lt;br /&gt; .asmfunc&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;_copyAPI2RAM_&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;.ref api_load&lt;br /&gt;flash_load .word api_load&lt;br /&gt; .ref api_run&lt;br /&gt;flash_run .word api_run&lt;br /&gt; .ref api_size&lt;br /&gt;flash_size .word api_size&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;ldr r0, flash_load&lt;br /&gt; ldr r1, flash_run&lt;br /&gt; ldr r2, flash_size&lt;br /&gt; add r2, r1, r2&lt;br /&gt;copy_loop1:&lt;br /&gt; ldr r3, [r0], #4&lt;br /&gt; str r3, [r1], #4&lt;br /&gt; cmp r1, r2&lt;br /&gt; blt copy_loop1&lt;br /&gt; bx lr&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;.endasmfunc&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I am linking to the following files in my project:&lt;/p&gt;
&lt;p&gt;rtsv7R4_A_le_eabi.lib&lt;br /&gt;F021_API_CortexR4_LE_v3D16.lib&lt;br /&gt;libc.a&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can anyone help me get past this problem ? :)&lt;/p&gt;
&lt;p&gt;I am compiling on a Windows 7 64bit, using CCS 5.4, F021 flash API 1.51.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>emac receive only broadcast packets - RM4 HDK</title><link>http://e2e.ti.com/thread/265651.aspx</link><pubDate>Fri, 17 May 2013 11:45:27 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:db58888d-101d-444b-be14-3c04a3b7cbd4</guid><dc:creator>Tomasz Chalupka</dc:creator><slash:comments>2</slash:comments><comments>http://e2e.ti.com/thread/265651.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265651/rss.aspx</wfw:commentRss><description>&lt;p&gt;I can&amp;#39;t receive any unicast packets through emac in my RM48L950 (HDK)&lt;br /&gt;When I send broadcast packets to it everything is ok, when sending unicast RX interrupt doesn&amp;#39;t get active.&lt;/p&gt;
&lt;p&gt;I have emac initialisation routine similar to lwIP for RM48 HDK. I&amp;#39;m using channel 0.&amp;nbsp;What I do:&lt;/p&gt;
&lt;p&gt;mymac[] = {0xaa,0xbb,0xcc,0xcc,0xbb,0xaa}&lt;br /&gt;EMACInit()&lt;br /&gt;MDIOInit()&lt;br /&gt;EMACRxUnicastSet()&lt;br /&gt;EMACBroadCastEnable()&lt;br /&gt;EMACMACSrcAddrSet() // set mymac&lt;br /&gt;for all 8 channels {&lt;br /&gt;EMACMACArrdSet() // set mymac and EMAC_MACADDR_MATCH&lt;br /&gt;EMACRxHdrDescPtrWrite() // set null to HDP&lt;br /&gt;EMACTxHdrDescPtrWrite() // set null to HDP&lt;br /&gt;}&lt;br /&gt;... link setup ...&lt;br /&gt;EMACCoreIntAck() //rx interrupt&lt;br /&gt;EMACCoreIntAck() //tx interrupt&lt;/p&gt;
&lt;p&gt;EMACNumFreeBufSet()&lt;/p&gt;
&lt;p&gt;EMACTxEnable()&lt;br /&gt;EMACRxEnable()&lt;/p&gt;
&lt;p&gt;EMACRxHdrDescPtrWrite() // set correct hdp in CPPI&lt;/p&gt;
&lt;p&gt;EMACMIIEnable()&lt;/p&gt;
&lt;p&gt;EMACTxIntPulseEnable()&lt;br /&gt;EMACRxIntPulseEnable()&lt;/p&gt;
&lt;p&gt;When I receive packet from RM4 on my PC (e.g. answer for arp-request) it contains correct mac (source mac is &amp;quot;mymac&amp;quot;).&lt;/p&gt;
&lt;p&gt;EMAC registers from debug:&lt;br /&gt;MACSRCADDRLO = 0x0000AABB&lt;br /&gt;MACSRCADDRHI = 0x00000000 // why not 0xCCCCBBAA ?&lt;/p&gt;
&lt;p&gt;MACADDRLO and MACADDRHI have &amp;quot;unable to read&amp;quot; error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Interrupts during flash write</title><link>http://e2e.ti.com/thread/188798.aspx</link><pubDate>Wed, 16 May 2012 10:36:01 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:f10290af-135b-4e37-a1b3-83dc1a65e8b7</guid><dc:creator>Richard Burke</dc:creator><slash:comments>19</slash:comments><comments>http://e2e.ti.com/thread/188798.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/188798/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;My understanding is that with the F035 flash library (as used on the TMS570LS20216 for example), interrupts must be disabled during flash write.&lt;/p&gt;
&lt;p&gt;Are there any restrictions for the F021 flash library (as used on the TMS570LS2124 for example)?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MIBSPI with DMA triggered from two tasks</title><link>http://e2e.ti.com/thread/261356.aspx</link><pubDate>Fri, 26 Apr 2013 06:03:41 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:c7277b79-ca3f-4d58-9fd8-6acd296d34a7</guid><dc:creator>Masayuki MIYOSHI</dc:creator><slash:comments>16</slash:comments><comments>http://e2e.ti.com/thread/261356.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/261356/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to check the MIBSPI and DMA function on TMS570LS3137 device.&lt;/p&gt;
&lt;p&gt;On my board MIBSPI1, two slaves are connected.&lt;br /&gt;And my RTOS generates two periodic tasks (1ms task and 10ms task).&lt;/p&gt;
&lt;p&gt;Now, I would like to carry out SPI communication with SLAVE1 by 1ms task,&lt;/p&gt;
&lt;p&gt;andwith SLAVE2 by 10ms task.&lt;/p&gt;
&lt;p&gt;Furthermore, in order to reduce the overhead of CPU,&lt;br /&gt;I would like to use RX DMA and TX DMA with MIBSPI1.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The conditions of MIBSPI1 communication are as follows.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&amp;quot;MASTER(TMS570) &amp;lt;-&amp;gt; SLAVE1&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Communication cycle : 1ms (SPI is triggered by 1ms task)&lt;/li&gt;
&lt;li&gt;The number of data transmission at 1 cycle : 1 to 100 words.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(The number is variable and it may change for every cycle. It is decided in the 1ms task).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Word length : 32bits&lt;/li&gt;
&lt;li&gt;Baudrate &amp;nbsp; &amp;nbsp; &amp;nbsp;: &amp;nbsp;5MHz&lt;/li&gt;
&lt;li&gt;Chip select &amp;nbsp;: CS_0&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;&amp;quot;MASTER(TMS570) &amp;lt;-&amp;gt; SLAVE2&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Communication cycle : 10ms (SPI is triggered by 10ms task)&lt;/li&gt;
&lt;li&gt;The number of data transmission at 1 cycle : 1 to 100 words.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (The number is variable and&amp;nbsp;it may change for every cycle.&amp;nbsp;It is decided in the 10ms task).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Chip select : CS_1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Others are the same conditions as SLAVE1.&lt;/p&gt;
&lt;p&gt;The priority of SLAVE1 is higher than SLAVE2, and the communication with SLAVE2 can be interrupted&amp;nbsp;&lt;/p&gt;
&lt;p&gt;by the communication with SLAVE1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I think there are three points which make the problem not easy.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; 1. The number of data transmission is variable for every cycle.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; 2. In the worst case, the send data size is over MIBRAM size.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(There are 128 buffers in MIBRAM, and one buffer can contain 16bits data for each of transmit and receive.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; so MIBRAM can contain up to 2048 bits transmit/receive data .&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; However, I would like to send 3200 bits (32-bit * 100-word) data in the case of maximum transmission. )&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; 3. Cooperation with TX/RX DMA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you please tell me how it can be resolved?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ESM Error on TMDXRM48HDK</title><link>http://e2e.ti.com/thread/265730.aspx</link><pubDate>Fri, 17 May 2013 17:39:22 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:3d86d38f-54e4-4cd5-a198-fc64124c795f</guid><dc:creator>Jamie Wardlaw</dc:creator><slash:comments>5</slash:comments><comments>http://e2e.ti.com/thread/265730.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265730/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I recently received a new TMDXRM48HDK for continued prototype development (our previous HDK was broken during testing).&lt;/p&gt;
&lt;p&gt;The application that was previously working on our other HDK throws ESM errors on the new board. The new board has never been tested with external IO (source of previous failure). I am seeing intermittent success with running the board with the application we developed, also with the demo applications that come with the HDK.&lt;/p&gt;
&lt;p&gt;To try and debug the problem I have tried to generate from HALcogen empty applications with only the GIO enabled and toggle the NHET pins in the main loop. This has had intermittent success, with ESM errors occurring frequently. If I do anything more advanced such as enabling a HET driver and trying to both PWM a HET pin and, say, use another as GIO I end up with ESM errors.&lt;/p&gt;
&lt;p&gt;Can anyone help me debug the source of the ESM error in the event there is a chance it could be an initialization issue with the micro? I think it is unlikely and we may have been shipped a defective board.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jamie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>DCAN IFxCMD Register Usage related to Clearing of IntPnd and NewDat bits of CAN  Receive Message Objects</title><link>http://e2e.ti.com/thread/69802.aspx</link><pubDate>Thu, 21 Oct 2010 02:06:13 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:24fe3ba3-4e57-465c-bb9c-db2e612332d6</guid><dc:creator>Pashan</dc:creator><slash:comments>4</slash:comments><comments>http://e2e.ti.com/thread/69802.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/69802/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;By setting HIGH only Bits 19, 18 and programming correct&amp;nbsp;Message Number bits [7-0] of IFxCMD Register within DCAN, is it possible to clear the IntPnd and NewDat bits of the respective CAN Receive Message Object?&lt;/p&gt;
&lt;p&gt;Or, do I have to set Bits 22, 21 and 20 also within IFxCMD Register before writing Message Number field for clearing the IntPnd and NewDat bits for CAN&amp;nbsp;&amp;nbsp;Receive Message Objects?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Pashan&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Configure ADC samples and ADC calibration</title><link>http://e2e.ti.com/thread/265534.aspx</link><pubDate>Fri, 17 May 2013 00:46:29 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:0d6e09a5-0b5c-4400-ba24-b1f6fcd25a39</guid><dc:creator>David Rodriguez Rodriguez</dc:creator><slash:comments>2</slash:comments><comments>http://e2e.ti.com/thread/265534.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265534/rss.aspx</wfw:commentRss><description>&lt;p&gt;I am using the microcontroller TMS570LS3137, I don&amp;acute;t know if it is possible to configure a number of samples of the ADC before enable interrupt, in order to perform a more reliable conversion. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My setup is:&lt;/p&gt;
&lt;p&gt;12 bit resolution&lt;/p&gt;
&lt;p&gt;Single conversion&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If that is possible, what are the registers that I should set?&lt;/p&gt;
&lt;p&gt;I did not find related information on specific datasheet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another question is, What is the correct sequence for a best ADC calibration?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would appreciate so much if someone can help me, please.&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;Regards&amp;hellip;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>CAN Messages with multiple Signals</title><link>http://e2e.ti.com/thread/265353.aspx</link><pubDate>Thu, 16 May 2013 09:40:16 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:6d43b8ff-6e3c-4d1c-a501-b5504dcaa49f</guid><dc:creator>ishan maniar</dc:creator><slash:comments>3</slash:comments><comments>http://e2e.ti.com/thread/265353.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265353/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hie,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using the TMS57031x HDK.&lt;/p&gt;
&lt;p&gt;For example,&lt;/p&gt;
&lt;p&gt;I am sending a Message with an ID 0x60 and DLC 8. &amp;nbsp;But this Message contains multiple signals i.e 8 different signals each 1 byte long in Message with ID 0x60. so I would be sending signals&amp;nbsp;separately.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Take the Message Structure:&lt;/p&gt;
&lt;p&gt;Message ID 0x60&lt;/p&gt;
&lt;p&gt;DLC 8:&lt;/p&gt;
&lt;p&gt;MSG_1-&amp;gt; bit 0 to bit 8&amp;nbsp;&lt;/p&gt;
&lt;p&gt;MSG_2-&amp;gt; 9:16&lt;/p&gt;
&lt;p&gt;MSG_3-&amp;gt; 17:24&lt;/p&gt;
&lt;p&gt;MSG_4-&amp;gt; 25:32&lt;/p&gt;
&lt;p&gt;MSG_5-&amp;gt; 33-40&lt;/p&gt;
&lt;p&gt;MSG_6 -&amp;gt; 41:48&lt;/p&gt;
&lt;p&gt;MSG_7-&amp;gt; 49:56&lt;/p&gt;
&lt;p&gt;MSG_8 -&amp;gt; 57:64&lt;/p&gt;
&lt;p&gt;I.e the Above are the signals in the Message bit length as mentioned&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would like to know if it would be possible to mention this in the Halcogen?&lt;/p&gt;
&lt;p&gt;If Not in halcogen, would it be possible to include it in the Driver code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Awaiting your Reply&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ishan Maniar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Where are the pins? (MibSpi in parallel 8 mode on TMS570)</title><link>http://e2e.ti.com/thread/265440.aspx</link><pubDate>Thu, 16 May 2013 14:53:54 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:ea97b67f-a967-45ae-9582-ceb7044367dc</guid><dc:creator>matteo lucarelli</dc:creator><slash:comments>6</slash:comments><comments>http://e2e.ti.com/thread/265440.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/265440/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working on a TMDX570LS31HDK. Multi buffered SPI (MibSPI5) can be used in parallel 8 mode so the ouput should use 8 pins for SOMI lines 0 to 7.&lt;/p&gt;
&lt;p&gt;In HalCoGe (in the MibSPI5 and in mux tabs) and in the user manual pin description there are SOMI lines only from 0 to 3.&lt;/p&gt;
&lt;p&gt;Where are the others?&lt;/p&gt;
&lt;p&gt;Can the TMDX570LS31HDK use 8 parallel mode or this is reserved to other HW models?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Grazie,&lt;/p&gt;
&lt;p&gt;Matteo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>PMIC (TPS65381-Q1) and MCU (RM48L950)</title><link>http://e2e.ti.com/thread/263181.aspx</link><pubDate>Mon, 06 May 2013 20:10:15 GMT</pubDate><guid isPermaLink="false">cb01d8b2-d089-468d-babb-77d1d8683490:90cdce14-1ae7-4767-a02a-9b2c4a11fb99</guid><dc:creator>Rustin Schroeder</dc:creator><slash:comments>6</slash:comments><comments>http://e2e.ti.com/thread/263181.aspx</comments><wfw:commentRss>http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/263181/rss.aspx</wfw:commentRss><description>&lt;p&gt;I am a bit confused on what to do in terms of an external pull resistor on the ERROR/WDI and nERROR pins of the PMIC (TPS65381-Q1) and MCU (RM48L950). The TPS65381-Q1 datasheet describes two modes of operation: TMS570 mode and PWM mode. If using TMS570 mode, it describes an error condition being detected when the ERROR/WDI pin remains low for a programmed amount of time. This almost makes it sound like a pull-up should be used.&lt;/p&gt;
&lt;p&gt;The RM48L950 datasheet shows the default pin state for nERROR is a 20uA pull-down, which contradicts my assumption above. Lastly, the RM48 HDK schematic on Page 7 shows a 1K pull-up on nERROR through an LED, which seems like it would support my initial assumption but contradict the default pull-down state for the nERROR pin. So, if adding an external pull device, should it be pull-up or pull-down&amp;hellip;or could it be either and why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>