xCore 200 Software Reset

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
Post Reply
Eliwood
Member
Posts: 10
Joined: Fri Apr 29, 2016 7:35 am

xCore 200 Software Reset

Post by Eliwood »

Hi,

i tried the software reset on a self-made Xcore 200 board by writing to the PLL register, but the xcore doesn't boot from the flash. A Hardware reset with my reset button works fine :)

So i tried different sourcecodes...first reset on tile 1, then tile 0 , changed the order, using delays between the cores and so on, but the xcore never boot.

Is there another Software reset option? I can only do a manual reset, there is no option to do it with an output pin of the xcore.



Best regards


User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm
Contact:

Post by johned »

Hi,

Have you tried this : http://www.xcore.com/forum/viewtopic.php?f=47&t=3539

Best regards,
John
Eliwood
Member
Posts: 10
Joined: Fri Apr 29, 2016 7:35 am

Post by Eliwood »

yeah, i exactly tried this, and i tried different orders of the reset first t[0], then t[1] ....and t[1] and then t[0]. The Xcore is reacting on this code, but will not boot like i want.

Another phenomenon: Writing the sourcecode into the flash, starting from the flash -> xcore is not doing a soft reset
colin
Experienced Member
Posts: 74
Joined: Mon Dec 16, 2013 12:14 pm

Post by colin »

On the 200 device you need to make sure bit 31 of the value written to the PLL register is cleared in order to obtain a soft reset.
Eliwood
Member
Posts: 10
Joined: Fri Apr 29, 2016 7:35 am

Post by Eliwood »

unfortunately, it is not working too, same problem: he seems to do a restart but cant boot from the flash...i have no idea,
User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

It will be useful to understand the following to help diagnose further:

- Do you get any activity on the SPI lines when flash boot fails?
- Please attach a dumpstate of the processor

Code: Select all

xrun --dumpstate <yourfile.xe>
henk
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

Hi,

Is it an external flash?

Cheers,
Henk
Post Reply