Acording to the Diagram there in the same order as the USBJTAG NT. And if datasheet say 32Mbit its not the same as 32MByte.madface wrote:Sorry, but I think is 32M Flash, not 4M. This is written in Macronix datasheet.
32MBit = 4MByte
I have the toy in my hands, so I can move forward...CAPONE wrote:You will first need to have the USBJTAG NT In your hands to Move Foward. You can try them Both and see what you get in Output Screen...
I can't get Trap On.usbbdm wrote:Make sure you see TRAP ON. Or it will not work.
I followed the instructions listed here (http://www.usbjtag.com/jtagnt/ird/sv8000.php) because I presume I have the same pin diagram. So, switching pin1 to 13, every time I press F1 (detect), the box is reseting. I cannot get Trap On....madface wrote:Sorry for posting here, but I can not find a related thread reagarding the pins of USBJTAGNT.
In the user guide is written:
Pin1 – TRST
Pin3 – TDI
Pin5 - TDO
Pin7 – TMS
Pin9 – TCK
Pin11 – RESET
Pin13 – DEBUG (Not used)
Pin 2, 4,6,8,10 Ground. Pin 14 NC
but in the connection diagram provided by usbjtagnt 0.56a is something like:
Pin3 - TD1
Pin5 - TDO
Pin7 - TMS
Pin9 - TCK
Pin11 - RST (or Reset)
Pin13 - TRST
Which one is correct? I mean Pin13 is Debug or TRST?
You can try to remove the reset pin (pin11 from NT) and see if the reset stops.madface wrote:I have the toy in my hands, so I can move forward...
I can't get Trap On.
I followed the instructions listed here (http://www.usbjtag.com/jtagnt/ird/sv8000.php) because I presume I have the same pin diagram. So, switching pin1 to 13, every time I press F1 (detect), the box is reseting. I cannot get Trap On....
How may approach this matter?
What I forgot to tell here, is that after I've removed the reset pin, the box is not booting. It detects the processor, the BOX OFF appears in status bar, but I cannot get TRAP ON. This is happening in ST40 mode.usbbdm wrote:You can try to remove the reset pin (pin11 from NT) and see if the reset stops.
Maybe this is my problem: TRST is actually NOTTRST and RESET is NOTRESET. Should I invert the output from USB JTAG NT interface?usbbdm wrote:ST40 and DCU are not the same. So either one or the other.
I assume your device is ST40 device and I have noticed some issues regarding ST40 JTAG.
With 0.56a, if the device is working fine, then you should be able to get TRAP ON easily.
If the boot is erased it is hard to enter TRAP ON on some target. I have tried Sti7100 (Sonicview 8000HD), enter TRAP ON is not difficult. But on Sti5202 enter TRAP ON is difficult but not impossible. I have also tried using 3M JTAG clock and sometime I got better chance to enter TRAP ON.
The TRAP ON is to inject small debug code into ASMEM (special memory for debug and instruct the CPU to execute it). Once we got proper response from it then it enters TRAP ON and we can do things we want. The reset procedure is the most important thing. So do not remove the reset pin or it will never work.
The ST40 has special timing for TRST and RESET. Both pins has to be connected. There is a small window after power on and detect is hit if your boot is bad to be able to enter TRAP ON. I am working on it to see if I can do some adjustment on timing to get better chance to enter TRAP ON.
Users browsing this forum: No registered users and 3 guests