<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ISP for Winbond  W78E516</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16961/isp-for-winbond-w78e516</link><description> Does anybody in the forum has successefully 
programmed Winbond W78E516 using flash utilities 
downloaded from this website. I have been 
trying hard, but no luck so far. I feel that 
the provided documents are far for complete. 
My problem is that the</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: ISP for Winbond  W78E516</title><link>https://community.arm.com/thread/110645?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2003 12:43:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5ffe9850-18a7-44bc-bab4-062a49b06669</guid><dc:creator>JIMMY sayavong</dc:creator><description>&lt;p&gt;Hi Franks,&lt;br /&gt;
&lt;br /&gt;
I finally make it worked !!!.&lt;br /&gt;
I programmed the loader file  to the&lt;br /&gt;
wrong memory address.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your help,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
JIMMY&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISP for Winbond  W78E516</title><link>https://community.arm.com/thread/84457?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2003 21:01:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:75608ed1-5a69-4c40-bf04-25a4c960c524</guid><dc:creator>Frank Hu</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br /&gt;
&lt;br /&gt;
I downloaded the files, and found the following information. It should be helpful:&lt;br /&gt;
&lt;pre&gt;
Method 3&amp;amp;#12289; Another way for APROM Switch to LDROM to Enter ISP Mode
1&amp;amp;#12289;Main program form APROM to LDROM&amp;amp;#65306;
1&amp;amp;#12289;When main program start, you can execute the APROM switch to LDROM as below code.
Or when pressing a key to execute the APROM switch to LDROM&amp;amp;#12290;
2&amp;amp;#12289;Before connecting&amp;amp;#65292;you must be sure the IC has switched to LDROM&amp;amp;#12290;
3&amp;amp;#12289;Using this way, the isp don&amp;#39;t have Upload and exit  function.

normal ISP
mov     CHPENR,#87h         ; write enable
       			mov     CHPENR,#59h         ; write enable
                		mov     CHPCON,#03h         ; bank=4k,flash mode
                		mov     tl0,#feh
                		mov     th0,#ffh
                		setb    tr0
                		orl     pcon,#01h           	      ; enter idle mode
                		jmp     $
turbo ISP
            			mov     turbo_TA,#aah         ; write enable
                		mov     turbo_TA,#55h         ; write enable
                		mov     turbo_CHPCON,#03h         ; bank=4k,flash mode
                		mov     tl0,#feh
                		mov     th0,#ffh

                		setb    tr0
                		orl     pcon,#01h                   ; enter idle mode
                		jmp     $
&lt;/pre&gt;
&lt;br /&gt;
The code above can let you enter 4k mode from 64k normal mode.&lt;br /&gt;
&lt;br /&gt;
Have you tested your hardware? Write a simple code to toggle a pin, and then flash it into address 10000h. After reset, check whether the pin is toggling. If it&amp;#39;s not, you are still in 64k APROM mode. You have to check P2.7 and P2.6 (Low, pull up) or P4.3 (Low, pull up) while reset.&lt;br /&gt;
&lt;br /&gt;
If chip mode change is no problem, make sure your pc baudrate is correct and Rx,Tx pin connection is OK. Then check your command, of course you have to read the ISPApplicationNote.doc first. I also recommend you to download a datasheet for W78E516, and have a good study of it. There are even some example on the datasheet to tell you how to enter ISP mode.&lt;br /&gt;
&lt;br /&gt;
Unfortunately I can&amp;#39;t test it on my target board, because I don&amp;#39;t have the time to modify it. (I am not using Rs232 to communicate with Pc.)&lt;br /&gt;
&lt;br /&gt;
Good Luck!&lt;br /&gt;
&lt;br /&gt;
Frank Hu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISP for Winbond  W78E516</title><link>https://community.arm.com/thread/72124?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2003 13:07:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1d534c81-20c6-4e42-8881-e6ce14022a66</guid><dc:creator>JIMMY sayavong</dc:creator><description>&lt;p&gt;Hi Frank,&lt;br /&gt;
&lt;br /&gt;
Here is the link where I downloaded the&lt;br /&gt;
windows ISP program. I am very interested&lt;br /&gt;
what you found out about the software.&lt;br /&gt;
&lt;br /&gt;
I tried 2 different computers, and none of&lt;br /&gt;
them works.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.winbond-usa.com/products/mcp/development/index.shtml" target="_blank"&gt;http://www.winbond-usa.com/products/mcp/development/index.shtml&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISP for Winbond  W78E516</title><link>https://community.arm.com/thread/41362?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2003 11:35:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ed88405b-3dfd-46b4-a95d-b232275cb1f5</guid><dc:creator>Frank Hu</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br /&gt;
&lt;br /&gt;
I have written an ISP for W78E516 before. Since your Rs232 comm works fine, I guess the only thing that you should double check is to make the chip enter ISP mode first. There are two work modes on W78E516, 64K normal mode( start from 0000h) or 4K upgrade mode (start from 10000h). Don&amp;#39;t forget to burn your ISP at 10000h.&lt;br /&gt;
&lt;br /&gt;
BTW, I didn&amp;#39;t find ISPWRITER.EXE and LDU30919.BIN, so I can&amp;#39;t test it and don&amp;#39;t know whether they are bug free.&lt;br /&gt;
&lt;br /&gt;
Frank Hu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>