On 5/15/2014 11:42 PM, foreverska wrote:
> I found tonight someone has made a CLI debugger called prudebugger. 
>  Beautiful piece of work.  In single stepping and general breaking in my 
> code I realized the code was getting lost in an SBBO.  When it does that it 
> seems to stop responding to resets.  It has to be halted manually and then 
> reset.  Anyone seen this?
> 
> the code is very standard
> #define GPIO1 0x4804c000
> #define GPIO_CLEARDATAOUT 0x190
> 
> MOV r2, 1<<21
> MOV r3, GPIO1 | GPIO_CLEARDATAOUT
> SBBO r2, r3, 0, 4 

Is that the entire program?  You have to enable the bridge to the SoC
interconnect bus before doing memory accesses to things like the GPIO
banks.  That could be why your program is "getting lost".

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to