Other articles


  1. Making your Raspberry "product"

    For your Raspberry-based "product" recipe, you'll need:
    • a custom GNU/Linux image (baking time: ~4h).
    • a custom extention board topping (flavor of your choice).
    Price: ★☆☆      Taste: ★★★      Difficulty: ★★☆
    

    Build a custom GNU/Linux image

    Yocto [1] is now a common solution for creating automated build of custom GNU/Linux images ...

    read more
  2. OpenOCD and STM32F446

    OpenOCD does know the STM32F446?

    Open On-Chip Debugger 0.8.0 (2014-05-10-23:20)
    Licensed under GNU GPL v2
    For bug reports, read
            http://openocd.sourceforge.net/doc/doxygen/bugs.html
    Info : This adapter doesn't support configurable speed
    Info : STLINK v2 JTAG v17 API v2 SWIM v0 VID 0x0483 PID ...
    read more
  3. STM32F4: Generating parallel signals with the FSMC

    The goal: The memory controller can be used to generate a "generic" 16-bit parallel data stream with clock. Address generation will be disregarded, as well as other control signals dedicated to memory chips.

    It must be noted that the STM32F40x and STM32F41x have the FSMC (static memories), while the STM32F42x ...

    read more
  4. STM32F4 and OpenOCD with flash erase error -304

    Quick post about OpenOCD and flash erase error -304.

    Getting the following error:

    Open On-Chip Debugger 0.8.0 (2014-05-10-23:20)
    Licensed under GNU GPL v2
    For bug reports, read
            http://openocd.sourceforge.net/doc/doxygen/bugs.html
    Info : This adapter doesn't support configurable speed
    Info : STLINK v2 JTAG ...
    read more
  5. Desolder the microcontroller?

    Let's desolder the microcontroller?

    Damn, this is just standard solderwire, nothing to do with the desoldering alloy and its low melting point. Ordering mistake... (u_u)

    Result, went a bit medieval on the poor chip...

    read more
  6. STM32F4 JTAG: first tests

    The FLRe p1 microcontroller board is finished and ready for tests. First test? Trying to get the CPU chip id over JTAG.

    The target board uses a custom 0.5" JTAG header. Some home-made adapter are needed.

    Open On-Chip Debugger 0.8.0 (2014-05-10-23:20)
    Licensed under GNU GPL v2 ...
    read more
  7. STM32F4 bare-metal start-up and real bit banging speed

    Last year, I made a post about the bit-banging capacities of the STM32F1 (ARM Cortex-M3) microcontroller. Here are some comparisons with the STM32F4 (Cortex-M4).

    STM32F4 bare metal start-up (no compiler libraries added)

    The STM32F4 runs at 168MHz CPU clock.

    Because my oscilloscope only goes up to 50MHz, I made a ...

    read more
  8. OpenSTM32 and STM32CubeMX under Ubuntu 14.10

    This post is about using OpenSTM32 plugins for Eclipse and STM32CubeMX with Ubuntu 14.10.

    OpenSTM32

    OpenSTM32 [1] is a project aiming at making embedded development for STM32 microcontroller easier with Eclipse. "System Workbench for STM32 - Bare Metal Edition" features are described at [2]. There is an all-in-one installer for ...

    read more
  9. UART flash bootloader and LC-Studio STM32F103C8 board

    $ ./stm32flash -b 115200 -v -w main.hex -g 0x0 /dev/ttyUSB0
    stm32flash 0.3
    
    http://stm32flash.googlecode.com/
    
    Using Parser : Intel HEX
    Serial Config: 115200 8E1
    This bootloader returns 2 extra bytes in PID: 00 41
    Version      : 0x20
    Option 1     : 0x00
    Option 2     : 0x00
    Device ID    : 0x0641 (Medium_Density PL)
    - RAM ...
    read more
  10. First steps with the STM32F4

    Those chip close-ups are always so cute...

    How to start with the STM32F4?

    Of course, the first document to find for any chip is the datasheet [1], and the reference manual [2]. To write the start-up code, the manual of the CPU core [3] will be necessary as well. Then ...

    read more
  11. STM32 USART at maximum speed (4.5Mbits/s)

    USART1 is on Peripheral clock 2 PCLK2 (high speed: 72MHz), while the other USART (2, 3, ...) are on Peripheral clock 1 PCLK1 (low speed: 36MHz).

    Only USART1 can run at the maximum speed of 4.5Mbits/s. Other USART are limited to 2.25Mbits/s.

    How to set custom baudrate ...

    read more
  12. LC-Studio STM32F103V board UART

    So as to make the communication with the microcontroller possible during execution, I set up the serial line of my development board. The board has a STM32F103 in 100-pin flat package (TFQP100) connected to a MAX232 [1] transceiver.

    UART1:

    Pin67 PA08 UART1_CK
    Pin68 PA09 UART1_TX
    Pin69 PA10 UART1_RX
    Pin70 PA11 ...
    read more

Page 1 / 1