1. build up the environment of PC

  • The embeded system of the car was ARM linux, which could be accessed through Hypertrm of the PC. The communication between the car and PC was a USB-shaped Bluetooth Master.
  • The executable file of the car was compiled by Arm-linux-gcc. In order to get it, we need Ubuntu system to be installed on our PC, given the fact that I have only ONE PC. T T. The popular way to have more than one OS was to use VMware! It's really a long way to go!
    • First, we need to download the corresponding arm-linux-gcc.rpm.
    • Compile it with your gcc. Hopefully you should have G and C++ on your Ubuntu.
    • Test a HelloWorld.c then try it on the car. Procedures goes like this:
      • Connect the Bluetooth Master with your Hypertrm, log on to the OS system of the car, which is called KROBO. ( You can do this on you Ubuntu, with the cmd line: $ Minicom )
      •  upload your executable file from Helloworld.c to /jffs, which is the flash memory of the car. With command: Ctrl+S, select ZModem, select the executable file, say hello
      • ./hello

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值