asmodean989:
I saw that a while ago and had tried it but it looks like it’s for reset in general. I believe that you have to define STARTUP_FROM_RESET in the Preprocessor Definitions to simply be able to start your controller by hitting the reset button. The problem seems to be that powering the device with a 5V supply never toggles the reset. But I don’t know if the controller needs the reset signal to start or if the processor starts running when it gets power.
---------------------------------------------------------
Modern CPU has BOD ( Low voltage = turn off CPU)
CPU needs to have Vcc applied full up and fast .
First hardware problem solved .
Loader must not have “control” or selection ,
embedded , so its difficult for you to change
your mind , when you boot ARM .
Dont allow Loader to make decisions in firmware
to “select” debugger or other .
Loader must select ( I.E. UART0 , then USB , then SD card )
but exhaust those and lastly , read mobo switches .
This way , you can remove your h/w and
wait for Loader to exhaust , then you gain control
thru the mobo switches/keyboard .
Now key in “peek” to get error code .
-
INT to your keyboard if
-
Loader error .
-
Peek some error codes
Use a part of ROM to store 10kB Forth .
Now you can debug in Forth from Keyboard .
Forth is asmbler/disassembler/debugger .
This is a new method , faster to debug BootUp .
It can be used at all s/w levels , even debug
a Linux kernel . You simply chain INTs and
the INT takes control , allows your low level
keyboard . Its hacker …