??? 04/24/04 03:35 Read: times |
#69094 - RE: Is there a good $200 EPROM Burner? Responding to: ???'s previous message |
Friday, April 23, 2004
I am the guy who did the original post of Dec03 and I wanted to conclude my thread on buying a cheap EPROM burner: I took the advice of the group (Mr. Karas on http://www.8052.com/forum/read.phtml?id=61025) and bought a Cygnal C8051F330-TB. It works well, and it contains a lot of extras that I use: - a green LED on the circuit board, which ran the first program “BLINK.ASM” – which set the green light blinking. Proof of concept that the device worked. - The kit was complete, with ports on vertical pins, clearly labeled, and the ancillary equipment (cables, transformer) all there so that all I needed to get BLINK to work was to a PC and a wall outlet. - The set up was “easy” when I did it jointly with my professor at school. (Thanks, Steve Giordano), and I can make incremental changes to the device. - It cost about $99 and I bought 5 extra DIP chip versions of the chip for an extra $8 each. These are for my prototype (I will have to learn how to get my program into them.) I purchased them at Mouser (800-346-6873) - The 8051 chip itself was smaller than the nail on my little finger: ¼ inch by ¼ inch by 1/16 inch. This was cool It is two few ports (two), but I may get around it. The circuit board was 4 by 6 inchesk attached to pwer transformer and some cable, so it was portable with some care. - I am learning more about wire wrapping and soldering that I wanted to learn. Some fun, though - I did modify the “blink.asm” progam (still some weird code that I can’t comprehend , e.g. crossbar code .) BUT: I have made new programs - Thus, I owe all of generous people (with your time and efforts) who posted my thanks. The "8052 message board” worked for me., as did the 8051 Cygnal board. -- Thanks. Signed, Peter Reference; The blink code (courtesy of the fine folks at Cygnal) is : ;----------------------------------------------------------------------------- ; Copyright (C) 2002 CYGNAL INTEGRATED PRODUCTS, INC. ; All rights reserved. ; ; FILE NAME : BLINK.ASM ; DATE : 04 FEB 2003 ; TARGET MCU : C8051F33x ; DESCRIPTION : This program illustrates how to disable the watchdog timer, ; configure the Crossbar, configure a port and write to a port ; I/O pin. ; ; NOTES: ; ;----------------------------------------------------------------------------- $include (c8051f330.inc) ; Include register definition file. ;----------------------------------------------------------------------------- ; EQUATES ;----------------------------------------------------------------------------- GREEN_LED equ P1.3 ; Green LED: '1' is ON ;----------------------------------------------------------------------------- ; RESET and INTERRUPT VECTORS ;----------------------------------------------------------------------------- ; Reset Vector cseg AT 0 ljmp Main ; Locate a jump to the start of ; code at the reset vector. ;----------------------------------------------------------------------------- ; CODE SEGMENT ;----------------------------------------------------------------------------- Blink segment CODE rseg Blink ; Switch to this code segment. using 0 ; Specify register bank for the ; following program code. Main: ; Disable the WDT. anl PCA0MD, #NOT(040h) ; clear Watchdog Enable bit ; Enable the Port I/O Crossbar orl P0SKIP, #04h ; skip LED pin in crossbar ; assignments mov XBR1, #40h ; enable Crossbar orl P1MDOUT, #08h ; make LED pin output push-pull orl P1MDIN, #08h ; make LED pin input mode digital ; Initialize LED to OFF clr GREEN_LED ; Simple delay loop. Loop2: mov R7, #03h Loop1: mov R6, #00h Loop0: mov R5, #00h djnz R5, $ djnz R6, Loop0 djnz R7, Loop1 cpl GREEN_LED ; Toggle LED. jmp Loop2 ;----------------------------------------------------------------------------- ; End of file. END |