sukr4m 0 Posted May 31, 2011 Share Posted May 31, 2011 Hi Guys. I have a project in MSPGCC that does not support my J-TAG-Tiny from Sparkfun, so I had to change the compiler and I selected IAR Embedded Workbench for MSP430. One error I fixed was the "io.h" problem, not recognized in IAR. Now I am having other difficulties and as I new to programming, I would like the help of experts. I found this forum and I loved it. Attached is a screen of my current problem. Thank you in advance for the help. Quote Link to post Share on other sites
gordon 229 Posted May 31, 2011 Share Posted May 31, 2011 MSPGCC4 as such does not support any JTAG, it's a compiler (well, toolchain) to compile your things and produce binaries from source. Uploading the binary to the MSP430 and debugging is a different matter. MSPDebug claims support for the JTAG-TINY (assuming we all mean the Olimex one), and works on Windows (check their FAQ). The error you are having is one of the differences between MSPGCC and IAR (IAR uses pragmas for this kind of thing). I remember having bumped into quite some sites that explain the differences (usually in the other way around, though), but - as I was not particularly interested myself - I didn't bookmark any. I'm sure google will find some, though. Next time, try less screenshots please. sukr4m 1 Quote Link to post Share on other sites
bluehash 1,580 Posted May 31, 2011 Share Posted May 31, 2011 I think your brackets are not right. interrupt(BASICTIMER_VECTOR) void onBasicTimerInterrupt(void) Should be interrupt[bASICTIMER_VECTOR] void onBasicTimerInterrupt(void) or #pragma vector=BASICTIMER_VECTOR __interrupt void onBasicTimerInterrupt(void) { } I'm not sure which one, as I do not use IAR. Next time, try less screenshots please. His screenshot looks ok to me. In fact, having a screenshot helps. It's a bit big, but doesn't matter. sukr4m 1 Quote Link to post Share on other sites
zeke 693 Posted May 31, 2011 Share Posted May 31, 2011 Now we know how big his LCD is. Quote Link to post Share on other sites
sukr4m 0 Posted May 31, 2011 Author Share Posted May 31, 2011 Hi Guys. Sorry about the image, I did not know it would be so big on screen. I believe you solved my problem regarding compilation, I used the #pragma structure and I see no error messages anymore. Now that my codes seem to be okay, I have to let you know that I do not know how to put it into the MSP430. I have the Evaluation Board MSP430F449 from Olimex (sparkfun sku: DEV-00060) and I have their MSP430 programmer. Now that I have the codes, I wish I could make the .hex file to send via J-Tag to the Board. How do I proceed? Thank you for now! Quote Link to post Share on other sites
gordon 229 Posted May 31, 2011 Share Posted May 31, 2011 I found this and this which look like starting points, but I don't use IAR (nor JTAG-TINY). Personally, I believe in mspgcc+mspdebug+vim Quote Link to post Share on other sites
jsolarski 94 Posted June 1, 2011 Share Posted June 1, 2011 Personally, I believe in mspgcc+mspdebug+vim FTW Quote Link to post Share on other sites
Fe2o3Fish 33 Posted June 1, 2011 Share Posted June 1, 2011 Personally, I believe in mspgcc+mspdebug+vim Tis the **ONLY** TRUE way to develop code. :-P Quote Link to post Share on other sites
sukr4m 0 Posted June 16, 2011 Author Share Posted June 16, 2011 Hi Guys! I am using the IAR Assembler for MSP430 5.20.1 (5.20.1.50215) and I am using Olimex MSP430-449 STK2 Development Board on MSP430-JTAG-Tiny and I am receiving this message (attached see the error messages) once I try to download and debug: Fatal Error: Security Fuse Has Been Blown". But I believe there is no blown fuse once I can open the device through Olimex MSP Programmer and I can Read, Verify, Erase and Write the device. At the debugger section I selected FET Debugger and my connection Olimex USB. Any ideas how to fix this? Quote Link to post Share on other sites
gordon 229 Posted June 16, 2011 Share Posted June 16, 2011 This sometimes happens to me with the LP too. Try completely powering down your target, wait a bit, and power it back up again. Quote Link to post Share on other sites
sukr4m 0 Posted June 16, 2011 Author Share Posted June 16, 2011 Hi Gordon! Thank you for your help, but it did not work. I still receive that message. Wonder what could be... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.