Difficulty

Moderate

Steps

6

Time Required

                          10 minutes            

Sections

1

  • Out Dated Programming Open-Storm Board
  • 6 steps

Flags

Member-Contributed Guide

An awesome member of our community made this guide. It is not managed by iFixit staff.

  • BackOpen-Storm Hardware

  • Full Screen

  • Options

  • History

  • Save to Favorites

  • Download PDF

  • Edit

  • Translate

  • Get Shareable Link

  • Embed This Guide

  • Notify Me of Changes

  • Stop Notifications

What you need

Step 1

              Clone the most recent version of the firmware               

Open Git Bash and type the following commands:

cd ~/Documents

mkdir Perfect_Cell

cd ~/Documents/Perfect_Cell

git clone https://github.com/bpwong-um/perfect-cel

cd perfect-cell

git checkout sd_logger

1024

Step 2

              Open file “perfect-cell.cyprj” in PSoC Creator               
  • You need to open the file using the Project/Workspace tab, not the File tab.
  • It’s file path should be: “Perfect-cell\perfect-cell.cydsn\perfect-cell.cyprj” (you might need to show “All files (.)”)

You need to open the file using the Project/Workspace tab, not the File tab.

It’s file path should be: “Perfect-cell\perfect-cell.cydsn\perfect-cell.cyprj” (you might need to show “All files (.)”)

Step 3

              Find and copy the config.h file into the Perfect_Cell directory               
  • If you are using a lab computer, it should be on the Desktop somewhere. If you don’t see it go find a grad student and ask.
  • We are coming up with a better way of doing this. The config.h file contains sensitive information like node passwords, so we don’t have it on our github repo, and we don’t want to spread it around.
  • You might have to add config.h file to filepath (right click “Headers” click add > add existing, click on config.h file)

If you are using a lab computer, it should be on the Desktop somewhere. If you don’t see it go find a grad student and ask.

We are coming up with a better way of doing this. The config.h file contains sensitive information like node passwords, so we don’t have it on our github repo, and we don’t want to spread it around.

You might have to add config.h file to filepath (right click “Headers” click add > add existing, click on config.h file)

Step 4

              Build the project               
  • Go to “Build” → “Build perfect-cell” (this’ll take a lil’ bit)
  • If you get any “FLAG” errors, you probably have an old config.h file. That’s alright, you just need to add that variable into the config file code.
  • Eg, #define V420_FLAG 0u
  • When your build is complete, you will see a “Build Succeeded!” message.

Go to “Build” → “Build perfect-cell” (this’ll take a lil’ bit)

If you get any “FLAG” errors, you probably have an old config.h file. That’s alright, you just need to add that variable into the config file code.

Eg, #define V420_FLAG 0u

When your build is complete, you will see a “Build Succeeded!” message.

Step 5

              Add jumpers to the board               
  • Before you can program the board, make sure all the necessary pins have jumpers. Jumpers allow you to toggle between different board settings.
  • The jumpers you need are:
  • JP1 - Power the board directly from the battery (not the voltage regulator) JP1 (the bottom two pins are jumped)
  • JP2 - top two pins - controls how we power the modem
  • ST and XB - jump all of the status LEDs

Before you can program the board, make sure all the necessary pins have jumpers. Jumpers allow you to toggle between different board settings.

The jumpers you need are:

JP1 - Power the board directly from the battery (not the voltage regulator) JP1 (the bottom two pins are jumped)

JP2 - top two pins - controls how we power the modem

ST and XB - jump all of the status LEDs

Step 6

              Program the Board               
  • Before you get any further, make sure the board has an SD card and a modem (with activated SIM card) attached. Make sure the modem is correctly connected to the board!
  • Using the board programming cable, connect your board to your computer via USB port
  • The pin end connects to the white port on the board.
  • If you have a problem connecting, check that the programmer is using the correct port.
  • Once you have a connection, debug the project.

Before you get any further, make sure the board has an SD card and a modem (with activated SIM card) attached. Make sure the modem is correctly connected to the board!

Using the board programming cable, connect your board to your computer via USB port

The pin end connects to the white port on the board.

If you have a problem connecting, check that the programmer is using the correct port.

Once you have a connection, debug the project.

Cancel: I did not complete this guide.

                                                                                      3 other people completed this guide.                                             

Author

                                      with 2 other contributors 

                    Jacquelyn                     

Member since: 09/17/2019

505 Reputation

                                      3 Guides authored                  



                       Badges:
                       4







                                                        +1 more badge                           

Team

                       Open-Storm                        

                                                  Member of Open-Storm 



                    Community                     


                                            14 Members                     


                                            24 Guides authored