MOD5270 Trap Hook

Discussion to talk about software related topics only.
Post Reply
bnsarvis
Posts: 7
Joined: Fri Jan 25, 2013 6:36 am

MOD5270 Trap Hook

Post by bnsarvis »

Hello,

Are there any hooks into Smart Trap? When it runs, just before it reboots the processor, I would like for it to also pull the RSTO line low for a few ms to reset some hardware external to the MOD5270. Currently, when the unit traps, it does not pull RSTO. Is this possible?

Thanks.

Brian
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: MOD5270 Trap Hook

Post by pbreed »

All forced resets call the function:

ForceReboot()


Defined in nburn\mod5270\system\bsp.c


I believe that this does drive the RSTO for 16 clock cycles on restart, I could be wrong about that...
Post Reply