X893

  1. Activate System Bootloader on RAK4200 (STM32L071KB)

    The System Bootloader in STM32L071KB (RAK4200) does a check of the BOOT0 bit and if BOOT0 is not set it checks the application at addresses 0x8010000 and 0x800000. If the stack pointer is in the SRAM range, the bootloader switches to the program in flash. Therefore, it is impossible to start the system bootloader without BOOT0 officially. But ... 1. In the application, set the flag (MAGIC number) to go to the system bootloader on reset. The address must be greater than the stack pointer of the system loader (see 0x1FF00000). #define MAGIC_BOOT ( (uint32_t *)( 0x20003000 ) ) *MAGIC_BOOT = 0xDEADBEEF...

  2. Fix error in J-Link OB-STM32F072-CortexM from 26/09/2016

    The latest version of firmware for the J-Link OB-STM32F072-CortexM to 26 September 2016 contains an error in the implementation of the COM transmission. To fix you need to change a few bytes: Address Old New 0800BD90: 90 00 0800BD91: 20 BF 0800BD92: C0 00 0800BD93: 05 BF 0800BD94: 01 00 0800BD95: 68 BF 0800BD96: 6F 00 0800BD97: 4A BF 0800BD98: 0A 00 0800BD99: 40 BF 0800BD9A: 02 00 0800BD9B: 60 BF It may also need to connect PA7 with ground....

  3. RC5 symmetric-key block cipher STM32

    Implement RC5 symmetric-key block cipher for STM32 RC5 wiki RC5.c, RC5.h

  4. EFM32 bootloader with STM32 USART protocol

    EFM32 bootloader (Olimex EFMG880F128) support STM USART bootloader protocol. Use LEUART with 9600 b/s to communicate with host. Need add one file to STM Flash Loader demonstrator Map/EFM32G880F128.STmap Source for bootloader and application example available at Github ....

  5. DIY JLink-OB-072 (JLink + COM)

    UPD: Add Eagle files Schrmatic & Board for all type of USB connectors and technology rules from Rezonit. Don't forget say thanks to SEGGER ! How to make JLink-OB-072 debug adapter. PCB with big USB, miniUSB and microUSB. Easy and correct way - buy from SEGGER and be happy. Also right way - build it yourself but with some limitation. You can't use firmware update from JLink.exe only via STM DFU utility. Now need prepare first step. Buy correct beer (Krusovice) and open it. 1. Extract binary part from JLinkARM.dll (from JLink_V512) For example from offset 7153340 (0x6D26BC) and size 41192...

  6. OpenMV

    Great project OpenMV but only need order 4 layers PCB. Redesign to 2 layers and now soldering and test. Additional PCB with 3G modem (H350) provide fully autonomous transmitter images. 3G modem now as arduino or Raspberry Pi shield but after testing make PCB within same size. 2 layer OpenMV Eagle files...

  7. STM32 Vehicle Tracker

    Vehicle tracker with schematics and software. Updated: Cx version support direct connection GPS to GSM via wires (or change layout) so you can use buildin Python to implement tracker functions without STM32 MCU . Updated: Links to OSH Park pcb service Cx version Rx version Features: STM32 48/64 pins (F10X, F20X, F40X, L151) GSM Telit GL685/GL868 GPS/GLONASS SL868/SL869 Accelerometer MMA7455 CAN bus (need MCU with CAN support) 2 input, 1 output signal Standard SIM or SimOnChip Only for 48 pins version Side connector for extension pcb Only for 64 pins version Battery support with charger USB support...

  8. Lab power supply

    Simple dual power supply with TFT screen, bluetooth and control current and voltage. Millions thanks to http://www.maximintegrated.com/ for samples. Now it best company for sample (second TI :) ). One control board and up to 2 power supply board. and power supply based on Maxim (regulator+control+measure) all PCBs size 33x32 mm (only TFT display more but with Bluetooth control it no need) With 3 button easy to control without host All PCB connects as sandwich so i have a small cube with 33x32x30 mm for dual power with measurement and regulate dual voltage supply. Now too easy make a consumption...

  9. CMSIS-DAP adapter

    Simple PCB for CMSIS-DAP debug adapter. Additional serial (UART) interface. Compatible with Keil ARM. Available on Github (Eagle files and codes). Provide USB HID (for debug) and USB Serial (for messages) on STM32F103C8 chip.

  10. STM32/EFM32 small C interpreter for scripting

    Time to time i need prepare small C program for testing hardware so not need write a complex program with host compilation. So i port small C interpreter to EFM32. Very helpfull for me. Now use USART1 to communicate. Need ~ 45Kb flash and 2K RAM. All other flash/ram used for interpreter (or as small file storage). Target MCU reset Enter program code Call function See result After add wrappers to hardware modules i can easy call various interfaces. See original project here http://code.google.com/p/picoc/ Modified source code available on github . Open Keil project from ports/picoC.uvproj...


Github
Bitbucket
SF.net

Skype
Telegram

Subscribe to x893 blog Subscribe