Minimal 811 ref. circ. to program with eval board?
What all is needed for an 811 (or 101/102) to operate such that it can be programmed via JTAG from the eval board?
(Has anybody here yet successfully moved their code off the eval board? I've seen no mention of it...)
I soldered an 811 to a QFP-to-DIP adapter, plugged it into a breadboard, and connected:
-4 power pins to 3.3V. -4 ground pins -LDO through 10uF to gnd -pullups for reset and Trst -OSC0 and OSC1 to 3.6...MHz crystal and 18pf to gnd. -4 JTAG pins to the JTAG cable (and grounded the line that goes back to the eval bd. 811's reset)
I tried to flash in a program and got the usual error window (couldn' program, DLL cancelled...).
Since I couldn't verify the oscillator circui with a scope at the time, I insted connected OSC0 with the buffered 6MHz from the eval board. Same result. Thinking that perhaps a junk program on the 811 was preventing JTAG access, I tried both options above with reset tied low. Same results.
What I'm I missing? -Any more pins that need connecting? -I do not understand the function of LDO. Is there a simple way to disable it? -Are any of the specified xtal options OK, or is 6MHz required? (I used 3.6....MHz because it's the only one listed that I have sitting around.) -Is a specific brand of crystal (CL=36?) needed? -Are all power/ground pairs required to be connected for programming? The fewer to connect, the fewer to screw up...)
Older app notes show 15pF for the xtal circuit. Obsolete? Worth trying?
I noticed that in the debugger configuration, there is a place for target PLL frequency, which defaults to 50 for the 811 and 20 for the 101. Does this matter, in the sense that an unprogrammed device does not know how to run its PLL since it's not been told what xtal is has?
Rather than further endanger my expensive, hard-to-obtain/assemble 811/board combos, I'd like to switch to experimenting with a 101 or 102. Does that make any difference other than picking it in the list of targets?
login or register to reply
|