I have isd51.dll ver 2.34. I would like to use an ISD with TI TUSB3210 processor (like standard 8052 derivate). And I've got an Error message from ISD51 Monitor Error: 'There was no reply from the target system!' I correctly set baudrate to 9600, tested both in simulator and hyperterminal as well described in ISD51.htm file. The function with 'A'character and output character work perfectlly. So I go back to simulator and try send HEX 0xA5 by sin=0xA5 command in simulator - it display 0xF7 followed by 6 hex values. => It seems that all work OK. But when I try it in Hyperterminal it does'not work. So I think that when Debugger send initial command - no response from 8052 by UART. Where should be an error ? Radim
Are you CERTAIN that the 3200 is transmitting at 9,600 baud? You can use the baudrate calculator at http://www.keil.com/c51/baudrate.asp to see if timer 1 can be used for the baudrate you want. Jon
I haven't used the TUSB3210, but I am currently working on a TUSB3200, which is a bit similar. The TUSB3200 has a bit called MCUCLK in the GLOBCTL register, which doubles the MCU clock (from the PLL output) from 12MHz to 24MHz. This also affects baud rates. Check if the TUSB3210 has something similar.
Thanks Richard for subbmisions. I know TUSB3210 chip. This bit can't select 12 or 48 MHz, MCU only run on 48 MHz. This is documented in errata file. I recalculate RCAP2H = 0xFF; RCAP2L = 0x64; // 9600 pro 48MHz I set XTAL propery to 48MHz in Target properteries for Serial calculation (simulator estimated 9615 baud rates) The UART work's perfectly both in simulator, and HYPERTERMINAL application (real connected by RS232 - to target application) In SIMULATOR I got response on command (hex: 0xA5) to display 0xF7 followed by 6 hex values. => It seems that all work OK. But when I try it in Hyperterminal or my own application written in Delphi (100% working well tested on other application) => does'not work.
I am not shure about the TUSB3210 because a am using the TUSB3200. Are you realy shure that the 3210 has a Timer2. As far as I know the TUSB chips don't have T2 suppurt Thomas
Thomas, how are you getting on with the TUSB3200 chip? Mine is starting to behave now, but I had a real struggle to start with due to lack of documentation from TI.
Very thanks Thomas! this I forgot, so I disable T2 and use standard T1 as baud rate generator. Can I use these values ? TMOD &= 0x0f; TMOD |= 0x20; SCON = 0x50; /* enable serial uart & receiver */ PCON = 0x80; TH1 = RS232_BAUDRATE; TR1 = 1; // enable Timer 1 2) I am using TUSB3210 chip for USB HID transfer protocol. I would like if it possible to discuss about it. Something I understood but something not. If anyone is interested in TUSB chips - it should be good to discus about it.
well, I have already done several designs with the TUSB3200A. For easy debugging I am using the 3200 in external mode. Although the docs could be better I found almost everything in the datasheet. One thing which I could not get work properly was the I2C port. You can reach me thzepf@yahoo.com thomas
>One thing which I could not get work properly was the I2C port. I did finally get it working, because an I2C connection to another processor (a PIC16F877) was a crucial part of my design. I referred to the TUSB3210 boot code, and did some signal logging with a digital CRO to finally crack it. (The TUSB3210 and TUSB4210 have very similar I2C hardware to the TUSB3200, but the error flag clears differently.)
Hej i am doing some TUSB6250 but can't really get started, so if you would share some of the codes i like that.... Kasper