A9G Pudding board – Programming
Yet another A9G pudding board update is here. In this post we will be talking about the firmware download procedure of Ai-Thinker A9G pudding development board. The firmware update procedure is fairly straightforward and simple.
Those who miss the last update on the A9G pudding board development environment, the relevant link is as below.
https://www.elementzonline.com/blog/A9G-Pudding-board-linux-development
Hardware Interfacing
USB TO TTL | A9G PUDDING BOARD |
RX | HST_TX |
TX | HST_RX |
GND | GND |
Note: No need to connect anything to VBAT pin as the 5 Volt supply through microUSB port will be converted to 4 Volt using onboard buck converter(SY8089).
We will be focussing on the Linux based development and update. Sorry windows users, please grow up..
1) COMport selection:
Symlink COM port devices to use the Linux serial port conventions. If the serial port used is seen as /dev/ttyUSB0 then symlink this to COM1.
Then use
ln -s /dev/ttyUSB0 comport/COM1
Likewise if the serial port is ttyUSB1
ln -s /dev/ttyUSB1 comport/COM2
Access Port.
Note COM1, COM2 use capital letters.
Then open the coolwatcher using
sudo ./coolwatcher
Select or edit the correct COM port (1 means COM1/ttyUSB0, 2 means COM2/ttyUSB1…)
2) Select the firmware file for programming
Select firmware(.lod) in the folderhex
in the GPRS project, There’s two hex file,(`_B.lodand
_flash.lod`), you must burn the bigger one to dev board at the first time, then you can just burn the little one to reduce the download time. And you must download the bigger if you update the SDK version.
3) Select the flash programming type.
Flash programmer to use – host_8955_flsh_spi32m_ramrun.lod which can be found in (~/Projects/CSDTK/cooltools/chipgen/Modem2G/toolpool/plugins/fastpf/flash_programmers/)
4) Finally, program the module using option
The download progress can be noted at the bottom-right corner of the Coolwatcher window.