As a start, you would need the following:
HARDWARE: - BCore Board
- A 6V-12V DC power supply
- FTDI USB Download Key
SOTWARE:
- BCore IDE
- CommKey Driver
- .NET Platform
Note: All required software is available for download here.
Instruction Steps:
- Set up the BCore with reference to the connections shown in the figure on the left.
- Connect your Download Key to any USB Port on your PC.
- Power up the Board.
- Launch Bcore IDE.
The download port is the JST connector located at the outermost edge of the board for all BCore boards. Please refer to the BCore Reference Datasheet for more details. NOTE: Please install the Download Key driver BEFORE connecting the Download Key to the PC. If you have not already done so, please install the latest version of the BCore IDE, you may need to install the .NET Platform if your PC does not already have it in the system. The driver and software can be obtained from our website.
Launching BCore IDE Upon launching the BCore IDE (BlazingCore Integrated Development Environment), a dialog should pop up requesting the Comm. Number. The Comm. Number can be obtained from your Device Manager when you have plugged in your Download Key.
You can get the port numbers through: Control Panel > System > Device Manager > Ports
In this case, the port number is COM26. Press OK when you’re done and the port should automatically open if the port number is valid. There are indicators on the bottom status bar stating “COM26 Open”. Note: You may locate the CommPort Setting Download under: Comm > Comm Setting
Creating a new project To create a new project, go to File > New Project. Keyboard Short-Cut: CTRL + N.
 A new project will be automatically created for you, along with the standard structures of a program in the editor. A project consists of your code, which is contained in Modules. You will be writing your program in Modules. The Module which contains the subroutine “Main” is your Main Module. Every Program MUST have a subroutine called Main(), and each subroutine has to have a unique name.
TIP: You can rename your modules to whatever you want to call it. This can be done under: Project > Rename.
SAVING YOUR PROJECT Before continuing, lets save this project. This can be done under File > Save Project or clicking on the Save Icon on the toolbar. The Save Dialog should appear. Type in the project name that you would like to save as, e.g. “My Project” and hit the save button when you are done. Keyboard Short-Cut: CTRL + S.
COMPILING YOUR PROJECT
You can now compile your project by selecting Project > Compile or clicking on the Compile Icon on the toolbar. Keyboard Short-Cut: F4.
Compiling the project checks for any syntax errors in your program, you should not encounter any errors here. You can tell the number of errors you currently have, from the bottom indication in BCoreIDE. For now, you should see something as follow.
COMPILING AND DOWNLOADING YOUR PROJECT
Since there are no errors in our project, let’s download it into the BCore. From the BCoreIDE menu choose: Project > Compile And Download or press the icon on the tool bar. Keyboard Short-Cut: F5.
You may have to wait for a moment for the download process to complete. Your download is successful if there are no errors reported.
If you get an error message, such as: “Download Error”
Check the following:
Make sure your power supply is on. The power indicator on your BCore board should light up. Make sure that the Download Key is connected properly to the BCore board and to your PC. Make sure you have the right Comm Port setting. |