Page 1 of 1
Firmware Update by serial port
Posted: Sat Mar 03, 2018 7:42 pm
by basicchip
For serial port connections via USB dongle (NOT mbed or USB_SER connections).
After obtaining a hex file from Coridium, copy that into the same directory as BASICtools.exe (usually /Program Files (x86)/Coridium
The attachment copy1.jpg is no longer available
You should get a prompt that you need admin permission to do this
Next run BASICtools, and under the tools menu you will see the option to Install Firmware for the file you just copied
Re: Firmware Update by serial port
Posted: Sat Mar 03, 2018 7:45 pm
by basicchip
OK, OK phpBB broke multiple files pictures, so here they are one at a time.
This is what the install looks like, select the file you just copied

- install.jpg (43.08 KiB) Viewed 25351 times
Re: Firmware Update by serial port
Posted: Sat Mar 03, 2018 7:47 pm
by basicchip
Normally if you are using a USB dongle from Coridium you can skip the next step.
If it is not one of our dongles, you will need to force the CPU into ISP mode, which means holding the ISP button down and then pressing RESET button, and then clicking OK .

- buttons.jpg (60.1 KiB) Viewed 25350 times
Re: Firmware Update by serial port
Posted: Sat Mar 03, 2018 7:48 pm
by basicchip
Next you should see the firmware file being written to the CPU. This will vary depending on the CPU

- loading.jpg (113.71 KiB) Viewed 25350 times
Re: Firmware Update by serial port
Posted: Sat Mar 03, 2018 7:50 pm
by basicchip
Next if you press RESET you should see the Welcome message. If you do not, then something went wrong, you should try again.

- reset.jpg (134.44 KiB) Viewed 25350 times
Re: Firmware Update by serial port
Posted: Mon Mar 05, 2018 4:14 pm
by BusterDi
Hi Basicchip, looks like I'm doing something wrong since I can't get to the Welcome message, but I don't know what. I tried several different times. Any idea what might have gone wrong?
Re: Firmware Update by serial port
Posted: Tue Mar 06, 2018 3:15 pm
by basicchip
Well without more info i don't know what you're doing wrong.
What board, which serial connection, and what step don't you see from above?
Re: Firmware Update by serial port
Posted: Tue Mar 06, 2018 10:02 pm
by olzeke51
basicchip wrote
If it is not one of our dongles, you will need to force the CPU into ISP mode, which means holding the ISP button down and then pressing RESET button, and then clicking OK .
to clarify from my experience
select the "load firmware" - the file should pop up -
BUT Don't select it
'
on the 800DIP , hold the ISP button, press and release the RST button, then release the ISP button
'
Now you can click on the "LPC800.hex" file name in BT
Re: Firmware Update by serial port
Posted: Tue Mar 06, 2018 11:37 pm
by basicchip
I added the prompt for non-FTDI serial ports, which the LPC800 qualifies, so it should wait for you to hold the buttons down.
When these ports are opened they are assigned as MANUAL control, but if you override that it won't prompt you.
If you are using an FTDI cable or other non-Coridum dongle, it will look to our tools as a Coridium serial port, and won't prompt you, unless you set the control to MANUAL, which you should do, update the firmware and switch back.
This does not cover mBed type devices where you typically push a button or put on a jumper and the board looks to the PC like a disk drive. You delete the firmware.bin file and replace it with another binary.