joao
New Member
Posts: 31
|
RESET;
Jan 20, 2017 15:42:48 GMT
Post by joao on Jan 20, 2017 15:42:48 GMT
So i have a very simple question today:
How do i reset the controller if i dont have access to the reset button?
In my system the controller will be faced down in a PCB so no button access. And i realized that the reset Pin its not connected to the button, or at least dirrectly.
Also i noticed that in the button there is 5v present instead of the ground.
Thank You
|
|
|
RESET;
Jan 20, 2017 16:50:45 GMT
via mobile
Post by Admin on Jan 20, 2017 16:50:45 GMT
Do you have a serial port access to the Shieldbuddy when it is installed? Do you have access to any of its pins at all?
|
|
joao
New Member
Posts: 31
|
RESET;
Jan 23, 2017 7:13:57 GMT
Post by joao on Jan 23, 2017 7:13:57 GMT
Do you have a serial port access to the Shieldbuddy when it is installed? Do you have access to any of its pins at all? Hi, As i have said, the shieldbuddy will be faced down to a PCB, so no direct access to the pins, but, if its needed access to any pin i think that i can find room to get access to it in the PCB. As the serial communication, i don't have serial communication access, only the one used in the USB.
|
|
|
RESET;
Jan 23, 2017 13:18:56 GMT
Post by mjb on Jan 23, 2017 13:18:56 GMT
It would be possible to make the ShieldBuddy reset from a command on the SerialASC using this code sequence:
uint16 endinitPw; endinitPw = IfxScuWdt_getCpuWatchdogPassword(); IfxScuWdt_clearCpuEndinit(endinitPw); IfxScuWdt_clearSafetyEndinit(endinitPw);
SCU_RSTCON.B.SW = 1u; SCU_SWRSTCON.B.SWRSTREQ = 1u;
IfxScuWdt_setSafetyEndinit(endinitPw); IfxScuWdt_setCpuEndinit(endinitPw);
We could make this into a proper function, if it is useful!
|
|
joao
New Member
Posts: 31
|
RESET;
Jan 23, 2017 13:49:47 GMT
Post by joao on Jan 23, 2017 13:49:47 GMT
It would be possible to make the ShieldBuddy reset from a command on the SerialASC using this code sequence: uint16 endinitPw; endinitPw = IfxScuWdt_getCpuWatchdogPassword(); IfxScuWdt_clearCpuEndinit(endinitPw); IfxScuWdt_clearSafetyEndinit(endinitPw); SCU_RSTCON.B.SW = 1u; SCU_SWRSTCON.B.SWRSTREQ = 1u; IfxScuWdt_setSafetyEndinit(endinitPw); IfxScuWdt_setCpuEndinit(endinitPw); We could make this into a proper function, if it is useful! This is actually very nice, and a function to do it would also be grate as it make things easier to do. and how about a manual reset in the hardware? is it possible to add one extra reset button? Link it it to the RST pin in the shieldbuddy? if for some reason the system stops running... ore running an not desired loop. a physical reset is needed.
|
|
|
RESET;
Jan 23, 2017 14:36:19 GMT
Post by mjb on Jan 23, 2017 14:36:19 GMT
BTW: the "RST" pin on the Arduino connector is RESET!
|
|
|
RESET;
Jan 23, 2017 16:27:29 GMT
Post by mjb on Jan 23, 2017 16:27:29 GMT
The reset function will be "Reset_TC275()" and will be in the next release.
|
|
joao
New Member
Posts: 31
|
RESET;
Feb 22, 2017 10:54:36 GMT
Post by joao on Feb 22, 2017 10:54:36 GMT
Another question,
Is there any way to reset just one of the cores... lets say i want to restart core 2 while the other ones are still running.
And about I2C communication is there a way to reset it also... once in a while I2C communication stops, i am still trying to figure it out why... i dont think its hardware related but i am trying to implement some kind of restart so that the communication comes back again.
Any help in this mater would be Really appreciated.
|
|
|
RESET;
Feb 22, 2017 11:50:32 GMT
Post by mjb on Feb 22, 2017 11:50:32 GMT
Are you using a real I2C port or the software bit-bashed port?
|
|
joao
New Member
Posts: 31
|
RESET;
Feb 23, 2017 7:16:13 GMT
Post by joao on Feb 23, 2017 7:16:13 GMT
Hello,
That is a very good question, i am using PINS 20/21, wire.h library in ARDUINOIDE inviroment.
|
|
|
RESET;
Feb 23, 2017 7:24:06 GMT
Post by Admin on Feb 23, 2017 7:24:06 GMT
This i2c port has been tested for many hours at a time so it should be reliable.
|
|
joao
New Member
Posts: 31
|
RESET;
Feb 23, 2017 10:46:53 GMT
Post by joao on Feb 23, 2017 10:46:53 GMT
I never said it was not reliable, Asked about a way to restart I2C.
And my main question was about Core restarting.
"Is there any way to reset just one of the cores... lets say i want to restart core 2 while the other ones are still running."
Thank you for the help
|
|
|
RESET;
Feb 23, 2017 12:36:07 GMT
Post by Admin on Feb 23, 2017 12:36:07 GMT
We are working on a way to reset a core!
|
|
wiken
New Member
Posts: 45
|
RESET;
Jan 5, 2018 7:32:48 GMT
Post by wiken on Jan 5, 2018 7:32:48 GMT
Hi. Is it possible to make TC275 to Reset when an external device is connecting to SerialASC? This is how the Arduino does it, and this feature would be very useful sometimes. Maybe even say core zero to restart when an external device is connecting to SerialASC. \Wiken
|
|
|
RESET;
Jan 5, 2018 8:31:19 GMT
Post by Admin on Jan 5, 2018 8:31:19 GMT
Hi,
Unfortunately there is no way to do this in the current ShieldBuddy hardware. Some users prefer lack of an automatic reset on connection of the USB! However we will see if there is someway to derive a reset signal from the FTDI chip and make the automatic reset function selectable via a jumper.
|
|