IC programmer for Nuvoton microcontroller W78E516D

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello guys, its been a long time i was here.

Here is my question: I need to flash program into Nuvoton microcontrollers W78E516D. It's pretty old IC, based on 8052 standart. I need an IC-programmer simple inough to build it myself in couple days. Some schematic and programs will be helpfull.

 

I can not buy somthing ready-to-go, like ChipProg for example. Local market is poor on this things. But also this week our borders was closed for caranteene, nearest 2-3 weeks nothing gets in and out. Appreciate any suggestiones and help.

 

P.S. I'm into AVR, STM32 and a little Microchip. But I have no time to design IC programmer specialy for Nuvoton from zero. O, one more thing. My chips are empty, so there is no bootloader on board that I can use.

This topic has a solution.
Last Edited: Wed. Mar 18, 2020 - 02:49 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You mean this:  https://www.nuvoton.com/products/microcontrollers/8bit-8051-mcus/standard-8051-series/w78e516d/?__locale=en ?

 

It says it has ISP - so have you looked for further information about that ?

 

Have you contacted Nuvoton ?

 

Not remotely AVR or even Microchip related - have you looked for more relevant forums?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for reply. Yes, this part. Just wrote to Nuvoton, I hope tomorrow will be answer.

As for ISP, it need to be activated by writing to special register. Here the explaine from datasheet.

If the content of APROM needs to be modified, the W78E058D/516D allows user to activate the In-System Programming (ISP) mode by setting the CHPCON register. The CHPCON is read-only by default, software must write two specific values 87H, then 59H sequentially to the CHPENR register to enable the CHPCON write attribute. Writing CHPENR register with the values except 87H and 59H will close CHPCON register write attribute.

So, apparently, without IC programmer in first place ISP can not be activated.

 

As for 

awneil wrote:
Not remotely AVR or even Microchip related - have you looked for more relevant forums?

I'm searching, ofcourse. But nevertheless I came here to ask this question. Any help of society indeed helpfull. Even when question seems dumb inough to some experts. Im not an expert, so asking.

Last Edited: Tue. Mar 17, 2020 - 05:11 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK, the sky is blue again. I've found an old fashioned IC programmer with LPT. It works fine with W78E516D. Also it was difficult to found an old PC with LPT port on mainboard. The case is closed, thanks.

Last Edited: Wed. Mar 18, 2020 - 02:33 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

antonydublin wrote:
The case is closed, thanks.

Please mark post #4 as the solution tehn

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user