[Mspgcc-users] problem with mspgcc lib from msp430-jtag

2007-11-04 Thread Eric Decker
Hello, I recently downloaded the tinyos 2.x XubunTOS live CD and installed it. Which uses the mspgcc tool chain. I got jtag from the stanford repository. (msp430tools-jtag-lib-tinyos) and (msp430tools-python-tools-tinyos). It installed okay and I built Blink (one of the tinyOS demo programs).

[Mspgcc-users] usb jtag pod with msp430-gdbproxy

2008-01-21 Thread Eric Decker
Does msp430-gdbproxy support the usb jtag pod? thanks, eric

[Mspgcc-users] usb jtag debugging

2008-01-29 Thread Eric Decker
A few questions... 1) what msp430-gdbproxy do I need to debug using a USB JTAG FET? 2) on the usb bus how does the USB JTAG FET show up? (ie lsusb) 3) Is any one using the Olimex usb jtag dongle with mspgcc for the msp430? 4) what is the command string fed to msp430-gdbproxy when using the ti

[Mspgcc-users] ti usb jtag problem.

2008-03-12 Thread Eric Decker
Hello, I just got a TI USB Jtag (msp-fet430uif) debugging interface to replace an old parallel port one. The kernel is finding it but no /dev/ttyUSB* device file is being created. Any thoughts? Anyone know what error -5 coming from the device driver means (ti_usb_3410_5052: probe of 1-1:1.0

[Mspgcc-users] msp430 gdbproxy and jtag on MAC

2008-05-08 Thread Eric Decker
of the binary versiion of the proprietary stuff to generate a working library that we can then use on the Mac. Can some help? thanks, eric decker autonomous systems lab ucsc

[Mspgcc-users] msp430-gdb, msp430-gdbproxy, and msp430-jtag debian packages for 8.04 (Hardy)?

2008-07-21 Thread Eric Decker
Does anyone have a pointer to prebuilt packages for Hardy? eric -- Eric B. Decker Senior (over 50 :-) Researcher Autonomous Systems Lab Jack Baskin School of Engineering UCSC

Re: [Mspgcc-users] mspgcc msp430 5438 includes

2009-10-26 Thread Eric Decker
time now and just want to check whether you got my mail with the header files. No need to hurry, I just want to be sure you got the files. JMGross - Ursprüngliche Nachricht - Von: Eric Decker An: msp...@grossibaer.de Gesendet am: 15 Okt 2009 20:42:48 Betreff: mspgcc msp430 5438

[Mspgcc-users] bug in msp430 headers, involving svsctl and dcoctl

2010-03-31 Thread Eric Decker
We recently switched to the msp430f2618 from a msp430f1611 and on boot up I noticed that DCOCTL was getting zero'd. This occured when I set SVSCTL=0. On further investigation, I noticed that SVSCTL and DCOCTL were both being set to 0x56. I tracked this down to msp430/include/msp430x261x.h which

[Mspgcc-users] mspdebug and new processors

2010-08-10 Thread Eric Decker
Hi Daniel, mspdebug 0.10 has a db entry for the msp430f2616 but I have a msp430f2618 that isn't recognized by mspdebug. I initially tried --fet-force-id msp430f2616 but that didn't work. So I then tried to duplicate the procedure to list the msg28_data that Andres Vahter used On Tue, Aug

[Mspgcc-users] mspdebug and new processors

2010-08-10 Thread Eric Decker
first time I wrote daniels address wrong Hi Daniel, mspdebug 0.10 has a db entry for the msp430f2616 but I have a msp430f2618 that isn't recognized by mspdebug. I initially tried --fet-force-id msp430f2616 but that didn't work. So I then tried to duplicate the procedure to list the msg28_data

[Mspgcc-users] DMA and TI Headers

2010-11-20 Thread Eric Decker
Hi, I'm trying to figure out how to make sense of the different msp430 DMA engines and the way the TI headers (from mspgcc4, Peter Bigot) describe what is there. First, here is what I understand about the hardware: I believe the difference can be distilled down to the following: SA/DA address

Re: [Mspgcc-users] need for __get_frame_address()

2011-03-03 Thread Eric Decker
On Thu, Mar 3, 2011 at 3:22 PM, Peter Bigot big...@acm.org wrote: In addition to SF bug 3168453 which notes that the prototype for __get_frame_address() in msp430-libc is wrong (and has been for years) resulting in a reference to a non-existent external function, SF 3198920 documents that the

Re: [Mspgcc-users] Changes to mspgcc CRT capabilities in uniarch release

2011-03-14 Thread Eric Decker
I concur with Crazy Casta. I think we should adhear to the principle of least surprise. What will most people see if we enable the WDT by default and something goes wrong. How long will it take them to figure out what is happening So I think leaving the WDT function disabled by default

[Mspgcc-users] Anyone know what RWM in the TI 5438 means?

2011-04-04 Thread Eric Decker
Hi, I know what Read-Modify-Write means. At least in the context of non-TI processors. :-) I've designed and debugged full blown multiprocessors with nasty snooping caches. cache coherency is always entertaining. Now in the DMA machine for the CC430f5137 and msp430f5438 there is mention of a

