Skip to content

ZonkSec/defcon25

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nullibadge

WARNING

This is written by a series of drunk coders. If something doesn't make sense have a few beers and come back :)

About

Order a Badge

Programming

Install MPLabX 3.65

Win Lin Osx

Install XC8 1.42

Win Lin OSX

GIT

git clone https://github.com/nullibadge/defcon25.git

Pickit3

Acquire one of these

Step by Step

  1. Plug in your pickit3 to your computer
  2. Open MPLab X
  3. File -> Open Project -> Select your git folder
  4. Select Clean Build from the Tool Bar (Looks like a Hammer with a Brush)
  5. Click Production -> Set Project Configuration -> Customize
  6. Under Conf:[default] -> Configuration Pane -> Hardware Tool Pane -> Hardware Tools you should see PICkit3 with a serial #
  7. Under Conf:[default] -> Configuration Pane -> Device -> Be sure to select PIC16LF18346

Note: Early dev boards used a non L version microcontroller. These could take higher voltages. The new ones cannot and have better battery life.

Note: You don't need to power the board with battery and shouldn't when programming them. You can turn off the battery power by toggling the switch on the bottom right of the badge.

  1. Under Conf:[default] -> select PICkit3 -> Under Options Categories select Power -> Check Power target circuit from PICkit3 -> change the power to 3.25V. Anything higher than 3.6V will fry the L microcontroller and destroy your badge.
  2. Under Compiler Toolchain on the right click on XC8 1.42 and click apply then ok
  3. Connect the PICKit3 to your badge. The arrow indicates the left most pin.

Here is a picture of proper placement.

  1. Click the Green Play button to right of "Clean Rebuild"
  2. Select your PICKit3. You may get a prompt about the having the right device selected. Ensure you are using the L version if you use a new revision (>rev1) of the badge. Click OK and the badge will program.

Good luck have fun PR's welcome

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 75.2%
  • Makefile 23.5%
  • Other 1.3%