2015-03-08 10:11 AM
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 #headers2015-03-09 01:56 AM
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 fromhttp://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=false2015-03-09 05:51 AM
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 Gianluca2015-03-09 09:51 AM
2015-03-09 11:39 AM
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=false2015-03-10 03:08 AM
2015-03-10 09:10 AM
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=false2015-03-10 09:35 AM
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=false2015-03-10_172850.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I017&d=%2Fa%2F0X0000000bYt%2FV6hlYegAw0ZGUUvwAiN6nxLebMnPSLwYp7qrMWhZleA&asPdf=false2015-03-10 09:53 AM
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.2015-03-10 10:40 AM
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