Search Results
Search results 1-6 of 6.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Yeah, mainly it's simplicity and convenience - to be able to use one Linux laptop with emacs, gdb, and a gdb-server. In theory a virtual Linux in an XP box or vice versa could do it, but then you need a windows license and are wasting cpu and ram on Windows. A linux gdb-server would be much cleaner and we wouldn't need to upgrade to Quad cores .. Emacs + gdb or VIM + gdb is a very efficient and pluggable "IDE"! (I'm looking into running cygwin-x + emacs and xterms, but have had a few crashes and…
-
We eventually solved our problems with reset, via a lengthier GDB script. Two issues were: we were bringing the bus clock down to 16khz (half the slow clock) at one point before we activated the PLL, which caused intermittent failures with the couple bus accesses that happened during that time. Made sure we switched to the main oscillator before we programmed the prescaler. And secondly, Atmel doesn't seem to have a reset mechanism that brings their peripheral (non-ARM) registers to sane values.…
-
When debugging an AT91SAM9260 with a SAM-ICE and the gdb-server, we cannot single step through or set a breakpoint near certain memory accesses (seem to be accesses using a non-divisible by 4 offset from a register - the target location is aligned) - it causes an incorrect value to be loaded into the register. The correct value is loaded if we just run the code without setting breakpoints or single stepping. Here is more detail: The first case incorrectly reads 0xff00 into r0 from a gpio registe…