2006年7月5日 星期三

◇ 2006.07.05,89S51 Programer v0.1 by Serial Port

作者: mosquito520 (我在夜裡飛翔...) 看板: mosquito520
標題: 89S51 Programer v0.1 by Serial Port
時間: Wed Jul 5 02:49:48 2006

[Chinese Traditional]
89S51燒錄程式 v0.1
透過Com1的控制線對89S51進行燒錄...

由於printer port在NB上越來越少見...
加上我之前做的線不能work...

所以改以RS232對89S51進行燒錄...
找到一個大陸的程式可以透過RS232去燒...
功能還算齊全...用的也還可以...
http://www.ourchip.com/NZILIAO/Other/89S_ISP/index.htm
不過因為內碼不同造成亂碼...
某些時候用起來很痛苦...
所以決定自己照著datasheet寫一個...

89S51 燒錄程式 v0.1

功能
可以讀取intel hex檔
透過RS232...經RS232準位轉換IC轉成TTL準位...寫入89S51

電路
請參照http://www.ourchip.com/NZILIAO/Other/89S_ISP/index.htm

步驟
1.Open Serial port
2.Program enable
(如果上面沒有顯示255.255.255.105...請重新設定reset為高準位)
3.Read sign byte(這個好像可以跳過= =;)
4.File Open
5.Write

PS.燒錄時Reset腳必須要為高準位...
如果Program enable沒有顯示255.255.255.105...
請重新設定reset為高準位...
因為Serial Port的輸出腳不夠...所以Reset請手動處理= =;

下載
http://mosquito.myweb.hinet.net/89S51/89S51_Programer_V0.1.rar

當初因為寫的很醜所以不大想放出來= ="
不過有些問題沒有解決...加上懶的弄了...
所以乾脆放出來...
PS.使用版本為VB6

原始碼採用GPL授權
http://mosquito.myweb.hinet.net/89S51/89S51_Programer_V0.1_source.7z


[English]
89S51 Programer v0.1
Programing 89S51 by Serial port output line...

becuse new notebook isn't buildin printer port...
and i'm made one by LPT...
but it's doesn't work...;(

so i try to find another way to programing...
there has a program can satisfy my request in a electronic site in china...
it's look like stable?= =
http://www.ourchip.com/NZILIAO/Other/89S_ISP/index.htm
but becuse it's used GB to describe state...
some time it's hard to recognize what happen in programing...
so i decide to made one by myself...

89S51 Programer v0.1

Function
it's can read intel Hex format file
programing 89S51 by RS232 and level converter IC...

Circuit
refer http://www.ourchip.com/NZILIAO/Other/89S_ISP/index.htm

Step
1.Open Serial port
2.Program enable
if it's doesn't show 255.255.255.105...
reset Pin RST to High level...
3.Read sign byte(it's look like not necessary)
4.File Open
5.Write

Hint.
When you're programing...
reset ping must be high level...
if you press Program enable and it's doesn't show 255.255.255.105...
please reset pin rst to high level...
becuse serial port output pin isn't enough...
so...control reset pin must doing by your self...= ="

Download link
http://mosquito.myweb.hinet.net/89S51/89S51_Programer_V0.1.rar

Because it's dirty...so i didn't release it before...
but it's has some problem need to fix...and i've no time to fix it...
so i release it under GPL lisence...
feel free to use:)
PS.it's build under Vistual Basic 6

Source
http://mosquito.myweb.hinet.net/89S51/89S51_Programer_V0.1_source.7z

--
I hate nuclear weapons.
Therefore I'm a member of the Silient Service.
Today I become independent of my country which permits itself to make wars.
Today I've got free!

--
※ 發信站: 批踢踢兔(ptt2.cc)
◆ From: 220.133.140.180

Fix my Orange Pi 3 SBC not able to power up

前幾天拿我的Orange Pi 3出來 取出MicroSD卡,更新Armbian到最新版本 想確認一下Panfrost會導致畫面閃爍/破碎的問題修正了沒 插上MicroSD卡之後開機,還在設定過程中突然斷電關機 重複一兩次都無法正常開機 伴隨著微微的異味 我想可能是有什麼東西燒掉...