aboutsummaryrefslogtreecommitdiff
path: root/Debugger/debug_comm.S
AgeCommit message (Collapse)Author
2011-05-23don't reset nxtcommchannel in _dbg__comm_readbuf_reset since it is called ↵Tat-Chee Wan (USM)
after each received message
2011-04-21reenable nxos test compilation, added comment regarding buffer usageTC Wan
2011-04-15modified communications module to handle bluetooth comms for nxt firmwareTat-Chee Wan (USM)
2011-04-01update armdebug to handle ctrl-c messagesTat-Chee Wan (USM)
2011-04-01refactored message ack or nak routines to always send a reply to any gdb messageTat-Chee Wan (USM)
For GDB commands such as Continue or Step, no reply is expected. However, the GDB server needs to receive a reply to avoid hanging the read() command on the Host side. Consequently these 2 commands now send an Ack (no message) to keep the GDB server happy.
2011-03-28split out internal constants from debug_stub.hTat-Chee Wan (USM)
2011-03-24ascii2hex_varlen_be should not autoincrement buffer pointerTat-Chee Wan (USM)
2011-03-24rewrite char2hex to avoid trashing register r1Tat-Chee Wan (USM)
2011-03-24fix incoming message packet acknowlegement parsing logicTat-Chee Wan (USM)
2011-03-23cannot use teq for negative one constant value comparisonTC Wan
2011-03-23variable length big endian hex value conversion routine for gdb param parsingTC Wan
2011-03-23cannot use rol, covert to ror insteadTC Wan
2011-03-23rewrite multibyte ascii to hex conversion routines to take care of little ↵TC Wan
endian issues
2011-03-23work in progressTat-Chee Wan (USM)
2011-03-23changed output routines to use little endian as defaultTat-Chee Wan (USM)
2011-03-23fix char2hex to allow lower case ascii hex charsTat-Chee Wan (USM)
2011-03-22clarified comments regarding usb and gdb message formatsTat-Chee Wan (USM)
2011-03-22rework message handling logic to take care of packet acknowledgements sent ↵Tat-Chee Wan (USM)
by gdb server
2011-03-18second attempt at determining whether we are in debug modeTat-Chee Wan (USM)
Checking CPSR does not seem to be reliable in cCommHandleDebug which runs in Thumb mode. Modified to use explicit mode variable for keeping track of our operating mode (normal vs. debug).
2011-03-18we should only invoke bkpt in ccommhandledebug in normal operation modeTat-Chee Wan (USM)
Before invoking Breakpoint in cCommHandleDebug, we need to check if we're already in Abort (Debug) mode. Refactored header files to allow access to Mode Bit definitions from other files.
2011-03-15buffer pointer variable not accessible from debug_stub moduleTat-Chee Wan (USM)
Rewrite parameter passing for dbg__getDebugMsg to pass buffer pointer as return variable, to avoid accessing private variables from the debug_comm module.
2011-03-15misc bugfixes for gdb message parsing and error reportingTat-Chee Wan (USM)
Fixed gdb message parsing to access correct buffer address Fixed byte2ascii conversion routine
2011-02-21forgot to update _dbg__usb_readbuf_reset routine callsTat-Chee Wan (USM)
2011-02-21we can't use teq for true value since it is 32-bitsTat-Chee Wan (USM)
2011-02-21more refactory to support nxt firmware, cleanup codeTat-Chee Wan (USM)
2011-02-21checkin refactored code for nxt firmware supportTat-Chee Wan (USM)
2011-02-14made _copy_msg_to_usbbuf conditional since we need different logic for nxt ↵Tat-Chee Wan (USM)
firmware
2011-02-14initial nxt firmware support hooksTat-Chee Wan (USM)
2011-02-11added preliminary run loop separationTat-Chee Wan (USM)
2011-01-18implemented get/set registers and insert/remove breakpoints commandsTat-Chee Wan (USM)
2011-01-18fixing command decoder after changes made to comm routinesTat-Chee Wan (USM)
2011-01-12implement usb message fragmentation and send logicTat-Chee Wan (USM)
2011-01-12checkin wipTC Wan
2011-01-12checkin wipTC Wan
2011-01-12fix logical errors in dbg__getDebugMsgTC Wan
2011-01-12cleanup ascii to hex conversion routinesTC Wan
Work in Progress. Restructured ASCII to Hex conversion routines, removed ASCIIZ insertion into ASCII buffer. dbg__getDebugMsg complete, and dbg__putDebugMsg is WIP.
2011-01-11implemented segment reassemblyTC Wan
2011-01-10fixed obsolete response header constantsTC Wan
2011-01-04fixed comment regarding header length for telegram size calculationTC Wan
2011-01-04adjusted nxt message to 3 byte header formatTC Wan
Adjusted NXT Message Header to use 3 byte header format to support future expansion of multi-segmented GDB messages. This is not used at this moment.
2010-12-28xfer between usb and message buffersTC Wan
WIP: copy to and from Debugger message buffers
2010-12-27fix indirect function call to nxos routinesTC Wan
2010-12-27referenced c functions via a dummy header fileTC Wan
Use .extern to reference C functions in NxOS or NXT Firmware
2010-12-23checkin wip for communications supportTC Wan
Start implementing USB communications support
2010-12-02changed the license clause, misc cleanupsTC Wan
The armdebug project is now dual licensed to make it easier to integrate with the LEGO NXT firmware. You can choose either to use the GPLv2 or the LEGO Open Source License to integrate this into other projects. Misc cleanups: Removed types.h Moved Debugger Macros into its own file to improve readability. Added COPYING, LEGO license and GPL license texts.
2010-12-01restructure repositoryTC Wan