Skip to content

Run TinyCLR V1 on GHI BrainPad BP2 (Needed Files and Tutorial)

Notifications You must be signed in to change notification settings

RoSchmi/BrainPad_TinyCLR_V1

Repository files navigation

BrainPad_TinyCLR_V1

Run TinyCLR V1 on GHI BrainPad BP2

Installation of the GHI Bootloader and of the firmware with Teraterm:

Install the GHI Bootloader

  1. Hold 'Boot0' Button and press the 'Reset' Button In Windows Device Manager under USB-Controller an entry 'STM Device in DFU Mode' shows up
  2. Install and open the Programm 'DfuSeDemo' from ST-Microelectronics. In the Available DFU Devices-ComboBox you see: 'STM Device in DFU Mode'
  3. Click the 'Choose' button and navigate to and open the file: 'FEZCLR Bootloader v2.0.4.dfu'
  4. Click 'Upgrade', when finished --> Quit and repower the board

Install the Firmware

  1. Hold Left (L) Button and press 'Reset' Now in Windows Device Manager under (COM && LPT) 'GHI Bootloader Interface (COM..) shows up
  2. Open Teraterm and under 'Serial' connect to the just created COM Port. You can enter commands: v(CR) shows the version e(CR) erases the board firmware u(CR) is used to load a new firmware to the board
  3. erase the firmware with e(CR)
  4. use command u(CR) then, when continuing 'C' are appearing on the screen: --> File --> Transfer --> XModem --> Send –> Set Option ‘1K’ --> select ‘FEZCLR Firmware v1.0.0.glb’ (important: don't forget to activate the '1K' Checkbox)

Prepare Visual Studio:

  1. Under 'Tools' --> 'Extensions and Updates' Deinstall evtl. installed newer Versions of TinyCLR Project System
  2. Download the file 'TinyCLR OS ProjectSystemv1.0.0.vsix' from this repository on your PC and doubleClick This installs the correct ProjectSystem for TinyCLR V1.0 Important: When it is installed --> Uncheck the Option for Automatic Update of the Project System, otherwise after the next start of Visual Studio the newest GHI Project System is loaded and TinyCLR V1 will not longer work.
  3. Copy the needed TinyCLR Libraries (from this Repo) into a folder on your PC and select this folder as a private NuGet PacketSource.
  4. Install the NuGet Packages 'GHIElectronics.TinyCLR.Core' and 'GHIElectronics.TinyCLR.BrainPad' which must be Version 1.0.0

Now you should be able to create TinyCLR V1.0.0 Apps for the BrainPad

About

Run TinyCLR V1 on GHI BrainPad BP2 (Needed Files and Tutorial)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages