LinuxBoard5.x-uCApplication

From VentureResearchWiki
Jump to navigation Jump to search

Overview[edit | edit source]

Once the bootloader is flashed to the uC, an application can be loaded. This is facilitated with the use of a BASH script (see below for download location). The script utilizes the command interface that is described in 'M:\rfid_appliance\VRReader\docs\Kinetis Bootloader 1.1.0 Reference Manual.pdf'.

Programming Microcontroller Application[edit | edit source]

  1. Copy the appropriate image (.hex file) to the Linux Board. The .hex file can be found at: C:\Users\sam\svn\projects\linuxboarduC_5.1\linuxboarduC\vr_release_0xa000_hex\linuxboarduC_0xa000.hex
  2. Download the following script and execute. Replace <.hex file> with the name of the image downloaded in Step 1.
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/vr-ucblappflash-i2c.sh -O /tmp/vr-ucblappflash-i2c.sh
sh /tmp/vr-ucblappflash-i2c.sh <.hex file> <i2cbus>
  • The result should follow (the size of the image will vary). Reset the uC via reset push button and verify the application.

LinuxBoard4.x uCApplication one.png