please dont rip this site

Updating BOB P.I.D. Firmware

Connect a USB (or RS-232) to TTL serial converter to the J2 connector. e.g. FTDI Friend, RLC3 Again, pin 4 "TX" is data FROM the USB/Host going TO the PID controller. RX is TO USB/Host FROM PID controller. Configure your serial terminal program (e.g. Hyperterm, RealTerm, PuTTY, etc...) for whatever COM/TTY port shows up, and 38,400 baud, No parity, 8 data bits, and 2 stop bits. Select X-ON / X-OFF handshaking if available.

When the BOB P.I.D. first starts, with a terminal program attached, you should see:

Type "Boot" to start bootloader.9876543210

If you don't see this, power cycle the BOB P.I.D. You may need to disconnect the USB converter from the BOB, don't disconnect it from your PC. If you type Boot before it finishes that countdown you will get a small menu:

 PIC18F14K22 BootLoader v0.63 installed at 0x3A40.
©2013 by
[P] Program FLASH and EEPROM 
[W] Write EEPROM
[E] Erase EEPROM
[?] Help
[X] Reset MCU


Reprogram the device by pressing P and the enter key. Confirm your choice, and then it will be ready to accept the new file.

Here is the trick: You must have X-ON/X-OFF enabled when sending the new firmware. This allows the processor time to program one line of data before receiving the next line.

You should see a long series of lines like:
and that should end with
and the BL> prompt should re-appear. Now you can hit X or just power cycle and then do not go back into the boot loader mode, like the countdown finish. You should see the new welcome message from the updated firmware version.

If you see likes starting with NA: RE: SQ: or anything else besides OK: there is a problem. It probably won't come back to the menu at the end. You can try sending :00000001FF to get back to the menu or just power cycle it and start over. The firmware will NOT be updated. Check to make sure you have XON/XOFF flow control enabled, try increasing line delay, and make sure the file is valid.

Worse comes to worse, send me back the chip along with a few dollars for the return shipping cost and I'll do it for you.

See also:

file: /Techref/io/servo/BOBPIDFirmUp.htm, 4KB, , updated: 2017/9/27 15:14, local time: 2024/7/20 09:48,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Updating BOB P.I.D. Firmware</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.

Welcome to!