Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/12/01 08:04
Read: times


 
#17541 - RE: TUSB 3210
I know assembler for 8052 core. So I succesfully make BIN code this example:

======================================
LEDPIN BIT P3.5 ;your favorite port pin (LED preferred)

START CODE 8000H ;start address of user programs

TIME EQU 8 ;time constant in units of 250 ms (for 12 MHz)

ORG START ;program start address

BLINK: CPL LEDPIN ;toggle pin (Great, when connected to a LED!)
MOV R3,#TIME ;wait for TIME * 125 ms (12 MHz)
MOV R2,#0
MOV R1,#0
LOOP: DJNZ R1,LOOP
DJNZ R2,LOOP
DJNZ R3,LOOP
SJMP BLINK ;This is repeated forever,
;if you don't press reset ...
END
=======================================

But I have problem with TUSB3210, because you can't directly download BIN code to EEPROM memory. I use I2C header utility from Texas - the program merge header boot block to BIN file. After that you can download this code to EEPROM. It seems - it's working - but no response on P3.5.

Processor clock are runnig, I2C bus wich is connected to serial EEPROM look likes working.

So I find anyone who works with TUSB3210 processors.

Thanks
Radim

List of 6 messages in thread
TopicAuthorDate
TUSB 3210            01/01/70 00:00      
RE: TUSB 3210            01/01/70 00:00      
RE: TUSB 3210            01/01/70 00:00      
RE: TUSB 3210            01/01/70 00:00      
RE: TUSB 3210 firmware and download            01/01/70 00:00      
RE: TUSB 3210 using i2c Texas Inst. Util            01/01/70 00:00      

Back to Subject List