Display your text in Hyper Terminal by using RQC.
Let's prepare below to try first C programming source.
1. PC (with below softwares)
- IAR Embedded Workbench" software"
=> C source compiler
- RQC Firmware Upgrade Tool
=>main controller firmware upgrade (upload) software
- Hyper Terminal Software
=> serial communication software
2. RQC (RQ-HUNO main controller)
3. USB UART Download Cable
=> Connection between PC and RQC to download firmware file from PC to RQC
Below is the #1 - C source to display "strings (Hello, RQ World! RQ)" in Hyper Terminal.
-------------------------------------------------------------------------------
// Ex.1 Output String to PC via Serial(115,200bps) : putch(), puts()
#include "user.h"
void main(void)
{
puts("\r\n\nHello, RQ World!\r\n"); //Output String to PC
putch('R'); //Output a Character to PC
putch('Q');
}
void User_Task_Every_10ms(void)
{
}
--------------------------------------------------------------------------------
File location for IAR WorkBench Workspace project
=> ....\ IAR\ 6.20.4 (or other version)\ RQ.eww
1) Input the above source.
2) Compile (F7) it.
3) In IAR folder, you will find "RQ.bin". This is firmware you just made.
4) Upload "RQ.bin" to RQC by using RQC firmware upgrade tool.
NOTE) You have to do below procedure first before click "START"
in RQC firmware upgrade tool.
5) Run "Hyper Terminal", and connect proper COM port.
(Baud rate : 1152000 bps /Data bit : 8 bit
/Parity : No / Stop bit : 1 /Flow control : No )
6) Power on RQC. and press "P button" of RQC.
Then, you will see the below whenever you press "P button".















































