Skip to main content
gl2
Associate III
March 8, 2015
Question

[Solved] Where to find the test application for SPC560P -DISP?

  • March 8, 2015
  • 17 replies
  • 2887 views
Posted on March 08, 2015 at 18:11

Hi,

I'm a trainee to STm. I use the SPC560P - DISP board. I've read that in the MCU flash memory there is the test application. I do not know how to run it.

Can anyone help me? Thanks.

#spc5 #studio #spc560p #headers
    This topic has been closed for replies.

    17 replies

    Erwan YVIN
    ST Technical Moderator
    March 9, 2015
    Posted on March 09, 2015 at 09:56

    Hello Gianluca ,

    on PICTUS Discovery Board ,We have 6 applications on SPC5Studio Wizard (Cf Attachment)

    1) you need SPC5xxx SPC5-UDESTK-EVAL Starterkit (4.2 is better) in order to flash an application

    Download from

    http://www.pls-mc.com/login-a-html?User=SPC5UDESTKUser

    2) Plug your your discovery board and install the drivers (FTDI USB)

    the drivers

    c:\Program Files (x86)\pls\UDE 4.2\Driver\

    3) After the compilation ''OK'', you can launch the debug from SPC5Studio and flash the software generated

    Best regards

    Erwan

    ________________

    Attachments :

    2015-03-09_094707.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Kn&d=%2Fa%2F0X0000000bYy%2FLWhxclG6re9.vRXpeLSx5jBnbhMmr2UMK4SCO4_dr24&asPdf=false
    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    gl2
    gl2Author
    Associate III
    March 9, 2015
    Posted on March 09, 2015 at 13:51

    Hello Erwan, 

    I have the UDE platform and the drivers, but in the ''getting started'' file for this board (SPC560P - DISP) there's written ''Import the test application developed for this board (“Test Application SPC 560P-DISP Discovery Board.zip�)''. Where is this zip? Inside there is a main.c. Without this file does not know how to start.

    Then, there is a detailed guide on how to program this board? 

    Best regards 

    Gianluca

    Erwan YVIN
    ST Technical Moderator
    March 9, 2015
    Posted on March 09, 2015 at 17:51

    Hello Gianluca ,

    From SPC5Studio , Please use the applications coming from Application Wizard

    Click on Magic Stick (Cf Screenshot in attachment)

    the applications are uptodate

    Could you give a screenshot of the ''Getting Started'' of the PLS UDE ?

    Best regards

    Erwan

    ________________

    Attachments :

    2015-03-09_174947.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Qk&d=%2Fa%2F0X0000000bYx%2FKEc3gJAkB.xWhSVsxHAOmNbS5gsFI1fK0ycqFsMhDP8&asPdf=false
    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    gl2
    gl2Author
    Associate III
    March 9, 2015
    Posted on March 09, 2015 at 19:39

    I have the getting started for SPC5 studio.

    Attached the screenshot.

    Ok. This is my board

    http://www.st.com/st-web-ui/static/active/en/fragment/product_related/rpn_information/board_photo/SPC560P-DISP%20640x4png

    I choose the SPC560P50L5 then Serial and then ChibiOS-RT. But the project contains some errors. For example missing the libraries:

    ''components.h''

    ''ch.h''

    ''shell.h''

    ''chprintf.h''

    Solutions?

    Thanks.

    Best regards

    Gianluca

    ________________

    Attachments :

    Immagine.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Qa&d=%2Fa%2F0X0000000bYw%2FnhUC4ejpL_MMmaO0dvS_1aYY.AhebGg9JJ1IvxJCYLQ&asPdf=false
    Erwan YVIN
    ST Technical Moderator
    March 10, 2015
    Posted on March 10, 2015 at 11:08

    Hello Gianluca ,

    After importing the project from the application wizard ,

    you need to click on :

    1) generate first

    2) then compile

    have you updated SPCStudio 3.0.0 ==> 3.4.2 from update site ?

                       Best regards

                                         Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    gl2
    gl2Author
    Associate III
    March 10, 2015
    Posted on March 10, 2015 at 17:10

    Ok it works. Thank you. I have the 3.0 version. I don't know how download the new version.

    The last thing, when I put the firmware inside the board, I turn off the board, I plug again the USBand set S1 to ON position. The LedsD11, D12 and D13 should's blinking, but do not work.

    Attached the main.c

    This is the test file. When I turn on the board the led D1 is red andno leds blinks.

    Best regards

    Gianluca

    ________________

    Attachments :

    main.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0QV&d=%2Fa%2F0X0000000bYu%2FTtjA70DT_1Ub6UXZwOuwKcNoNC6SNUnU.m2jVeWElhc&asPdf=false
    Erwan YVIN
    ST Technical Moderator
    March 10, 2015
    Posted on March 10, 2015 at 17:35

    Hello Gianluca ,

    To update SPC5Studio , you need to pass by update site

    Help ==> Install new Software (Cf Attachment)

    Do not forget to put some proxy settings in Preferences ==> Network

    After updating , you should have in Installation Details : (cf Attachment)

    On the application ''ChibiOS-RT SPC560Pxx Test Application

    for Discovery'' ,

    i have no issue ..

    Do you use the Debug button (SPC5Studio) to download the firmware by PLS (memtool) ?

    Best regards

    Erwan

    ________________

    Attachments :

    2015-03-10_172319.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I083&d=%2Fa%2F0X0000000bYv%2FRyFxBO4x9A1mxsFAoQCavbMCd7_aMvSP1Oplqy.gjVc&asPdf=false

    2015-03-10_172850.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I017&d=%2Fa%2F0X0000000bYt%2FV6hlYegAw0ZGUUvwAiN6nxLebMnPSLwYp7qrMWhZleA&asPdf=false
    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    gl2
    gl2Author
    Associate III
    March 10, 2015
    Posted on March 10, 2015 at 17:53

    For the update I have this errors:

    will be ignored because it is already installed.

    But my version is 3.0.

    Yes I make double click in debug.wsx after the build project. When, the UDE visual platform opens and I load the out.elf file. I click on ''program all'' and I wait. The process is successful. I turn off the board and then turn on and It doesn't work.

    Erwan YVIN
    ST Technical Moderator
    March 10, 2015
    Posted on March 10, 2015 at 18:40

    Hello Gianluca ,

    Could you send your full application by exporting it ?

    Do you succeed to put a breakpoint in main() function by PLS ?

    Serial Port is working ?

       Best regards

                     Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    gl2
    gl2Author
    Associate III
    March 10, 2015
    Posted on March 10, 2015 at 19:38

    I've uploaded the full project when I've generated the file out.elf.

    ________________

    Attachments :

    ChibiOS-RT_SPC560Pxx_Test_Application.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0QG&d=%2Fa%2F0X0000000bYs%2FIzL6pPPLE9vUP.wuH34kF1yQEnM3Cz1gvEsafz6iqhk&asPdf=false