EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

MSP430 GANG with Borland C++ builder

Started by pruttlanda August 12, 2008
Hi,

Im trying to get MSP-GANG430 to work in BC++ version 6.
After converting the lib with following:

coff2omf.exe GANG430.lib GANG430converted.lib -v -lib:ms

Borland then accept the lib. But during make of the project I now end
up in

[Linker Error] Unresolved external '__stdcall InitCom(char *, long)'
referenced from D:\VSS\GDBPROD\MAIN.OBJ

What can be the problem?

Trying to do a one-by-one integrated production programmer equipment.
Is it maybe better to use for example MSP-FET430UIF. Is there any
software package avalible for that one?

Regards Bjn

Beginning Microcontrollers with the MSP430

I am not entirely sure what you are trying to do but I assume that you are
trying to write your own control application for the GANG430 programmer.

There is documentation for the DLL that TI supply with the gang programmer
in the user manual SLAU101
This DLL includes the function InitCom() amongst others.

regards

Ian

2008/8/12 pruttlanda

> Hi,
>
> Im trying to get MSP-GANG430 to work in BC++ version 6.
> After converting the lib with following:
>
> coff2omf.exe GANG430.lib GANG430converted.lib -v -lib:ms
>
> Borland then accept the lib. But during make of the project I now end
> up in
>
> [Linker Error] Unresolved external '__stdcall InitCom(char *, long)'
> referenced from D:\VSS\GDBPROD\MAIN.OBJ
>
> What can be the problem?
>
> Trying to do a one-by-one integrated production programmer equipment.
> Is it maybe better to use for example MSP-FET430UIF. Is there any
> software package avalible for that one?
>
> Regards Bjn
>
I have solved the problem by loading the GANG430.dll dynamic instead
of static. Then the .lib file is not needed.

The lib doesn't work in Borland builder 6 and Builder 2007. I think
its more a microsoft vs. borland thing than a fault in the
GANG430.lib.

/Bjn

--- In m..., "Ian Okey" wrote:
>
> I am not entirely sure what you are trying to do but I assume that
you are
> trying to write your own control application for the GANG430
programmer.
>
> There is documentation for the DLL that TI supply with the gang
programmer
> in the user manual SLAU101

> This DLL includes the function InitCom() amongst others.
>
> regards
>
> Ian
>
> 2008/8/12 pruttlanda
>
> > Hi,
> >
> > Im trying to get MSP-GANG430 to work in BC++ version 6.
> > After converting the lib with following:
> >
> > coff2omf.exe GANG430.lib GANG430converted.lib -v -lib:ms
> >
> > Borland then accept the lib. But during make of the project I now
end
> > up in
> >
> > [Linker Error] Unresolved external '__stdcall InitCom(char *,
long)'
> > referenced from D:\VSS\GDBPROD\MAIN.OBJ
> >
> > What can be the problem?
> >
> > Trying to do a one-by-one integrated production programmer
equipment.
> > Is it maybe better to use for example MSP-FET430UIF. Is there any
> > software package avalible for that one?
> >
> > Regards Bjn
> >
> >
> >
> >
> >
> >
> >

The 2024 Embedded Online Conference