cancel
Showing results for 
Search instead for 
Did you mean: 

SPCSetRunMode not return ......

guo qiang
Senior
Posted on April 13, 2017 at 10:27

SPCSetRunMode not return ......

board:

Discovery Plus Kit for SPC56 L line - with SPC56EL70L5 MCU

my step:

file->new sp5 studio Application wizard->

select

Discovery Plus Kit for SPC56 L line - with SPC56EL70L5 MCU

0690X00000606PiQAI.png

click generate button and click build button

0690X00000606kdQAA.png

program FLASH and debug...

Has been parked here....

0690X00000606kxQAA.png

I didn't changed any code...

0690X00000606l2QAA.png

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on April 14, 2017 at 14:05

Hello Guo ,

i am still waiting your Installation details

The hardware has not found a valid Boot ID in any flash memory boot locations

the device is fetching the code 0xFFFFC000

You have not flash the firmware, please flash the firmware by using LOAD PROGRAM in PLS

Anyway, for your information , SPC5Studio 5.3.0 is available.

You can update by Update site or Marketplace

we have corrected all the debug.wsx (it is compliant for PLS 4.8.2)

Use PLS 4.8.2 for to debug and flash.

                    Best regards

                                                                  Erwan

View solution in original post

20 REPLIES 20
guo qiang
Senior
Posted on April 13, 2017 at 10:33

0690X00000606gOQAQ.png
Posted on April 13, 2017 at 10:48

Hello Guo ,

Which Test Application have you tested ?

Could you confirm your SPC5Studio version and PLS Version used ?

i have tested SPC56ELxx_RLA SERIAL Test Application for DiscoveryPlus on 5.2.3

No problem happenned.

      Best regards

                    Erwan

Posted on April 13, 2017 at 15:28

Hello ,

could you try to load the program via PLS 4.8 ?

0690X00000606lvQAA.png

could you send me your installation details in Help ==> About SPC5Studio ?

    Best regards

            Erwan

guo qiang
Senior
Posted on April 14, 2017 at 08:16

????????????

????

0690X00000606gTQAQ.png
guo qiang
Senior
Posted on April 14, 2017 at 11:03

Yvin.Erwan

‌ ,

That can't run the demo name is ''SPC56ELxx_RLA PIT Test Application for DiscoveryPlus''

so, I have create new demo project,this new demo name is ''ChibiOS-RT SPC56ELxx Test Application for DiscoveryPlus'', this new demo can run .

I looked at the basic configuration of the two demos

0690X00000606itQAA.png

0690X00000606m0QAA.png

So I'm going to try to change the 2 ,6 to 0 ,1.

this old demo can also run....

Why do I have to use the debugger can run the program and turn off the power and the debugger, again after the power is connected, the program will not run?

Posted on April 14, 2017 at 11:14

I reply to your message

Posted on April 14, 2017 at 11:23

Hello Guo ,

The problem will be solved in SPC5Studio 5.3.0.

Anyway , SPC5HAL is on github project.

https://github.com/microwan/spc5-hal

 

   Best regards

                      Erwan

Posted on April 14, 2017 at 11:53

Hello Guo ,

'Why do I have to use the debugger can run the program and turn off the power and the debugger, again after the power is connected, the program will not run?'

if you are flashing the firmware in the CFLASH using your elf file using the debugger PLS 4.8, 

By default, all the applications are running from the Flash.

Simple Power Off/On is sufficient to run the board .. in the application 'ChibiOS-RT SPC56ELxx Test Application for DiscoveryPlus' the led should blink.

              Best regards

                              Erwan

Posted on April 14, 2017 at 12:02

i see, i looked  the application.ld.     the app are running from the flash.

but my ude version is 4.4.  

so I am installing pls4.8(and uninstalling 4.4)