This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I want to make the bluetooth visible with the EZ430-RF2560 kit

Hello,

 

I am new to MSP430 and I am looking the way to make the bluetooth visible to get started. The source code that come with the kit is useless. I receive this: "Fatal Error[e89]: Too much object code produced (more than 0x2000 bytes) for this package" I found that I must buy another version of the IAR (I am student and just will use IAR for a project). 

 

I tried to make my own code from scratch but I am getting a lot of errors related to the header files.

 

I am looking if there is a code just to make the bluetooth visible but I had not luck

 

thanks

  • Eddy,

    The error you are getting is because you are using the Kickstart version of IAR which is code limited. You should download the 30-day evaluation version which has a time limit but no code limit:

    http://supp.iar.com/Download/SW/?item=EW430-EVAL

     

    If you've just bought the EZ430-RF2560, it should come flashed with the software on both boards. The LEDs should be blinking. By the way, when the Blue LED is blinking, it is visible to other devices. Also, we have provided binaries so that you can download them. You can use a tool such as MSP430 Flash or FETPro430 Lite. The binaries have a d43 extension.

    The wiki will be very helpful in answering your questions:

    http://processors.wiki.ti.com/index.php/EZ430-RF2560

     

    Gustavo

  • Well, the free compiler is limited, as it is free only for small projects.
    A Bluetooth stack, however, is everything but a small project. The compiler cannot know that you 'just' want to add this or that library and only a few bytes of it are your own code. It checks the code size and it is larger than allowed for free.

    Eddy C. Pagan said:
    I tried to make my own code from scratch but I am getting a lot of errors related to the header files.

    How did you try to make your own code? What kind of errors did you get? Sorry, but I can't look onto your screen right now.

    Eddy C. Pagan said:
    I am looking if there is a code just to make the bluetooth visible but I had not luck

    Unless you can get hold of a binary that exactly (with no change at all) does what you want, you'll have to pay for the tools. You can try with mspgcc, which is free, but it will require reqriting much of the existing code, as its syntax for declaring interrupt functions or inline assembly or other things that stray from plain naked C language is different to that of IAR (which in turn is different from CCS).

    Eddy C. Pagan said:
    I am new to MSP430 and I am looking the way to make the bluetooth visible to get started.

    Sorry, but 'make bloototh visible' surely isn't the right project to get started with MSP programming. It looks like you are thinking that MSP (or any microcontroller programming) is like using Visual Basic on a PC. It is not. No 'I just load this DLL and that DLL and click some buttons and I get my program'. Microcontroller programming is like programming a kernel-mode video card driver rather than using DirectX from an application.

    So 'getting started' usually means mastering the ports, the timers and the comm interfaces. And not starting with high-level protocols.

  • Eddy,

     

    Creating a Bluetooth Stack is, as Jean-Michael said, a major undertaking. It is for this reason that the stack from Mindtree is used.

    The demo included with the EZ430-RF2560 allows a person to see basic communications being done between two bluetooth enabled devices and to control Tux Racer on the computer.. There's no programming required for that. However, to create an application one needs to understand the MSP430 and also some FreeRTOS since that's what is running on the MSP430. It's not difficult to leverage the stack itself, since all you need to do is provide data, and it will be received by the other side.

     

    Gustavo