Re: [Mspgcc-users] Anyone know what RWM in the TI 5438 means?

2011-04-05 Thread Eric Decker
On Mon, Apr 4, 2011 at 8:43 PM, Steve Underwood ste...@coppice.org wrote: A large part of the MSP430 instruction set is read-modify-write. How do you think all those memory to memory operations work? Ah. I guess I got taken in by TI calling the MSP430 a RISC machine. Silly me. Thanks

Re: [Mspgcc-users] Anyone know what RWM in the TI 5438 means?

2011-04-05 Thread Eric Decker
: Eric Decker Gesendet am: 05 Apr 2011 03:14:40 I know what Read-Modify-Write means. At least in the context of non-TI processors. :-) I've designed and debugged full blown multiprocessors with nasty snooping caches. cache coherency is always entertaining. The MSP does not have any

Re: [Mspgcc-users] Anyone know what RWM in the TI 5438 means?

2011-04-05 Thread Eric Decker
On Tue, Apr 5, 2011 at 6:58 AM, Grant Edwards grant.b.edwa...@gmail.comwrote: On 2011-04-05, Eric Decker cire...@gmail.com wrote: On Mon, Apr 4, 2011 at 8:43 PM, Steve Underwood ste...@coppice.org wrote: A large part of the MSP430 instruction set is read-modify-write. How do you think

Re: [Mspgcc-users] Anyone know what RWM in the TI 5438 means?

2011-04-05 Thread Eric Decker
On Tue, Apr 5, 2011 at 7:24 AM, Peter Bigot big...@acm.org wrote: On Tue, Apr 5, 2011 at 9:12 AM, Eric Decker cire...@gmail.com wrote: On Tue, Apr 5, 2011 at 6:58 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: Ah. I guess I got taken in by TI calling the MSP430 a RISC machine. Yea

[Mspgcc-users] How to access 20 bit peripheral registers...

