C2Prog Frequently Asked Questions
C2Prog is a tool for programming Texas Instruments (TI) C2000™ and MSP430™ MCUs. It offers an alternative to programming using a JTAG emulator and is well suited for use in noise environments or deployment in the field.
C2Prog is Freeware and can be used freely, also for commercial applications.
No, C2Prog is closed-source.
They do not have enough internal RAM for the C2Prog kernel.
On the target side, you will need a driver chip such as a MAX232, which converts the SCI signals in to RS-232 levels. At the PC, you will need either a true COM port or an USB-RS232 converter.
Yes. Please contact us for custom settings.
This depends on your MCU. You will have to read the appropriate manual.
We think that such a function is unnecessary since each line of the hex-file is being transmitted over RS-232 with a 16-bit cyclic redundancy code (CRC) and all flash writes are verified. The likelihood of a programming error is therefore extremely small. Nonetheless, C2Prog can be configured to automatically append a 32-bit CRC to the code being programmed into flash. This allows for the embedded application to verify the flash integrity at each powerup or even periodically during operation, thereby offering a much better protection than a one-time program verify operation.
Yes, we made a small change that was necessary for the DTR control. You can obtain the modified source from the following SVN link: http://svn.codeskin.com/pub/rxtx/tags/rxtx-2.1-7r2-DTR-patch
Here are step-by-step instructions on how to compile the code on a Windows machine:
- Install Eclipse with CDT
- Install MinGW
- In Eclipse, select “New Project > Checkout Projects from SVN” and choose this repository location: http://svn.codeskin.com/pub/rxtx/tags/rxtx-2.1-7r2-DTR-patch.
- Check out as a “project configured using the New Project Wizard” and choose “Java Project”.
- Once the project has been created, right-click on the project, select “new>other>Convert to a C/C++ Make Project”
- Right-click on project again and select “properties>C/C++Build” and change “Build command” to “C:Minmingw32-make”
- Finally, hit “Build All”, which should create RXTXcomm.jar and rxtxSerial.dll
Not officially, but if you contact us we can help you with installing C2Prog on Linux x86. Also, our Web Start applications should work on Linux.
Contact us for a custom kernel.
After the kernel has been downloaded, the RS-232 communication rate is increased to 115200 baud for the transmission of the flash-code. Make sure that your hardware (RS-232 driver) supports this elevated transmission rate.
C2Prog uses the autobaud feature of the 28x to establish the initial communication; the default baud rate is 38400. For some hardware with a low clock frequency this rate is too high, and needs to be reduced by editing the target.xml file. Please contact us for support.
Most likely, your PC is communicating too fast resulting in bytes getting lost. The data transmission during bootload can be tweaked by editing the target.xml file. Please contact us for support.
This means that your hex-file contains data that does not fall into a valid flash sector. Please double-check you linker command file.
Please install a 32-bit version of the Java Runtime Environment (JRE).