You are here: Home DOCUMENTATION Debugging Tools uBug12JE User Manual - Appendix

Technological Arts Inc.

Your Shopping Cart

Your Cart is currently empty.

uBug12JE User Manual - Appendix

Article Index
uBug12JE User Manual
Connecting to the Module
Programming the Module
Extending uBug12 INSTALL
Developing Software Using Projects
Script Command Buttons
uBug12 Miscellaneous Features
Command Glossary
Writing Compatible Applications
All Pages


How to Use a BDM Pod to Upgrade the Serial Monitor

You may also choose to reinstall the serial monitor if you need a different option, like different baud rate, serial port, or CPU clock speed. To reinstall the serial monitor program, you will need to follow the procedure below. This assumes that the Technological Arts UBDM12XG5 BDM pod is being used, with Hyperterminal on a Windows computer to communicate with the BDM pod.

  1. Download the current version of the serial monitor assembly source from the Technological Arts web site at:
  2. You will need to modify the assembly code to implement the options you want.  This is documented in the source. You can choose to use SCI0 or SCI1 for uBug12 interaction, and set the baud rate that is used by the SCI port selected.  Once this is done, save the source and assemble it to generate an S-record file.  (You can go here to get an IDE that will explain how to set up a freeware assembler and IDE to work with the Adapt board.)
  3. With power off the module, connect the BDM pod to the board using the 10 pin BDM connector.
  4. Connect the BDM serial interface to your computer serial port.
  5. Start up Hyperterminal, or some similar terminal program, to communicate with the BDM pod over its serial interface. The program will have to have XON/XOFF enabled on it for flow control. Hyperterminal allows this to be selected when the connection is first set up.
  6. Connect power to the board. This will also power the BDM pod via the BDM interface. The terminal screen should show the startup message for the D-BUG12 program.
  7. Type the command STOP to stop the serial monitor from running.
  8. Type FBULK to erase all Flash contents. This will also clear out any user application stored into Flash memory.
  9. Type FLOAD ;B. The ";B" extension to this command is important.
  10. On Hyperterminal, go to the top of the window and select Transfer > Send Text File.
  11. Hyperterminal will now prompt for the filename to transfer. Select the correct S-record file with the adaptation of the Serial Monitor you need to install.
  12. The BDM pod will respond with a '*' character for each segment of the file that it burns into memory.
  13. Once completed, D-BUG12 will present the command prompt again. Disconnect power from the module at this point, and remove the BDM pod. Terminate the terminal program. You are now ready to use the board with uBug12 Java Edition.



Last Updated ( Tuesday, 13 September 2016 08:12 )