Hidden menu: Pointer placement mode
Posted: 21 Jul 2019, 06:27
There is interesting function at 0x304C8 - pointer placement. Resets stepping motors to real zero, so you can place rpm and speed arrows, if you previously removed them
Also boot loader mode at 0x396C6
I calling this functions by changing PC register value, but somewhere there should be a function to call it. Maybe need to press down bttn, pull-up PortE.Pin5 and perform IPC reset via tRST pin. Need to investigate later
Also boot loader mode at 0x396C6
I calling this functions by changing PC register value, but somewhere there should be a function to call it. Maybe need to press down bttn, pull-up PortE.Pin5 and perform IPC reset via tRST pin. Need to investigate later
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Code: Select all
void probably_enter_debug_mode()
{
int v0; // r0
watchdog_configuration_2(); // 0xFC040000
if ( Port_E_pin_4_state() )
{
sub_20034();
if ( sub_2006C(9) - 180 <= 75 ) // press btn
{
sub_31B32(); // Port E - pin 5
if ( v0 )
{
sub_304C8();
watchdog_configuration(94);
}
else
{
probably_debug_routine_v2();
watchdog_configuration(93);
}
}
}
JUMPOUT(&loc_140A8);