Writing code onto MOD-PULSE through MOD-USB-RS232

Started by bucsab12, May 22, 2014, 06:32:13 pm

Previous topic - Next topic



I have purchased the MOD-PULSE and the MOD-USB-RS232 and after going through some data sheets and a few forum posts, I was able to solder the jumper pads the correct way in order to connect the MOD-PULSE to the computer using the MOD-USB-RS232 as host.

I would like to make some alterations to the code that runs the oximetry on the MOD-PULSE (Pulsoximeter_revII.c). I wanted to ask if it is possible to write code to the MOD-PULSE  through the MOD-USB-RS232. If it is possible, please tell me how to do so.

Thank you very much.


Hello bucsab12,

It is possible to program without a third party tool but it hasn't been tested by us.

According to MSP430FG439's datasheet it is possible to upload binary code to the board via RS232 to the board via a built-in bootloader. You would need a specific computer software that enables communication with the chip's bootloader. This software is provided by Texas Instruments.

The above means that the steps you need to take are:

1. to compile the project with the tools suggested in its description and after a successful compilation, a binary file would be produced
2. this binary file in some cases must be in a specific file format, the format would depend on the PC application
3. after making the proper hardware connection between the PC and the MSP430FG439 you start the bootloader program and upload the binary

Note that you would need to connect processor signals P1.0 and P1.1 (they are routed to boards' PORT1 header - pins 1 and 2) to the RS232 of your computer.

To enter bootloader mode you might need to perform specific steps so that the microcontroller knows what you are trying to do (bootloader sequence). It should be described in the documentation below, I'm not completely aware of it.

Please refer to page 11 of the user's manual: http://www.ti.com/lit/ds/symlink/msp430fg439.pdf (BSL part)

Also refer to the user's guide on the bsl: http://www.ti.com/lit/ug/slau319h/slau319h.pdf with the following files (the required software is inside): http://www.ti.com/lit/pdf/SLAU319

Finally you can get an MSP430 debugger or programmer and directly manipulate the firmware from the integrated development environment. We sell couple of compatible debuggers:


Of course, any MSP430-compatible debugger would do the job. Usually a debugger is a very good investment since it shortens the development time and effort enormously.

Best regards,
Technical support and documentation manager at Olimex


Thank you very much for the response.

I will try your suggestions next week and hopefully I will be able to write my code to MOD-PPULSE

Thanks again