added firmware upload instruction, moved making some into its own md file

This commit is contained in:
dekunukem
2017-12-26 23:59:00 +00:00
parent d8fa5b4d23
commit 04dfcfd3eb
14 changed files with 58 additions and 10 deletions

View File

@@ -20,6 +20,8 @@ Here's a short video of exixe14 modules in action on the [high precision clock](
https://www.youtube.com/watch?v=r3d2alzgjKc
Questions, inquires, or want to buy some? Feel free to email me at `dekunukem gmail com`.
## Features
Compared to the traditional approach, exixe modules offers significant advantages:
@@ -67,7 +69,7 @@ Please see [getting_started.md](/getting_started.md)
I can custom make some exixe modules for you in small quantities. However, soldering them together and testing them takes a long time, so it's going to be more expensive than just the cost of materials.
As for a larger scale, I am considering a small run in China, however it is going to take a while, so don't count on it for now.
I am also doing a small run in China for a few hundred boards, they should be ready by early 2018. I will update the repo with the purchase link once I receive them.
Also, I do have some extra empty PCBs in panels of 8, so if you want I can sell one to you. You still need to source the rest of the components and solder it together though.
@@ -75,13 +77,6 @@ Also, I do have some extra empty PCBs in panels of 8, so if you want I can sell
Email me at `dekunukem gmail com` for inquires.
## Making Some
## Making Some yourself
Full BOM here: [exixe12](resources/exixe12_bom.xlsx), [exixe14](resources/exixe14_bom.xlsx)
* The NPN transistor used on every cathode is [BF820](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=BF820W%2c135virtualkey66800000virtualkey771-BF820W135)
* The single PNP transistor used in overdrive circuit is [MSB92](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=MSB92ASWT1Gvirtualkey58410000virtualkey863-MSB92ASWT1G)
* Microcontroller is [STM32F042K6T6](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=STM32F042K6T6virtualkey51120000virtualkey511-STM32F042K6T6)
* LED is [Wurth Electronics 150141M173100](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=150141M173100virtualkey51100000virtualkey710-150141M173100)
Making some exixe modules yourself is fairly straightforward, just order the PCBs and parts and solder them together. Since the component count is not small and they are densely populated, I suggest order the PCB in panels of 6 or 8 and get a matching stencil to apply the paste. Use of reflow oven or skillet reflow is also recommended, since soldering each and every component by hand is basically torture.
Please see [making_some.md](/making_some.md)

53
making_some.md Normal file
View File

@@ -0,0 +1,53 @@
# Making some yourself
Making some exixe modules yourself is fairly straightforward, just order the PCBs and parts and solder them together. Since the component count is not small and they are densely populated, I suggest order the PCB in panels of 6 or 8 and get a matching stencil to apply the paste. Use of reflow oven or skillet reflow is also recommended, since soldering each and every component by hand is basically torture.
Full BOM here: [exixe12](resources/exixe12_bom.xlsx), [exixe14](resources/exixe14_bom.xlsx)
* The NPN transistor used on every cathode is [BF820](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=BF820W%2c135virtualkey66800000virtualkey771-BF820W135)
* The single PNP transistor used in overdrive circuit is [MSB92](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=MSB92ASWT1Gvirtualkey58410000virtualkey863-MSB92ASWT1G)
* Microcontroller is [STM32F042K6T6](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=STM32F042K6T6virtualkey51120000virtualkey511-STM32F042K6T6)
* LED is [Wurth Electronics 150141M173100](https://www.mouser.co.uk/Search/ProductDetail.aspx?R=150141M173100virtualkey51100000virtualkey710-150141M173100)
# Upload Firmware
Once you have soldered the board together, you will need to uplaod the firmware to the STM32 microcontroller in order for the boards to function.
To do that you need a ST-Link V2 programmer, they are dirt cheap on ebay (around $4), just search "ST-Link V2". It should look like this:
![Alt text](resources/st-link-dongle.jpg)
Then go and download the free STM32 ST-LINK Utility from the official ST website:
http://www.st.com/en/development-tools/stsw-link004.html
Click "get software" at the bottom of the page, then provide a name and email to get the download link. Use a fake name and a burner email like [this one](https://slippery.email/) to avoid spams.
The ST-LINK Utility will install the driver for the programmer automatically. After which you can connect the programmer to the exixe board:
* `GND` to `GND`
* `3.3V` to `3V`
* `SWDIO` to `DIO`
* `SWCLK` to `CLK`
After the board is connected to the programmer, plug the programmer into the USB port, then open the ST-LINK Utility. Click the button indicated below to connect to the microcontroller:
![Alt text](resources/stlink_0.png)
If your solder job is good, the ST-LINK Utility should be able to connect to the STM32 and show the content of its internal memory:
![Alt text](resources/stlink_1.png)
If the chip is brand new, everything shoud be 0xff. Anyway, click Target -> Program:
![Alt text](resources/stlink_2.png)
Then select the HEX file that you want to use, [exixe12](/firmware/exixe12/exixe12.hex) [exixe14](/firmware/exixe12/exixe14.hex):
![Alt text](resources/stlink_3.png)
Then click start to upload the firmware:
![Alt text](resources/stlink_4.png)
That's pretty much it if you don't want to recompile the firmware. If you do however you'll need to download the [Keil MDK](https://www.keil.com/demo/eval/arm.htm), it's slightly more involved, and I'll write a tutorial if interest arises.

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
resources/stlink_0.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
resources/stlink_1.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
resources/stlink_2.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
resources/stlink_3.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
resources/stlink_4.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB