[Gnuk-users] STM32 Primer 2

NIIBE Yutaka gniibe at fsij.org
Mon Jul 13 01:03:34 UTC 2015


On 07/11/2015 08:58 PM, Kaz Kojima wrote:
> BTW, I'm writing LCD, touch panel and various switch support
> for Primer2 from scratch as an example of chopstx.  Some pics
> are in the unfinished article
> http://www.rr.iij4u.or.jp/~kkojima/letschopstx.html

Wow.  Looks great.  Thank you for your endorsement.

I think that if the SWD debugger part of STM32 Primer 2 were
accessible by Free Software, it (or STM32 Primer version 1) would be
the best environment for testing user interface.  Still, if the
product is available,  I think that it's worth to have.

This month, I also got an article for FSM-55 by my friend at Seeed
Technology.

    http://www.seeedstudio.com/recipe/309-make-the-hacker-emblem-fly-with-fsm-55.html

I think that FSM-55 is the best kit to play with Chopstx.  I assumed
that the hacker emblem were famous enough, but it seems wrong.


For the applications of Chopstx, my idea is something like:

    MANDATORY:
    chopstx.c: The Thread library
    entry.c: Entry routine and exception vectors
    clk_gpio_init.c: Clock setting and GPIO initialization

    OPTIONAL 1:
    eventflag.c: Eventflag

    OPTIONAL 2:
    sys.c and aes-constant-ft.c: System services

The system services are intended for the first few pages of flash ROM
which cannot be updated by the MCU itself (once protected).

The original idea was: If we can put some board dependent things into
those pages, it would be possible for applications to be board
independent so that we can share same application binary.

Unfortunately for Gnuk and NeuG, since the analog input setting is
board dependent, we cannot share a single binary among different
boards, currently.  Well, it could be possible to be board
independent, somehow easily by identifying boards, I'll try this week.

I don't have an idea to put some drivers into the system services, as
it can't be updated.  Those are limited to simple ones (like LED blink
and USB initialization), which would be never changed.
-- 



More information about the gnuk-users mailing list