Thursday, 31 December 2015

funary 0.2.6

funary 0.2.6 is the last release of 0.2.x and it will be adequate for DLCSim. More operations for big endianness might be added in the future.

Tuesday, 22 December 2015

Raspberry PI Bluetooth PAN

How to get Raspberry PI Bluetooth PAN to work.

On Raspberry Pi machine.
  1. Install bluez, bluez-utils
  2. modprobe btusb
  3. Start bluetooth service
  4. Trust and pair client machine
  5. Create PAN network
    1. brctl addbr pan0
    2. brctl setfd pan0 0
    3. brctl stp pan0 off
    4. ip addr add 10.1.2.3/24 dev pan0
    5. ip link set pan0 up
  6. bt-pan --debug server pan0

On client machine.
  1. Install bluez, bluez-utils, and blueman
  2. modprobe btusb
  3. Start bluetooth service
  4. Start blueman
  5. Trust and pair Raspberry Pi machine
  6. bt-pan client XX:XX:XX:XX:XX:XX
  7. Configure IP and netmask 

bt-pan

Sunday, 13 December 2015

Zynq design steps

  1. Design component in MATLAB
  2. Test component in MATLAB
  3. Generate IP core
  4. Verify & Optimize IP core
  5. Create base project in Xilinx Vivado
  6. Connect IP core to processing system in base project
  7. Generate bitstream
  8. Program FPGA
  9. Create software to interface with FPGA
  10. Test system with component
  11. Repeat for each component

Tuesday, 1 December 2015

Code::Blocks for embedded systems

Code::Blocks does support AVR and ARM. AVR support is very matures and supports the whole range of AVR MCUs. However, ARM support is very limited. The detection of GCC for ARM is very poor and you must configure the compiler settings manually. On the other hand, I am looking forward for the new release of Code::Blocks.

Website:
www.codeblocks.org/

Em::Blocks/EmBitz for ARM developement



EmBlocks/EmBitz is a good IDE for ARM development. It uses GCC for ARM. Moreover, it allows OpenOCD for debugging. The EmBitz beta look interesting. I used it and it seems to support STM32 MCUs. It also support some PIC MCUs. I would prefer this over Eclipse because Eclipse is very glitchy on windows.

Website:
http://www.emblocks.org