2011-04-12 Thread Eric Decker
Hi, 1st before anything else... Is there a reasonable way to search the mspgcc-users archive? I've poked around a bit and doesn't seem to be. I'm playing with the dma engines on the msp430f2617. I've written a unified driver that handles all three main processor varients. (x1: msp430f1611,

Re: [Mspgcc-users] [tinyos-msp430] How to access 20 bit peripheral registers...

2011-04-12 Thread Eric Decker
information about the behavior of 20 bit registers. and I'm talking about the 2617 processor. although I'm also interested in any information about the cc430f5137 and/or the 5438. Peter On Tue, Apr 12, 2011 at 8:18 AM, Eric Decker cire...@gmail.com wrote: Hi, 1st before anything else

[Mspgcc-users] How to get 20 bit immediate...

2011-04-14 Thread Eric Decker
, 0x001d2;#0x0fefe Can the msp430X instruction set even access a 20 bit immediate field? Or do I have to initialize a long in memory first then load it using movx.a? eric On Wed, Apr 13, 2011 at 12:23 PM, JMGross msp...@grossibaer.de wrote: - Ursprüngliche Nachricht - Von: Eric Decker

Re: [Mspgcc-users] How to get 20 bit immediate...

2011-04-14 Thread Eric Decker
On Thu, Apr 14, 2011 at 5:25 PM, Eric Decker cire...@gmail.com wrote: Anyone know how to get 20 bit immediate in gcc extended asm? ie. __asm__ __volatile__ (movx.a %1,%0:=m (DMA0SA):i (0xefefeUL)); which unfortunately generates... __asm__ __volatile__ (movx.a %1,%0:=m

Re: [Mspgcc-users] How to get 20 bit immediate...

2011-04-14 Thread Eric Decker
On Thu, Apr 14, 2011 at 4:21 PM, Peter Bigot big...@acm.org wrote: And yes, if you did it in assembler, you could use a 20-bit immediate. Peter Can the msp430X instruction set even access a 20 bit immediate field? This is kind of what I was getting at From my original post:

Re: [Mspgcc-users] How to get 20 bit immediate...

2011-04-15 Thread Eric Decker
thanks. appreciated. On Fri, Apr 15, 2011 at 7:12 AM, JMGross msp...@grossibaer.de wrote: - Ursprüngliche Nachricht - Von: Eric Decker Gesendet am: 15 Apr 2011 05:38:43 I know uniarch currently doesn't support 20 bit. That is why I'm using 3.2.3 with the z1 mods

Re: [Mspgcc-users] GDB for Uniarch?

2011-05-11 Thread Eric Decker
I've been using the GDB from the previous builds that Peter was doing before uniarch. Its GDB 7.2 from mspgcc 4.4.5. Download from Mspgcc4/Sourceforgehttp://sourceforge.net/projects/mspgcc4/files/mspgcc4/. The file you want is mspgcc4-201103112.zip. Unpack it and follow the instructions.

Re: [Mspgcc-users] MSP430-GCC + Eclipse

2011-07-04 Thread Eric Decker
msp430-gdbproxy hasn't been supported for a long time. you can try porting mspdebug to the windows/cygwin environment. I don't know what is required, prehaps a port of libusb. or you can switch to a linux environment, perhaps dual boot. sorry that there isn't a better answer. I started my

Re: [Mspgcc-users] Questions about 5438 FLL and DCO

2011-08-08 Thread Eric Decker
. So you should explicitely disable the FLL before entering any LPM except LPM0, and only re-enable it if you remain in active mode for more than 2 or 3 reference ticks. JMGross - Ursprüngliche Nachricht - Von: Eric Decker An: JMGross Gesendet am: 07 Aug 2011 07:22:53

Re: [Mspgcc-users] Custom linker file

2011-08-09 Thread Eric Decker
On Mon, Aug 8, 2011 at 10:57 PM, Alex Stefan alexandru.ste...@cloudbit.rowrote: As I said, seems like a very good idea, but there's one thing I don't understand. Why do you need the 'indirect jumping zone'. Why wouldn't it be possible to program the vector in bootvect to jump directly to the

Re: [Mspgcc-users] how to stop watchdog prior to C++ constructors calling

2011-08-12 Thread Eric Decker
I don't know what the C++ code looks like after the compiler gets done with it. But... You should be able to generate a listing from the object that includes the underlying assembly language. I don't know how ugly the constructors and destructors are but you should be able to figure out where

[Mspgcc-users] latest version of the toolchain available

2011-08-17 Thread Eric Decker
I've put together a revised version of LTS 20110716 with the patches through 20110813 from Peter's releases. It is located as a tar ball at: http://tinyprod.net/downloads/msp430-20110813.tgz It gets installed in /opt. It has been built for Ubuntu Lucid (10.04) and also needs to have libmpc-dev

Re: [Mspgcc-users] Source build (and instructions need to be fixed)

2011-08-28 Thread Eric Decker
there is an experimental debian archive at http://tinyprod.net/debian-dev/ This is based on debian squeeze so should work fine on Ubuntu 11.04 I don't know what 2.21.1a or 7.2a are. Those seem kind of odd. Where are your references coming from? More context would be nice. eric On Sun,

Re: [Mspgcc-users] data loads at strange addresses

2011-08-30 Thread Eric Decker
1cxx etc is ram. and for some reason gdb is thinking that it is down in ram which is probably where it ends up. Not sure what is different in the elf file you are feeding into gdb. Which gdb by the way. it would help more if you include things like what gdb, what toolchain, versions, etc.

Re: [Mspgcc-users] data loads at strange addresses

2011-08-30 Thread Eric Decker
wrote: 30.08.2011 12:32, Eric Decker пишет: 1cxx etc is ram. and for some reason gdb is thinking that it is down in ram which is probably where it ends up. Not sure what is different in the elf file you are feeding into gdb. Which gdb by the way. Hi, Eric! I'm using latest

Re: [Mspgcc-users] data loads at strange addresses

2011-08-30 Thread Eric Decker
On Tue, Aug 30, 2011 at 2:06 AM, aliko ali.tli...@gmail.com wrote: 30.08.2011 12:54, Eric Decker пишет: we need more details about the compile process, turn on verbose and see what switches are being fed to the compiler and linker. compiller (for one of files in project): msp430-g++ -c

Re: [Mspgcc-users] uint64_t issue?

2011-09-14 Thread Eric Decker
this one of my early builds Michel please try ag From cPhone On Sep 14, 2011, at 8:01 AM, Peter Bigot big...@acm.org wrote: Interesting. I'll have to figure out where that extra information is getting added; when I do that on one of my internal builds, I just get 4.5.3 with no

Re: [Mspgcc-users] uint64_t issue?

2011-09-14 Thread Eric Decker
Michel please try again but use one of the more current builds from http://tinyprod.net/razvanm/debian From cPhone On Sep 14, 2011, at 8:01 AM, Peter Bigot big...@acm.org wrote: Interesting. I'll have to figure out where that extra information is getting added; when I do that on one of my

Re: [Mspgcc-users] memory.x not found and debugger crashing

2011-09-19 Thread Eric Decker
that is one way of doing it but I don't think it is required. What I beleive is required is that you tell the linker about the mcu. I beleive there is a way of doing this directly to the linker but I don't recall the syntax. The mechanism Matthias is using certainly works to tell the linker

Re: [Mspgcc-users] VLA in MSPGCC

2011-09-29 Thread Eric Decker
Harumph. I'm not sure where to point you. I learned about this stuff in basic computer science classes and/or on the fly. The major question is where to data variables live 1st there is registers (clearly local scope) next up is the stack. This depends on the architecture of the

Re: [Mspgcc-users] Incorrect TASSEL0/1 comments in msp430mcu headers

2011-10-01 Thread Eric Decker
Hey Jasper, Thanks for the find. Here is the situation First, these files come directly from TI and for maintanence and sanity reasons we don't want to modify them. There is a very simple mod done at the very front which adds the define for TI_HEADERS. Peter takes care of that. And he

Re: [Mspgcc-users] VLA in MSPGCC

2011-10-06 Thread Eric Decker
On Thu, Oct 6, 2011 at 2:03 AM, David Brown da...@westcontrol.com wrote: On 05/10/2011 18:05, JMGross wrote: - Ursprüngliche Nachricht - Von: David Brown Gesendet am: 04 Okt 2011 16:22:18 On 04/10/2011 15:59, Peter Bigot wrote: The words stack and heap do not appear

Re: [Mspgcc-users] MSP430-insight

2011-10-10 Thread Eric Decker
On Mon, Oct 10, 2011 at 3:12 PM, Wayne Uroda wayne.ur...@grabba.com wrote: I have a couple of stupid questions: 1. Is there any way to search the mspgcc-users mail archive on sourceforge? (I may not have needed to ask question 2).

Re: [Mspgcc-users] Device support list

2011-10-11 Thread Eric Decker
I'm not aware of a device support list. However, I know that the CC430f5137 is definitely supported as are the 5438a The intent is to support any device that we have cpu headers for. But I don't know if that means the goal was accomplished. The proof is in the actual code generated and

Re: [Mspgcc-users] mspgcc and printf

2011-11-16 Thread Eric Decker
it would be better to figure out why disabling around the hw output makes a difference. you really shouldn't have to do that. some other piece of code must be mucking with the uart I/o the other more efficient way to mess with this is to go buffered and run the I/O off interrupts.

Re: [Mspgcc-users] mspgcc and printf

2011-11-16 Thread Eric Decker
something like READ_SR() GIE From cPhone On Nov 16, 2011, at 6:28 PM, Sergio Campamá scamp...@ing.puc.cl wrote: Umm, what would be the proper way to check the GIE bit from the SR? Something like _BIS_SR(GIE), but not to set, just to read the SR...

Re: [Mspgcc-users] Problems with erasing MSP-EXP430FR5739 and then Security fuse blown error

2011-11-21 Thread Eric Decker
On Mon, Nov 21, 2011 at 11:06 PM, Kuba kubaraczkow...@gmail.com wrote: Hi Daniel, Thanks for the info. That sounds a bit better than the chip replacement (though I will try that if nothing else works, thanks Crazy Casta). Did you come across an instruction to follow this procedure? Can it

Re: [Mspgcc-users] Problems with erasing MSP-EXP430FR5739 and then Security fuse blown error

2011-11-21 Thread Eric Decker
On Mon, Nov 21, 2011 at 11:34 PM, Kuba kubaraczkow...@gmail.com wrote: Dear Eric, Daniel, I see. Indeed if the INFO section contains only useful data and not critical data, then I can safely erase the device. Not silly at all. How many of us have bricked a device accidentally.

Re: [Mspgcc-users] Enter LPM4 without missing the wakeup interrupt

2011-12-05 Thread Eric Decker
On Mon, Dec 5, 2011 at 4:05 PM, Sergio Campamá scamp...@ing.puc.cl wrote: Hello Wayne, The only difference between LPM3 and LPM4 is that the ACLK is stopped in LPM4, so moving onto LPM3 won't solve your problem. What is the P1.1 connected to? If you wanted to wake the system up from LPM4

Re: [Mspgcc-users] Vector Problems with processor type

2011-12-23 Thread Eric Decker
Howdy Bob, When messing with low level stuff (like interrupts) one must learn to read and deal with TI's weird interrupt schemes. One can learn all from looking at the include files: These files can be found in /usr/msp430/include with a normal install from one of the Debian packages

Re: [Mspgcc-users] Static analysis stack tool

2012-01-12 Thread Eric Decker
On Thu, Jan 12, 2012 at 4:01 PM, Wayne Uroda wayne.ur...@grabba.com wrote: Hi Peter, Regarding your first comment, are you saying that while I can put a definite lower bound on stack usage (stack uses at least X bytes), I cannot put a definite upper bound on stack use (stack never uses more

Re: [Mspgcc-users] Programming MSP430 under Linux

2012-01-30 Thread Eric Decker
mspdebug See: http://mspdebug.sourceforge.net/ On Mon, Jan 30, 2012 at 1:44 AM, Ori Idan o...@helicontech.co.il wrote: I need to program a MSP430 device using Linux. I do not need debugging, just send an existing .hex file to the device and program it's flash. What is the best tool,

Re: [Mspgcc-users] Programming MSP430 under Linux

2012-01-30 Thread Eric Decker
. there is the TI-FET MSP-FETU430IF. there is the OLIMEX tinyusb there is the goodfet. various levels of cost. -- Ori Idan On Mon, Jan 30, 2012 at 12:46 PM, Eric Decker cire...@gmail.com wrote: mspdebug See: http://mspdebug.sourceforge.net/ On Mon, Jan 30, 2012 at 1:44 AM, Ori Idan

Re: [Mspgcc-users] Programming MSP430 under Linux

2012-02-10 Thread Eric Decker
...@gmail.com] Sent: Friday, February 10, 2012 12:14 AM To: Mspgcc-users@lists.sourceforge.net Subject: Re: [Mspgcc-users] Programming MSP430 under Linux On Mon, Jan 30, 2012 at 6:58 AM, Eric Decker cire...@gmail.com wrote: On Mon, Jan 30, 2012 at 3:00 AM, Ori Idan o...@helicontech.co.il wrote

Re: [Mspgcc-users] Programming MSP430 under Linux

2012-02-10 Thread Eric Decker
Since the op didn't mention which MSP430 chip he was using, you might also mention the $4.30 LaunchPad. The LaunchPad will directly program any MSP430 chip in a 14 or 20-pin DIP package that supports Spy-Bi-Wire. It should also be able to program other chips externally via a jury-rigged

Re: [Mspgcc-users] Programming MSP430 under Linux

2012-02-10 Thread Eric Decker
30, 2012 at 6:58 AM, Eric Decker cire...@gmail.com wrote: On Mon, Jan 30, 2012 at 3:00 AM, Ori Idan o...@helicontech.co.il wrote: Thank you very much. What about hardware tools, is the only option is TI-FET or there are other less expensive ones that work with USB

Re: [Mspgcc-users] Programming MSP430 under Linux

2012-02-10 Thread Eric Decker
...@gmail.com] Sent: Friday, February 10, 2012 12:14 AM To: Mspgcc-users@lists.sourceforge.net Subject: Re: [Mspgcc-users] Programming MSP430 under Linux On Mon, Jan 30, 2012 at 6:58 AM, Eric Decker cire...@gmail.com wrote: On Mon, Jan 30, 2012 at 3:00 AM, Ori Idan o...@helicontech.co.il

Re: [Mspgcc-users] mspgcc development release 20120224 now available

2012-02-29 Thread Eric Decker
the form msp430x1611 has been removed. Peter clearly documented this on this list. There are very good reasons for the removal. you need to use -mmcu=msp430f1611 From cPhone On Feb 29, 2012, at 3:04 AM, Stefan Nürnberger s...@zelle79.org wrote: You could try to pass the full

Re: [Mspgcc-users] Could not build latest LTS on FreeBSD: need help from gcc cross-build guru

2012-04-07 Thread Eric Decker
What is the version of gcc that you are using to build with? version numbers of your host toolchain would be helpful. On Sat, Apr 7, 2012 at 2:38 PM, Lev Serebryakov l...@serebryakov.spb.ruwrote: Hello, MSPGCC. Maybe, it is not proper list to ask. But gcc-specific lists are very noisy and

Re: [Mspgcc-users] mspgcc long-term-support release 20120406 now available

2012-04-20 Thread Eric Decker
I have a script that builds deb packages if that helps. On Fri, Apr 20, 2012 at 2:06 PM, Peter Bigot big...@acm.org wrote: On Fri, Apr 20, 2012 at 2:47 PM, Matthias Ringwald matth...@ringwald.ch wrote: Hello Peter could you please provide a tar.gz of .. The tag

Re: [Mspgcc-users] mspgcc development release 20120514 now available

2012-05-16 Thread Eric Decker
I don't see a patch bundle for 20120514 at DEVEL-4.7.x. Last patch bundle I see still remains 20120425. Am I looking in the wrong place? eric On Mon, May 14, 2012 at 7:12 PM, Peter Bigot big...@acm.org wrote: Development release 20120514 of mspgcc is now available. This is a development

Re: [Mspgcc-users] Updated Debian/Ubuntu Packages ?

2012-05-16 Thread Eric Decker
On Wed, May 16, 2012 at 12:56 AM, Hans Henry von Tresckow hvont...@gmail.com wrote: Is there any timeline for updated debian or Ubuntu packages based on the current LTS Relaease? The packages available out there are still based on the old 20110612 release. Out where? You can find all

Re: [Mspgcc-users] msp430f1612 device with wrong memory mapping?

2012-06-26 Thread Eric Decker
It would be more helpful if you tell us what version of the toolchain you are running... On Tue, Jun 26, 2012 at 1:39 AM, Simeon Felis simeon.fe...@hs-regensburg.de wrote: According to [1] page 12 the f1612 has 55k rom. But the msp430/lib/ldscripts/msp430f1612/memory.x indicates that it has

Re: [Mspgcc-users] msp430f1612 device with wrong memory mapping?

2012-06-26 Thread Eric Decker
On Tue, Jun 26, 2012 at 4:53 PM, Simeon Felis simeon.fe...@hs-regensburg.de wrote: The linker script appears consistent with the device datasheet at http://www.ti.com/product/msp430f1612; see page 15. The device does not have 55 kiB ROM; that's been rounded up by 256 bytes. That was

Re: [Mspgcc-users] BUG: READ_SR instead of READ_SR(void)

2012-06-28 Thread Eric Decker
I would like us to move towards less obfuscation. my $0.02CDN On Thu, Jun 28, 2012 at 4:01 AM, JMGross msp...@grossibaer.de wrote: - Ursprüngliche Nachricht - Von: Peter Bigot Gesendet am: 27 Jun 2012 16:36:58 P.s.: I also wish all this TIMER1_VECTOR/TIMER0_A1_VECTOR confusion

Re: [Mspgcc-users] mspgcc development release 20120716 now available (complete 20-bit support)

2012-07-16 Thread Eric Decker
to further expound on what Peter has said. I would paraphrase it as follows: If an underlying implementation provides time services, then it is higly desireable that the api for those services looke like the POSIX time functions and can be provided by libc. The fix makes sure that is is

Re: [Mspgcc-users] View settings of peripherals in debug

2012-07-22 Thread Eric Decker
On Sun, Jul 22, 2012 at 2:03 PM, Kuba kubaraczkow...@gmail.com wrote: Dear Peter, Thank you for your answer. I do understand that my question only touches mspgcc toolchain, however I decided to give it a try since people reading this list have also quite some toolset knowledge. Thank you

Re: [Mspgcc-users] best ubuntu version for mspgcc

2012-08-16 Thread Eric Decker
Doesn't matter. mspgcc is os agnostic. i would use either 11.10 or 12.04 On Thu, Aug 16, 2012 at 9:54 PM, kudiarasu murugesan kudiara...@apexcomtel.com wrote: Hi all I am newbee to msp430, i setup development environment and myself willing to use open source (mspgcc and eclipse ). Any

Re: [Mspgcc-users] MSP-FET430UIF uif: read error: Connection timed out

2012-08-18 Thread Eric Decker
tilib to work. On Sat, Aug 18, 2012 at 3:43 AM, kudiarasu kudiyara...@gmail.com wrote: Hi eric, ya i don't have V2 FET f/w , where i can get this? On Sat, Aug 18, 2012 at 1:15 AM, Eric Decker cire...@gmail.com wrote: On Fri, Aug 17, 2012 at 10:25 AM, kudiarasu kudiyara...@gmail.comwrote

Re: [Mspgcc-users] MSP-FET430UIF uif: read error: Connection timed out

2012-08-18 Thread Eric Decker
, Aug 18, 2012 at 4:16 PM, Eric Decker cire...@gmail.com wrote: don't know. I bought mine years ago. I strongly suspect that you can only buy v3 fets these days. you can try asking TI for an older copy of the f/w. I'd send you what I have but don't want to run afoul of the copyright gods

Re: [Mspgcc-users] MSP-FET430UIF uif: read error: Connection timed out

2012-08-20 Thread Eric Decker
, 2012 at 5:38 PM, Eric Decker cire...@gmail.com wrote: try mspdebug uif -jd /dev/ttyUSB0 From cPhone On Aug 18, 2012, at 4:52 AM, kudiarasu kudiyara...@gmail.com wrote: Hi Eric i downgraded sucessfully with the help of ccsv5 installed windows PC Programs - Texas Instruments

Re: [Mspgcc-users] USB-based msp distro

2012-08-20 Thread Eric Decker
On Sun, Aug 19, 2012 at 11:08 PM, Yamandu Ploskonka yamap...@gmail.comwrote: Question: any ideas on a simple OS that would fit in a USB and have the basic MSP toolchain? A bit beyond the scope of this list. I did a simple search on google running linux from usb, First page

Re: [Mspgcc-users] USB-based msp distro

2012-08-20 Thread Eric Decker
On Sun, Aug 19, 2012 at 11:57 PM, Yamandu Ploskonka yamap...@gmail.comwrote: On 08/20/2012 01:47 AM, Eric Decker wrote: On Sun, Aug 19, 2012 at 11:08 PM, Yamandu Ploskonka yamap...@gmail.commailto: yamap...@gmail.com wrote: Question: any ideas on a simple OS that would fit in a USB

Re: [Mspgcc-users] MSP-FET430UIF uif: read error: Connection timed out

2012-08-20 Thread Eric Decker
Segmentation fault On Mon, Aug 20, 2012 at 11:54 AM, Eric Decker cire...@gmail.com wrote: On Sun, Aug 19, 2012 at 10:37 PM, kudiarasu kudiyara...@gmail.comwrote: Hi Eric, Successful installation of mspdebug, I am facing problem in msp430-gdb installation please find my logs here I

Re: [Mspgcc-users] Timer interrupt problem

2012-09-27 Thread Eric Decker
Couple of things. First when sending source do it as an attachment so it doesn't get mangled. lose the #include msp430g2231.h and replace it with #include msp430.h See if that helps. The command line will cause the right thing to happen when you say -mmcu=msp430g2231. On Thu, Sep 27, 2012

Re: [Mspgcc-users] On volatile for long type.

2012-10-24 Thread Eric Decker
On Tue, Oct 23, 2012 at 11:14 PM, mind entropy mindentr...@gmail.comwrote: Hi, I was reading the mspgcc manual ( http://www.eecs.harvard.edu/~konrad/projects/motetrack/mspgcc-manual-20031127.pdf ) and on Pg 39 its written as I believe there is a more up to date version but I'm not usre

Re: [Mspgcc-users] On volatile for long type.

2012-10-24 Thread Eric Decker
On Wed, Oct 24, 2012 at 12:38 AM, mind entropy mindentr...@gmail.comwrote: On Wed, Oct 24, 2012 at 12:36 PM, Eric Decker cire...@gmail.com wrote: On Tue, Oct 23, 2012 at 11:14 PM, mind entropy mindentr...@gmail.comwrote: Hi, I was reading the mspgcc manual ( http

Re: [Mspgcc-users] MSP430 GCC goes Red Hat

2012-11-02 Thread Eric Decker
One of the outstanding issues with the current 20 bit msp430-gcc is msp430-gdb doesn't understand enough to work properly. msp430-gdb should also be mutated forward to be based on a more modern gdb. Currently we've been using 7.2 with the 4.6.3 msp430-gcc toolchain. Eventually, I hope to take

Re: [Mspgcc-users] mps430f5438a - accidentially blowing fuse!?

2013-03-11 Thread Eric Decker
On Mon, Mar 11, 2013 at 6:58 PM, Chris Liechti cliec...@gmx.net wrote: Am 12.03.2013 00:31, schrieb Nils Faerber: Then I extended my testcode with some SPI init code, a ~1kbyte buffer in RAM and a polling SPI write of that buffer to the SPI - BANG! so without knowing details, two possible

Re: [Mspgcc-users] MSP430 GCC goes Red Hat

2013-03-11 Thread Eric Decker
Haven't seen any update yet. On Mon, Mar 11, 2013 at 2:42 PM, Stefano Bocchino bocchino.stef...@gmail.com wrote: I haven't seen any status update, initial beta or public code branch since the original announce (if patches have been scattered across several trackers, I may simply have

Re: [Mspgcc-users] Upgrade woes

2013-03-13 Thread Eric Decker
On Tue, Mar 12, 2013 at 3:30 PM, garyr ga...@fidalgo.net wrote: I'm trying to switch to the latest version of the mspgcc tools. I've downloaded the latest version from sourceforge. When I attempt to compile a file I get the following warning message: c:\program

Re: [Mspgcc-users] MPS430-gcc on Mac...

2013-03-26 Thread Eric Decker
Hi Bill, Eric here. That is the current non-experimental version and should work. It is the most recent primary version. It support the CPUX cpus just not the 20 bit extensions. There is also an experimental version 4.7 that has 20 bit support. If you give me more information about what you

Re: [Mspgcc-users] MPS430-gcc on Mac...

2013-03-27 Thread Eric Decker
yeah that looks weird. I don't know how much testing -mcpu=430 has had done on it. All of the testing I've seen and have used myself uses -mmcu=mcu spec ie. ie -mmcu=msp430f1611 or -mmcu=msp430f2618 or -mmcu=msp430f5438a If that help, submit a bug report and see what Peter says

Re: [Mspgcc-users] Hi everybody. Programming in assembler

2013-03-30 Thread Eric Decker
can you make it generally available? if not can you send it to me too? thanks From cPhone On Mar 30, 2013, at 2:43 PM, garyr ga...@fidalgo.net wrote: I could send you some assembler code I've written; some serial I/O stuff. Would that be of interest? - Original Message -

Re: [Mspgcc-users] msp430-gdbproxy loses connection with target

2013-08-24 Thread Eric Decker
is there some reason you are using msp430-gdbproxy rather than mspdebug? msp430-gdbproxy has been deprecated for many years now. current devlopment is occuring on mspdebug. it is a superset of msp430-gdbproxy. On Sat, Aug 24, 2013 at 6:16 PM, Andrew McLaren and...@aratika.co.nzwrote: I've

Re: [Mspgcc-users] msp430-gdbproxy loses connection with target

2013-09-02 Thread Eric Decker
have you verified that the board is getting the voltage that you think it should be? On Mon, Sep 2, 2013 at 3:38 PM, Andrew McLaren and...@aratika.co.nz wrote: On Tue, Aug 27, 2013 at 10:40:45AM +1200, Andrew McLaren wrote: It would have been easy if the problem had been gdbproxy, but

Re: [Mspgcc-users] Unofficial Red Hat Port

2013-09-12 Thread Eric Decker
Okay I'll ask... Is there FORTRAN support? Now on to my real question... how much real world testing has been done? Has the output been put onto real msp430 chips? Or are you testing against the test suites? just wondering how much it has been banged on. Is it Alpha/Beta status? I

Re: [Mspgcc-users] linker relocation errors

2013-10-24 Thread Eric Decker
I don't think this is the same but try this patch:…. +++ a/bfd/elf32-msp430.c 2013-07-24 23:48:07.731767510 -0700 --- b/bfd/elf32-msp430.c 2013-07-24 23:54:57.073797079 -0700 @@ -27,6 +27,7 @@ #include elf-bfd.h #include elf/msp430.h #include assert.h +#include string.h /* Use RELA instead

Re: [Mspgcc-users] gdb-loop in Mspdebug

2013-11-04 Thread Eric Decker
it is gdb_loop not gdb-loop under vs. dash. ouch. took me a while to see it. On Sun, Nov 3, 2013 at 7:21 PM, Andrew McLaren and...@aratika.co.nz wrote: I'm running Mspdebug outboard of Eclipse. In the old gdbproxy, once I set this listening on its input port, it remained active until

Re: [Mspgcc-users] MSPDebug unable to find 0451:f430

2013-11-24 Thread Eric Decker
hi Daniel is it possible to use the ver 3 firmware with Linux dev boxes From cPhone On Nov 24, 2013, at 5:22 PM, Daniel Beer dlb...@gmail.com wrote: On Sat, Nov 23, 2013 at 01:20:02PM -0800, garyr wrote: My OS is XP, Im using the FET430UIF. I've installed MSPDebug according to the

Re: [Mspgcc-users] Are 20-bit pointers supported in mspgcc 4.6.3 LTS?

2014-04-21 Thread Eric Decker
no they are supported in the experimental 4.7 but it is unsupported From cPhone On Apr 21, 2014, at 2:26 PM, Tomek Lorek tlo...@gmail.com wrote: Hi, I'm facing problems with accessing flash at its 20-bit addressed regions. While looking for the solution I stumbled upon this website

Re: [Mspgcc-users] Accessing 20-bit memory range - issues with indirect addressing mode

2014-05-04 Thread Eric Decker
look at the actual code generated see what the difference in the actual code is From cPhone On May 4, 2014, at 1:14 PM, Tomek Lorek tlo...@gmail.com wrote: 2014-05-04 22:04 GMT+02:00 Tomek Lorek tlo...@gmail.com: 1. Possibly the main reason my code did not work was using __asm__

Re: [Mspgcc-users] medium memory model debug issues

2014-05-12 Thread Eric Decker
the gdb that is part of 4.7 doesn't work changes for 20 bit gdb for the msp430 haven't been done (for the 4.7 toolchain) the new tool chain that redhat/ti is working on maybe more functional but I haven't checked it out yet From cPhone On May 12, 2014, at 7:49 AM, Dockter, Michael

Re: [Mspgcc-users] Unable to use LARGE MEMORY MODEL with RH GCC

2014-05-30 Thread Eric Decker
CCS is Code Composer Studio which is basically a gui front end to the gcc toolchain. Devaiah, there should be a way to examine the logs to see exactly what command lines and switches are being generated to the toolchain when it gets invoked by CCS. You'll have to figure out how to go see those

Re: [Mspgcc-users] MSP430 instruction pipeline

2014-06-16 Thread Eric Decker
I haven't seen any thing that describes the internal architecture of the MSP430. And I've looked. Sorry. On Mon, Jun 16, 2014 at 8:36 PM, Jose Luis Honorato L. joseluishonor...@gmail.com wrote: Hi, An e-mail from Peter a few days ago hinted the existence of an instruction pipeline in

Re: [Mspgcc-users] Fwd: flash code with msp430-jtag

2014-06-24 Thread Eric Decker
these days we use mspdebug msp430-jtag hasn't been supported for years On Tuesday, June 24, 2014, Pedro Helou helou.pe...@gmail.com wrote: -- Forwarded message -- From: Pedro Helou helou.pe...@gmail.com javascript:; Date: 2014-06-24 10:24 GMT+02:00 Subject: flash code with

Re: [Mspgcc-users] cannot debug

2014-07-18 Thread Eric Decker
where did you get the code from? the mspgcc I've used the packages from tinyprod.net/repos/debian/msp430-46 for years now and have been able using mspdebug to debug msp430f5438a processors using single step and upto 8 breakpoints using a TI MSP430 UIF jtag debugging pod. On Fri, Jul 18, 2014

Re: [Mspgcc-users] Code does not fit in ROM with mspgcc but fits with CCS compiler

2015-02-18 Thread Eric Decker
have you tried, -g -Os or -ggdb -Os that is what I use to debug size optimized code. works fine. figuring out what the code is doing can be a bit tricky but it can be done. On Wed, Feb 18, 2015 at 9:10 PM, Arvind Padmanabhan arvindpadmanab...@yahoo.com.sg wrote: Hi Folks, My friend has

Re: [Mspgcc-users] Using XIN pin as port or timer output

2016-11-29 Thread Eric Decker
Table 21 on pg 53 is confusing. There are two columns, P2SEL.6/P2SEL.7 and P2SEL2.6/P2SEL2.7. I have no idea what the P2SEL2.6/P2SEL2.7 column is referring to (and it has the opposite value of P2SEL.6/P2SEL.7. Same table says that for Capative Sensing P2SEL2.6 is a 1. Not sure where that gets