Hi,
This is my first post on TI Community !!. I get samples of MSP430F2012 / 2013 a weeks ago , I am trying to develop home security systems
I'm trying to program my MSP430F2013 usign JTAG-4 wire interface, implemented over a custom microcontrolled development board (yes, I'm a DIY hobbist)
I´ve followed all the steps as stated in the AppNotes relating Flash Programming using the JTAG-4 interface, but sadly failed to initialize the device
My custom development board powers up the microcontroller, then run the entry sequence for JTAG-4, perform the Reset-TAP routine, electrically check fuse (toggling twice TMS) and gets into Run Test/Idle state, all this is ok
Then I send an IR_SHIFT command (LSB fisrt) wtih 0x14 instruction to read CNTRL_REGISTER, and I get the correct JTAG_ID (0x89) out of my IR-SHIFT routine
But then I send a dummy word to DR_SHIFT routine and always give me back the DR value shifted in, delayed one TCK pulse. It is, by a strange reason, the MSP430 goes always into "bypass" mode, and never return
What am I doing wrong? I tried checking fuse (electrically) before and after resetting TAP-SM, both check methods were sucessfull, but then . . . go into bypass-mode
Two things that I am not so sure . . . :
- Should I provide a low freq XTAL to the device while trying to program? (I think not) I just connect it to the JTAG wires, nothing else
-What exactly means "store TCLK value" and "restore TCLK value" when entering and exiting IR_SHIFT and DR_SHIFT routines? All I can do is remember the TDI pin state and restore it after IR shifting operation, because 430F2013 shares TCLK with TDI
Any suggestion will be greatly appreciated
Regards
Fernando