Zum Hauptinhalt wechseln
  1. Open Git Bash and type the following commands:
  2. You need to open the file using the Project/Workspace tab, not the File tab.
    • 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 (*.*)”)

  3. 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.
    • 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)

  4. Go to “Build” → “Build perfect-cell”  (this’ll take a lil’ bit)
    • 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.

    • 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

  5. 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!
    • 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.

Ziellinie

2 weitere Nutzer haben diese Anleitung absolviert.

Jacquelyn

Mitglied seit: 17.09.2019

475 Reputation

3 Anleitungen geschrieben

Team

Open-Storm Mitglied von Open-Storm

Community

20 Mitglieder

24 Anleitungen geschrieben

Kommentar hinzufügen

Seitenaufrufe:

Letzten 24 Stunden: 0

Letzten 7 Tage: 0

Letzten 30 Tage: 0

Insgesamt: 90