Results 1 to 8 of 8

Thread: Getting Started with the CFA-735 STM32 ARM User Code

  1. #1
    Join Date
    2002/12
    Posts
    566

    Lightbulb Getting Started with the CFA-735 STM32 ARM User Code

    Greetings!

    We have released open source "starter code" for the CFA-735 hardware. Using this starter code and open source tools, you can unleash the power of the CFA-735's 32-bit ARM processor to tackle your embedded project.



    CFA-735 hardware features:
    • ST Micro STM32 processor ( STM32F103RCT6 )
      • ARM 32-bit Cortex™-M3 CPU @ 72 MHz
      • 256K x 8 Flash, 48K x 8 RAM
    • Sitronix ST7529 32 gray scale graphic LCD Controller ( ST7529 )
    • 244 x 88 graphic gray scale LCD
    • 37mm height makes it the perfect height to fit in a 1U appliance
    • Buck-Boost switching supply allows wide (2.7v to 5.5v) supply voltage range
    • uSD ( micro SD ) card socket
    • USB micro B connector
    • 16-pin debug header which exposes UART, I2C, SPI, CAN, and JTAG interfaces of the STM32F103RCT6
    • 4 bi-color status LEDs
    • 6-key directional keypad
    • Separate switching LED controllers for Keypad backlight and LCD backlight


    The example code demonstrates:
    • Initializing and writing characters to the ST7529 LCD controller
    • Reading the keypad
    • Writing to the status LEDs
    • Reading and Writing characters over USB
    • Reading and Writing characters over the UART


    Example user code for use on the CFA-735's STM32F103 microprocessor has been posted to GitHub. This code serves as a starting point for developers wishing to fully customize the CFA-735 firmware for their needs.

    This code is released under the Apache License, Version 2.0 which is available at http://www.apache.org/licenses/LICENSE-2.0

    An initial readme.txt details some of the requirements and recommendations. More instructions will be written or contributed.

    Warning: Installation of custom user firmware on a CFA-735 will remove the proprietary firmware supported by Crystalfontz. To reinstall the proprietary Crystalfontz firmware will require returning the module to Crystalfontz.

    Support for custom user firmware will be provided through this forum. Custom user firmware will not be supported via email or phone.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	CFA-735_Front_and_Back.png 
Views:	1462 
Size:	977.3 KB 
ID:	1952  

  2. #2
    Join Date
    2012/01
    Posts
    5
    Great news

    Is there any restriction or configuration required for using "Atollic TrueSTUDIO® for STMicroelectronics STM32" free Lite version?

    http://www.atollic.com/index.php/download

    I would need ST7529 lib which is included in the package from GitHUB. Anything else of config required ?

    Atollic TrueStudio is built on Eclipse and is an excellent development environment.

    Thanks

  3. #3
    Join Date
    2012/01
    Posts
    5

    About JTAG

    Hi

    I had another question but I forgot to ask in the previous post.

    Is this the kind of stuff I need to be able to program the CFA735 ?

    http://search.digikey.com/us/en/prod...105-ND/2714140

    Not sure where I will have to connect this...

    Thanks

  4. #4
    Join Date
    2002/12
    Posts
    566
    Hi,

    To our knowledge there is no reason you could not use the "Atollic TrueSTUDIO® for STMicroelectronics STM32" Free Lite version.

    Every piece of source code you need is in the GitHub repository. You would need to configure TrueSTUDIO to build the application as it is described in the Makefile.

    The JTAG adapter you specified should work with the CFA-735. We do not recommend powering the CFA-735 through that JTAG adapter as it only provides 200mA. OpenOCD, the software to interface with the on-chip debugger, does not explicitly support that JTAG adapter but it can be configured to support virtually any FTDI based JTAG.

    The readme.txt on GitHub has the pin-to-pin connections that would need to be made between the JTAG adapter and the CFA-735's H1 connector.

    Thank you.

  5. #5
    Join Date
    2012/01
    Posts
    5

    Thanks for the info

    Hi,

    I have been programming since 1988 mainly with Delphi 3 to 10, never touched C since then. Microcontrollers are new to me and I do not catch everything without reading over and over.

    I reckon that the information about JTAG were allready in my files.

    Thank you very much

  6. #6
    Join Date
    2012/02
    Posts
    9

    Uploading Firmware

    From the SETUP_LINUX read me file: "Now that you have the source and compiled firmware, you need to get
    the firmware on to the CFA-735 module. This is done with OpenOCD and
    a JTAG interface adapter."

    Once I've made changes to the files as needed and used the compiler to create the firmware do I really need the JTAG component and OpenOCD to upload the firmware to the module? According to the pdf for the CFA735 I just need to put it on the micro-SD card and power the unit on. Thanks

  7. #7
    Join Date
    2008/01
    Location
    Spokane Valley, WA
    Posts
    54
    The SD Card boot loader will only load Crystalfontz supported code. You need the JTAG to replace all the code on there with your custom code.

  8. #8
    Join Date
    2012/02
    Posts
    9

    Newbie

    Still trying to grasp how this all works. I have a project in which I need the cfa735 to display information from a file on a hard drive and manipulate it. Originally I was working in a Linux environment but now I'm in a Windows environment. In Linux there is the CLI software from the available software on website and it would output to the terminal window any activity from the physical buttons, however within that code it was very simple to display values (on the cfa735) from a file and use the button activity log to change those values. Will this custom firmware allow me to do that? If so can somebody give me a general explanation of how I go about doing that?

Similar Threads

  1. Replies: 1
    Last Post: November 2, 2009, 07:59 AM
  2. Weird problem: 635 and ARM SBC
    By RogueWarrior65 in forum Technical Support
    Replies: 4
    Last Post: September 18, 2009, 06:05 AM
  3. CFA-635 C# Demo Code
    By Lobo.CR in forum Technical Support
    Replies: 1
    Last Post: May 14, 2008, 08:32 PM
  4. CFA-635 C# Demo Code
    By Lobo.CR in forum CrystalControl2
    Replies: 1
    Last Post: May 14, 2008, 08:32 PM
  5. CFA 631 Read User Flash
    By DrinkyFish in forum Technical Support
    Replies: 1
    Last Post: March 25, 2006, 02:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •