Hi,
I want to do a software reboot. I have seen the corresponding threads here in the forum but to write to PLL Control register does not work.
After writing to the PLL control register, the core resets. However, it does not access the flash memory, but the internal pulldown resistor pulls the voltage to 2,8V.
I conclude from this, that the core has power but isnt doing anything.
Could anyone help me out?
Regards,
Ck
Rebooting XS1 device fails
-
- Active Member
- Posts: 63
- Joined: Sat Oct 15, 2011 8:53 pm
-
- XCore Expert
- Posts: 589
- Joined: Wed Feb 29, 2012 10:03 am
devices
Have you seen the information in the above answer in the Q&A section. Can you share us the code which you are using for soft reset?
Sethu.
http://www.xcore.com/questions/1768/how ... os-devicesvoodoosound wrote: I want to do a software reboot. I have seen the corresponding threads here in the forum but to write to PLL Control register does not work.
Have you seen the information in the above answer in the Q&A section. Can you share us the code which you are using for soft reset?
Sethu.
-
- Active Member
- Posts: 63
- Joined: Sat Oct 15, 2011 8:53 pm
Code: Select all
on tile[0]: void parameter_management(chanend c_rx, chanend c_tx,chanend c_param_ctl[])
{
while (1) {
select {
case c_param_ctl[1] :> unsigned int parameter:{
switch(parameter){
case SPI_REBOOT:
read_sswitch_reg(get_local_tile_id(), 6, x);
simple_printf("rebooting...\n");
write_sswitch_reg(get_local_tile_id(), 6, x);
break;
}
break;
}
} // end select
} // end while
}
-
- XCore Expert
- Posts: 589
- Joined: Wed Feb 29, 2012 10:03 am
The device you are using is a single tile device or multi-tile device? If you are using a single tile device, the above code looks alright to me. But for multi-tile device, you need to do a reset for each tile separately.
Sethu.
Sethu.
-
- XCore Expert
- Posts: 968
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
also, G, L, U or A series device?
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
And, are the MODE pins set correctly (during the reboot)?
-
- Active Member
- Posts: 63
- Joined: Sat Oct 15, 2011 8:53 pm
Thank You very much, resetting Tile 1 and then Tile 0 works now!
Mode Pins have been correct and its an L16A (2 Tiles with 8 Threads each)
Mode Pins have been correct and its an L16A (2 Tiles with 8 Threads each)