Hi Janne,
Thanks for that. In the interim I re-wired our board to reflect the
application note and it all works .. yay :-)

I have a question on downloading to the target. I get the following when gdb
executes my script:

---------------------------------- output from gdb
----------------------------------------------------
source touchscreen.elf
set remoteaddresssize 64
set remotetimeout 999999
target remote localhost:2000
0x0000e000 in _reset_vector__ ()
monitor erase all
Erasing target flash - all... Erased OK
Loading section .text, size 0x400 lma 0xe000
load Debug/touchscreen.elf
Loading section .data, size 0x2 lma 0xe400
Loading section .vectors, size 0x20 lma 0xffe0
Start address 0xe000, load size 1058
Transfer rate: 1 KB/sec, 211 bytes/write.
----------------------------------------------------------------------------------------------------------

My question relates to the file size and the time it takes to program.
According to the above, by object size is 1058 bytes and it looks like
the transfer rate is 1Kbit or 211 bytes per second? If so it should take
about 5 seconds to load. However it loads in about a second, so either these
numbers are wrong
or all my object code is not being loaded. Any comments?

Thanks,
Bernie


On Mon, Feb 9, 2009 at 10:45 AM, <[email protected]> wrote:

> Bernard Mentink wrote:
> > Hi Janne,
> >
> > I presume by MSP-FET you mean the target board micro? (Confused, as my
> > understanding of an MSP-FET is a parallel port to JTAG adapter sold by
> > TI ???)
> > If you mean the former, then the pins you specify don't match up with
> > the page in the manual.
> >
> > The manual shows pin 8 of the JTAG header going to the TEST pin on the
> > device (which is pin 1 on the 2232) and pin 1 on the JTAG header no
> > longer goes to pin 38 on the 2232 (for JTAG mode) but
> > now goes to pin 7 (reset). I presume if the the JTAG pins are connected
> > they are not used in this mode and can be ignored.
> >
> > So my question is: Do I follow the manual circuit (Fig-3-1) or do I try
> > to connect as your instructions as they are different. Can you not
> > supply a schematic? A picture is worth a 1000 words!
> >
> > Thanks,
> > Bernie
> >
>
> Hi Bernie,
>
> SBW doesn't work at all with parallel port JTAG. You must use USB FET for
> that. Here is a drawing of direct connection of SBW. My explanation was
> based
> on the assumption that you have 4-wire JTAG header on your 2232 target,
> like
> me. TEST/VPP connection is not necessary unless you want to blow the JTAG
> fuse which I assume is something you don't want to do right now. You are
> right, "normal" JTAG pins are not used with SBW.
>
> Here is the adapter schematic to convert from 4-pin JTAG to SBW:
>
> http://koti.mbnet.fi/jahonen/Electronics/Stuff/SBWAdapter.png
>
> As you can see, only two pins are used other than VCC and GND.
>
> To directly connect the 2232 to the USB FET (without JTAG fuse blow
> option):
>
> http://koti.mbnet.fi/jahonen/Electronics/Stuff/SBWConnection.png
>
> These two lead to same result, but using a SBW connected pinheader avoids
> the
> mess with adapters.
>
> Regards,
> Janne
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

Reply via email to