I don't know which version of the 54xx header file you have. For the 430X compiler or the older non-X-compiler? For the latter, most files have been added/updated since alst release and you can load them from the sourceforge repository.
I don't know the state of the headers for the (separate) 430X project. For the older 430 compiler (the release from 12/08) I can tell you the following: common.h isn't included for a reason. It contains commons that are no longer common, such as a wrong WDT register address and such. All the necessary stuff from common.h has been added directly to the latest version of the header which I will send you happily if you want. GPIO.H is also completely incompatible. There should be GPIO_5xxx.h included which has all definition for the new (up to 11) ports, including the 16 bit registers and the pullup control. DMA.H is also incompatible. The new DMA controller in the 54xx is different to the other versions. I just wrote a 'header' last week when I started writing DMA transfers to MMC/SD cards using SPI. I didn't create a separate mspgcc header file yet, but included the (fairly complete) definitions into my DMA code module header. At this time I discovered that the TI docs are wrong about the 8 bit acess of the DMA registers. TI has confirmed this and it will be corrected in the upcoming new revision of the datasheet. Most of the original header files (for the MSP1x series) used fixed addresses and the main header just defined 'has this' and 'has that'. On the newer devices, rather a 'has this at that address' is required. Actually, the headers should be rewritten to construct the defines dynamically. Such as a macro that takes a defined base address and a defined module prefix and generates all defines. So for 4 USCI modules you include the header file 4 times, redefining base address and USCIx prefix before each include. Same up to 10 times for the ports etc. In my headers, a PORT1_BASE define is used rather than a HAS_PORT1 define. Mail me if you want the latest version of my headers. JMGross ----- Ursprüngliche Nachricht ----- Von: Anthony Asterisk An: [email protected]; [email protected] Gesendet am: 08 Mrz 2010 22:27:56 Betreff: Re: [Mspgcc-users] support for msp430F5437 I noticed something in the msp430x54xx.h header file. It seems to be missing msp430/common.h. Also missing are dma.h and gpio.h, but perhaps those still need to be ported. Is it safe for me to add this locally until the header files are further developed?
