On 2007-12-14, Chris Liechti <[email protected]> wrote:

>>>>>> If you are using Windows its OK.
>>>>>>       
>>>>> Is that true for 2330 as well?
>>>>>     
>> If I also replace the IAR HIL.dll with the soft-switch one I
>> then get this instead:
>> 
>>   "msp430: Could not initialize device interface"
>> 
>> I'm using an MSP-FED430UIF USB interface (the gray plastic box
>> about the size of a deck of bridge cards).
>
> is the 2330 with spy-bi-wire?

No, it's regular JTAG.  I can download to it using the parallel
port interface and msp430-jtag -- I just can't get
msp430-gdbproxy to recognize it using either the parallel or
USB interfaces under Windows or Linux.

>> Is it possible to use the IAR debugger to debug a GCC .elf
>> file?
>
> not really nice. there were attempts to write a object file
> converter, but i don't think that reached production quality
> (there is some ooooold code the the CVS)
>
> you can always load the .a43 file in the IAR IDE and do
> assembler level debugging. you'll have to match the addresess
> with the listing file manually...

Yup, I found some old threads in the mailing list that talked
about doing that.

> alernatively, there is the NoICE debugger. which comes with code to 
> convert elf files to their debugging object format (also with 
> limitations, but basic source level debugging should work)

Google found me the NoICE debugger page, and that looks like a
possibility.  Source-level debugging is probably going onto the
back burner again for a while (I very rarely use it).  

I eventually found my problem by adding application code to
capture some stuff to a RAM buffer and then dump it out using a
bit-banged "UART" when I detected a problem.

It turns out it was a bug in the MSP430 USCI UART HW design.
It's described in the part's errata sheet, but it took me a few
days to figure out that what I was seeing was what was being
described in the errata.  I hate when that happens...

-- 
Grant Edwards                   grante             Yow! Mr and Mrs PED, can I
                                  at               borrow 26.7% of the RAYON
                               visi.com            TEXTILE production of the
                                                   INDONESIAN archipelago?


Reply via email to